i386: Increase MALLOC_ALIGNMENT to 16 [BZ #21120]
[glibc.git] / ChangeLog
blob4919c9d5978a4074261893dbec950192cc089c45
1 2017-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3         [BZ #21120]
4         * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
5         * sysdeps/generic/malloc-alignment.h: Here.  New file.
6         * sysdeps/i386/malloc-alignment.h: Likewise.
7         * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
9 2017-06-30  Florian Weimer  <fweimer@redhat.com>
11         * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
12         variable.
13         (test_file_contents): Use it.
15 2017-06-30  Florian Weimer  <fweimer@redhat.com>
17         * resolv/res_init.c (res_setoptions): Remove source argument.
18         (res_vinit_1): Adjust.
20 2017-06-30  Florian Weimer  <fweimer@redhat.com>
22         * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
24 2017-06-30  Florian Weimer  <fweimer@redhat.com>
26         * resolv/res_data.c: Reformat to GNU style.
27         (res_close): Update comments.
29 2017-06-30  Florian Weimer  <fweimer@redhat.com>
31         * resolv/res_data.c (res_query, res_search, res_querydomain)
32         (hostalias): Move to ...
33         * resolv/res_Send.c (res_query, res_search, res_querydomain)
34         (hostalias): here.
36 2017-06-30  Florian Weimer  <fweimer@redhat.com>
38         * resolv/res_data.c (res_isourserver, res_send): Move to ...
39         * resolv/res_send.c (res_isourserver, res_send): here.
41 2017-06-30  Florian Weimer  <fweimer@redhat.com>
43         * resolv/res_debug.c (_res_opcodes): Rename ...
44         (res_opcodes): ... as compatibility symbol.
45         (fp_nquery): Use res_opcodes.
46         * include/resolv.h (_res_opcodes): Remove declaration.
48 2017-06-30  Florian Weimer  <fweimer@redhat.com>
50         * include/resolv.h (res_pquery): Remove declaration.
51         * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
52         functions.
53         (_res_opcodes): Remove variable.
54         * resolv/res_debug.c (do_section): Receive pfcode instead of
55         statp.
56         (res_pquery): Rename ...
57         (fp_nquery): to this function.  Skip unnecessary _res
58         initialization.
59         (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
61 2017-06-30  Florian Weimer  <fweimer@redhat.com>
63         * resolv/res_debug.h: Remove file.
64         * resolv/README: Adjust.
66 2017-06-30  Florian Weimer  <fweimer@redhat.com>
68         * resolv/res_end.c (DEBUG): Remove macro and preprocessor
69         conditionals.
70         (Aerror, Perror): Remove function definitions.
72 2017-06-30  Florian Weimer  <fweimer@redhat.com>
74         * resolv/res_data.c (res_mkquery): Move ...
75         * resolv/res_mkquery.c (res_mkquery): to here.
77 2017-06-30  Florian Weimer  <fweimer@redhat.com>
79         * resolv/res_mkquery.c: Reformat to GNU style.
80         (T_OPT): Remove definition.  It is present in the header file.
82 2017-06-30  Florian Weimer  <fweimer@redhat.com>
84         * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
85         conditionals.
87 2017-06-30  Florian Weimer  <fweimer@redhat.com>
89         * support/support_capture_subprocess_check.c
90         (support_capture_subprocess_check): Report actual exit status.
92 2017-06-30  Florian Weimer  <fweimer@redhat.com>
94         [BZ #19570]
95         * resolv/res_send.c (nameserver_offset): New function.
96         (__libc_res_nsend): Use it to implement RES_ROTATE.
97         (get_nsaddr): Add assert with name server
98         range check.
99         * resolv/Makefile (xtests): Add tst-resolv-rotate.
100         (tst-resolv-rotate): Link against libpthread.
101         * resolv/tst-resolv-rotate.c: New file.
103 2017-06-29  Joseph Myers  <joseph@codesourcery.com>
105         [BZ #21457]
106         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
107         [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
108         [__WORDSIZE == 64] (MC_PC): Likewise.
109         [__WORDSIZE == 64] (MC_NPC): Likewise.
110         [__WORDSIZE == 64] (MC_Y): Likewise.
111         [__WORDSIZE == 64] (MC_G1): Likewise.
112         [__WORDSIZE == 64] (MC_G2): Likewise.
113         [__WORDSIZE == 64] (MC_G3): Likewise.
114         [__WORDSIZE == 64] (MC_G4): Likewise.
115         [__WORDSIZE == 64] (MC_G5): Likewise.
116         [__WORDSIZE == 64] (MC_G6): Likewise.
117         [__WORDSIZE == 64] (MC_G7): Likewise.
118         [__WORDSIZE == 64] (MC_O0): Likewise.
119         [__WORDSIZE == 64] (MC_O1): Likewise.
120         [__WORDSIZE == 64] (MC_O2): Likewise.
121         [__WORDSIZE == 64] (MC_O3): Likewise.
122         [__WORDSIZE == 64] (MC_O4): Likewise.
123         [__WORDSIZE == 64] (MC_O5): Likewise.
124         [__WORDSIZE == 64] (MC_O6): Likewise.
125         [__WORDSIZE == 64] (MC_O7): Likewise.
126         [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
127         __MC_NGREG if [__USE_MISC].
128         [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
129         [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
130         [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
131         Define fields using __ctx.
132         [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag.  Define fields
133         using __ctx.
134         [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
135         (REG_PSR): Define only for [__USE_MISC].
136         (REG_PC): Likewise.
137         (REG_nPC): Likewise.
138         (REG_Y): Likewise.
139         (REG_G1): Likewise.
140         (REG_G2): Likewise.
141         (REG_G3): Likewise.
142         (REG_G4): Likewise.
143         (REG_G5): Likewise.
144         (REG_G6): Likewise.
145         (REG_G7): Likewise.
146         (REG_O0): Likewise.
147         (REG_O1): Likewise.
148         (REG_O2): Likewise.
149         (REG_O3): Likewise.
150         (REG_O4): Likewise.
151         (REG_O5): Likewise.
152         (REG_O6): Likewise.
153         (REG_O7): Likewise.
154         [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
155         [__WORDSIZE == 64] (REG_FPRS): Likewise.
156         (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
157         (gregset_t): Define using __NGREG.
158         (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
159         __SPARC_MAXREGWINDOW if [__USE_MISC].
160         (struct rwindow): Rename to struct __rwindow.  Define fields using
161         __ctx.
162         (rw_fp): Define only for [__USE_MISC].
163         (rw_rtn): Likewise.
164         (gwindows_t): Remove struct tag.  Define fields using __ctx and
165         __SPARC_MAXREGWINDOW.
166         (MAXFPQ): Define only for [__USE_MISC].
167         (struct fpq): Rename to struct __fpq.  Define fields using __ctx.
168         (struct fq): Rename to struct __fq.  Define fields using __ctx.
169         (FPU_REGS_TYPE): Define only for [__USE_MISC].
170         (FPU_DREGS_TYPE): Likewise.
171         (V7_FPU_FSR_TYPE): Likewise.
172         (V9_FPU_FSR_TYPE): Likewise.
173         (V9_FPU_FPRS_TYPE): Likewise.
174         [__WORDSIZE == 64] (fpregset_t): Remove struct tag.  Define fields
175         using __ctx.
176         [__WORDSIZE != 64] (fpregset_t): Likewise.
177         [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
178         [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
179         [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
180         Rename field filler to __glibc_reserved1.
181         * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
182         (MC_FILLER): Remove.
184 2017-06-29  Florian Weimer  <fweimer@redhat.com>
186         * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
187         Adjust format string.
188         * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
189         dependency.
191 2017-06-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
193         * sysdeps/posix/spawni.c (__spawni_child): New function.
194         (__spawni): Rename to __spawnix.
196 2017-06-29  Florian Weimer  <fweimer@redhat.com>
198         * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
199         Use it to make the temporary copy at the start of the work buffer.
200         (process_arg): Adjust call to group_number.
202 2017-06-29  Florian Weimer  <fweimer@redhat.com>
204         * stdio-common/vfprintf.c (printf_positional): Use struct
205         scratch_buffer to allocate backing storage for the args_value,
206         args_size, args_type arrays.
208 2017-06-29  Florian Weimer  <fweimer@redhat.com>
210         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
211         scratch_buffer.
213 2017-06-29  Florian Weimer  <fweimer@redhat.com>
215         * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
216         wchar_t builds.
218 2017-06-29  Florian Weimer  <fweimer@redhat.com>
220         * stdio-common/tst-vfprintf-mbs-prec.c: New file.
221         * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
223 2017-06-29  Florian Weimer  <fweimer@redhat.com>
225         * stdio-common/tst-vfprintf-user-type.c: New file.
226         * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
228 2017-06-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
230         * posix/tst-spawn2.c (do_test): Use libsupport.
231         * posix/tst-spawn3.c (do_test): Likewise.
233 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
235         * math/gen-tgmath-tests.py (Tests.__init__): Define
236         __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
238         * math/tgmath.h: Include <bits/libc-header-start.h> and
239         <bits/floatn.h>.
240         (__TGMATH_F128): New macro.
241         (__TGMATH_CF128): Likewise.
242         (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
243         (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
244         (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
245         (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
246         (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
247         (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
248         (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
249         (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
250         (__TGMATH_TERNARY_REAL_ONLY): Likewise.
251         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
252         (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
253         (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
254         (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
255         (__TGMATH_BINARY_REAL_IMAG): Likewise.
256         (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
257         [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
258         * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
259         _FloatNx types if the corresponding HUGE_VAL macros are defined.
261         * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
262         * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
263         complex arguments.
265         [BZ #21687]
266         * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
267         (totalorder): Use it.
268         (totalordermag): Likewise.
269         * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
270         totalorder and totalordermag.
271         * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
272         totalordermag in arguments of calls to those functions.
273         (NCALLS): Change to 134.
275         * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
276         cast to return type argument.
277         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
278         (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
279         (llrint): Likewise.
280         (lround): Likewise.
281         (llround): Likewise.
282         (ilogb): Likewise.
283         (llogb): Likewise.
284         (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
285         (ufromfp): Likewise.
286         (fromfpx): Likewise.
287         (ufromfpx): Likewise.
289         [BZ #21607]
290         * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
291         [LDBL_MANT_DIG > DBL_MANT_DIG].
292         * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
293         * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
294         * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
295         * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
296         * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
297         * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
298         * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
299         * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
300         * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
301         * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
302         * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
303         * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
304         * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
305         * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
306         * math/test-tgmath.c: Include <float.h>.
307         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
308         DBL_MANT_DIG].
309         * math/test-tgmath2.c: Include <float.h>.
310         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
311         DBL_MANT_DIG].
313         * math/gen-tgmath-tests.py: New file.
314         * math/Makefile [PYTHON] (tests): Add test-tgmath3.
315         [PYTHON] (generated): Add test-tgmath3.c.
316         [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
317         [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
319         * configure.ac (AS): Require binutils 2.25 or later.
320         (LD): Likewise.
321         * configure: Regenerated.
322         * sysdeps/s390/configure.ac (AS): Remove version check.
323         * sysdeps/s390/configure: Regenerated.
324         * sysdeps/x86_64/configure.ac (AS): Remove version check.
325         * sysdeps/x86_64/configure: Regenerated.
326         * manual/install.texi (Tools for Compilation): Document
327         requirement for binutils 2.25 or later.
328         * INSTALL: Regenerated.
330 2017-06-28  H.J. Lu  <hongjiu.lu@intel.com>
332         [BZ #14995]
333         * configure.ac: Allow gold 1.14 or above to configire glibc
334         * configure: Regenerated.
336 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
338         [BZ #21457]
339         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
340         struct tag.
341         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
342         Likewise.
343         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
344         Likewise.
345         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
346         Declare struct type with __ctx.
347         [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
348         tag.
349         (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
350         and regs field name.
352 2017-06-27  Joseph Myers  <joseph@codesourcery.com>
354         * elf/loadtest.c (OUT): Define using do { } while (0).
356         * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
357         (DO_NUMBER_SPACEPAD): Likewise.
359 2017-06-27  Prakhar Bahuguna  <prakhar.bahuguna@arm.com>
361         * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
362         sysdep_routines.
363         * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
364         __memchr_neon.
365         Add ifunc definitions for __memchr_neon and __memchr_noneon.
366         * sysdeps/arm/armv7/multiarch/memchr.S: New file.
367         * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
368         * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
370 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
372         * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
373         Use vector and cu21 instruction.
374         * sysdeps/s390/multiarch/utf8-utf16-z9.c:
375         Add __to_utf8_loop_vx_cu in ifunc resolver.
377 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
379         * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
380         Use vector and cu24 instruction.
382 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
384         * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
385         Use vector and cu42 instruction.
386         * sysdeps/s390/multiarch/utf16-utf32-z9.c:
387         Add __to_utf16_loop_vx_cu in ifunc resolver.
389 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
391         * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
392         Use vector and cu41 instruction.
393         * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
394         in ifunc resolver.
396 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
398         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
399         Add vxd, vxe, gs flag.
400         * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
401         HWCAP_S390_GS capability.
402         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
403         (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
405 2017-06-27  H.J. Lu  <hongjiu.lu@intel.com>
407         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
408         the first 32 bytes before checking size when size >= 32 bytes.
409         Replace vpmovmskb/subl/jnz with vptest/jnc.
411 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
413         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
414         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
416 2017-06-27  Florian Weimer  <fweimer@redhat.com>
418         Work around test timeouts with ICMP rate limiting on localhost.
419         * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
420         function.
421         (do_test): Call it.
423 2017-06-27  Florian Weimer  <fweimer@redhat.com>
425         Call _res_hconf_init from __res_vinit.
426         * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
427         * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
428         (NEED__RES): Define.
429         * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
430         (NEED__RES): Define.
431         * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
432         * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
433         * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
434         (NEED__RES): Define.
435         * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
436         _res_hconf_init.
437         * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
438         * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
439         * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
440         _res_hconf_init.
442 2017-06-26  Joseph Myers  <joseph@codesourcery.com>
444         * sysdeps/ia64/Implies: Add ieee754/float128.
445         * sysdeps/ia64/bits/floatn.h: New file.
446         * sysdeps/ia64/float128-abi.h: Likewise.
447         * manual/math.texi (Mathematics): Document support for _Float128
448         on ia64.
449         * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
450         Makefile variable.
451         * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
452         * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
453         * sysdeps/ia64/fpu/sfp-machine.h: New file.  Based on libgcc.
454         * sysdeps/ia64/math-tests.h: New file.
455         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
456         based on TEST_COND_binary128 for [__ia64__].
457         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
458         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
460         [BZ #21457]
461         * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
462         ucontext_t.
463         * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
464         * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
465         * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
466         * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
467         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
468         ucontext): Likewise.
469         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
470         Likewise.
471         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
472         Likewise.
473         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
474         Likewise.
475         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
476         Likewise.
477         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
478         Likewise.
479         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
480         Likewise.
481         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
482         Likewise.
483         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
484         ucontext): Likewise.
485         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
486         Likewise.
487         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
488         Likewise.
489         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
490         Likewise.
491         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
492         Likewise.
493         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
494         Likewise.
495         * sysdeps/powerpc/powerpc32/backtrace.c (struct
496         rt_signal_frame_32): Likewise.
497         * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
498         Likewise.
499         * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
500         kernel_rt_sigframe): Likewise.
501         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
502         Likewise.
503         * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
504         Likewise.
505         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
506         Likewise.
507         * sysdeps/unix/sysv/linux/hppa/profil-counter.h
508         (__profil_counter): Likewise.
509         * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
510         (SIGCONTEXT): Likewise.
511         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
512         kernel_rt_sigframe): Likewise.
513         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
514         kernel_rt_sigframe): Likewise.
515         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
516         Likewise.
517         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
518         Likewise.
519         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
520         (__start_context): Likewise.
521         * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
522         Likewise.
523         * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
524         Likewise.
525         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
526         Likewise.
528         * sysdeps/i386/Implies: Add ieee754/float128.
529         * sysdeps/x86_64/Implies: Likewise.
530         * sysdeps/x86/bits/floatn.h: New file.
531         * sysdeps/x86/float128-abi.h: Likewise.
532         * manual/math.texi (Mathematics): Document support for _Float128
533         on x86_64 and x86.
534         * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
535         (math_opt_barrier): Do not put _Float128 values in floating-point
536         registers.
537         (math_force_eval): Likewise.
538         [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
539         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
540         to Makefile variable.
541         * sysdeps/x86/fpu/e_sqrtf128.c: New file.
542         * sysdeps/x86/fpu/sfp-machine.h: Likewise.  Based on libgcc.
543         * sysdeps/x86/math-tests.h: New file.
544         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
545         * math/libm-test-getpayload.inc (getpayload_test_data): Use
546         XFAIL_FLOAT128_PAYLOAD.
547         * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
548         * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
549         * math/libm-test-totalordermag.inc (totalordermag_test_data):
550         Likewise.
551         * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
552         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
553         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
554         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
555         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
556         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
557         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
558         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
561 2017-06-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
563         [BZ #21512]
564         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
565         syscall instead of jump to _exit.
566         (CLONE_VM_BIT): Remove unused define.
567         (CLONE_VM): Likewise.
568         (CLONE_THREAD_BIT): Likewise.
569         (CLONE_THREAD): Likewise.
570         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
571         (CLONE_VM): Remove unused define.
572         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
573         (CLONE_VM): Remove unused define.
574         (CLONE_THREAD): Likewise.
575         * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
576         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
577         syscall instead of jump to _exit.
578         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
579         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
580         (CLONE_VM): Remove unused define.
581         (CLONE_THREAD): Likewise.
582         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
583         (CLONE_VM): Remove unused define.
584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
585         Likewise.
586         (CLONE_VM): Remove unused define.
587         (CLONE_THREAD): Likewise.
588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
589         Likewise.
590         (CLONE_VM): Remove unused define.
591         (CLONE_THREAD): Likewise.
592         * sysdeps/unix/sysv/linux/sh/clone.S  (__clone): Likewise.
593         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
594         (CLONE_VM): Remove unused define.
595         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
596         (CLONE_VM): Remove unused define.
597         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
598         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
599         (CLONE_VM): Remove unused define.
600         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
601         * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
603 2017-06-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
604             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
606         * manual/math.texi (Mathematics): Mention the enabling of float128
607         for powerpc64le.
608         * sysdeps/powerpc/bits/floatn.h: New file.
609         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
610         * sysdeps/powerpc/fpu/math_private.h:
611         (__ieee754_sqrtf128): New inline override.
612         * sysdeps/powerpc/powerpc64le/Implies-before: New file.
613         * sysdeps/powerpc/powerpc64le/Makefile: New file.
614         * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
615         * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
616         * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
618         Updated.
619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
620         Likewise.
621         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
622         New file.
624 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
626         * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
627         * sysdeps/powerpc/powerpc64le/configure: Update.
629 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
630             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
632         * INSTALL: Regenerate.
633         * manual/install.texi (Recommended Tools for Compilation): Mention
634         the powerpc64le-specific requirement in the manual.
635         * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
636         for the compiler features required for building float128.
637         * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
639 2017-06-26  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
641         * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
642         before comparing with another char.
644 2017-06-25  Rical Jasan  <ricaljasan@pacific.net>
646         * manual/math.texi: Fix a grammatical error.
648 2017-06-24  Florian Weimer  <fweimer@redhat.com>
650         [BZ #21295]
651         * resolv/tst-resolv-basic.c (do_test): Add new test cases.
653 2017-06-24  Dmitry Bilunov  <kmeaw@kmeaw.com>
655         [BZ #21295]
656         * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
657         Append addresses at the end of the list.
659 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
661         [BZ #21666]
662         * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
663         (loc2): Likewise.
664         (locs): Likewise.
666 2017-06-23  Florian Weimer  <fweimer@redhat.com>
668         [BZ #16637]
669         inet_pton: Reject invalid IPv6 addresses with many leading zeros.
670         * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
671         digits between colons.
672         * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
674 2017-05-23  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
675             Juan Manuel Torres Palma  <jmtorrespalma@gmail.com>
677         * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
678         (__sched_get_prioriry_min): Likewise.
679         * include/sys/mman.h (__mmap): Likewise.
680         (__mmap64): Likewise.
681         (__munmap): Likewise.
682         (__mprotect): Likewise.
683         * include/termios.h (__tcsetattr): Likewise.
684         * include/time.h (__nanosleep): Use hidden_proto instead of
685         libc_hidden_proto.
686         * posix/nanosleep.c (__nanosleep): Likewise.
687         * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
688         __sched_get_priority_min, and __sched_get_priority_max under
689         GLIBC_PRIVATE.
690         * nptl/allocatestack.c (__free_stacks): Use internal definition for
691         libc symbols.
692         (change_stack_perm): Likewise.
693         (change_stack_perm): Likewise.
694         (allocate_stack): Likewise.
695         * sysdeps/posix/gethostname.c: Likewise.
696         * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
697         * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
698         * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
699         * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
700         (__pthread_key_delete): Likewise.
701         (__pthread_detach): Likewise.
702         (__pthread_cancel): Likewise.
703         (__pthread_mutex_trylock): Likewise.
704         (__pthread_mutexattr_init): Likewise.
705         (__pthread_mutexattr_settype): Likewise.
706         * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
707         create alias for exported one.
708         * nptl/pthread_join.c (pthread_join): Likewise.
709         * nptl/pthread_detach.c (pthread_detach): Likewise.
710         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
711         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
712         * nptl/pthread_create.c: Change static requirements for pthread
713         symbols.
714         * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
715         for internal definition.
716         * nptl/pthread_exit.c (__pthread_exit): Likewise.
717         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
718         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
719         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
720         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
721         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
722         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
723         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
724         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
725         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
726         Likewise.
727         * nptl/pthread_self.c (__pthread_self): Likewise.
728         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
729         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
730         * misc/mmap.c (__mmap): Add internal symbol definition.
731         * misc/mmap.c (__mmap64): Likewise.
732         * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
733         * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
734         (__mmap64): Likewise.
735         * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
736         Add __uname.
738 2017-06-23  Joseph Myers  <joseph@codesourcery.com>
740         * sysdeps/i386/fpu/libm-test-ulps: Update.
741         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
743         * libm-test-support.c (check_float_internal): Clear exceptions at
744         end of function.
745         (check_int): Likewise.
746         (check_long): Likewise.
747         (check_bool): Likewise.
748         (check_longlong): Likewise.
749         (check_intmax_t): Likewise.
750         (check_uintmax_t): Likewise.
752         * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
753         Do not declare.
754         * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
755         __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
756         redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
758 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
760         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
761         Replace movzbl and orl with movb.
763 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
765         * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
766         (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
767         and HUGE_VAL_FNx.
768         (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
769         Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
770         are in math.h, to avoid having to list the _FloatN and _FloatNx
771         variants as well.  Likewise for the cabs functions.
772         (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
773         ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
774         Mention that _FloatN and _FloatNx variants of scalbn and scalbln
775         come from TS 18661-3, since this section explicitly states that
776         these functions come from BSD.
777         (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
778         truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
779         roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
780         llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
781         fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
782         ufromfpxfN, ufromfpxfNx, modffN, modffNx.
783         (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
784         remainderfNx.
785         (Setting and modifying single bits of FP values): Document
786         copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
787         nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
788         canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
789         setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
790         (Floating-Point Comparison Functions): Document totalorderfN,
791         totalorderfNx, totalordermagfN, totalordermagfNx.
792         (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
793         fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
794         fdimfN, fdimfNx, fmafN, fmafNx.
795         (Complex Numbers): Document the complex types: _FloatN complex and
796         _FloatNx complex.
797         (rojections, Conjugates, and Decomposing of Complex Numbers):
798         Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
799         cargfN, cargfNx, cprojfN, cprojfNx.
800         * manual/math.texi (Mathematics): Mention that the _FloatN and
801         _FloatNx variants of the math functions come from TS 18661-3,
802         unless otherwise stated.
803         (Predefined Mathematical Constants): Document the _FloatN and
804         _FloatNx variants of the macros prefixed with M_.
805         (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
806         tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
807         ccosfNx, ctanfN, ctanfNx.
808         (Inverse Trigonometric Functions): Document asinfN, asinfNx,
809         acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
810         (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
811         exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
812         log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
813         llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
814         hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
815         clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
816         cpowfNx.
817         (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
818         tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
819         asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
820         casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
821         (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
822         lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
823         j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
824         ynfN, ynfNx.
826 2017-06-23  Florian Weimer  <fweimer@redhat.com>
828         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
830 2017-06-23  Florian Weimer  <fweimer@redhat.com>
832         * resolv/res_libc.c: Reformat to GNU style.
834 2017-06-23  Florian Weimer  <fweimer@redhat.com>
836         * resolv/resolv-internal.h (__res_initstamp): Declare.
837         * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
838         It is implied by the declaration.
839         * resolv/res_libc.c (__res_initstamp): Remove declaration.
841 2017-06-23  Florian Weimer  <fweimer@redhat.com>
843         [BZ #21662]
844         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
845         Use only 24 bits of the register before the subtraction.
846         * string/test-memcmp.c (check1): Check with different lengths.
848 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
850         * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
851         $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
853 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
855         * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
856         Enable generation of float128 entries on the error table.
858 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
860         * include/float.h: Include libc-header-start.h to get the
861         definition of __GLIBC_USE.
863 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
865         * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
866         rearranged code and doubles float types.
868 2017-06-23  Rogerio A. Cardoso  <rcardoso@linux.vnet.ibm.com>
870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
871         s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
873 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
875         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
876         to errno, and simplify remaining related code.
878 2017-06-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
880         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
881         PPC_FEATURE2_SCV.
882         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
883         and darn.
885 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
887         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
888         the implementation-specific function name and remove unneeded macros
889         definition.
890         * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
891         function name if not defined and pass as parameter to macros
892         accordingly.
894 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
896         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
897         (libm-sysdep_routines): Add s_llroundf-ppc64.
898         * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
899         (__llroundf): Define as strong alias of __llround.
900         (llroundf):  Define as weak alias of __llround.
901         (__lroundf): Define as strong alias of __llround.
902         (lroundf):  Define as weak alias of __llround.
903         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S:  Likewise.
904         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
907         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
908         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
909         * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
911 2017-06-22  Joseph Myers  <joseph@codesourcery.com>
913         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
914         [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
916         * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
917         (MATH_TESTS_TG): New macro.
918         (SNAN_TESTS_float128): Likewise.
919         (ROUNDING_TESTS_float128): Likewise.
920         (EXCEPTION_TESTS_float128): Likewise.
921         (SNAN_TESTS): Define using MATH_TESTS_TG.
922         (ROUNDING_TESTS): Likewise.
923         (EXCEPTION_TESTS): Likewise.
925         * sysdeps/ieee754/float128/float128_private.h
926         [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
927         pass it to SET_RESTORE_ROUNDF128.
929         * sysdeps/ieee754/float128/float128_private.h: Include
930         <ieee754.h>.
932         * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
933         typeof to argument passed to __builtin_types_compatible_p.
934         (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
936         * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
937         <errno.h>.
938         * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
939         * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
940         * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
941         * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
942         * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
943         * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
944         * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
945         * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
946         * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
947         * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
948         * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
949         * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
950         * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
951         * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
952         * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
953         * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
954         * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
955         * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
956         * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
957         * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
958         * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
959         * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
961         * sysdeps/ieee754/float128/strtof128_l.c: Include
962         <bits/types/locale_t.h> instead of <xlocale.h>.
963         * sysdeps/ieee754/float128/wcstof128.c: Likewise.
964         * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
966 2017-06-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
968         * benchtests/scripts/benchout_strings.schema.json: New file.
969         * benchtests/scripts/compare_strings.py: New file.
971         * benchtests/bench-memcpy-large.c: Include json-lib.h.
972         (do_one_test): Print json.
973         (do_test): Likewise.
974         (test_main): Likewise.
975         * benchtests/bench-memcpy-random.c: Include json-lib.h.
976         (do_one_test): Print json.
977         (do_test): Likewise.
978         (test_main): Likewise.
979         * benchtests/bench-memcpy.c: Include json-lib.h.
980         (do_one_test): Print json.
981         (do_test): Likewise.
982         (test_main): Likewise.
984         * benchtests/json-lib.h: Include inttypes.h.
985         (json_attr_int, json_attr_int, json_element_string,
986         json_element_int, json_element_uint): New functions.
987         * benchtests/json-lib.c: (json_attr_int, json_attr_int,
988         json_element_string, json_element_int, json_element_uint): New
989         functions.
991 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
993         * manual/arith.texi (Remainder Functions): Describe remainder as
994         primary and drem as an alternative name.  Change the comment on
995         remainder to ISO, since it is defined in ISO C99.
997 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
999         * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1000         macro expansion.
1001         (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1003 2017-06-22  Mike FABIAN  <mfabian@redhat.com>
1005         [BZ #21533]
1006         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1007         201706L for Unicode 10.0.
1009 2017-06-21  Benjamin Cama  <b.cama@kerlink.fr>
1011         [BZ #21657]
1012         * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1013         on node-local addresses.
1014         * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1016 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1018         * intl/loadmsgcat.c: Remove alloca support.
1019         (_nl_load_domain): Use calloc instead of alloca.
1021 2017-04-21  Florian Weimer  <fweimer@redhat.com>
1023         * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1024         (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1025         alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1026         alloc_buffer_create_failure.
1027         * malloc/Versions (__libc_alloc_buffer_alloc_array)
1028         (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1029         (__libc_alloc_buffer_copy_string)
1030         (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1031         * malloc/alloc_buffer_alloc_array.c: New file.
1032         * malloc/alloc_buffer_allocate.c: Likewise.
1033         * malloc/alloc_buffer_copy_bytes.c: Likewise.
1034         * malloc/alloc_buffer_copy_string.c: Likewise.
1035         * malloc/alloc_buffer_create_failure.c: Likewise.
1036         * malloc/tst-alloc_buffer.c: Likewise.
1038 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1040         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1041         strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1042         strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1043         strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1044         * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1045         * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1046         * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1047         * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1048         * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1049         * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1050         * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1051         * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1052         * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1053         * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1054         * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1055         * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1056         * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1057         * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1058         * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1059         * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1060         * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1061         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1062         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1063         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1064         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1065         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1066         (STRCMP_SSE42): New.  Defined to __strcmp_sse42 if not defined.
1067         [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1068         "locale-defines.h".
1069         (UPDATE_STRNCMP_COUNTER): New.
1070         (SECTION): Likewise.
1071         (GLABEL): Likewise.
1072         (LABEL): Likewise.
1073         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1074         for libc.a.
1076 2017-06-21  Joseph Myers  <joseph@codesourcery.com>
1078         [BZ #21622]
1079         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1080         Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1081         __USE_MISC].
1082         (SA_NODEFER): Likewise.
1083         (SA_RESETHAND): Likewise.
1085 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1087         * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1088         * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1089         Remove security_level on all fields.
1090         * manual/tunables.texi: Replace ifunc with hwcaps.
1091         * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1092         Renamed to ..
1093         (TUNABLE_CALLBACK (set_hwcaps)): This.
1094         (init_cpu_features): Updated.
1095         * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1096         data_cache_size, data_cache_size and non_temporal_threshold to
1097         unsigned long int.
1098         * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1099         (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
1100         (TUNABLE_CALLBACK (set_hwcaps)): This.  Update comments.  Don't
1101         use DEFAULT_STRLEN.
1103 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1105         * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
1106         asprintf to construct an absolute pathname.
1108 2017-06-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1110         * misc/tst-preadvwritev2-common.c: New file.
1111         * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
1112         * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1114 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1116         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
1117         annotation.
1118         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1120 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1122         * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
1123         hidden __GI__dl_argv symbol.
1125 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1127         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
1128         to parse addresses with IPv6 scope IDs.
1130 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1132         Add the __inet_pton_length helper function.
1133         * resolv/resolv-internal.h (__inet_pton_length): Declare.
1134         * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
1135         Add length argument.
1136         (__inet_pton): New function.
1137         (inet_pton4): Add length argument.
1138         (hex_digit_value): New function.
1139         (inet_pton6): Add length argument.  Call hex_digit_value.  Use
1140         memmove and memset to fill :: gap.
1141         * resolv/Makefile (tests, tsts-static, tests-internal): Add
1142         tst-inet_pton.
1143         * resolv/tst-inet_pton.c: New file.
1144         * support/Makefile (libsupport-routines): Add xmprotect.
1145         * support/xunistd.h (xmprotect): Declare.
1146         * support/xmprotect.c: New file.
1148 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1150         Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
1151         * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
1152         (call_gai, check_ai): New functions.
1153         (expect_failure, expect_success): Use them.  Add logging.
1155 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1157         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1158         (sysdep_routines): Add memchr_power8.
1159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1160         (memchr): Add __memchr_power8 to list of memchr functions.
1161         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
1162         * sysdeps/powerpc/powerpc64/multiarch/memchr.c
1163         (memchr): Add __memchr_power8 to ifunc list.
1164         * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
1166 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1168         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
1169         (__llrintf): Define as strong alias of __llrint.
1170         (llrintf):  Define as weak alias of __llrint.
1171         (__lrintf): Define as strong alias of __llrint.
1172         (lrintf):  Define as weak alias of __llrint.
1173         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S:  Likewise.
1174         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1175         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S:  Remove file content.
1176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
1178 2017-06-20  Zack Weinberg  <zackw@panix.com>
1180         * bits/signum-generic.h: Renamed from bits/signum.h.
1181         Add proper multiple include guard and misuse check.
1182         Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
1183         Move definition of SIGIO to "archaic names for compatibility" section.
1184         * bits/signum.h: New file which just includes bits/signum-generic.h.
1185         * sysdeps/unix/bsd/bits/signum.h
1186         * sysdeps/unix/sysv/linux/bits/signum.h
1187         * sysdeps/unix/sysv/linux/alpha/bits/signum.h
1188         * sysdeps/unix/sysv/linux/hppa/bits/signum.h
1189         * sysdeps/unix/sysv/linux/mips/bits/signum.h
1190         * sysdeps/unix/sysv/linux/sparc/bits/signum.h
1191         Just include <bits/signum-generic.h> and then add or adjust
1192         signal constants.  Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
1194         * signal/Makefile: Install bits/signum-generic.h.
1195         * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
1197         * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
1198         universal.  Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
1200         * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
1201         * sysdeps/unix/sysv/linux/Makefile: Run it.
1203 2017-06-20  Zack Weinberg  <zackw@panix.com>
1205         * locale/xlocale.h: Rename to...
1206         * locale/bits/types/__locale_t.h: ...here.  Adjust commentary.
1207         Only define struct __locale_struct and __locale_t, not locale_t.
1208         * locale/bits/types/locale_t.h: New file; define locale_t here.
1209         * locale/Makefile (headers): Update to match.
1211         * include/xlocale.h: Delete wrapper.
1212         * include/bits/types/__locale_t.h: New wrapper.
1213         * include/bits/types/locale_t.h: New wrapper.
1215         * ctype/ctype.h, include/printf.h, include/time.h
1216         * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
1217         * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
1218         * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
1219         Correct outdated comments regarding the standardization status of
1220         the functions that take locale_t arguments.
1222         * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
1223         * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1224         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1225         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1226         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1227         * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
1228         Don't include xlocale.h. If necessary, include locale.h instead.
1230         * stdlib/strtold_l.c: Unconditionally include wchar.h.
1232         * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
1233         * include/monetary.h, include/stdlib.h, include/time.h
1234         * include/wchar.h, locale/duplocale.c, locale/freelocale.c
1235         * locale/global-locale.c, locale/langinfo.h, locale/locale.h
1236         * locale/localeinfo.h, locale/newlocale.c
1237         * locale/nl_langinfo_l.c, locale/uselocale.c
1238         * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
1239         * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
1240         * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
1241         * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
1242         * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1243         * string/strcasecmp.c, string/strcoll_l.c, string/string.h
1244         * string/strings.h, string/strncase.c, string/strxfrm_l.c
1245         * sysdeps/ieee754/float128/strtof128_l.c
1246         * sysdeps/ieee754/float128/wcstof128.c
1247         * sysdeps/ieee754/float128/wcstof128_l.c
1248         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1249         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1250         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1251         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
1252         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
1253         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
1254         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
1255         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1256         * sysdeps/x86_64/strcasecmp_l-nonascii.c
1257         * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
1258         * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
1259         * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
1260         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1261         * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
1262         * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
1263         * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
1264         * wctype/towctrans_l.c, wctype/wcfuncs_l.c
1265         * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
1266         Change all uses of __locale_t to locale_t.
1268 2017-06-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1270         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
1271         for !__OFF_T_MATCHES_OFF64_T.
1272         * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
1273         implementation based on open64.
1274         * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
1275         * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
1277 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1279         * elf/dl-tunables.list: Move x86 specific tunables to ...
1280         * sysdeps/x86/dl-tunables.list: Here.  New file.
1282 2017-06-20  Joseph Myers  <joseph@codesourcery.com>
1284         [BZ #21635]
1285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1286         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1287         * conform/data/signal.h-data (uc_mcontext): XFAIL for
1288         powerpc32-linux.
1289         * conform/data/ucontext.h-data (uc_mcontext): Likewise.
1291         [BZ #21634]
1292         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
1293         (conformtest-xfail-conds): New variable.
1294         * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
1295         * conform/data/ucontext.h-data (uc_sigmask): Likewise.
1297 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1299         * benchtests/powf-inputs: Add reduced trace from wrf.
1301 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1302             Erich Elsen  <eriche@google.com>
1304         * elf/dl-tunables.list (tune): Add ifunc,
1305         x86_non_temporal_threshold,
1306         x86_data_cache_size and x86_shared_cache_size.
1307         * manual/tunables.texi: Document glibc.tune.ifunc,
1308         glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
1309         and glibc.tune.x86_non_temporal_threshold.
1310         * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
1311         * sysdeps/x86/cpu-tunables.c: Likewise.
1312         * sysdeps/x86/cacheinfo.c
1313         (init_cacheinfo): Check and get data cache size, shared cache
1314         size and non temporal threshold from cpu_features.
1315         * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
1316         New.
1317         [HAVE_TUNABLES] Include <unistd.h>.
1318         [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
1319         [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
1320         [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
1321         IFUNC selection, data cache size, shared cache size and non
1322         temporal threshold.
1323         * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
1324         shared_cache_size and non_temporal_threshold.
1326 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1328         * benchtests/README: Describe workload feature.
1329         * benchtests/bench-skeleton.c (main): Add support for
1330         benchmarking traces from workloads.
1332 2017-06-20  Zack Weinberg  <zackw@panix.com>
1334         * string/string.h (__mempcpy_inline): Delete.
1335         * sysdeps/x86_64/multiarch/mempcpy.c
1336         * sysdeps/x86_64/multiarch/stpcpy.c:
1337         Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
1338         before including string.h.
1340 2017-06-20  Paul A. Clarke  <pc@us.ibm.com>
1342         * benchtests/Makefile (bench-math): Add powf.
1343         * benchtests/powf-inputs: New file.
1345 2017-06-20  Zack Weinberg  <zackw@panix.com>
1347         * bits/string.h, string/bits/string.h
1348         * sysdeps/aarch64/bits/string.h
1349         * sysdeps/m68k/m680x0/m68020/bits/string.h
1350         * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
1351         * sysdeps/x86/bits/string.h: Delete file.
1353         * string/string.h: Don't include bits/string.h.
1354         * string/bits/string3.h: Rename to bits/string_fortified.h.
1355         No need to undef various symbols that the removed headers
1356         might have defined as macros.
1357         * string/Makefile (headers): Remove bits/string.h, change
1358         bits/string3.h to bits/string_fortified.h.
1359         * string/string-inlines.c: Update commentary.  Remove definitions
1360         of various macros that nothing looks at anymore.  Don't directly
1361         include bits/string.h. Set _STRING_INLINE_unaligned here, based on
1362         compiler-predefined macros.
1363         * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
1364         _is_ defined, provide internal hidden alias __strncat.
1365         * include/string.h: Declare internal hidden alias __strncat.
1366         Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
1367         not defined.
1368         * include/bits/string3.h: Rename to bits/string_fortified.h,
1369         update to match above.
1371         * sysdeps/i386/string-inlines.c: Define compat symbols for
1372         everything formerly defined by sysdeps/x86/bits/string.h.
1373         Make existing definitions into compat symbols as well.
1374         Remove some no-longer-necessary messing around with macros.
1376         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1377         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1378         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1379         * sysdeps/s390/multiarch/mempcpy.c
1380         No need to define _HAVE_STRING_ARCH_mempcpy.
1381         Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
1383         * sysdeps/i386/i686/multiarch/strncat-c.c
1384         * sysdeps/s390/multiarch/strncat-c.c
1385         * sysdeps/x86_64/multiarch/strncat-c.c
1386         Define STRNCAT_PRIMARY.  Don't change definition of libc_hidden_def.
1388 2017-06-20  Rical Jasan  <ricaljasan@pacific.net>
1390         * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
1391         (LDBL_DIG): Likewise.
1392         (LDBL_MIN_EXP): Likewise.
1393         (LDBL_MIN_10_EXP): Likewise.
1394         (LDBL_MAX_EXP): Likewise.
1395         (LDBL_MAX_10_EXP): Likewise.
1396         (LDBL_MAX): Likewise.
1397         (LDBL_MIN): Likewise.
1398         (LDBL_EPSILON): Likewise.
1399         (FLT_ROUNDS): Change standard from ISO to C90.
1400         (FLT_RADIX): Likewise.
1401         (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
1402         (FLT_DIG, DBL_DIG): Likewise.
1403         (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
1404         (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
1405         (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
1406         (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
1407         (FLT_MAX, DBL_MAX): Likewise.
1408         (FLT_MIN, DBL_MIN): Likewise.
1409         (FLT_EPSILON, DBL_EPSILON): Likewise.
1411 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
1413         * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
1414         [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
1415         [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
1416         * sysdeps/mips/math-tests.h
1417         [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
1418         conditional code.
1420 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1422         * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
1423         It cannot change while __libc_setlocale_lock is acquired.
1425 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1427         * elf/rtld.c (audit_list_string): New variable.
1428         (audit_list): Update comment.
1429         (struct audit_list_iter): Define.
1430         (audit_list_iter_init, audit_list_iter_next): New function.
1431         (dl_main): Use struct audit_list_iter to process audit modules.
1432         (process_dl_audit): Call dso_name_valid_for_suid.
1433         (process_envvars): Set audit_list_string instead of calling
1434         process_dl_audit.
1436 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1438         * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
1439         (dso_name_valid_for_suid): New function.
1440         (handle_ld_preload): Likewise.
1441         (dl_main): Call it.  Remove alloca.
1443 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
1445         [BZ #21625]
1446         * posix/sys/wait.h (strust rusage forward declaration): Change
1447         [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
1448         !__USE_XOPEN2K].
1449         (wait3): Likewise.
1451         * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
1452         * configure: Regenerated.
1453         * manual/install.texi (Tools for Compilation): Document
1454         requirement for GCC 4.9 or later.
1455         * INSTALL: Regenerated.
1457 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1459         [BZ #21624]
1460         CVE-2017-1000366
1461         * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
1462         __libc_enable_secure.
1464 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1466         [BZ #21539]
1467         * NEWS: Mention s390 ptrace request changes.
1468         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1469         (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
1470         PTRACE_SETFPREGS): Remove enum constant.
1471         (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
1472         Remove defines.
1473         (PTRACE_SINGLEBLOCK): New enum constant.
1474         (PT_STEPBLOCK): New define.
1475         (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
1476         PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
1477         PTRACE_TE_ABORT_RAND): New enum constant and define.
1478         * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
1479         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
1480         New file.
1481         * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
1483 2017-06-16  Florian Weimer  <fweimer@redhat.com>
1485         * resolv/res_init.c (res_vinit_1): Use getline to read from the
1486         configuration file.
1487         (__res_vinit): Adjust.
1489 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1491         * resolv/res_init.c (res_vinit_1): New function.
1492         (__res_vinit): Call it.  Handle file open and memory allocation
1493         failures.
1494         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
1495         erno from __res_maybe_init failure.
1496         (_nss_dns_gethostbyname4_r): Likewise.
1497         (_nss_dns_gethostbyaddr2_r): Likewise.
1498         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
1499         (_nss_dns_getnetbyaddr_r): Likewise.
1501 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1503         * resolv/res_init.c: Reformat to GNU style.
1505 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1507         * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
1508         (is_sort_mask): New function.
1509         (__res_vinit): Use it.
1511 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1513         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
1514         conditionals.
1516 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1518         * resolv/res-close.c: New file.
1519         * resolv/res_init.c (__res_iclose, res_nclose)
1520         (res_thread_freeres): Remove definitions.
1521         * resolv/Makefile (routines): Add res-close.
1523 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1525         * resolv/res_randomid.c: New file.
1526         * resolv/res_init.c (res_randomid): Remove definition.
1527         * resolv/Makefile (routines): Add res_randomid.
1529 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1531         * include/resolv.h (__res_vinit): Declare as hidden.
1532         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
1533         * resolv/res_libc.c (res_init): Likewise.
1535 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
1537         [BZ #21457]
1538         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
1539         _libc_xmmreg): Use __ctx in defining field.
1541         [BZ #21597]
1542         * signal/signal.h (siginterrupt): Make declaration conditional on
1543         [__USE_XOPEN_EXTENDED || __USE_MISC].
1545         [BZ #21584]
1546         * signal/signal.h: Make includes of <bits/sigstack.h> and
1547         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
1548         __USE_MISC].
1549         (sigaltstack): Make declaration conditional on
1550         [__USE_XOPEN_EXTENDED || __USE_MISC].
1552         [BZ #21575]
1553         * resource/bits/types/struct_rusage.h: New file.
1554         * include/bits/types/struct_rusage.h: Likewise.
1555         * bits/resource.h (struct rusage): Include
1556         <bits/types/struct_rusage.h> instead of defining here.
1557         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
1558         Likewise.
1559         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
1560         Likewise.
1561         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
1562         Likewise.
1563         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
1564         Likewise.
1565         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
1566         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
1567         Include <bits/types/struct_rusage.h>
1569 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1571         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
1573 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1575         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
1577 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1579         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
1581 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1583         [BZ #21537]
1584         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
1585         Check SHARED instead of PIC.
1586         (SYSCALL_PIC_SETUP): Add missing semicolons.
1587         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
1588         Check SHARED instead of PIC.
1589         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
1590         (__makecontext_ret): Adjust code to jump to exit.
1592 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
1594         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
1595         Simplify code by always using SVC 0 instead of EX.
1596         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1598 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
1600         * elf/Versions (ld): Remove _dl_out_of_memory.
1602 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
1604         * timezone/private.h: Update from tzcode 2017b.
1605         * timezone/tzfile.h: Likewise.
1606         * timezone/tzselect.ksh: Likewise.
1607         * timezone/zdump.c: Likewise.
1608         * timezone/zic.c: Likewise.
1609         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
1610         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
1611         * time/tzset.c (SECSPERDAY): New macro.
1613 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
1615         * manual/string.texi (strdup): Complete header and standards
1616         annotation.
1617         (strncpy): Likewise.
1619 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
1621         * manual/arith.texi (FP_NAN): Add or complete header and standard
1622         annotations.
1623         (FP_INFINITE): Likewise.
1624         (FP_ZERO): Likewise.
1625         (FP_SUBNORMAL): Likewise.
1626         (FP_NORMAL): Likewise.
1627         (SNAN): Likewise.
1628         (SNANL): Likewise.
1629         (totalorderf): Likewise.
1630         (totalorderl): Likewise.
1631         (totalordermagf): Likewise.
1632         (totalordermagl): Likewise.
1633         (_Complex_I): Likewise.
1634         (I): Likewise.
1636 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
1638         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
1639         standard annotation.
1640         (ARGP_HELP_SHORT_USAGE): Likewise.
1641         (ARGP_HELP_SEE): Likewise.
1642         (ARGP_HELP_LONG): Likewise.
1643         (ARGP_HELP_PRE_DOC): Likewise.
1644         (ARGP_HELP_POST_DOC): Likewise.
1645         (ARGP_HELP_DOC): Likewise.
1646         (ARGP_HELP_BUG_ADDR): Likewise.
1647         (ARGP_HELP_LONG_ONLY): Likewise.
1648         (ARGP_HELP_EXIT_ERR): Likewise.
1649         (ARGP_HELP_EXIT_OK): Likewise.
1650         (ARGP_HELP_STD_ERR): Likewise.
1651         (ARGP_HELP_STD_USAGE): Likewise.
1652         (ARGP_HELP_STD_HELP): Likewise.
1654 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
1656         * manual/Makefile: Generate summary.texi with summary.pl.  Force
1657         use of the C locale.  Update Perl dependency comment.
1658         * manual/header.texi: Update reference to summary.awk.
1659         * manual/macros.texi: Refer authors to `summary.pl --help'.
1660         * manual/summary.awk: Remove file.
1661         * manual/summary.pl: New file.  Generate summary.texi, and check
1662         for @standards-related syntax errors.
1663         * manual/argp.texi: Convert header and standards @comments to
1664         @standards.
1665         * manual/arith.texi: Likewise.
1666         * manual/charset.texi: Likewise.
1667         * manual/conf.texi: Likewise.
1668         * manual/creature.texi: Likewise.
1669         * manual/crypt.texi: Likewise.
1670         * manual/ctype.texi: Likewise.
1671         * manual/debug.texi: Likewise.
1672         * manual/errno.texi: Likewise.
1673         * manual/filesys.texi: Likewise.
1674         * manual/getopt.texi: Likewise.
1675         * manual/job.texi: Likewise.
1676         * manual/lang.texi: Likewise.
1677         * manual/llio.texi: Likewise.
1678         * manual/locale.texi: Likewise.
1679         * manual/math.texi: Likewise.
1680         * manual/memory.texi: Likewise.
1681         * manual/message.texi: Likewise.
1682         * manual/pattern.texi: Likewise.
1683         * manual/pipe.texi: Likewise.
1684         * manual/process.texi: Likewise.
1685         * manual/resource.texi: Likewise.
1686         * manual/search.texi: Likewise.
1687         * manual/setjmp.texi: Likewise.
1688         * manual/signal.texi: Likewise.
1689         * manual/socket.texi: Likewise.
1690         * manual/startup.texi: Likewise.
1691         * manual/stdio.texi: Likewise.
1692         * manual/string.texi: Likewise.
1693         * manual/sysinfo.texi: Likewise.
1694         * manual/syslog.texi: Likewise.
1695         * manual/terminal.texi: Likewise.
1696         * manual/threads.texi: Likewise.
1697         * manual/time.texi: Likewise.
1698         * manual/users.texi: Likewise.
1700 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
1702         * manual/macros.texi (@standards): New macro.  Provide placeholder
1703         for header and standards annotations.
1704         (@standardsx): New macro.  Likewise, for lists of @*x elements.
1706 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1708         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
1709         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
1710         rule.
1711         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
1712         sync_file_range.
1714          * support/support_test_main.c (support_test_main):  Use optstring
1715          member for option string in getopt_long.
1716          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
1717          (CMDLINE_OPTSTRING): New define.
1718          * support/test-driver.h (test_config): Add optstring member.
1720 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1722         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1723         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
1724         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
1725         Check USE_AS_STRPBRK instead of STRPBRK_P.
1726         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
1727         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
1728         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
1729         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
1730         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
1731         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
1732         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
1733         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
1734         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
1735         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
1736         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1737         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
1738         and "#endif".
1740 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1742         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
1743         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
1745 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1747         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1748         strcat-sse2.
1749         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
1750         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
1751         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
1752         * sysdeps/x86_64/multiarch/strcat.S: Removed.
1753         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1755 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1756             Erich Elsen  <eriche@google.com>
1758         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1759         memcmp-sse2.
1760         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
1761         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
1762         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
1763         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1764         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
1765         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1767 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1768             Erich Elsen  <eriche@google.com>
1770         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1771         memset-sse2-unaligned-erms, and memset_chk-nonshared.
1772         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1773         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
1774         Update comments.
1775         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
1776         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
1777         * sysdeps/x86_64/multiarch/memset.c: Likewise.
1778         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
1779         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
1780         * sysdeps/x86_64/multiarch/memset.S: Removed.
1781         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1782         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1783         (__memset_chk_erms): New function.
1785 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1787         * configure.ac(--enable-tunables): Enable by default.
1788         * configure: Regenerate.
1789         * NEWS: Mention change.
1790         * manual/install.texi (enable-tunables): Adjust documentation.
1791         * INSTALL: Regenerate.
1793 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1795         [BZ #18988]
1796         * benchtests/thread_create-inputs: New file.
1797         * benchtests/thread_create-source.c: Likewise.
1798         * support/xpthread_attr_setguardsize.c: Likewise.
1799         * support/Makefile (libsupport-routines): Add
1800         xpthread_attr_setguardsize object.
1801         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
1802         * benchtests/Makefile (bench-pthread): Add thread_create.
1803         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
1804         then mprotect the required area.
1805         (guard_position): New function.
1806         (setup_stack_prot): Likewise.
1808 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
1809             Erich Elsen  <eriche@google.com>
1810             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1812         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1813         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
1814         mempcpy_chk-nonshared and memmove_chk-nonshared.
1815         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1816         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
1817         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
1818         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
1819         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
1820         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
1821         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
1822         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
1823         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1824         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
1825         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1826         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
1827         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
1828         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
1829         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
1830         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1831         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1832         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1833         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1834         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1835         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1836         (__mempcpy_chk_erms): New function.
1837         (__memmove_chk_erms): Likewise.
1838         (__memcpy_chk_erms): New alias.
1840 2017-06-14  Florian Weimer  <fweimer@redhat.com>
1842         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
1843         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
1845 2017-06-14  Zack Weinberg  <zackw@panix.com>
1847         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
1848         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
1849         defined, don't declare anything other than the E-constants.
1851         * include/errno.h: Change conditional for exposing internal
1852         declarations to (not _ISOMAC and not __ASSEMBLER__).
1853         * bits/errno.h: Remove logic for __need_Emath.  Document
1854         requirements for a port-specific bits/errno.h.
1856         * sysdeps/unix/sysv/linux/bits/errno.h
1857         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
1858         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
1859         * sysdeps/unix/sysv/linux/mips/bits/errno.h
1860         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
1861         Add multiple-include guard and check against improper inclusion.
1862         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
1863         constants are defined as simple integer literals.  Consistent
1864         formatting.
1865         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
1866         enum __error_t_codes if __ASSEMBLER__ is not defined.
1867         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1869         * argp/argp.h, string/argz.h: Don't define __need_error_t before
1870         including errno.h.
1871         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
1872         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
1873         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
1874         * sysdeps/x86_64/fpu/s_cosf.S
1875         * sysdeps/x86_64/fpu/s_sincosf.S
1876         * sysdeps/x86_64/fpu/s_sinf.S:
1877         Just include errno.h; don't define __need_Emath or include
1878         bits/errno.h directly.
1880 2017-06-14  Zack Weinberg  <zackw@panix.com>
1882         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
1883         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
1884         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
1886         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
1887         for IOV_MAX.
1888         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
1889         Don't install bits/uio.h.
1890         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
1891         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
1892         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
1894         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
1895         and __need_IOV_MAX.  Don't define IOV_MAX at all.
1896         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
1898         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
1899         Include bits/types/struct_iovec.h, not bits/uio.h.
1900         Use __ssize_t, not ssize_t, in function prototypes.
1901         Don't use hard TAB for double space after period in comments.
1903 2017-06-14  Alan Modra  <amodra@gmail.com>
1905         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
1906         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
1907         refsym and sym parameters.  Adjust callers.
1908         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1909         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
1910         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
1911         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
1912         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
1913         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1914         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
1915         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
1916         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
1917         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
1918         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
1919         Likewise.
1920         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1921         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1922         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
1923         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1924         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1925         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
1926         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1927         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
1928         (_dl_reloc_overflow): Increase buffser size.  Formatting.
1929         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1930         Delete reloc param, add refsym and sym.  Check optimized plt
1931         call stubs for localentry:0 functions.  Adjust callers.
1932         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
1933         and sym parameters.  Adjust callers.
1934         (_dl_reloc_overflow): Move attribute.
1935         (_dl_error_localentry): Declare.
1936         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
1937         refsym and sym to elf_machine_fixup_plt.
1938         * elf/testobj6.c (preload): Call printf.
1940 2017-06-14  Alan Modra  <amodra@gmail.com>
1942         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
1943         (NOPS, ENTRY_3): New macros.
1944         (ENTRY): Rewrite.
1945         (ENTRY_TOCLESS): Define.
1946         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
1947         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
1948         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
1949         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
1950         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1951         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1952         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1953         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1954         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1955         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1956         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1957         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1958         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1959         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1960         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1961         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1962         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
1963         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1964         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1965         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1966         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
1967         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1968         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
1969         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
1970         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
1971         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
1972         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1973         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1974         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1975         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
1976         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1977         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1978         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1979         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
1980         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1981         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
1982         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1983         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1984         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1985         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1986         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1987         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1988         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1989         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1990         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1991         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1992         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1993         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1994         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1995         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1996         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1997         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1998         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1999         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2000         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2001         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2002         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2003         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2004         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2005         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2006         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2007         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2008         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2009         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2010         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2011         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2012         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2013         Likewise.
2014         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2015         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2016         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2017         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2018         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2019         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2020         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2021         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2022         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2023         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2024         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2025         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2026         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2027         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2028         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2029         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2030         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2031         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2032         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2033         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2034         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2035         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2036         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2037         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2038         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2039         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2040         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2041         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2042         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2043         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2044         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
2045         add nop when SHARED.
2046         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2047         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2048         define.
2049         (ENTRY_TOCLESS): Define.
2050         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2051         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2052         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2054 2017-06-14  Alan Modra  <amodra@gmail.com>
2056         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2057         MEMSET_is_local.
2058         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2059         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2060         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2061         Define MEMSET.
2062         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2063         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2064         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
2065         nop after local calls.
2066         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2067         Don't add nop after local call.
2068         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
2069         CALL_MCOUNT.
2071 2017-06-14  Alan Modra  <amodra@gmail.com>
2073         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2074         (FUNC_LABEL): Rename from DOT_LABEL.
2075         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2076         Use .p2align rather than .align.
2077         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2078         (ABORT_TRANSACTION): Likewise.
2079         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2080         particularly at end.  Add semicolon at invocation as necessary.
2081         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2082         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2083         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2084         END): Adjust to suit.
2086 2017-06-14  Alan Modra  <amodra@gmail.com>
2088         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2089         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2090         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2091         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2092         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2094         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2096 2017-06-14  Alan Modra  <amodra@gmail.com>
2098         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2099         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
2101 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
2103         [BZ #21548]
2104         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
2105         8 and use it when copying general purpose registers.
2106         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
2107         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
2108         mips o32.
2109         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
2110         new test for mips o32.
2111         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
2112         8 and use it when copying general purpose registers.
2113         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
2115 2017-06-13  Florian Weimer  <fweimer@redhat.com>
2117         * configure.ac (find_cxx_header): Suppress compiler error message.
2119 2017-06-13  Florian Weimer  <fweimer@redhat.com>
2121         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
2122         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
2123         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
2124         begin/end.
2125         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
2126         dynarray_int_end.
2127         (test_str): Test dynarray_str_begin, dynarray_str_end.
2129 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
2131         [BZ #21573]
2132         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
2133         $(common-objpfx)bits/std_abs.h.
2134         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
2135         New target.
2136         * config.make.in (c++-bits-std_abs-h): New.
2137         * configure.ac (find_cxx_header): Use "\,$1," with sed.
2138         (CXX_BITS_STD_ABS_H): New.
2139         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
2140         * configure: Regenerated.
2142 2017-06-13  Zack Weinberg  <zackw@panix.com>
2144         * posix/bits/cpu-set.h: Correct indentation of preprocessor
2145         directives.
2147 2017-06-12  Zack Weinberg  <zackw@panix.com>
2149         * bits/sched.h: Remove __need_schedparam logic and replace with a
2150         normal multiple-include guard.  Change field name in struct
2151         sched_param from __sched_priority to sched_priority.  Delete
2152         everything under #ifndef __cpu_set_t_defined.
2153         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
2154         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
2156         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
2157         For compatibility, #define sched_priority to itself, and #define
2158         __sched_priority as sched_priority.
2159         * posix/bits/cpu-set.h: New file containing, verbatim, the code
2160         that was under #ifndef __cpu_set_t_defined in
2161         sysdeps/unix/sysv/linux/bits/sched.h.
2162         * include/bits/cpu-set.h: New wrapper.
2163         * posix/Makefile: Install bits/cpu-set.h.
2165 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2166             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2167             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2169         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
2170         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
2171         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
2172         * math/libm-test-isfinite.inc (finite_test): Likewise.
2173         * math/libm-test-lgamma.inc (gamma_test): Likewise.
2174         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
2175         (nexttoward_test_data}: Likewise.
2176         * math/libm-test-remainder.inc (drem_test): Likewise.
2177         * math/libm-test-scalb.inc (scalb_test): Likewise.
2178         (scalb_test_data): Likewise.
2179         * math/libm-test-significand.inc (significand_test): Likewise.
2180         (significand_test_data): Likewise.
2181         * math/libm-test-support.c (check_complex): Replace __complex__
2182         FLOAT with CFLOAT to get the support for old compiler.
2183         * math/libm-test-support.h (check_complex): Likewise.
2184         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
2185         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
2186         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
2187         * math/test-float128.h: New file.
2188         * math/test-math-floatn.h: New file.
2190 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2192         * include/float.h: Allow the definition of macros prefixed with
2193         FLT128 even if _ISOMAC is defined, but provided that
2194         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
2196 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2198         * manual/math.texi (Mathematics): Add description for _FloatN and
2199         _FloatNx types and mentions that they are not support in glibc for
2200         any architecture, so far.
2201         * manual/arith.texi (wcstof, wcstold): Replace the mention to
2202         stdlib.h with wchar.h.
2203         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
2204         (Printing of Floats): Add description for strfromfN.
2206 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2207             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2208             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2210         * include/gmp.h (__mpn_construct_float128): New declaration.
2211         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
2212         (__strtof128_l): New declaration.
2213         (__strtof128_nan): Likewise.
2214         (__wcstof128_nan): Likewise.
2215         (__strtof128_internal): Likewise.
2216         (____strtof128_l_internal): Likewise.
2217         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
2218         (__wcstof128_l): New declaration.
2219         (__wcstof128_internal): Likewise.
2221         * stdlib/Makefile (bug-strtod2): Link libm too.
2223         * stdlib/stdlib.h (strtof128): New declaration.
2224         (strtof128_l): Likewise.
2226         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
2227         tst-strtod.h macros to ensure float128 gets tested too.
2229         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
2231         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
2232         tests.
2233         (IF_FLOAT128): New macro.
2234         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
2235         the tests.
2236         (STRTOD_TEST_FOREACH): Likewise.
2238         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
2239         wcstof128 functions into libc.
2241         * sysdeps/ieee754/float128/Versions: Add exports for the above
2242         new functions.
2244         * sysdeps/ieee754/float128/mpn2float128.c: New file.
2245         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
2246         * sysdeps/ieee754/float128/strtof128.c: New file.
2247         * sysdeps/ieee754/float128/strtof128_l.c: New file.
2248         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
2249         * sysdeps/ieee754/float128/wcstof128.c: New file.
2250         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
2251         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
2252         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
2253         (CFLAGS-wcstof128_l): Likewise.
2255         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
2256         (wcstof128): New declaration.
2257         (wcstof128_l): Likewise.
2259 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
2261         [BZ #21552]
2262         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
2263         not [__USE_XOPEN].
2264         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
2266         [BZ #21550]
2267         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
2269 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
2271         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2272         strcpy-sse2 and stpcpy-sse2.
2273         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
2274         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
2275         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
2276         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
2277         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
2278         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
2279         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
2280         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
2281         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2282         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2283         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2284         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
2285         (libc_hidden_def): Always defined as empty.
2286         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
2287         Always Defined as empty.
2289 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
2291         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
2293 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
2295         [BZ #15105]
2296         [BZ #19463]
2297         * include/string.h: Add internal redirect for __stpcpy.
2298         * string/Makefile: Remove bits/string2.h.
2299         * string/string.h: Update comment.
2300         * string/string-inlines.c: Remove bits/string2.h include and comment.
2301         * string/bits/string2.h: Remove file.
2303 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
2305         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
2306         * sunrpc/clnt_gen.c (clnt_create): Likewise.
2307         * sunrpc/des_impl.c (_des_crypt): Likewise.
2308         * sunrpc/key_call.c (key_gendes): Likewise.
2309         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2310         * sunrpc/svc_simple.c (universal): Likewise.
2311         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
2312         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2313         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
2315 2017-06-10  Zack Weinberg  <zackw@panix.com>
2317         * stdlib/errno.h: Correct an outdated comment.
2319 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
2321         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
2322         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
2323         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
2324         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
2325         New file.  Invoke newly supported sysconf values for powerpc,
2326         and report results.  If none are supported, report so.
2327         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
2328         tst-sysconf.
2330 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2332         * include/sys/auxv.h (__getauxval): Add a prototype and its
2333         libc_hidden_proto.
2334         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
2336 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
2338         [BZ #21561]
2339         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
2340         [__USE_XOPEN_EXTENDED].
2341         (id_t): Likewise.
2342         (include of <bits/types/siginfo_t.h): Likewise.
2343         (waitid): Likewise.
2344         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
2345         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
2346         (WEXITED): Likewise.
2347         (WCONTINUED): Likewise.
2348         (WNOWAIT): Likewise.
2349         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
2350         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2351         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2353         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
2354         libc.so PLT entry optional.
2355         (__gtsf2): Likewise.
2356         (__unorddf2): Likewise.
2357         (__unordsf2): Likewise.
2358         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
2359         New optional libc.so PLT entry.
2361         [BZ #21554]
2362         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
2363         not [__USE_XOPEN].
2365         [BZ #21560]
2366         * posix/sys/wait.h: Condition include of <signal.h> on
2367         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
2368         unconditionally.
2369         [!__pid_t_defined] (pid_t): Define typedef.
2371 2017-06-09  Zack Weinberg  <zackw@panix.com>
2373         * include/errno.h (__errno_location): Use __attribute_const__
2374         instead of bare __attribute__.
2376 2017-06-09  Zack Weinberg  <zackw@panix.com>
2378         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
2379         (common-generated): Add libc-modules.h and libc-modules.stmp in a
2380         more appropriate location. Also add dl-tunable-list.h and
2381         dl-tunable-list.stmp.
2383 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2385         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
2387 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2389         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2390         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
2391         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2392         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
2393         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
2394         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
2395         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
2396         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
2397         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
2398         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
2399         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
2401 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2403         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2404         memrchr-sse2 and memrchr-avx2.
2405         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2406         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
2407         __memrchr_sse2.
2408         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
2409         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
2410         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
2412 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2414         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2415         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
2416         wcschr-sse2 and wcschr-avx2.
2417         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2418         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
2419         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
2420         __wcschr_sse2.
2421         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
2422         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
2423         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
2424         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
2425         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
2426         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
2427         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
2428         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
2429         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
2430         * sysdeps/x86_64/multiarch/strchr.S: Removed.
2432 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2434         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2435         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
2436         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
2437         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2438         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
2439         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
2440         __wcslen_sse2 and __wcsnlen_avx2.
2441         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
2442         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
2443         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
2444         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
2445         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
2446         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
2447         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
2448         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
2449         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
2450         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
2451         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
2452         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
2453         vzeroupper is preferred and AVX unaligned load is fast.
2455 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2457         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
2458         USE_AS_WMEMCHR is defined.
2459         (PCMPEQ): Likewise.
2460         (memchr): Renamed to ...
2461         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
2462         Replace pcmpeqb with PCMPEQ.
2463         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2464         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
2465         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
2466         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
2467         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2468         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
2469         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
2470         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
2471         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
2472         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
2473         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
2474         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
2475         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
2476         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2477         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
2478         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
2479         __wmemchr_sse2.
2481 2017-06-09  Florian Weimer  <fweimer@redhat.com>
2483         * malloc/Makefile (test-srcs): Remove tst-dynarray,
2484         tst-dynarray-fail.
2486 2017-06-09  Florian Weimer  <fweimer@redhat.com>
2488         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
2489         * support/support_test_verify_impl.c
2490         (support_test_verify_exit_impl): Split from
2491         support_test_verify_impl.
2492         * support/check.h (TEST_VERIFY): Drop status argument from
2493         support_test_verify_impl call.
2494         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
2495         (support_test_verify_impl): Remove status argument.
2496         (support_test_verify_exit_impl): Declare.
2498 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2500         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
2501         mention of magic numbers in comments.
2502         (_dl_procinfo): Fix undefined behavior
2504 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
2506         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
2507         [XPG4].
2508         (WEXITED): Likewise.
2509         (WSTOPPED): Likewise.
2510         (WCONTINUED): Likewise.
2511         (WNOHANG): Likewise.
2512         (WNOWAIT): Likewise.
2513         (idtype_t): Likewise.
2514         (P_ALL): Likewise.
2515         (P_PID): Likewise.
2516         (P_PGID): Likewise.
2517         (id_t): Likewise.
2518         (siginfo_t): Likewise.
2519         (wait3): Likewise.
2520         (waitid): Likewise.
2521         (signal.h): Do not allow header for [XPG4].
2522         (sys/resource.h): Likewise.
2523         (si_*): Do not allow for [XPG4].
2524         (W*): Likewise.
2525         (P_*): Likewise.
2526         (BUS_): Likewise.
2527         (CLD_): Likewise.
2528         (FPE_): Likewise.
2529         (ILL_): Likewise.
2530         (POLL_): Likewise.
2531         (SEGV_): Likewise.
2532         (SI_): Likewise.
2533         (TRAP_): Likewise.
2534         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
2535         variable.
2537 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2539         [BZ #21528]
2540         * elf/dl-minimal.c (__strtoul_internal): Removed.
2541         (strtoul): Likewise.
2542         * elf/dl-misc.c (_dl_strtoul): New function.
2543         * elf/dl-tunables.c (tunables_strtoul): Removed.
2544         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
2545         * elf/rtld.c (process_envvars): Likewise.
2546         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
2547         Likewise.
2548         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
2550 2017-06-08  Zack Weinberg  <zackw@panix.com>
2552         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
2553         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
2554         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
2555         * wctype/bits/wctype-wchar.h: New file holding declarations shared
2556         between wctype.h and wchar.h.
2558         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
2559         Install them.
2561         * include/bits/types/FILE.h, include/bits/types/__FILE.h
2562         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
2563         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
2564         New wrappers.
2565         * include/stdio.h, include/wchar.h, include/wctype.h:
2566         No need to handle __need macros.
2568         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
2569         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
2570         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
2571         * wcsmbs/wchar.h, wctype/wctype.h
2572         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
2573         Use the new files instead of __need macros.
2575 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2577         * string/test-memrchr.c (test_main): Add tests for len == 0
2578         and tests for positions close to the beginning, which are
2579         equivalent to positions close to the end for memchr.
2581 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
2583         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
2584         comments.
2585         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
2586         instead of wmemset.h.
2587         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
2588         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
2589         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
2591 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2593         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
2594         spec->info.is_binary128 to zero.
2595         * stdio-common/printf.h (printf_info): Add new member is_binary128
2596         to indicate that the number being converted to string is compatible
2597         with the IEC 60559 binary128 format.
2598         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
2599         _Float128 numbers.
2600         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
2601         ldbl-128/printf_fphex_macros.h
2602         (__printf_fphex): Add code to deal with _Float128 numbers.
2603         * stdio-common/printf_size.c (__printf_size): Likewise.
2604         * stdio-common/vfprintf.c (process_arg): Initialize member
2605         info.is_binary128 to zero.
2606         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
2607         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
2608         (strfromf128): New declaration.
2609         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
2610         to one.
2611         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
2612         * sysdeps/ieee754/float128/Versions: Likewise.
2613         * sysdeps/ieee754/float128/strfromf128.c: New file.
2615 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2617         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
2618         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
2619         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
2620         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
2621         (PRINT_FPHEX): New function-like macro that can be used for long
2622         double, as well as for _Float128
2624 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2626         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
2627         (__printf_fp_l): Use the new macro to avoid duplicating code.
2628         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
2629         (__printf_fphex): Use the new macro to avoid duplicating code.
2630         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
2631         (__printf_size): Use the new macro to avoid duplicating code.
2633 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2635         * include/gmp.h: Include bits/floatn.h
2636         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
2637         * stdlib/gmp-impl.h: Also check if alloca is not defined before
2638         including stack-alloc.h.  It could have been defined by other header
2639         which not necessarily defines HAVE_ALLOCA.
2640         * sysdeps/ieee754/float128/Makefile: New file.
2641         * sysdeps/ieee754/float128/float1282mpn.c: New file.
2642         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
2643         redefining __mpn_extract_long_double to __mpn_extract_float128, then
2644         redefine __mpn_extract_long_double to __mpn_extract_float128.
2645         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
2646         _Float128 to allow float128_private.h overrides.
2648 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2650         * stdlib/fpioconst.h: Include bits/floatn.h.
2651         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
2652         power of ten table should be.
2653         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
2654         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
2655         to include larger tables when _Float128 support is enabled.
2656         (_fpioconst_pow10): Likewise.
2658 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
2660         * include/bits/types/clock_t.h: Use #include <path> instead of
2661         #include "../../path".
2662         * include/bits/types/clockid_t.h: Likewise.
2663         * include/bits/types/struct_iovec.h: Likewise.
2664         * include/bits/types/struct_itimerspec.h: Likewise.
2665         * include/bits/types/struct_osockaddr.h: Likewise.
2666         * include/bits/types/struct_sigstack.h: Likewise.
2667         * include/bits/types/struct_timespec.h: Likewise.
2668         * include/bits/types/struct_timeval.h: Likewise.
2669         * include/bits/types/struct_tm.h: Likewise.
2670         * include/bits/types/time_t.h: Likewise.
2671         * include/bits/types/timer_t.h: Likewise.
2673         [BZ #14096]
2674         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
2675         America/New_York.
2677 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
2679         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
2680         into ...
2681         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
2682         ifunc-sse4_1.h.
2684 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
2686         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
2687         Remove check for NULL 'buf'.
2688         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
2690 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
2692         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
2693         include test-skeleton.c.
2694         Include support/check.h and support/test-driver.c.
2696 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2698         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
2699         (_dl_aarch64_cap_flags): New array.
2700         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
2701         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
2702         functions.
2704         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
2705         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
2706         Likewise.
2707         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
2708         up hwcap and hwcap_mask.
2710         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
2711         (init_cpu_features): Use glibc.tune.hwcap_mask.
2712         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
2714         * elf/dl-hwcaps.h: New file.
2715         * elf/dl-hwcaps.c: Include it.
2716         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
2717         glibc.tune.hwcap_mask.
2718         * elf/dl-cache.c: Include dl-hwcaps.h.
2719         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
2720         glibc.tune.hwcap_mask.
2721         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2722         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
2723         _dl_hwcap_mask.
2724         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
2725         _dl_hwcap_mask.
2726         (process_envvars)[HAVE_TUNABLES]: Likewise.
2727         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
2728         Likewise.
2729         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
2730         initialize dl_hwcap_mask when tunables are enabled.
2732         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
2733         guard.
2734         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2736         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
2737         * scripts/gen-tunables.awk: Include dl-procinfo.h.
2738         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
2740         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
2741         * elf/dl-tunables.c: Likewise.
2742         (do_tunable_update_val): New function.
2743         (__tunable_set_val): New function.
2744         (__tunable_get_val): Call CB only if the tunable was externally
2745         initialized.
2746         (tunables_strtoul): Replace strval with initialized.
2747         * elf/dl-tunables.h (strval): Replace with a bool initialized.
2748         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
2749         prevent collision.
2750         (__tunable_set_val): New function.
2751         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
2752         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
2753         (TUNABLE_SET_VAL): Remove.
2754         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
2755         * README.tunables: Document the new macros.
2756         * malloc/arena.c (ptmalloc_init): Adjust.
2758 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2760         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2761         wcsnlen-sse4_1 and wcsnlen-c.
2762         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2763         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
2764         __wcsnlen_sse2.
2765         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
2766         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
2767         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
2768         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
2769         * sysdeps/x86_64/wcsnlen.S: Removed.
2771 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2773         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
2774         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
2775         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
2776         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
2778 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2780         * NEWS: Mention new spinlock implementation.
2781         * include/atomic.h:
2782         (__atomic_val_bysize): Cast type to omit volatile qualifier.
2783         (atomic_exchange_acq): Likewise.
2784         (atomic_load_relaxed): Likewise.
2785         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
2786         * nptl/pthread_spin_init.c (pthread_spin_init):
2787         Use atomic_store_relaxed.
2788         * nptl/pthread_spin_lock.c (pthread_spin_lock):
2789         Use C11-like atomic macros.
2790         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2791         Likewise.
2792         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2793         Use atomic_store_release.
2794         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
2795         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
2796         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
2797         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
2798         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
2799         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
2800         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
2801         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
2802         * sysdeps/alpha/atomic-machine.h: Likewise.
2803         * sysdeps/arm/atomic-machine.h: Likewise.
2804         * sysdeps/i386/atomic-machine.h: Likewise.
2805         * sysdeps/ia64/atomic-machine.h: Likewise.
2806         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
2807         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
2808         * sysdeps/microblaze/atomic-machine.h: Likewise.
2809         * sysdeps/mips/atomic-machine.h: Likewise.
2810         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
2811         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
2812         * sysdeps/s390/atomic-machine.h: Likewise.
2813         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
2814         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
2815         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
2816         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
2817         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
2818         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
2819         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
2820         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
2821         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
2822         * sysdeps/x86_64/atomic-machine.h: Likewise.
2824 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2826         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
2827         and use it instead of dl_x86_cpu_features.
2828         (handle_intel): Replace maxidx with cpu_features.  Pass
2829         cpu_features to intel_check_word.
2830         (__cache_sysconf): Pass cpu_features to handle_intel.
2831         (init_cacheinfo): Likewise.  Use cpu_features instead of
2832         dl_x86_cpu_features.
2834 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2836         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
2837         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2838         memcmp-avx2 and wmemcmp-avx2.
2839         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2840         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
2841         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
2842         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
2843         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
2844         2 machines if AVX unaligned load is fast and vzeroupper is
2845         preferred.
2846         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
2847         2 machines if AVX unaligned load is fast and vzeroupper is
2848         preferred.
2850 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2852         * include/wchar.h (__wmemset_chk): New.
2853         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
2854         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
2855         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2856         (WMEMSET_CHK_SYMBOL): Likewise.
2857         (WMEMSET_SYMBOL): Likewise.
2858         (__wmemset): Add hidden definition.
2859         (wmemset): Add weak hidden definition.
2860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2861         wmemset_chk-nonshared.
2862         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2863         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
2864         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
2865         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
2866         and __wmemset_chk_avx512_unaligned.
2867         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
2868         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
2869         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
2870         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2871         (WMEMSET_SYMBOL): Likewise.
2872         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
2873         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
2874         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
2875         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2876         (WMEMSET_SYMBOL): Likewise.
2877         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
2878         (WMEMSET_CHK_SYMBOL): New.
2879         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
2880         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
2881         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
2882         (libc_hidden_builtin_def): Also define __GI_wmemset and
2883         __GI___wmemset.
2884         (weak_alias): New.
2885         * sysdeps/x86_64/multiarch/wmemset.c: New file.
2886         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
2887         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
2888         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
2889         * sysdeps/x86_64/wmemset.c: Likewise.
2890         * sysdeps/x86_64/wmemset_chk.c: Likewise.
2892 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2893             H.J. Lu  <hongjiu.lu@intel.com>
2895         * sysdeps/x86/init-arch.h (PASTER1): New.
2896         (EVALUATOR1): Likewise.
2897         (PASTER2): Likewise.
2898         (EVALUATOR2): Likewise.
2899         (REDIRECT_NAME): Likewise.
2900         (OPTIMIZE): Likewise.
2901         (IFUNC_SELECTOR): Likewise.
2903 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2905         * sysdeps/x86_64/strlen.S (PMINU): New.
2906         (PCMPEQ): Likewise.
2907         (SHIFT_RETURN): Likewise.
2908         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
2909         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
2910         pminub with PCMPEQ and PMINU.
2911         * sysdeps/x86_64/wcsnlen.S: New file.
2913 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2915         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
2916         the lower 32 bits.  Remove redundant instructions.
2918 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2920         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
2921         0 as the high part of offset.
2922         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
2924 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
2926         [BZ #21538]
2927         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
2928         [__USE_UNIX98].
2929         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
2930         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
2931         Likewise.
2932         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
2933         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
2934         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
2935         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
2936         Likewise.
2938         [BZ #21517]
2939         * bits/types/stack_t.h (stack_t): Remove struct tag.
2940         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
2941         Likewise.
2942         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
2943         Likewise.
2944         * debug/segfault.c (install_handler): Use stack_t instead of
2945         struct sigaltstack.
2946         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
2947         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
2948         * include/signal.h (__sigaltstack): Likwise.
2949         * signal/sigaltstack.c (__sigaltstack): Likewise.
2950         * signal/signal.h (sigaltstack): Likewise.
2951         * sysdeps/mach/hurd/i386/signal-defines.sym
2952         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
2953         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
2954         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
2955         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2956         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
2957         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
2958         elf_prstatus): Likewise.
2959         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
2960         Likewise.
2961         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
2962         Likewise.
2963         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
2964         Likewise.
2965         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
2966         elf_prstatus): Likewise.
2967         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
2968         Likewise.
2969         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
2970         Likewise.
2972 2017-06-04  Zack Weinberg  <zackw@panix.com>
2974         * sysdeps/gnu/errlist.c: Regenerate.
2976 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
2978         * benchtests/bench-memchr.c (do_test): Print out both length
2979         and position.
2980         (test_main): Also test the position close to the beginning for
2981         memrchr.
2983 2017-06-04  Zack Weinberg  <zackw@panix.com>
2985         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
2986         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
2987         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
2988         * nis/nis_destroygroup.c, nis/nis_domain_of.c
2989         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
2990         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
2991         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
2992         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
2993         * nis/nis_print_group_entry.c, nis/nis_remove.c
2994         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
2995         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
2996         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
2997         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
2998         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
2999         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3000         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3001         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3002         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3003         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3004         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3005         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3006         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3007         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3008         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3009         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3010         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3011         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3012         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3013         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3015         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3016         abi-versions.h as well as shlib-compat.h.
3017         * sunrpc/get_myaddr.c: Remove obsolete comment.
3018         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3019         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3020         * resolv/res_libc.c: Include shlib-compat.h only once.
3022 2017-06-03  Florian Weimer  <fweimer@redhat.com>
3024         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3025         of strdup.
3027 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
3029         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3030         Set to the 3/4 of the total shared cache size.
3032 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
3034         * manual/errno.texi: Remove redundant error strings.
3035         * manual/macros.texi (@errno): Render the error string in every
3036         description.
3038 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
3040         [BZ #21543]
3041         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3042         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3043         [__USE_XOPEN_EXTENDED].
3045 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3047         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3048         strdupa.
3049         (getcanonname): Use __strdup instead of strdup.
3051 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3053         * misc/Makefile (CFLAGS-preadv2.c): New rule.
3054         (CFLAGS-preadv64v2.c): Likewise.
3055         (CFLAGS-pwritev2.c): Likewise.
3056         (CFLAGS-pwritev64v2.c): Likewise.
3058 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3060         Test res_init with several configuration files.
3061         * resolv/Makefile [build-shared] (tests-internal): Add
3062         tst-resolv-res_init, tst-resolv-res_init-thread.
3063         (tst-resolv-res_init): Link against libdl, libresolv.
3064         (tst-resolv-res_init-thread): Link against libdl, libresolv,
3065         libpthread.
3066         * resolv/tst-resolv-res_init.c: New file.
3067         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3068         * resolv/tst-resolv-res_init-thread.c: Likewise.
3069         * support/Makefile (libsupport-routines): Add support-xstat,
3070         support_can_chroot, support_capture_subprocess_check,
3071         support_isolate_in_subprocess, support_shared_allocate,
3072         support_write_file_string, xchroot, xmkdir, xopen.
3073         * support/capture_subprocess.h (enum support_capture_allow): Define.
3074         (support_capture_subprocess_check): Declare.
3075         * support/namespace.h (support_can_chroot)
3076         (support_isolate_in_subprocess): Declare.
3077         * support/support-xstat.c: New file.
3078         * support/support.h (support_shared_allocate, support_shared_free)
3079         (support_write_file_string): Declare.
3080         * support/support_can_chroot.c: New file.
3081         * support/support_capture_subprocess_check.c: Likewise.
3082         * support/support_isolate_in_subprocess.c: Likewise.
3083         * support/support_shared_allocate.c: Likewise.
3084         * support/support_write_file_string.c: Likewise.
3085         * support/xchroot.c: Likwise.
3086         * support/xmkdir.c: Likwise.
3087         * support/xopen.c: Likwise.
3088         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3090 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3092         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3093         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
3095 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3097         * malloc/Makefile (routines): Add dynarray_at_failure,
3098         dynarray_emplace_enlarge, dynarray_finalize.
3099         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
3100         tst-dynarray-at-fail.
3101         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
3102         (tests-special): Add tst-dynarray-mem.out,
3103         tst-dynarray-mem-fail.out.
3104         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
3105         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
3106         mtrace.
3107         * malloc/Versions (__libc_dynarray_at_failure)
3108         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
3109         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
3110         GLIBC_PRIVATE.
3111         * malloc/dynarray.h: New file.
3112         * malloc/dynarray-skeleton.c: Likewise.
3113         * malloc/dynarray_at_failure.c: Likewise.
3114         * malloc/dynarray_emplace_enlarge.c: Likewise.
3115         * malloc/dynarray_finalize.c: Likewise.
3116         * malloc/dynarray_resize.c: Likewise.
3117         * malloc/dynarray_resize_clear.c: Likewise.
3118         * malloc/tst-dynarray.c: Likewise.
3119         * malloc/tst-dynarray-fail.c: Likewise.
3120         * malloc/tst-dynarray-at-fail.c: Likewise.
3121         * malloc/tst-dynarray-shared.h: Likewise.
3122         * support/Makefile (libsupport-routines): Add
3123         support_capture_subprocess, xdup2, xpipe.
3124         (tests): Add tst-support_capture_subprocess.
3125         * support/capture_subprocess.h: New file.
3126         * support/support_capture_subprocess.c: Likewise.
3127         * support/tst-support_capture_subprocess.c: Likewise.
3128         * support/xdup2.c: Likewise.
3129         * support/xpipe.c: Likewise.
3130         * support/xunistd.h (xdup2, xpipe): Declare.
3132 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3134         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
3135         macros MAX and MIN.
3137 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
3139         * conform/data/signal.h-data (sa_sigaction): Do not expect for
3140         [XPG4].
3141         (SA_SIGINFO): Likewise.
3142         (SA_ONSTACK): Likewise.
3143         (SA_RESETHAND): Likewise.
3144         (SA_RESTART): Likewise.
3145         (SA_NOCLDWAIT): Likewise.
3146         (SA_NODEFER): Likewise.
3147         (SS_ONSTACK): Likewise.
3148         (SS_DISABLE): Likewise.
3149         (MINSIGSTKSZ): Likewise.
3150         (SIGSTKSZ): Likewise.
3151         (ucontext_t): Likewise.
3152         (stack_t): Likewise.
3153         (struct sigstack): Likewise.
3154         (SI_USER): Do not expect for [XPG4 || XPG42].
3155         (SI_QUEUE): Likewise.
3156         (SI_TIMER): Likewise.
3157         (SI_ASYNCIO): Likewise.
3158         (SI_MESGQ): Likewise.
3159         (bsd_signal): Do not expect for [XPG4].
3160         (killpg): Likewise.
3161         (sigaltstack): Likewise.
3162         (sighold): Likewise.
3163         (sigignore): Likewise.
3164         (siginterrupt): Likewise.
3165         (sigpause): Likewise.
3166         (sigrelse): Likewise.
3167         (sigset): Likewise.
3168         (sigwait): Do not expect for [XPG4 || XPG42].
3170 2017-06-01  Zack Weinberg  <zackw@panix.com>
3172         [BZ #21514]
3173         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
3174         pointing to the generated file in <builddir>/misc/bits/syscall.h.
3176 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
3178         [BZ #21457]
3179         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
3180         NGREG to __NGREG if [__USE_MISC].
3181         (gregset_t): Define using __NGREG.
3182         (__ctx): New macro.
3183         (mcontext_t): Use __ctx in defining fields.
3184         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
3185         define NGREG to __NGREG if [__USE_MISC].
3186         (gregset_t): Define using __NGREG.
3187         (__ctx): New macro.
3188         (__ctxt): Likewise.
3189         (fpregset_t): Use __ctx and __ctxt in defining fields.
3190         (mcontext_t): Likewise.
3191         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
3192         define NGREG to __NGREG if [__USE_MISC].
3193         (gregset_t): Define using __NGREG.
3194         (__ctx): New macro.
3195         (mcontext_t): Use __ctx in defining fields.
3196         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
3197         define NGREG to __NGREG if [__USE_MISC].
3198         (gregset_t): Define using __NGREG.
3199         (__ctx): New macro.
3200         (fpregset_t): Use __ctx in defining fields.
3201         (mcontext_t): Likewise.
3202         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
3203         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3204         (gregset_t): Define using __NGREG.
3205         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3206         [__USE_MISC].
3207         (fpregset_t): Define using __NFPREG.
3208         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
3209         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3210         (gregset_t): Define using __NGREG.
3211         (__ctx): New macro.
3212         (fpregset_t): Use __ctx in defining fields.
3213         (mcontext_t): Likewise.
3214         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
3215         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3216         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3217         [__USE_MISC].
3218         (gregset_t): Define using __NGREG.
3219         (__ctx): New macro.
3220         (fpregset_t): Use __ctx in defining fields.
3221         (mcontext_t): Likewise.
3222         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
3223         (mcontext_t): Use __ctx in defining fields.
3224         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
3225         macro.
3226         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
3227         __NGREG if [__USE_MISC].
3228         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
3229         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
3230         (mcontext_t): Likewise.
3231         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
3232         __NGREG if [__USE_MISC].
3233         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
3234         to __NFPREG if [__USE_MISC].
3235         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
3236         to __NVRREG if [__USE_MISC].
3237         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
3238         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
3239         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
3240         [__WORDSIZE != 32] (vrregset_t): Likewise.
3241         [__WORDSIZE != 32] (mcontext_t): Likewise.
3242         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
3243         (__psw_t): Use __ctx in defining fields.
3244         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
3245         [__USE_MISC].
3246         (gregset_t): Define using __NGREG.
3247         (fpreg_t): Use __ctx in defining fields.
3248         (fpregset_t): Likewise.
3249         (mcontext_t): Likewise.
3250         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
3251         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3252         (gregset_t): Define using __NGREG.
3253         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3254         [__USE_MISC].
3255         (fpregset_t): Define using __NFPREG.
3256         (__ctx): New macro.
3257         (mcontext_t): Use __ctx in defining fields.
3258         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
3259         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3260         __NGREG if [__USE_MISC].
3261         [__x86_64__] (gregset_t): Define using __NGREG.
3262         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
3263         [__x86_64__] (struct _libc_fpstate): Likewise.
3264         [__x86_64__] (mcontext_t): Likewise.
3265         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3266         __NGREG if [__USE_MISC].
3267         [!__x86_64__] (gregset_t): Define using __NGREG.
3268         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
3269         [!__x86_64__] (struct _libc_fpstate): Likewise.
3270         [!__x86_64__] (mcontext_t): Likewise.
3272 2017-06-01  Zack Weinberg  <zackw@panix.com>
3274         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
3275         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
3276         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
3277         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
3278         libpthread.so no longer references __errno_location.
3280 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3282         * NEWS: Add note about pwritev2 and preadv2 inclusion.
3283         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
3284         pwritev64v2.
3285         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
3286         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
3287         pwritev64v2.
3288         * misc/preadv2.c: New file.
3289         * misc/preadv64v2.c: Likewise.
3290         * misc/pwritev2.c: Likewise.
3291         * misc/pwritev64v2.c: Likewise.
3292         * misc/tst-preadvwritev2.c: Likewise.
3293         * misc/tst-preadvwritev64v2.c: Likewise.
3294         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
3295         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
3296         prototype.
3297         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
3298         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
3299         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
3300         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
3301         (PWRITEV): Likewise.
3302         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
3303         ENOSYS.
3304         * nptl/tst-cancel4.c (tf_pwritev2): New test.
3305         (tf_preadv2): Likewise.
3306         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
3307         * sysdeps/posix/preadv2.c: Likewise.
3308         * sysdeps/posix/preadv64v2.c: Likewise.
3309         * sysdeps/posix/pwritev2.c: Likewise.
3310         * sysdeps/posix/pwritev64v2.c: Likewise.
3311         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
3312         support in kernel.
3313         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
3314         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
3315         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
3316         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
3317         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
3318         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3319         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3320         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3321         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
3322         support flags on Linux.
3323         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
3324         preadv2, preadv64v2, pwritev2, pwritev64v2.
3325         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
3326         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
3327         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
3328         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
3329         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
3330         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
3331         Likewise.
3332         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
3333         Likewise.
3334         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
3335         Likewise.
3336         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
3337         Likewise.
3338         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
3339         Likewise.
3340         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
3341         Likewise.
3342         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
3343         Likewise.
3344         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
3345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3346         (GLIBC_2.26): Likewise.
3347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3348         (GLIBC_2.26): Likewise.
3349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
3350         Likewise.
3351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3352         (GLIBC_2.26): Likewise.
3353         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
3354         Likewise.
3355         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
3356         Likewise.
3357         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
3358         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
3359         Likewise.
3360         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
3361         Likewise.
3362         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
3363         Likewise.
3364         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
3365         Likewise.
3366         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
3367         Likewise.
3368         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
3369         Likewise.
3370         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
3371         Likewise.
3373 2017-05-31  Andreas Schwab  <schwab@suse.de>
3375         * nptl/tst-fork3.c: Include <support/test-driver.c>.
3376         (main): Rename to do_test and make static.
3378 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3380         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
3381         ARCH_INIT_CPU_FEATURES.
3382         (LIBC_START_MAIN): Call it.
3383         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
3384         (__libc_start_main): Remove.
3385         (ARCH_INIT_CPU_FEATURES): New macro.
3386         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
3387         (ARCH_INIT_CPU_FEATURES): New macro.
3389 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
3390             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3392         * include/stdlib.h (__libc_reallocarray): New declaration.
3393         * malloc/Makefile (routines): Add reallocarray.
3394         (tests): Add tst-reallocarray.c.
3395         * malloc/Versions: Add reallocarray and __libc_reallocarray.
3396         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
3397         function.
3398         * malloc/malloc.h (reallocarray): New declaration.
3399         * stdlib/stdlib.h (reallocarray): Likewise.
3400         * malloc/reallocarray.c: New file.
3401         * malloc/tst-reallocarray.c: New test file.
3402         * manual/memory.texi: Document reallocarray.
3403         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
3404         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3405         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3406         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3407         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3408         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3409         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3410         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3411         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3412         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3413         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3414         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3415         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3416         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3418         Likewise.
3419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3420         Likewise.
3421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3423         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3424         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3425         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3426         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3427         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3430         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
3431         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3432         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3434 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3436         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
3437         the lower 32 bits.
3439 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
3441         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
3442         $(build-pie-default) = yes]: Define.
3444 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
3446         * string/test-memchr.c (test_main): Add tests for n == 0.
3448 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3450         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
3451         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
3452         (tests-internal): ... here.
3454 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
3455              H.J. Lu  <hongjiu.lu@intel.com>
3457         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
3458         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
3459         (__tunable_set_val): Likewise.
3461 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
3463         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
3464         dl-tunables.list in subdirectories.
3466 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3467             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3468             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3470         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3471         (SNANF128): New macro.
3472         * math/e_sqrtf128.c: New file.
3473         * math/s_fmaxmag_template.c: Include math_private.h in order to
3474         make inline expansion of fabs128().
3475         * math/s_fminmag_template.c: Likewise.
3477         * sysdeps/ieee754/float128/e_acosf128.c: New file.
3478         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
3479         * sysdeps/ieee754/float128/e_asinf128.c: New file.
3480         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
3481         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
3482         * sysdeps/ieee754/float128/e_coshf128.c: New file.
3483         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
3484         * sysdeps/ieee754/float128/e_expf128.c: New file.
3485         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
3486         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
3487         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
3488         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
3489         * sysdeps/ieee754/float128/e_j0f128.c: New file.
3490         * sysdeps/ieee754/float128/e_j1f128.c: New file.
3491         * sysdeps/ieee754/float128/e_jnf128.c: New file.
3492         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
3493         * sysdeps/ieee754/float128/e_log10f128.c: New file.
3494         * sysdeps/ieee754/float128/e_log2f128.c: New file.
3495         * sysdeps/ieee754/float128/e_logf128.c: New file.
3496         * sysdeps/ieee754/float128/e_powf128.c: New file.
3497         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
3498         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
3499         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
3500         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
3501         * sysdeps/ieee754/float128/float128_private.h: New file.
3502         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
3503         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
3504         * sysdeps/ieee754/float128/k_cosf128.c: New file.
3505         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
3506         * sysdeps/ieee754/float128/k_sinf128.c: New file.
3507         * sysdeps/ieee754/float128/k_tanf128.c: New file.
3508         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
3509         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
3510         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
3511         * sysdeps/ieee754/float128/s_atanf128.c: New file.
3512         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
3513         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
3514         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
3515         * sysdeps/ieee754/float128/s_cosf128.c: New file.
3516         * sysdeps/ieee754/float128/s_erff128.c: New file.
3517         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
3518         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
3519         * sysdeps/ieee754/float128/s_finitef128.c: New file.
3520         * sysdeps/ieee754/float128/s_floorf128.c: New file.
3521         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
3522         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
3523         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
3524         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
3525         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
3526         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
3527         * sysdeps/ieee754/float128/s_isinff128.c: New file.
3528         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
3529         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
3530         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
3531         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
3532         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
3533         * sysdeps/ieee754/float128/s_logbf128.c: New file.
3534         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
3535         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
3536         * sysdeps/ieee754/float128/s_modff128.c: New file.
3537         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
3538         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
3539         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
3540         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
3541         * sysdeps/ieee754/float128/s_remquof128.c: New file.
3542         * sysdeps/ieee754/float128/s_rintf128.c: New file.
3543         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
3544         * sysdeps/ieee754/float128/s_roundf128.c: New file.
3545         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
3546         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
3547         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
3548         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
3549         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
3550         * sysdeps/ieee754/float128/s_significandf128.c: New file.
3551         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
3552         * sysdeps/ieee754/float128/s_sinf128.c: New file.
3553         * sysdeps/ieee754/float128/s_tanf128.c: New file.
3554         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
3555         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
3556         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
3557         * sysdeps/ieee754/float128/s_truncf128.c: New file.
3558         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
3559         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
3560         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
3561         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
3563         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
3564         (__iscanonicalf128): Define as a macro.
3566 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
3568         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
3569         (memmove): Use MEMMOVE for name.
3570         (memcpy): Use MEMCPY for name.  Change internal labels
3571         to external labels.
3572         * sysdeps/aarch64/multiarch/Makefile: New file.
3573         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
3574         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
3575         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
3576         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
3577         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
3578         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
3580 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3582         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3583         (_dl_arm_cap_flags): Fix array subscript.
3584         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3585         Fix count.
3587 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3589         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
3591 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3593         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
3594         (is_amd): Likewise.
3595         (max_cpuid): Likewise.
3596         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
3597         (init_cacheinfo): Likewise.
3599 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
3601         [BZ #21511]
3602         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
3603         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
3604         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
3605         !__USE_XOPEN2K) || __USE_MISC].
3606         * conform/data/signal.h-data (struct sigstack): Expect type only
3607         if [!XOPEN2K8 && !POSIX2008].
3608         (sigstack): Expect function only if [XPG42 || UNIX98].
3610         [BZ #21457]
3611         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
3612         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3613         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3614         <bits/types/__sigset_t.h>.
3615         (ucontext_t): Use sigset_t instead of __sigset_t.
3616         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
3617         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3618         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3619         <bits/types/__sigset_t.h>.
3620         (ucontext_t): Use sigset_t instead of __sigset_t.
3621         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
3622         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3623         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3624         <bits/types/__sigset_t.h>.
3625         (ucontext_t): Use sigset_t instead of __sigset_t.
3626         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
3627         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3628         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3629         <bits/types/__sigset_t.h>.
3630         (ucontext_t): Use sigset_t instead of __sigset_t.
3631         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
3632         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3633         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3634         <bits/types/__sigset_t.h>.
3635         (ucontext_t): Use sigset_t instead of __sigset_t.
3636         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
3637         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3638         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3639         <bits/types/__sigset_t.h>.
3640         (ucontext_t): Use sigset_t instead of __sigset_t.
3641         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
3642         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3643         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3644         <bits/types/__sigset_t.h>.
3645         (ucontext_t): Use sigset_t instead of __sigset_t.
3646         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
3647         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3648         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3649         <bits/types/__sigset_t.h>.
3650         (ucontext_t): Use sigset_t instead of __sigset_t.
3651         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
3652         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3653         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3654         <bits/types/__sigset_t.h>.
3655         (ucontext_t): Use sigset_t instead of __sigset_t.
3656         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
3657         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3658         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
3659         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
3660         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3661         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3662         <bits/types/__sigset_t.h>.
3663         (ucontext_t): Use sigset_t instead of __sigset_t.
3664         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
3665         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3666         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3667         <bits/types/__sigset_t.h>.
3668         (ucontext_t): Use sigset_t instead of __sigset_t.
3669         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
3670         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3671         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3672         <bits/types/__sigset_t.h>.
3673         (ucontext_t): Use sigset_t instead of __sigset_t.
3674         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
3675         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3676         <bits/ss_flags.h>.
3677         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
3678         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3679         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3680         <bits/types/__sigset_t.h>.
3681         (ucontext_t): Use sigset_t instead of __sigset_t.
3682         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
3683         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3684         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3685         <bits/types/__sigset_t.h>.
3686         (ucontext_t): Use sigset_t instead of __sigset_t.
3687         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
3688         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3689         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3690         <bits/types/__sigset_t.h>.
3691         (ucontext_t): Use sigset_t instead of __sigset_t.
3692         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
3693         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3694         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3695         <bits/types/__sigset_t.h>.
3696         (ucontext_t): Use sigset_t instead of __sigset_t.
3697         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
3698         <bits/types.h>.
3699         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
3700         <signal.h>, <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.
3705 2017-05-22  Zack Weinberg  <zackw@panix.com>
3707         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
3708         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
3709         bits/siginfo-arch.h, only if not already defined.
3710         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
3711         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
3712         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
3713         Likewise.
3715         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
3716         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
3717         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
3718         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
3719         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
3720         Unconditionally define __SI_* macros.
3722 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3724         [BZ #21393]
3725         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
3726         and add a check for dup3 failure.
3727         * libio/freopen64.c (freopen64): Likewise.
3728         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
3729         libsupport.
3730         (do_test_bz21398): New test.
3731         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
3733 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3735         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
3736         Remove invalid comment.
3738 2017-05-21  Zack Weinberg  <zackw@panix.com>
3740         * signal/Makefile (headers): Add bits/types/sigval_t.h.
3742 2017-05-20  Zack Weinberg  <zackw@panix.com>
3744         * bits/sigevent-consts.h
3745         * bits/siginfo-consts.h
3746         * bits/types/__sigset_t.h
3747         * bits/types/sigevent_t.h
3748         * bits/types/siginfo_t.h
3749         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
3750         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
3751         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
3752         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
3753         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
3754         New system-dependent bits headers.
3756         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
3757         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
3758         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
3759         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
3760         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
3761         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
3762         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
3763         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
3764         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
3765         New Linux-only system-dependent bits headers.
3767         * signal/bits/types/sig_atomic_t.h
3768         * signal/bits/types/sigset_t.h
3769         * signal/bits/types/sigval_t.h:
3770         New non-system-dependent bits headers.
3772         * sysdeps/generic/sigsetops.h
3773         * sysdeps/unix/sysv/linux/sigsetops.h:
3774         New internal headers.
3776         * include/bits/types/sig_atomic_t.h
3777         * include/bits/types/sigset_t.h
3778         * include/bits/types/sigval_t.h:
3779         New wrappers.
3781         * signal/sigsetops.h
3782         * bits/siginfo.h
3783         * bits/sigset.h
3784         * sysdeps/unix/sysv/linux/bits/siginfo.h
3785         * sysdeps/unix/sysv/linux/bits/sigset.h
3786         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
3787         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
3788         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
3789         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
3790         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
3791         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
3792         Deleted.
3794         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
3795         Update lists of installed headers.
3797         * posix/bits/types.h: Define __sig_atomic_t here.
3798         * signal/signal.h: Use the new bits headers; no need to handle
3799         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
3800         to define sigmask.
3801         * include/signal.h: No need to handle __need_sig_atomic_t
3802         nor __need_sigset_t.  Don't define __sigemptyset.
3804         * io/sys/poll.h, setjmp/setjmp.h
3805         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
3806         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
3807         * sysdeps/mach/hurd/i386/bits/sigcontext.h
3808         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
3809         * sysdeps/pthread/bits/sigthread.h
3810         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3811         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3812         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3813         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3814         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3815         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3816         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3817         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3818         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3819         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3820         Use bits/types/__sigset_t.h.
3822         * misc/sys/select.h, posix/spawn.h
3823         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3824         * sysdeps/unix/sysv/linux/sys/epoll.h
3825         * sysdeps/unix/sysv/linux/sys/signalfd.h:
3826         Use bits/types/sigset_t.h.
3828         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
3829         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
3830         * socket/sys/socket.h: Don't include bits/sigset.h.
3832         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
3833         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
3834         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
3835         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
3836         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
3837         * sysdeps/unix/sysv/linux/nptl-signals.h:
3838         Include sigsetops.h.
3840         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
3841         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
3842         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
3843         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
3844         now return no value.
3846         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
3847         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
3848         "sigsetops.h".
3850         * signal/sigsetops.c: Explicitly define __sigismember,
3851         __sigaddset, and __sigdelset as compatibility symbols.
3853         * signal/Versions: Correct commentary on __sigpause,
3854         __sigaddset, __sigdelset, __sigismember.
3856         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
3857         __sigblock/__sigsetmask to use __sigprocmask and friends.
3859         * resolv/resolv.h: Remove __need_res_state logic.
3860         Move definition of res_state and related constants to ...
3861         * resolv/bits/types/res_state.h: ...this new file.
3862         * resolv/Makefile: Install bits/types/res_state.h.
3863         * include/bits/types/res_state.h: New wrapper.
3864         * include/list.h: Remove __need_list_t logic.
3865         Move definition of list_t to ...
3866         * include/list_t.h: ...this new file.
3868         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
3869         instead of list.h and resolv.h.
3871         * resolv/resolv.h: Remove __need_res_state logic.
3872         Move definition of res_state and related constants to ...
3873         * resolv/bits/types/res_state.h: ...this new file.
3874         * resolv/Makefile: Install bits/types/res_state.h.
3875         * include/bits/types/res_state.h: New wrapper.
3876         * include/list.h: Remove __need_list_t logic.
3877         Move definition of list_t to ...
3878         * include/list_t.h: ...this new file.
3880         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
3881         instead of list.h and resolv.h.
3883 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3885         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
3887 2017-05-20  Zack Weinberg  <zackw@panix.com>
3889         * sysdeps/arm/sysdep.h
3890         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
3892         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
3893         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
3894         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
3895         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
3896         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
3897         * sysdeps/arm/armv6t2/strlen.S
3898         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
3899         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
3900         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
3901         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
3902         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
3903         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
3905 2017-05-20  Zack Weinberg  <zackw@panix.com>
3907         Remove the NaCl port.
3908         * sysdeps/arm/nacl: Remove directory and contents.
3909         * sysdeps/nacl: Remove directory and contents.
3910         * abi-tags: Remove .*-.*-nacl.* entry.
3912 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
3914         * manual/errno.texi: Convert @comment-based errno documentation to
3915         @errno.
3916         * manual/macros.texi (@errno): New macro.  Consolidate errors,
3917         their values, and messages, adding the error string to the Concept
3918         Index.  Provide a warning in the comment about external (to the
3919         manual) dependencies.
3920         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
3921         * sysdeps/mach/hurd/errnos.awk: Likewise.
3923 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
3925         * bits/ss_flags.h: New file.
3926         * bits/types/stack_t.h: Likewise.
3927         * include/bits/types/struct_sigstack.h: Likewise.
3928         * signal/bits/types/struct_sigstack.h: Likewise.
3929         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
3930         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
3931         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
3932         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
3933         bits/types/stack_t.h and bits/ss_flags.h.
3934         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
3935         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
3936         <bits/ss_flags.h>.
3937         * bits/sigstack.h (struct sigstack): Remove.
3938         (stack_t): Likewise.
3939         (SS_ONSTACK): Likewise.
3940         (SS_DISABLE): Likewise.
3941         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3942         (struct sigstack): Likewise.
3943         (stack_t): Likewise.
3944         (SS_ONSTACK): Likewise.
3945         (SS_DISABLE): Likewise.
3946         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
3947         Likewise.
3948         (stack_t): Likewise.
3949         (SS_ONSTACK): Likewise.
3950         (SS_DISABLE): Likewise.
3951         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
3952         Likewise.
3953         (stack_t): Likewise.
3954         (SS_ONSTACK): Likewise.
3955         (SS_DISABLE): Likewise.
3956         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
3957         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
3958         Likewise.
3959         (stack_t): Likewise.
3960         (SS_ONSTACK): Likewise.
3961         (SS_DISABLE): Likewise.
3962         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3963         (struct sigstack): Likewise.
3964         (stack_t): Likewise.
3965         (SS_ONSTACK): Likewise.
3966         (SS_DISABLE): Likewise.
3967         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
3968         Likewise.
3969         (stack_t): Likewise.
3970         (SS_ONSTACK): Likewise.
3971         (SS_DISABLE): Likewise.
3972         * sysdeps/arm/sys/ucontext.h: Include
3973         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
3974         <bits/ss_flags.h>.
3975         * sysdeps/generic/sys/ucontext.h: Likewise.
3976         * sysdeps/i386/sys/ucontext.h: Likewise.
3977         * sysdeps/m68k/sys/ucontext.h: Likewise.
3978         * sysdeps/mips/sys/ucontext.h: Likewise.
3979         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
3980         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
3981         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
3982         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
3983         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
3984         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
3985         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
3986         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
3987         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
3988         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3989         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
3990         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
3991         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
3992         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
3993         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
3995 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3997         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
3998         "edx + ecx - 16" to avoid possible addition overflow.
3999         * sysdeps/x86_64/memchr.S (memchr): Likewise.
4001 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4003         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4004         (CFLAGS-splice.c): Likewise.
4005         (CFLAGS-open_by_handle_at.c): Likewise.
4006         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4007         (CFLAGS-splice.c): Likewise.
4008         (CFLAGS-open_by_handle_at.c): Likewise.
4010 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
4012         * scripts/versions.awk: Generate ldbl-compat-choose.h.
4013         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4014         <ldbl-compat-choose.h>.
4015         (maybe_long_double_symbol): New macro.
4016         [!declare_mgen_alias] (declare_mgen_alias): Use
4017         maybe_long_double_symbol.
4018         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4019         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4020         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4021         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4022         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4023         * Makerules [$(build-shared) = yes && !avoid-generated]
4024         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4025         [$(build-shared) = yes && !avoid-generated]
4026         ($(common-objpfx)ldbl-compat-choose.h): New target.
4028         * scripts/versions.awk: Generate first-versions.h.
4029         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4030         <first-versions.h>.
4031         (LDOUBLE_cabsl_libm_version): Remove macro.
4032         (LDOUBLE_cargl_libm_version): Likewise.
4033         (LDOUBLE_cimagl_libm_version): Likewise.
4034         (LDOUBLE_conjl_libm_version): Likewise.
4035         (LDOUBLE_creall_libm_version): Likewise.
4036         (LDOUBLE_cacosl_libm_version): Likewise.
4037         (LDOUBLE_cacoshl_libm_version): Likewise.
4038         (LDOUBLE_ccosl_libm_version): Likewise.
4039         (LDOUBLE_ccoshl_libm_version): Likewise.
4040         (LDOUBLE_casinl_libm_version): Likewise.
4041         (LDOUBLE_csinl_libm_version): Likewise.
4042         (LDOUBLE_casinhl_libm_version): Likewise.
4043         (LDOUBLE_csinhl_libm_version): Likewise.
4044         (LDOUBLE_catanl_libm_version): Likewise.
4045         (LDOUBLE_catanhl_libm_version): Likewise.
4046         (LDOUBLE_ctanl_libm_version): Likewise.
4047         (LDOUBLE_ctanhl_libm_version): Likewise.
4048         (LDOUBLE_cexpl_libm_version): Likewise.
4049         (LDOUBLE_clogl_libm_version): Likewise.
4050         (LDOUBLE_cprojl_libm_version): Likewise.
4051         (LDOUBLE_csqrtl_libm_version): Likewise.
4052         (LDOUBLE_cpowl_libm_version): Likewise.
4053         (LDOUBLE_clog10l_libm_version): Likewise.
4054         (LDOUBLE___clog10l_libm_version): Likewise.
4055         (LDOUBLE_fdiml_libm_version): Likewise.
4056         (LDOUBLE_fmaxl_libm_version): Likewise.
4057         (LDOUBLE_fminl_libm_version): Likewise.
4058         (LDOUBLE_ilogbl_libm_version): Likewise.
4059         (LDOUBLE_nanl_libm_version): Likewise.
4060         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4061         FIRST_VERSION_libm_* macros.
4062         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4063         * Makerules [$(build-shared) = yes && !avoid-generated]
4064         (before-compile): Add $(common-objpfx)first-versions.h.
4065         [$(build-shared) = yes && !avoid-generated]
4066         ($(common-objpfx)first-versions.h): New target.
4067         ($(common-objpfx)sysd-versions): Depend on and change to rule for
4068         building $(common-objpfx)versions.stmp.
4070 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4072         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4073         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4074         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4075         auto-generation list.
4077         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4078         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4079         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4080         from auto-generation list.
4082         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4083         open_by_handle_at.
4084         (CFLAGS-open_by_handle_at.c): New flag.
4085         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4086         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4087         file.
4088         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4090         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4091         (CFLAGS-splice.c): New flag.
4092         * sysdeps/unix/sysv/linux/splice.c: New file.
4093         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4094         auto-generation syscall list.
4095         * misc/Makefile (CFLAGS-splice.c): New rule.
4097         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4098         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4099         auto-generation syscall list.
4100         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
4101         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
4103         * misc/Makefile (CFLAGS-fsync.c): New flag.
4104         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
4105         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
4106         syscall list.
4107         * sysdeps/unix/sysv/linux/fsync.c: New file.
4108         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
4109         (__errno_location): Remove.
4111         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
4112         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
4113         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
4114         list.
4115         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
4117         * misc/Makefile (CFLAGS-msync.c): New rule.
4118         * nptl/Makefile (CFLAGS-msync.c): Likewise.
4119         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
4120         * sysdeps/unix/sysv/linux/msync.c: New file.
4122         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
4123         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
4124         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
4125         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4126         (CFLAGS-sigsuspend.c): Remove rule.
4128         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
4129         (CFLAGS-tee.c): New rule.
4130         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
4131         auto-generated list.
4132         * sysdeps/unix/sysv/linux/tee.c: New file.
4134         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
4135         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
4136         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
4137         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
4138         auto-generated list.
4140         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
4141         auto-generated list.
4142         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4143         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4144         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
4145         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4146         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4148         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4149         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
4150         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
4151         (__NR_pause): Undefine.
4152         * sysdeps/unix/sysv/linux/pause.c: New file.
4153         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
4154         auto-generation list.
4155         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
4156         Remove rule.
4157         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
4159 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4161         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
4162         comments.
4164 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4166         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
4167         LD_HWCAP_MASK.
4169 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
4171         * manual/conf.texi: Convert @tables of annotated @items to
4172         @vtables.
4173         * manual/lang.texi: Likewise.
4174         * manual/pattern.texi: Likewise.
4175         * manual/resource.texi: Likewise.
4176         * manual/socket.texi: Likewise.
4178 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
4180         * manual/crypt.texi: Move a comment out of an @*x list.
4181         * manual/filesys.texi: Refactor some comments, one of which looks
4182         like a standard.  Fix incorrectly separated standards.
4183         * manual/locale.texi: Invert an annotation.
4184         * manual/resource.texi: Fix incorrectly separated standards.
4185         * manual/time.texi: Refactor a @vtable that obscures an
4186         annotation.
4187         * manual/users.texi: Refactor multiple headers to occupy a single
4188         @comment.
4190 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4192         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4193         (sysdep_routines): Add memcmp-power8.
4194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4195         (memcmp): Add __memcmp_power8 to list of memcmp functions.
4196         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
4197         (memcmp): Add __memcmp_power8 to ifunc list.
4198         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
4199         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
4201 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4202             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4204         * math/math.h (__MATH_TG): Extend the conditions to add
4205         _Float128 support.
4206         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
4208 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
4210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4211         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
4212         s_cosf-ppc64.
4213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
4214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4216         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4218 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4220         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
4221         (gen-libm-calls): Add e_exp2F to use the template.
4222         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
4223         * math/e_exp2_template.c: New file, renamed from
4224         math/e_exp2l.c, and made into a template.
4225         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
4227 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4229         * elf/dl-tunable-types.h (tunable_type_code_t): New type
4230         TUNABLE_TYPE_UINT_64.
4231         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
4232         Simplify computation of overflow.
4233         (tunable_set_val_if_valid_range_signed,
4234         tunable_set_val_if_valid_range_unsigned): Remove and replace
4235         with this...
4236         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
4237         (tunable_initialize): Adjust.  Add uint64_t support.
4238         (__tunable_set_val): Add uint64_t support.
4239         * README.tunables: Document it.
4241         * scripts/gen-tunables.awk: Recognize 'default' keyword in
4242         dl-tunables.list.
4243         * README.tunables: Document it.
4245 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4247         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
4248         * sysdeps/posix/preadv64.c: Likewise.
4249         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4250         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
4251         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
4252         * sysdeps/posix/pwritev64.c: Likewise.
4253         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4254         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
4255         * sysdeps/posix/preadv_common.c: New file.
4256         * sysdeps/posix/pwritev_common.c: Likewise.
4258 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4260         * sysdeps/generic/math-type-macros-float128.h
4261         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
4262         wrapper templates.
4264 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4265             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4267         * include/complex.h (__kernel_casinhf128): New declaration.
4268         * include/float.h: New file.
4269         * include/math.h (__finitef128): Add a hidden def.
4270         (__isinff128): Likewise.
4271         (__isnanf128): Likewise.
4272         (__fpclassify): Likewise.
4273         (__issignalling): Likewise.
4274         (__expf128): Likewise.
4275         (__expm1f128): Likewise.
4277         * sysdeps/generic/fix-fp-int-convert-overflow.h:
4278         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
4279         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
4281         * sysdeps/generic/math-type-macros-float128.h: New file.
4283         * sysdeps/generic/math_private.h: Include bits/floatn.h and
4284         math_private_calls.h for _Float128.
4285         (__isinff128): New inline implementation used when GCC < 7.0,
4286         since in this case __builtin_isinf_sign is broken.
4287         (fabsf128): New inline implementation that calls the builtin.
4288         (__EXPR_FLT128): New macro.
4289         (min_of_type): Optionally include _Float128 types too.
4291         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
4292         Declare for _Float128.
4293         (__kernel_rem_pio2): Likewise.
4295         * sysdeps/ieee754/ldbl-opt/s_sin.c:
4296         (__DECL_SIMD_sincos_disablef128): New macro.
4298 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4300         * math/math.h: Include bits/math-finite.h for float128.
4301         (__MATH_DECLARING_FLOATN): Define to control declaration of
4302         float128 functions.
4303         * math/bits/math-finite.h (pow10): Do not declare for float128.
4304         (gamma): Likewise.
4305         (scalb): Likewise.
4307 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4308             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4310         * bits/floatn.h: New file.
4311         * bits/huge_val_flt128.h: Likewise.
4313         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
4314         (__DECL_SIMD_sinf128): Likewise.
4315         (__DECL_SIMD_sincosf128): Likewise.
4316         (__DECL_SIMD_logf128): Likewise.
4317         (__DECL_SIMD_expf128): Likewise.
4318         (__DECL_SIMD_powf128): Likewise.
4320         * math/Makefile (headers): Install bits/floatn.h and
4321         bits/huge_val_flt128.h.
4323         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
4324         defined.
4326         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
4327         (isnan, gamma, nexttoward, scalb): Only define if not
4328         __MATH_DECLARING_FLOATN.
4329         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
4330         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
4331         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
4332         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
4334         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
4335         Include bits/cmathcalls.h to get the declarations of _Float128
4336         versions of complex functions.
4337         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
4338         Define macro.
4340         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
4341         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
4342         get the declarations of _Float128 versions of math functions.
4343         (__MATH_DECLARING_FLOATN): New macro to control declaration of
4344         _FloatN types.
4345         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
4346         is type-generic, so use it without __MATH_TG.
4347         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
4348         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
4349         _Float128 type and GCC < 7.0, otherwise use the builtin.
4350         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
4351         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
4352         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
4353         New _GNU_SOURCE enabled macros.
4355 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
4357         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
4358         (signbitf): Likewise.
4359         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
4360         Likewise.
4361         (signbitl): Likewise.
4362         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
4363         Likewise.
4364         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
4365         (signbitl): Likewise.
4366         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
4368 2017-05-12  Florian Weimer  <fweimer@redhat.com>
4370         [BZ #21386]
4371         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
4372         parent PID.  The assertion in the child is incorrect with PID
4373         namespaces.
4375 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
4377         * sysdeps/unix/sysv/linux/kernel-features.h
4378         (__ASSUME_STATFS_F_FLAGS): Remove macro.
4379         * sysdeps/unix/sysv/linux/internal_statvfs.c
4380         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
4382 2017-05-11  Zack Weinberg  <zackw@panix.com>
4384         * Makerules: New subdir configuration variables 'tests-internal'
4385         and 'test-internal-extras'.  Test files in these categories will
4386         still be compiled with MODULE_NAME=nonlib.  Test files in the
4387         existing categories (tests, xtests, test-srcs, test-extras) are
4388         now compiled with MODULE_NAME=testsuite.
4389         New subdir configuration variable 'modules-names-tests'.  Files
4390         which are in both 'modules-names' and 'modules-names-tests' will
4391         be compiled with MODULE_NAME=testsuite instead of
4392         MODULE_NAME=extramodules.
4393         (gen-as-const-headers): Move to tests-internal.
4394         (do-tests-clean, common-mostlyclean): Support tests-internal.
4395         * Makeconfig (built-modules): Add testsuite.
4396         * Makefile: Change libof-check-installed-headers-c and
4397         libof-check-installed-headers-cxx to 'testsuite'.
4398         * Rules: Likewise.  Support tests-internal.
4399         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
4400         Remove extra-modules.mk.
4402         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
4403         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
4404         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
4405         very top of the file and rationalize their order.
4406         If MODULE_NAME is not defined at all, define IS_IN to always be
4407         false, and don't define _ISOMAC.
4408         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
4409         true, define _ISOMAC and suppress everything else in this file,
4410         starting with the inclusion of config.h.
4411         Do check for inappropriate definitions of __OPTIMIZE__ and
4412         __FAST_MATH__ here, but only if _ISOMAC is not defined.
4413         Correct some out-of-date commentary.
4415         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
4416         and _Mlong_double_ before including math.h.
4417         * include/string.h: If _ISOMAC is defined, don't expose
4418         _STRING_ARCH_unaligned. Move a comment to a more appropriate
4419         location.
4421         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
4422         * include/time.h, include/unistd.h, include/wchar.h: No need to
4423         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
4425         * misc/sys/cdefs.h (__NTHNL): New macro.
4426         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
4427         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
4429         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
4430         defined, for HAVE_TUNABLES.
4431         * inet/tst-checks-posix.c: No need to define _ISOMAC.
4432         * intl/tst-gettext2.c: Provide own definition of N_.
4433         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
4434         * math/test-signgam-main.c: No need to define _ISOMAC.
4435         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
4436         * stdlib/tst-strtod1i.c: ...this new file.
4437         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
4438         Split tests of __strtod_internal to...
4439         * stdlib/tst-strtod5i.c: ...this new file.
4440         * string/test-string.h: Include stdint.h. Duplicate definition of
4441         inhibit_loop_to_libcall here (from libc-symbols.h).
4442         * string/test-strstr.c: Provide dummy definition of
4443         libc_hidden_builtin_def when including strstr.c.
4444         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
4445         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
4446         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4447         Don't include init-arch.h.
4448         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4449         Don't include init-arch.h.
4451         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
4452         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
4453         unload, unload2, circleload1, neededtest, neededtest2,
4454         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
4455         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
4456         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
4457         ifunc tests to tests-internal.
4458         Don't add $(modules-names) to test-extras.
4459         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
4460         Add tst-deadline to tests-static-internal.
4461         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
4462         tests-internal.
4463         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
4464         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
4465         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
4466         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
4467         tst-sem12-static, and tst-stackguard1-static to tests-internal.
4468         Link tests-internal with libpthread also.
4469         Don't add $(modules-names) to test-extras.
4470         * nss/Makefile: Move tst-field to tests-internal.
4471         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
4472         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
4473         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
4474         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
4475         tests-internal.
4476         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
4477         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
4478         test-get_hwcap-static to tests-internal.
4479         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
4480         tests-internal.
4481         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
4482         modules-names-tests.
4484 2017-05-11  Zack Weinberg  <zackw@panix.com>
4486         * libio/libio.h: Condition dummy definition of _IO_lock_t on
4487         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
4488         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
4489         _IO_funlockfile, and _IO_ftrylockfile.  Only define
4490         _IO_cleanup_region_start and _IO_cleanup_region_end if not
4491         already defined.
4492         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
4493         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
4494         appropriately.
4495         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
4496         Define _IO_lock_t_defined after defining _IO_lock_t.
4498 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4500         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
4501         void* for argument type and use VDSO_SYMBOL macro.
4502         (is_sigtramp_address_rt): Likewise.
4503         (__backtrace): Setup expected frame pointer address for signal
4504         handling.
4505         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
4506         void* for argumetn type and use VSDO_SYMBOL macro.
4507         (__backtrace): Setup expected frame pointer address for signal
4508         handling.
4510         * sysdeps/unix/sysv/linux/writev.c: New file.
4512         * sysdeps/unix/sysv/linux/readv.c: New file.
4514         * include/unistd.h (write): Add hidden proto.
4515         * io/Makefile (CFLAGS-write.c): New define.
4516         * nptl/Makefile (CFLAGS-write.c): Likewise.
4517         * sysdeps/unix/sysv/linux/write.c: New file.
4519         [BZ #21428]
4520         * include/unistd.h (read): Add hidden proto.
4521         * io/Makefile (CFLAGS-read.c): New define.
4522         * nptl/Makefile (CFLAGS-read.c): Likewise.
4523         * sysdeps/unix/sysv/linux/read.c: New file.
4525         * io/Makefile (CFLAGS-creat.c): New rule.
4526         (CFLAGS-creat64.c): Likewise.
4527         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
4528         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
4529         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
4530         * sysdeps/unix/sysv/linux/creat.c: New file.
4531         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
4532         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
4533         auto-generated list.
4534         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4536         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
4537         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
4538         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
4539         * sysdeps/unix/sysv/linux/open.c: New file.
4540         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
4541         iff __WORDSIZE != 64 and use __NR_openat when available.
4542         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
4543         from auto-generated list.
4545         * nptl/Makefile (CFLAGS-close.c): New flag.
4546         * sysdeps/unix/sysv/linux/close.c: New file.
4548 2017-05-11  DJ Delorie  <dj@redhat.com>
4550         * MAINTAINERS: New.  Points to wiki.
4552 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4554         * scripts/gen-tunables.awk: Add attribute_relro to
4555         tunable_list.
4557 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
4559         [BZ #21457]
4560         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
4561         (R1): Likewise.
4562         (R2): Likewise.
4563         (R3): Likewise.
4564         (R4): Likewise.
4565         (R5): Likewise.
4566         (R6): Likewise.
4567         (R7): Likewise.
4568         (R8): Likewise.
4569         (R9): Likewise.
4570         (R10): Likewise.
4571         (R11): Likewise.
4572         (R12): Likewise.
4573         (R13): Likewise.
4574         (R14): Likewise.
4575         (R15): Likewise.
4576         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
4577         (REG_FS): Likewise.
4578         (REG_ES): Likewise.
4579         (REG_DS): Likewise.
4580         (REG_EDI): Likewise.
4581         (REG_ESI): Likewise.
4582         (REG_EBP): Likewise.
4583         (REG_ESP): Likewise.
4584         (REG_EBX): Likewise.
4585         (REG_EDX): Likewise.
4586         (REG_ECX): Likewise.
4587         (REG_EAX): Likewise.
4588         (REG_TRAPNO): Likewise.
4589         (REG_ERR): Likewise.
4590         (REG_EIP): Likewise.
4591         (REG_CS): Likewise.
4592         (REG_EFL): Likewise.
4593         (REG_UESP): Likewise.
4594         (REG_SS): Likewise.
4595         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
4596         (R_D1): Likewise.
4597         (R_D2): Likewise.
4598         (R_D3): Likewise.
4599         (R_D4): Likewise.
4600         (R_D5): Likewise.
4601         (R_D6): Likewise.
4602         (R_D7): Likewise.
4603         (R_A0): Likewise.
4604         (R_A1): Likewise.
4605         (R_A2): Likewise.
4606         (R_A3): Likewise.
4607         (R_A4): Likewise.
4608         (R_A5): Likewise.
4609         (R_A6): Likewise.
4610         (R_A7): Likewise.
4611         (R_SP): Likewise.
4612         (R_PC): Likewise.
4613         (R_PS): Likewise.
4614         (fpregset_t): Likewise.
4615         (MCONTEXT_VERSION): Likewise.
4616         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
4617         (CTX_AT): Likewise.
4618         (CTX_V0): Likewise.
4619         (CTX_V1): Likewise.
4620         (CTX_A0): Likewise.
4621         (CTX_A1): Likewise.
4622         (CTX_A2): Likewise.
4623         (CTX_A3): Likewise.
4624         (CTX_T0): Likewise.
4625         (CTX_T1): Likewise.
4626         (CTX_T2): Likewise.
4627         (CTX_T3): Likewise.
4628         (CTX_T4): Likewise.
4629         (CTX_T5): Likewise.
4630         (CTX_T6): Likewise.
4631         (CTX_T7): Likewise.
4632         (CTX_S0): Likewise.
4633         (CTX_S1): Likewise.
4634         (CTX_S2): Likewise.
4635         (CTX_S3): Likewise.
4636         (CTX_S4): Likewise.
4637         (CTX_S5): Likewise.
4638         (CTX_S6): Likewise.
4639         (CTX_S7): Likewise.
4640         (CTX_T8): Likewise.
4641         (CTX_T9): Likewise.
4642         (CTX_K0): Likewise.
4643         (CTX_K1): Likewise.
4644         (CTX_GP): Likewise.
4645         (CTX_SP): Likewise.
4646         (CTX_S8): Likewise.
4647         (CTX_RA): Likewise.
4648         (CTX_MDLO): Likewise.
4649         (CTX_MDHI): Likewise.
4650         (CTX_CAUSE): Likewise.
4651         (CTX_EPC): Likewise.
4652         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
4653         inclusion of <sys/procfs.h> on [__USE_MISC].
4654         (greg_t): Condition on [__USE_MISC].
4655         (gregset_t): Likewise.
4656         (fpregset_t): Likewise.
4657         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
4658         (NGREG): Likewise.
4659         (gregset_t): Likewise.
4660         (REG_R0): Likewise.
4661         (REG_R1): Likewise.
4662         (REG_R2): Likewise.
4663         (REG_R3): Likewise.
4664         (REG_R4): Likewise.
4665         (REG_R5): Likewise.
4666         (REG_R6): Likewise.
4667         (REG_R7): Likewise.
4668         (REG_R8): Likewise.
4669         (REG_R9): Likewise.
4670         (REG_R10): Likewise.
4671         (REG_R11): Likewise.
4672         (REG_R12): Likewise.
4673         (REG_R13): Likewise.
4674         (REG_R14): Likewise.
4675         (REG_R15): Likewise.
4676         (struct _libc_fpstate): Likewise.
4677         (fpregset_t): Likewise.
4678         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
4679         (NFPREG): Likewise.
4680         (gregset_t): Likewise.
4681         (fpregset_t): Likewise.
4682         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
4683         (R_D1): Likewise.
4684         (R_D2): Likewise.
4685         (R_D3): Likewise.
4686         (R_D4): Likewise.
4687         (R_D5): Likewise.
4688         (R_D6): Likewise.
4689         (R_D7): Likewise.
4690         (R_A0): Likewise.
4691         (R_A1): Likewise.
4692         (R_A2): Likewise.
4693         (R_A3): Likewise.
4694         (R_A4): Likewise.
4695         (R_A5): Likewise.
4696         (R_A6): Likewise.
4697         (R_A7): Likewise.
4698         (R_SP): Likewise.
4699         (R_PC): Likewise.
4700         (R_PS): Likewise.
4701         (fpregset_t): Likewise.
4702         (MCONTEXT_VERSION): Likewise.
4703         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
4704         Likewise.
4705         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
4706         (REG_R1): Likewise.
4707         (REG_R2): Likewise.
4708         (REG_R3): Likewise.
4709         (REG_R4): Likewise.
4710         (REG_R5): Likewise.
4711         (REG_R6): Likewise.
4712         (REG_R7): Likewise.
4713         (REG_R8): Likewise.
4714         (REG_R9): Likewise.
4715         (REG_R10): Likewise.
4716         (REG_R11): Likewise.
4717         (REG_R12): Likewise.
4718         (REG_R13): Likewise.
4719         (REG_R14): Likewise.
4720         (REG_R15): Likewise.
4721         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
4722         of <arch/abi.h> on [__USE_MISC].
4723         (greg_t): Condition on [__USE_MISC].
4724         (NGREG): Likewise.
4725         (gregset_t): Likewise.
4727 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4729         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
4730         (__pthread_rwlock_arch_t): Remove __data definition.
4731         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
4732         (__pthread_rwlock_arch_t): Likewise.
4734 2017-05-11  Florian Weimer  <fweimer@redhat.com>
4736         * resolv/inet_pton.c: Reformat in GNU style.  Remove
4737         internal_function on static functions.
4739 2017-05-11  Florian Weimer  <fweimer@redhat.com>
4741         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
4742         from format_ai_flags.
4743         (format_ai_flags): New function.  Incorporate flag formatting code
4744         from format_ai_one.
4745         (format_ai_canonname): New function.
4746         (format_ai_one): Remove flags parameter.
4747         (format_ai_family): Likewise.
4748         (support_format_addrinfo): Call format_ai_flags,
4749         format_ai_canonname.
4750         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
4751         check_ai.
4752         (check_ai): Call check_ai_hints.
4753         (do_test): Add AI_CANONNAME tests.
4755 2017-05-11  Florian Weimer  <fweimer@redhat.com>
4757         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
4758         (gaih_inet): Likewise.
4760 2017-05-10  Andreas Schwab  <schwab@suse.de>
4762         * nptl/tst-fork1.c: Include <support/test-driver.c>.
4763         (main): Rename to do_test and make static.
4765 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
4767         * string/rawmemchr.c: Include <libc-diag.h>.
4768         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
4769         with size (size_t)-1.
4771 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
4773         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
4774         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4775         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4777         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
4778         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
4779         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
4780         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
4781         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
4782         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
4783         * sysdeps/unix/sysv/linux/kernel-features.h
4784         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
4785         socket syscalls.
4786         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4787         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4788         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4789         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
4790         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4791         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4792         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
4793         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4794         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4795         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4796         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4797         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4798         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4799         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4800         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4802 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4804         * posix/Makefile (headers): Add pthreadtypes-arch.h and
4805         thread-shared-types.h.
4806         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
4807         specific thread definition.
4808         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
4809         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
4810         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
4811         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
4812         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
4813         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
4814         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
4815         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
4816         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
4817         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
4818         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
4819         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
4820         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
4821         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
4822         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
4823         thread definition between POSIX and C11.
4824         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
4825         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
4826         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
4827         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
4828         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
4829         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
4830         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
4831         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
4832         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
4833         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
4834         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
4835         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
4836         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
4837         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
4838         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
4839         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
4840         definitions shared across all architectures.
4842 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
4844         * sysdeps/unix/sysv/linux/kernel-features.h
4845         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
4846         (__ASSUME_SENDMMSG): Likewise.
4847         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
4848         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
4849         sendmmsg syscall if that can be assumed to be present, socketcall
4850         otherwise, with no fallback for runtime failure.
4852         * sysdeps/unix/sysv/linux/kernel-features.h
4853         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
4854         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
4855         (__ASSUME_RECVMMSG): Likewise.
4856         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
4857         recvmmsg syscall if it can be assumed to be present, socketcall
4858         otherwise, with no fallback for runtime failure.
4860 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4861             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4863         * bits/libc-header-start.h:
4864         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
4865         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
4866         * manual/creature.texi: Likewise.
4868 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4869             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4871         * math/Makefile:
4872         (type-float128-suffix): New variable
4873         (type-float128-routines): Likewise
4874         (type-float128-yes): Likewise
4875         (types): Append float128 if supported
4876         (types-basic): New variable to control the use of templates for
4877         float, double, and long double, but not for float128 or newer types.
4878         (type-basic-foreach): Likewise.
4880         * sysdeps/ieee754/float128/Makeconfig: New file.
4881         * sysdeps/ieee754/float128/Versions: New file.
4883 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
4885         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
4886         Remove macro.
4887         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
4888         prlimit64 is always available and does not give an ENOSYS error.
4889         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
4890         unconditional.
4891         [!__NR_prlimit64]: Remove conditional code.
4892         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
4893         prlimit64 is always available and does not give an ENOSYS error.
4894         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
4896 2017-05-09  Zack Weinberg  <zackw@panix.com>
4898         * sunrpc/tst-xdrmem2.c: Include stdint.h.
4900 2017-05-09  Florian Weimer  <fweimer@redhat.com>
4902         [BZ #21474]
4903         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
4904         (__res_maybe_init): Likewise.
4906 2017-05-09  Zack Weinberg  <zackw@panix.com>
4908         * extra-modules.mk: Delete file.
4909         * cppflags-iterator.mk: Rename to ...
4910         * libof-iterator.mk: ...this.  Adjust comments.
4912         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
4913         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
4914         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
4915         Use libof-iterator.mk instead of cppflags-iterator.mk or
4916         extra-modules.mk.
4918         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
4919         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
4921 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4923         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4925 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
4927         * stdio-common/vfprintf.c (EXTSIZ): Define.
4928         (vfprintf): Use EXTSIZ.
4929         (printf_positional): Likewise.
4931 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
4933         * sysdeps/unix/sysv/linux/kernel-features.h
4934         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
4935         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
4936         <kernel-features.h>.
4937         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
4939         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4940         (__ASSUME_GETCPU_SYSCALL): Remove macro.
4942 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4944         Prevent multiple deletion of temporary files.
4945         * support/temp_file.c (struct temp_name_list): Add owner member.
4946         (add_temp_file): Record owner.
4947         (support_delete_temp_files): Delete file only if owner matches.
4948         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
4949         (do_prepare): Use create_temp_file instead of add_temp_file.
4950         Initialize temp_fd1, temp_fd2.
4951         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
4952         framework remove the temporary files.
4953         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
4954         (do_prepare): Use create_temp_file instead of add_temp_file.
4955         Initialize temp_fd1, temp_fd2, temp_fd3.
4956         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
4957         the test framework remove the temporary files.
4958         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
4959         deletion.
4960         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
4961         temporary directory.  It is removed by the test framework.
4962         * dirent/tst-scandir.c (do_test): Likewise.
4964 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4966         Delete temporary files in LIFO order.
4967         * support/temp_file.c (struct temp_name_list): Replace q member
4968         with next.
4969         (add_temp_file): Add new file to front of linked list.
4970         (support_delete_temp_files): Use next member.
4971         (support_print_temp_files): Likewise.
4973 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4975         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4976         sys/ultrasound.h.
4977         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
4979 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
4981         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
4982         Remove.
4983         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
4984         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4985         (arch_minimum_kernel): Remove.
4986         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4987         * README: Update statement about Linux kernel requirements.
4989 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4991         * manual/llio.texi: Add preadv and pwritev documentation.
4993 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
4995         [BZ #21455]
4996         * bits/stdint-intn.h: New file.
4997         * bits/stdint-uintn.h: Likewise.
4998         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
4999         bits/stdint-uintn.h.
5000         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5001         <stdint.h>.
5002         * posix/sys/types.h: Include <bits/stdint-intn.h>.
5003         (__int8_t_defined): Do not define here.
5004         (int8_t): Likewise.
5005         (int16_t): Likewise.
5006         (int32_t): Likewise.
5007         (int64_t): Likewise.
5008         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5009         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5010         <stdint.h>.
5011         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5012         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5013         <bits/stdint-uintn.h>.
5014         (int8_t): Do not define here.
5015         (int16_t): Likewise.
5016         (int32_t): Likewise.
5017         (int64_t): Likewise.
5018         (uint8_t): Likewise.
5019         (uint16_t): Likewise.
5020         (uint32_t): Likewise.
5021         (uint64_t): Likewise.
5022         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5023         variable.
5024         (test-xfail-XPG42/netdb.h/conform): Likewise.
5025         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5026         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5027         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5028         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5030 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5032         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5033         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5034         the above.
5035         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5036         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5038 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5040         [BZ #21445]
5041         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5043         [BZ #21457]
5044         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5045         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5046         __glibc_reserved1.
5047         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5048         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5049         (struct _fpxreg): Likewise.
5050         [!__x86_64__] (struct _fpstate): Rename field reserved to
5051         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
5052         [__x86_64__] (struct _fpstate): Rename field padding to
5053         __glibc_reserved1.
5054         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5055         Rename field reserved2 to __glibc_reserved2.
5056         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5057         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5058         __glibc_reserved1.
5059         [__x86_64__] (struct _libc_fpstate): Rename field padding to
5060         __glibc_reserved1.
5062 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5064         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5065         variable name.
5067 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
5069         [BZ #21391]
5070         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5071         Only call init_cpu_features.
5072         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5073         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5074         * sysdeps/i386/dl-procinfo.h: Removed.
5075         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5076         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
5077         <sysdeps/x86/dl-procinfo.h>.
5078         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5079         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5080         Include <sysdeps/x86/dl-procinfo.h> instead of
5081          <sysdeps/generic/dl-procinfo.h>.
5082         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5083         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5084         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5085         (bit_cpu_MOVBE): Likewise.
5086         (bit_cpu_BMI1): Likewise.
5087         (bit_cpu_BMI2): Likewise.
5088         (index_cpu_BMI1): Likewise.
5089         (index_cpu_BMI2): Likewise.
5090         (index_cpu_LZCNT): Likewise.
5091         (index_cpu_MOVBE): Likewise.
5092         (index_cpu_POPCNT): Likewise.
5093         (reg_BMI1): Likewise.
5094         (reg_BMI2): Likewise.
5095         (reg_LZCNT): Likewise.
5096         (reg_MOVBE): Likewise.
5097         (reg_POPCNT): Likewise.
5098         * sysdeps/x86/dl-hwcap.h: New file.
5099         * sysdeps/x86/dl-procinfo.h: Likewise.
5100         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
5101         (_dl_x86_platforms): Likewise.
5103 2017-05-03  DJ Delorie  <dj@redhat.com>
5105         [BZ #21411]
5106         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
5108 2017-05-03  Phil Blundell  <pb@pbcl.net>
5110         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
5111         comments.
5113 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
5115         [BZ #20116]
5116         * nptl/pthread_create.c: Expand comments to describe
5117         semaphore-like and mutex-like uses of PD->lock.
5119 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5121         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
5122         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
5123         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
5124         auto-generation list.
5125         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5126         epoll_wait.
5127         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
5128         Remove epoll_wait.
5130         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5131         osf_select.
5132         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
5133         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
5134         osf_select from auto-generation list.
5135         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5136         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5137         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
5138         * sysdeps/unix/sysv/linux/select.c: New file.
5140         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
5141         * sysdeps/unix/sysv/linux/poll.c: New file.
5142         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
5143         auto-generation list.
5145 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
5147         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
5148         New macro.
5150 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
5152         [BZ #21179]
5153         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
5154         R_SPARC_REGISTER relocations.
5156 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5158         * include/unistd.h (__pread): Add libc_hidden_proto.
5159         (__pread64): Likewise.
5160         (__pwrite): Likewise.
5161         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
5162         (__pread64): Remove.
5163         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
5164         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
5165         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
5167 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5171 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5173         * nptl/tst-cancel4-common.c: Use libsupport.
5174         * nptl/tst-cancel4-common.h: Likewise.
5175         * nptl/tst-cancel4.c (tf_read): Likewise.
5176         (tf_readv): Likewise.
5177         (tf_write): Likewise.
5178         (tf_writev): Likewise.
5179         (tf_sleep): Likewise.
5180         (tf_usleep): Likewise.
5181         (tf_nanosleep): Likewise.
5182         (tf_select): Likewise.
5183         (tf_pselect): Likewise.
5184         (tf_poll): Likewise.
5185         (tf_ppoll): Likewise.
5186         (tf_wait): Likewise.
5187         (tf_waitpid): Likewise.
5188         (tf_waitid): Likewise.
5189         (tf_sigpause): Likewise.
5190         (tf_sigsuspend): Likewise.
5191         (tf_sigwait): Likewise.
5192         (tf_sigwaitinfo): Likewise.
5193         (tf_sigtimedwait): Likewise.
5194         (tf_pause): Likewise.
5195         (tf_accept): Likewise.
5196         (tf_send): Likewise.
5197         (tf_recv): Likewise.
5198         (tf_recvfrom): Likewise.
5199         (tf_recvmsg): Likewise.
5200         (tf_open): Likewise.
5201         (tf_close): Likewise.
5202         (tf_pread): Likewise.
5203         (tf_pwrite): Likewise.
5204         (tf_preadv): Likewise.
5205         (tf_pwritev): Likewise.
5206         (tf_fsync): Likewise.
5207         (tf_fdatasync): Likewise.
5208         (tf_msync): Likewise.
5209         (tf_sendto): Likewise.
5210         (tf_sendmsg): Likewise.
5211         (tf_creat): Likewise.
5212         (tf_connect): Likewise.
5213         (tf_tcdrain): Likewise.
5214         (tf_msgrcv): Likewise.
5215         (tf_msgsnd): Likewise.
5216         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
5217         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
5219         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
5220         expected arguments.
5221         (do_test): Adapt to use libsupport.
5223 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
5225         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
5227         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
5228         (PF_MAX): Set to 44.
5229         (AF_SMC): New macro.
5231         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5232         kernel version to 4.11.
5234 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5236         [BZ #21280]
5237         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
5238         signal of subnormals and adjust the exponent of power of 2 down
5239         when low part has opposite sign.
5241 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5243         * sysdeps/powerpc/powerpc64le/Implies: New file.
5244         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
5245         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
5246         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
5247         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
5248         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
5249         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
5250         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
5251         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
5252         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
5253         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
5254         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
5255         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
5256         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
5257         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
5258         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
5259         * sysdeps/powerpc/preconfigure: New file.
5260         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
5261         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
5263 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
5265         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
5266         inclusion.
5267         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
5268         Remove.
5270 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
5272         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
5273         (XPG3): Rename standard to XPG4.
5274         * conform/Makefile: Likewise.
5275         * conform/list-header-symbols.pl: Likewise.
5276         * conform/data/aio.h-data: Likewise.
5277         * conform/data/arpa/inet.h-data: Likewise.
5278         * conform/data/complex.h-data: Likewise.
5279         * conform/data/ctype.h-data: Likewise.
5280         * conform/data/dlfcn.h-data: Likewise.
5281         * conform/data/fcntl.h-data: Likewise.
5282         * conform/data/fenv.h-data: Likewise.
5283         * conform/data/float.h-data: Likewise.
5284         * conform/data/fmtmsg.h-data: Likewise.
5285         * conform/data/ftw.h-data: Likewise.
5286         * conform/data/grp.h-data: Likewise.
5287         * conform/data/inttypes.h-data: Likewise.
5288         * conform/data/iso646.h-data: Likewise.
5289         * conform/data/langinfo.h-data: Likewise.
5290         * conform/data/libgen.h-data: Likewise.
5291         * conform/data/limits.h-data: Likewise.
5292         * conform/data/locale.h-data: Likewise.
5293         * conform/data/math.h-data: Likewise.
5294         * conform/data/mqueue.h-data: Likewise.
5295         * conform/data/ndbm.h-data: Likewise.
5296         * conform/data/net/if.h-data: Likewise.
5297         * conform/data/netdb.h-data: Likewise.
5298         * conform/data/netinet/in.h-data: Likewise.
5299         * conform/data/poll.h-data: Likewise.
5300         * conform/data/pthread.h-data: Likewise.
5301         * conform/data/pwd.h-data: Likewise.
5302         * conform/data/sched.h-data: Likewise.
5303         * conform/data/search.h-data: Likewise.
5304         * conform/data/semaphore.h-data: Likewise.
5305         * conform/data/signal.h-data: Likewise.
5306         * conform/data/spawn.h-data: Likewise.
5307         * conform/data/stdbool.h-data: Likewise.
5308         * conform/data/stdint.h-data: Likewise.
5309         * conform/data/stdio.h-data: Likewise.
5310         * conform/data/stdlib.h-data: Likewise.
5311         * conform/data/string.h-data: Likewise.
5312         * conform/data/strings.h-data: Likewise.
5313         * conform/data/stropts.h-data: Likewise.
5314         * conform/data/sys/mman.h-data: Likewise.
5315         * conform/data/sys/resource.h-data: Likewise.
5316         * conform/data/sys/select.h-data: Likewise.
5317         * conform/data/sys/socket.h-data: Likewise.
5318         * conform/data/sys/stat.h-data: Likewise.
5319         * conform/data/sys/statvfs.h-data: Likewise.
5320         * conform/data/sys/time.h-data: Likewise.
5321         * conform/data/sys/timeb.h-data: Likewise.
5322         * conform/data/sys/types.h-data: Likewise.
5323         * conform/data/sys/uio.h-data: Likewise.
5324         * conform/data/sys/un.h-data: Likewise.
5325         * conform/data/sys/wait.h-data: Likewise.
5326         * conform/data/syslog.h-data: Likewise.
5327         * conform/data/termios.h-data: Likewise.
5328         * conform/data/tgmath.h-data: Likewise.
5329         * conform/data/time.h-data: Likewise.
5330         * conform/data/ucontext.h-data: Likewise.
5331         * conform/data/unistd.h-data: Likewise.
5332         * conform/data/utmpx.h-data: Likewise.
5333         * conform/data/varargs.h-data: Likewise.
5334         * conform/data/wchar.h-data: Likewise.
5335         * conform/data/wctype.h-data: Likewise.
5337 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
5339         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
5340         version to 7 branch.
5342 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
5344         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
5345         earlyclobber to output operand of sqrt insn.
5346         (__ieee754_sqrtf): Ditto.
5348 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
5350         [BZ #21426]
5351         * misc/bits/types/struct_iovec.h: New file.
5352         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
5353         * include/bits/types/struct_iovec.h: New file.
5354         * bits/uio.h (struct iovec): Replace by inclusion of
5355         <bits/types/struct_iovec.h>.
5356         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
5357         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
5358         of <sys/uio.h>.
5359         * nptl/tst-cancel4.c: Include <sys/uio.h>
5360         * posix/test-errno.c: Likewise.
5361         * support/resolv_test.c: Likewise.
5362         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
5363         Remove.
5364         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5365         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5366         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5368         * conform/data/sys/socket.h-data (*_t): Allow.
5370 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5372         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
5373         assignment.
5375 2017-04-24  Daurnimator  <quae@daurnimator.com>
5376             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5378         [BZ #21340]
5379         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
5380         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
5381         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
5382         valid flags.
5383         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
5384         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
5385         POSIX_SPAWN_SETSID.
5386         * sysdeps/posix/spawni.c (__spawni): Likewise.
5387         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5388         * NEWS: Add note about POSIX_SPAWN_SETSID support.
5390 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5392         * sysdeps/generic/math_private.h: Move the declaration of many
5393         functions to sysdeps/generic/math_private_calls.h.
5394         * sysdeps/generic/math_private_calls.h: New file with the
5395         declarations of the functions removed from math_private.h
5396         macroized by floating-point type.
5398 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5400         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
5401         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
5402         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5403         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5404         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5405         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5407 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5409         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
5410         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
5411         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
5412         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
5413         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
5414         New Define.
5416 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5418         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
5419         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
5420         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5421         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5422         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5423         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5425 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5427         * sysdeps/s390/multiarch/ifunc-resolve.h
5428         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
5429         * sysdeps/s390/multiarch/8bit-generic.c
5430         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
5431         define ifunc resolvers.
5433 2017-04-21  Florian Weimer  <fweimer@redhat.com>
5435         [BZ #20424]
5436         * manual/memory.texi (Replacing malloc): New section.
5437         (Allocating Storage For Program Data): Reference it.
5438         (The GNU Allocator): Likewise.
5440 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
5442         * stdlib/Versions (__strtod_internal): List explicitly, not as
5443         wildcard.
5444         (__strtof_internal): Likewise.
5445         (__strtold_internal): Likewise.
5446         (__strtol_internal): Likewise.
5447         (__strtoll_internal): Likewise.
5448         (__strtoul_internal): Likewise.
5449         (__strtoull_internal): Likewise.
5450         (__strtoq_internal): Likewise.
5451         (__strtouq_internal): Likewise.
5452         * wcsmbs/Versions (__wcstod_internal): Likewise.
5453         (__wcstof_internal): Likewise.
5454         (__wcstold_internal): Likewise.
5455         (__wcstol_internal): Likewise.
5456         (__wcstoll_internal): Likewise.
5457         (__wcstoul_internal): Likewise.
5458         (__wcstoull_internal): Likewise.
5460 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5462         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
5463         struct timespec definition.
5465 2017-04-19  Florian Weimer  <fweimer@redhat.com>
5467         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
5469 2017-04-19  Florian Weimer  <fweimer@redhat.com>
5471         * inet/rcmd.c (rresvport_af): Fix typo in comment.
5472         * inet/rexec.c (rexec_af): Likewise.
5474 2017-04-19  Zack Weinberg  <zackw@panix.com>
5476         * posix/tst-mmap-offset.c: Include stdint.h.
5477         * resolv/tst-ns_name_compress.c: Include string.h.
5478         * resolv/tst-resolv-edns.c: Include resolv.h.
5480 2017-04-19  Florian Weimer  <fweimer@redhat.com>
5482         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
5483         with __glibc_likely.
5484         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
5485         Replace __builtin_expect with __glibc_unlikely.
5486         * resolv/res_init.c (__res_vinit): Likewise.
5487         * resolv/res_query.c (__libc_res_nquery): Likewise.
5488         * resolv/res_send.c (__libc_res_nsend): Likewise.
5490 2017-04-19  Florian Weimer  <fweimer@redhat.com>
5492         [BZ #15722]
5493         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
5494         with SOCK_CLOEXEC.
5495         * resolv/res_send.c (send_vc, reopen): Likewise.
5496         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
5497         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
5498         Likewise.
5499         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
5500         * inet/rexec.c (rexec_af): Add comment.
5501         * inet/rcmd.c (rresvport_af): Likewise.
5503 2017-04-19  Florian Weimer  <fweimer@redhat.com>
5505         * nscd/connections.c (have_accept4): Removed definition.
5506         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
5507         accept4 works.
5508         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
5509         ia64 because that was the first version with accept4 support.
5510         * support/Makefile (libsupport-routines): Add xaccept4.
5511         * support/xsocket.h (xaccept4): Declare.
5512         * support/xaccept4.c: New file.
5513         * socket/tst-accept4.c: New file.
5514         * socket/Makefile (tests): Add tst-accept4.
5515         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
5516         definition.
5517         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
5518         comment.
5519         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
5520         implementation is available.
5521         (accept4): Use the system call if available, otherwise use the
5522         socket call.
5523         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
5524         Set to 3.2.18.
5525         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5526         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
5527         accept4 is unconditionally available in later 3.2 stable kernels.
5528         (__ASSUME_ACCEPT4_SYSCALL): Define.
5529         * sysdeps/unix/sysv/linux/kernel-features.h
5530         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
5531         definitions.
5532         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5533         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
5535 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
5537         * conform/Makefile (tests-special): Do not make addition of
5538         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
5539         (generated): Do not make addition of $(conformtest-header-base)
5540         conditional on [$(cross-compiling) = no].
5542         [BZ #21267]
5543         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
5544         if defined by <asm/socket.h> and not previously defined.
5545         (IOCSIZE_SHIFT): Likewise.
5546         (IOC_IN): Likewise.
5547         (IOC_INOUT): Likewise.
5548         (IOC_OUT): Likewise.
5550 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
5552         [BZ #21396]
5553         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5554         Prefer_No_AVX512 if AVX512ER isn't available.
5555         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
5556         (index_arch_Prefer_No_AVX512): Likewise.
5557         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
5558         AVX512 version if Prefer_No_AVX512 is set.
5559         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
5560         Likewise.
5561         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
5562         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
5563         Likewise.
5564         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5565         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
5566         Likewise.
5567         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
5568         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
5569         Likewise.
5571 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
5573         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5574         Prefer_No_VZEROUPPER if AVX512ER is available.
5575         * sysdeps/x86/cpu-features.h
5576         (bit_cpu_AVX512PF): New.
5577         (bit_cpu_AVX512ER): Likewise.
5578         (bit_cpu_AVX512CD): Likewise.
5579         (bit_cpu_AVX512BW): Likewise.
5580         (bit_cpu_AVX512VL): Likewise.
5581         (index_cpu_AVX512PF): Likewise.
5582         (index_cpu_AVX512ER): Likewise.
5583         (index_cpu_AVX512CD): Likewise.
5584         (index_cpu_AVX512BW): Likewise.
5585         (index_cpu_AVX512VL): Likewise.
5586         (reg_AVX512PF): Likewise.
5587         (reg_AVX512ER): Likewise.
5588         (reg_AVX512CD): Likewise.
5589         (reg_AVX512BW): Likewise.
5590         (reg_AVX512VL): Likewise.
5592 2017-04-18  Florian Weimer  <fweimer@redhat.com>
5594         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
5595         O_CLOEXEC is defined.
5596         * include/fcntl.h (__have_o_cloexec): Remove declaration.
5597         * io/Makefile (aux): Remove.
5598         * io/have_o_cloexec.c: Remove file.
5599         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
5600         defined and works.
5601         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
5602         defined.
5603         * login/utmp_file.c (O_flags): Remove definition.
5604         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
5605         O_CLOEXEC works.
5606         (pututline_file): Likewise.
5607         * malloc/mtrace.c: Assume that O_CLOEXEC works.
5608         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
5609         definition.
5610         (internal_setgrent): Assume that O_CLOEXEC works.
5611         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
5612         Remove definition.
5613         (internal_setgrent): Assume that O_CLOEXEC works.
5614         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
5615         definition.
5616         (internal_setpwent): Assume that O_CLOEXEC works.
5617         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
5618         definition.
5619         (internal_setspent): Assume that O_CLOEXEC works.
5620         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
5621         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
5622         O_CLOEXEC is defined and works.
5623         * nss/Makefile (libnss_files-routines): Remove
5624         files-have_o_cloexec.
5625         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
5626         defined.
5627         * nss/nss_files/files-XXX.c (internal_setent): Assume that
5628         O_CLOEXEC is defined and works.
5629         * nss/nss_files/files-alias.c (internal_setent): Likewise.
5630         * nss/nss_files/files-have_o_cloexec.c: Remove.
5631         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
5632         defined.
5633         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
5634         and works.
5635         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
5636         definition.
5637         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
5638         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
5639         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
5640         (__opendirat, __opendir): Adjust opendir_oflags call.
5641         (check_have_o_cloexec): Remove.
5642         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
5643         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
5644         defined.
5645         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
5646         Remove definition.
5648 2017-04-18  Florian Weimer  <fweimer@redhat.com>
5650         * include/unistd.h (__have_dup3): Remove declaration.
5651         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
5652         dup3 is available.
5653         * libio/freopen64.c (freopen64): Likewise.
5654         * socket/Makefile (aux): Remove have_sock_cloexec.
5655         * socket/have_sock_cloexec.c: Remove file.
5656         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
5657         definition.
5658         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
5659         Likewise.
5660         * sysdeps/nacl/kernel-features.h: Update comment.
5662 2017-04-18  Florian Weimer  <fweimer@redhat.com>
5664         * include/unistd.h (__have_pipe2): Remove declaration.
5665         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
5666         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
5667         available.
5668         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
5669         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
5670         Remove definition.
5672 2017-04-18  Florian Weimer  <fweimer@redhat.com>
5674         * malloc/malloc.c (cfree): Turn into compat symbol.
5675         (__cfree): Remove alias.
5676         * stdlib/stdlib.h (cfree): Remove declaration.
5677         * malloc/malloc.h (cfree): Likewise.
5678         * manual/memory.texi (Freeing after Malloc): Remove cfree.
5679         * malloc/Versions (GLIBC_2.26): Add.
5681 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5683         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5684         (sysdep_routines): Add strrchr-power8.
5685         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5686         (strrchr): Add __strrchr_power8 to list of strrchr functions.
5687         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
5688         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
5689         (strrchr): Add __strrchr_power8 to ifunc list.
5690         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
5692 2017-04-17  Rabin Vincent  <rabinv@axis.com>
5694         [BZ #21357]
5695         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
5696         Call free() outside of mutex.
5698 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5700         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
5701         is defined.
5702         * elf/rtld.c (process_envvars): Likewise.
5703         * sysdeps/posix/shm_open.c (shm_open): Likewise.
5704         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
5705         O_NOFOLLOW directly.
5706         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
5708 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5710         [BZ #21369]
5711         Remove EDNS fallback.
5712         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
5713         handling.
5714         * resolv/res_send.c (send_dg): Likewise.
5715         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
5716         "tcp." prefixes.
5717         (do_test): Send a "formerr."-prefixed query in an attempt to
5718         trigger EDNS fallback.
5720 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5722         [BZ #21361]
5723         Limit EDNS buffer size to 1200 bytes.
5724         * include/resolv.h (__res_nopt): Remove declaration.
5725         * resolv/Makefile (tests): tst-resolv-edns.
5726         (tst-resolv-edns): Link with -lresolv, -lpthread.
5727         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
5728         interval [512, 1200].
5729         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
5730         we can resize the buffer.
5731         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
5732         (__res_nopt): Declare.
5733         * resolv/tst-resolv-edns.c: New file.
5734         * resolv/resolv_test.h (struct resolv_edns_info): Define.
5735         (struct resolv_response_context): Add edns member.
5736         * resolv/resolv_test.c (struct query_info): Add edns member.
5737         (parse_query): Extract EDNS information from the query.
5738         (server_thread_udp_process_one): Propagate EDNS data.
5739         (server_thread_tcp_client): Likewise.
5741 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5743         [BZ #21359]
5744         * resolv/ns_name.c (ns_name_pack): Do not require an additional
5745         byte in the destination buffer.  Avoid out-of-bounds pointer
5746         arithmetic.
5747         * resolv/Makefile (tests): Add tst-ns_name_compress.
5748         (tst-ns_name_compress): Link with -lresolv.
5749         * resolv/tst-ns_name_compress.c: New file.
5750         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
5751         (response): Recognize LONG_NAME.
5752         (do_test): Add LONG_NAME tests.
5753         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
5754         for ns_name_unpack.  Add tests for ns_name_pton and
5755         ns_name_compress.
5757 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5759         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
5760         (res_nisourserver): Remove definition.
5761         (p_section, res_npquery, res_nisourserver): Remove declaration.
5762         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
5763         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
5764         ... here.
5765         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
5766         <resolv.h>.
5767         * resolv/res_query.c: Likewise.
5768         * resolv/res_debug.c (p_section): Define as static.
5770 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5772         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
5773         strncat-power8.
5774         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
5775         __strncat_power8 to ifunc list.
5776         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5777         (strncat): Add __strncat_power8 to list of strncat functions.
5778         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
5780 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5782         [BZ #21270]
5783         * posix/tst-mmap-offset.c (do_prepare): New function.
5784         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
5785         (do_test_bz21270): New function.
5786         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
5787         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
5788         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
5789         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
5790         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
5791         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
5792         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
5793         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
5794         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
5795         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
5796         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
5797         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5798         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5799         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5800         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
5801         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
5802         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
5803         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
5804         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
5805         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
5806         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
5807         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
5808         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
5809         from auto-generation list.
5810         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
5811         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5812         * sysdeps/unix/sysv/linux/mmap.c: New file.
5813         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
5814         offsets and support for mmap2 syscall.
5816         * posix/globtest.sh: Add cleanup routine on trap 0.
5818 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5820         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
5821         implementation-specific function name and remove unneeded
5822         macros definition.
5823         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
5824         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
5825         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
5826         name if not defined and pass as parameter to macros accordingly.
5827         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5828         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
5830         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
5831         implementation-specific function name and remove unneeded
5832         macros definition.
5833         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
5834         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
5835         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
5836         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
5837         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5838         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
5839         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
5840         name if not defined and pass as parameter to macros accordingly.
5841         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5842         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5843         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5844         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5845         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5846         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
5848         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
5849         implementation-specific function name and remove unneeded macros
5850         definition.
5851         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
5852         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
5853         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
5854         function name if not defined and pass as parameter to macros
5855         accordingly.
5856         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5857         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
5859         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
5860         implementation-specific function name and remove unneeded macros
5861         definition.
5862         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5863         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5864         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
5865         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5866         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
5867         not defined and pass as parameter to macros accordingly.
5868         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5869         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5870         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5871         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
5873         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
5874         strcasestr implementation name and remove unneeded macros definition.
5875         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
5876         strstr implementation name and remove unneeded macros definition.
5877         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
5878         name if not defined and pass as parameter to macros accordingly.
5879         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
5881         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
5882         implementation-specific function name and remove unneeded macros
5883         definition.
5884         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
5885         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
5886         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
5887         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
5888         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
5889         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
5890         function name if not defined and pass as parameter to macros
5891         accordingly.
5892         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
5893         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
5894         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
5895         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
5897         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
5898         the strlen implementation name and remove unneeded macros definition.
5899         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
5900         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5901         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
5902         the strnlen implementation name and remove unneeded macros definition.
5903         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
5904         name if not defined and pass as parameter to macros accordingly.
5905         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
5906         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
5907         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5909         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
5910         the implementation-specific function name and remove unneeded
5911         macros definition.
5912         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
5913         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
5914         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
5915         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5916         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
5917         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
5918         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
5919         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
5920         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5921         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
5922         name if not defined and pass as parameter to macros accordingly.
5923         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
5924         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5925         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
5926         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
5927         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5928         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
5929         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
5930         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5932         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
5933         implementation-specific function name and remove unneeded macros
5934         definition.
5935         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
5936         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
5937         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
5938         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
5939         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
5940         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
5941         function name if not defined.
5942         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
5943         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
5945 2017-04-11  Paul Clarke  <pc@us.ibm.com>
5947         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
5948         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
5949         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
5950         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
5952 2017-04-11  Florian Weimer  <fweimer@redhat.com>
5953             Zack Weinberg  <zackw@panix.com>
5955         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
5956         readdir64 as thread-safe.  Update warning about readdir_r.
5958 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5960         * sysdeps/unix/sysv/linux/x86/Implies: New file.
5961         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
5962         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
5963         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
5964         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
5965         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
5966         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5968 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
5970         * sysdeps/i386/dl-procinfo.c: Include
5971         <sysdeps/x86/dl-procinfo.c>.
5972         * sysdeps/x86_64/dl-procinfo.c: Likewise.
5973         * sysdeps/x86/dl-procinfo.c: New file.
5975 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5977         * sysdeps/generic/math_private.h: Remove declarations of
5978         many functions that are already declared in math.h.
5979         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
5980         declaration for __frexpl.
5981         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
5982         the declarations for __scalbnl and fabsl.
5984 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
5986         [BZ #20831]
5987         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
5988         of __mprotect to change protection on the excess portion
5989         to disallow all access.
5991 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
5993         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
5994         HAS_CPU_FEATURE to check for SSE.
5995         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5996         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
5997         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
5998         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
5999         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6000         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6001         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6002         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6003         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6004         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6005         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6006         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6007         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6008         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6009         (index_cpu_SSE): Likewise.
6010         (reg_SSE): Likewise.
6012 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
6014         * posix/getopt1.c: Include <config.h>, not "config.h".
6016 2017-04-07  Zack Weinberg  <zackw@panix.com>
6018         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6019         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6020         Mention in top-of-file boilerplate that these files are shared
6021         with gnulib.
6022         * posix/getopt.h, posix/bits/getopt_posix.h:
6023         Mention in top-of-file boilerplate that these files are NOT shared
6024         with gnulib, unlike the rest of the getopt implementation.
6026         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6027         New files, intended to be shared with gnulib.
6028         * posix/bits/getopt_posix.h:
6029         New file, not intended to be shared with gnulib.
6030         * posix/getopt.h: Now just includes features.h,
6031         bits/getopt_core.h, and bits/getopt_ext.h.  Will
6032         no longer be shared with gnulib.
6033         * include/bits/getopt_core.h, include/bits/getopt_ext.h
6034         * include/bits/getopt_posix.h: New wrappers.
6035         * posix/Makefile: Install new headers.
6036         * posix/unistd.h, libio/stdio.h:
6037         Include bits/getopt_posix.h instead of getopt.h.
6039         * include/libc-symbols.h: For gnulib compatibility, define
6040         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6041         _GL_ATTRIBUTE_CONST.
6042         * posix/getopt.c (_getopt_initialize): Mark argc and argv
6043         parameters with _GL_UNUSED.
6045         * posix/getopt.c: When used standalone, define __libc_use_alloca
6046         as always false and alloca to abort if called.
6047         (process_long_option): Rewrite handling of ambiguous long options
6048         to use a single boolean vector, not a linked list; use
6049         __libc_use_alloca to decide whether to allocate this using alloca.
6050         * posix/tst-getopt_long1.c: Adjust text of expected error message.
6052         * posix/getopt.c (process_long_option): New function split out
6053         from _getopt_internal_r.
6054         (_getopt_internal_r): Replace both copies of the long-option
6055         processing code with calls to process_long_option.
6056         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6057         (do_test): Differentiate argv[0] in the two subtests.
6059         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6060         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6061         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6063         * posix/getopt.h: Add backup definition of __nonnull for
6064         consistency with gnulib.  Define __getopt_argv_const to const
6065         if not already defined.
6066         (getopt): Update doc comment from gnulib.  Prototype
6067         unconditionally.  Add __nonnull annotation.
6068         (__posix_getopt): Add __nonnull annotation.
6069         (getopt_long, getopt_long_only): Use __getopt_argv_const in
6070         prototypes for consistency with gnulib.  Add __nonnull
6071         annotations.
6072         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6073         (getopt_internal): Change 'argv' argument to type 'char **'.
6074         Remove now-unnecessary casts.
6075         (getopt, __posix_getopt): Eliminate repetition with a macro.
6076         Cast 'argv' to 'char **' when calling _getopt_internal.
6077         * posix/getopt1.c (getopt_long, getopt_long_only):
6078         Use __getopt_argv_const for consistency with gnulib.
6079         Cast 'argv' to 'char **' when calling _getopt_internal.
6080         (_getopt_long_r, _getopt_long_only_r):
6081         Change 'argv' argument to type 'char **'.
6082         (main): Constify 'long_options'.
6083         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6084         (_getopt_long_r, _getopt_long_only_r):
6085         Change 'argv' argument to type 'char **'.
6087         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6088         (locked_vfxprintf): New helper function. Handle arbitrary
6089         multibyte strings, not just ASCII.
6090         * include/stdio.h: Declare __fxprintf_nocancel.
6091         * posix/getopt.c: When _LIBC is defined, define fprintf to
6092         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6093         to _IO_funlockfile.  When neither _LIBC nor
6094         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6095         funlockfile as no-ops.
6096         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6097         the standalone error-printing code can now be used for libc as
6098         well.  Add an flockfile/funlockfile pair around one case where
6099         the error message is printed in several chunks.  Don't use fputc.
6100         * posix/tst-getopt-cancel.c: New test.
6101         * posix/Makefile: Run it.
6103         * posix/getopt.c (_getopt_internal_r): Don't increment
6104         d->optind a second time when reporting ambiguous -W options.
6106         * posix/getopt_int.h: Include getopt.h.
6107         Use impl-namespace names for all arguments to _getopt_internal and
6108         _getopt_internal_r.
6109         Declare __ordering enum outside the struct.
6110         Harmonize comments with gnulib.
6111         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
6112         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
6113         #ifdef TEST block and make unconditional.  Do not define NULL.
6114         * posix/getopt.c: Partial merge from gnulib, covering the
6115         initial includes and global declarations, commentary, and
6116         a couple of semantically-neutral code changes.
6118         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
6119         Use '...' instead of `...' for quotation marks inside
6120         comments and strings.
6122         * config.h.in (USE_NONOPTION_FLAGS): Remove.
6123         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
6124         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6125         * posix/getopt_int.h: Likewise.
6126         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
6127         __libc_argc and __libc_argv externs, which were only used by
6128         #ifdef USE_NONOPTION_FLAGS blocks.
6129         * posix/getopt_init.c: Remove file.
6130         * posix/Makefile (routines): Remove getopt_init.
6131         * include/getopt.h: Don't declare __getopt_initialize_environment.
6132         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
6133         a comment.
6135 2017-04-07  Florian Weimer  <fweimer@redhat.com>
6137         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
6139 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6141         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
6142         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
6143         to __wrap_.udiv.
6144         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
6145         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
6147         * sysdeps/i386/symbol-hacks.h: New file.
6148         * sysdeps/m68k/symbol-hacks.h: New file.
6149         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
6150         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
6151         * sysdeps/unix/sysv/linux/i386/Makefile
6152         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6153         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6154         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6155         * sysdeps/unix/sysv/linux/m68k/Makefile
6156         [$(subdir) = csu] (sysdep_routines): Likewise.
6157         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6158         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6160         [$(subdir) = csu] (sysdep_routines): Likewise.
6161         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6162         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6163         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6164         [$(subdir) = csu] (sysdep_routines): Likewise.
6165         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6166         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6167         * sysdeps/wordsize-32/Makefile: Remove file.
6168         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
6169         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
6171 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
6173         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
6174         (TEST_FUNCTION_ARGV): New.
6176 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6178         * elf/next.c: Import support/test-driver.c instead of
6179         test-skeleton.c and delete TEST_FUNCTION macro definition.
6180         * elf/nodelete.c: Likewise.
6181         * elf/order2.c: Likewise.
6182         * elf/tst-_dl_addr_inside_object.c: Likewise.
6183         * elf/tst-addr1.c: Likewise.
6184         * elf/tst-align.c: Likewise.
6185         * elf/tst-align2.c: Likewise.
6186         * elf/tst-audit11.c: Likewise.
6187         * elf/tst-audit12.c: Likewise.
6188         * elf/tst-audit2.c: Likewise.
6189         * elf/tst-audit9.c: Likewise.
6190         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
6191         * elf/tst-deep1.c: Likewise.
6192         * elf/tst-dl-iter-static.c: Likewise.
6193         * elf/tst-dlmodcount.c: Likewise.
6194         * elf/tst-dlmopen1.c: Likewise.
6195         * elf/tst-dlmopen2.c: Likewise.
6196         * elf/tst-dlmopen3.c: Likewise.
6197         * elf/tst-dlopen-aout.c: Likewise.
6198         * elf/tst-dlopenrpath.c: Likewise.
6199         * elf/tst-dlsym-error.c: Likewise.
6200         * elf/tst-execstack-needed.c: Likewise.
6201         * elf/tst-execstack-prog.c: Likewise.
6202         * elf/tst-execstack.c: Likewise.
6203         * elf/tst-global1.c: Likewise.
6204         * elf/tst-gnu2-tls1.c: Likewise.
6205         * elf/tst-latepthread.c: Likewise.
6206         * elf/tst-leaks1.c: Likewise.
6207         * elf/tst-linkall-static.c: Likewise.
6208         (do_test): New function.
6209         * elf/tst-nodelete-opened.c: Likewise.
6210         * elf/tst-nodelete.cc: Likewise.
6211         * elf/tst-nodelete2.c: Likewise.
6212         * elf/tst-noload.c: Likewise.
6213         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
6214         * elf/tst-order-main.c: Likewise.
6215         * elf/tst-pathopt.c: Likewise.
6216         * elf/tst-pie2.c: Likewise.
6217         * elf/tst-piemod1.c: Likewise.
6218         * elf/tst-prelink.c: Likewise.
6219         * elf/tst-protected1a.c: Likewise.
6220         * elf/tst-protected1b.c: Likewise.
6221         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
6222         and define _GNU_SOURCE macro.
6223         (cmdline_process_function): New function.
6224         * elf/tst-relsort1.c: Likewise.
6225         * elf/tst-stackguard1.c: Likewise, import getopt.h,
6226         and define _GNU_SOURCE macro.
6227         (cmdline_process_function): New function.
6228         * elf/tst-thrlock.c: Likewise.
6229         * elf/tst-tls-dlinfo.c: Likewise.
6230         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
6231         * elf/tst-tls1.c: Likewise.
6232         * elf/tst-tls10.c: Likewise.
6233         * elf/tst-tls11.c: Likewise.
6234         * elf/tst-tls12.c: Likewise.
6235         * elf/tst-tls13.c: Likewise.
6236         * elf/tst-tls14.c: Likewise.
6237         * elf/tst-tls15.c: Likewise.
6238         * elf/tst-tls16.c: Likewise.
6239         * elf/tst-tls17.c: Likewise.
6240         * elf/tst-tls18.c: Likewise.
6241         * elf/tst-tls19.c: Likewise.
6242         * elf/tst-tls2.c: Likewise.
6243         * elf/tst-tls3.c: Likewise.
6244         * elf/tst-tls4.c: Likewise.
6245         * elf/tst-tls5.c: Likewise.
6246         * elf/tst-tls6.c: Likewise.
6247         * elf/tst-tls7.c: Likewise.
6248         * elf/tst-tls8.c: Likewise.
6249         * elf/tst-tls9.c: Likewise.
6250         * elf/tst-tlsalign-extern.c: Likewise.
6251         * elf/tst-tlsalign.c: Likewise.
6252         * elf/tst-unique1.c: Likewise.
6253         * elf/tst-unique2.c: Likewise.
6254         * elf/vismain.c: Likewise.
6256 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6258         * string/test-strnlen.c (do_page_tests): New function
6259         to check length of strings ending at the page boundary.
6260         (test_main): Added call to the do_page_tests function.
6262 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6263             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6265         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6266         (sysdep_routines): Add strnlen-power8.
6267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6268         (strnlen): Add __strnlen_power8 to list of strnlen functions.
6269         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
6270         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
6271         (__strnlen): Add __strnlen_power8 to ifunc list.
6272         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
6274 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6276         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
6277         the TEST_FUNCTION macro definition.
6278         * wcsmbs/tst-mbrtowc2.c: Likewise.
6279         * wcsmbs/tst-mbsrtowcs.c: Likewise.
6280         * wcsmbs/tst-wchar-h.c: Likewise.
6281         * wcsmbs/tst-wcpncpy.c: Likewise.
6282         * wcsmbs/tst-wcrtomb.c: Likewise.
6283         * wcsmbs/tst-wcsnlen.c: Likewise.
6284         * wcsmbs/tst-wcstof.c: Likewise.
6286 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6288         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
6289         CALL_THREAD_FCT macro usage.
6290         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
6291         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
6292         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
6294         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
6295         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6296         (__ASSUME_REQUEUE_PI): Likewise.
6297         * sysdeps/unix/sysv/linux/kernel-features.h
6298         (__ASSUME_REQUEUE_PI): Likewise.
6299         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6300         (__ASSUME_REQUEUE_PI): Likewise.
6301         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6302         (__ASSUME_REQUEUE_PI): Likewise.
6303         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6304         (__ASSUME_REQUEUE_PI): Likewise.
6306 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6308         * resolv/tst-resolv-canonname.c: New file.
6309         * resolv/Makefile (tests): Add tst-resolv-canonname.
6310         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
6312 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6314         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
6315         Declare.
6316         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
6317         (NS_MAXCDNAME): Remove definition.
6318         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6319         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
6320         (NS_MAXCDNAME): Remove definition.
6321         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6323 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6325         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
6326         call whose result is not used.
6328 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6330         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
6331         * resolv/Makefile (tests): Add tst-ns_name.
6332         (tst-ns_name): Link with -lresolv.
6333         (tst-ns_name.out): Depend on the input data file.
6335 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
6337         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
6338         Clobber also r14.
6340 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
6342         [BZ #21253]
6343         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
6344         slack space by 32KiB.
6346 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
6348         [BZ #21338]
6349         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
6350         instead of incorrect do_set_arena_test
6352 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6354         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
6355         * math/bits/math-finite.h: Likewise.
6357 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
6359         [BZ #21289]
6360         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
6362 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6364         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
6365         non expected inotify_add_watch and quotactl return.
6367 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6369         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
6370         to int32_t.
6371         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
6372         as returning int32_t.
6374 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6376         * math/math.h: Include bits/math-finite.h once per
6377         floating-point type.
6378         * math/bits/math-finite.h: Macroize all declarations by
6379         floating-point type.
6381 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6383         [BZ #21182]
6384         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
6385         near end of a page.
6386         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
6387         overflow calculation.
6389 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
6391         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
6392         (IMPL) Call with 1 instead of 0 as argument.
6394 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6396         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6397         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6398         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6399         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6400         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6401         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6402         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6403         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6404         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6405         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6406         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6407         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6408         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6409         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6410         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6411         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6412         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6413         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6414         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6415         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6416         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6417         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6418         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6419         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6420         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6421         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6422         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6423         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6424         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6425         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6426         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6427         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6428         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6429         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6430         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6431         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6432         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6433         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6434         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6435         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6436         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6437         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6438         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6439         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6440         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6441         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6442         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6443         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
6444         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
6445         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
6446         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
6447         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
6448         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
6449         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
6450         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
6451         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
6452         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6453         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
6454         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
6455         defined.
6456         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
6457         __NR_setgroups32 if defined.
6458         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
6459         if defined.
6460         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
6461         __NR_setresgid32 is defined.
6462         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
6463         __NR_setresuid32 if defined.
6464         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
6465         __NR_setreuid32 if defined.
6466         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
6467         defined.
6468         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6469         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6470         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6471         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6472         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6473         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6474         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6475         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6476         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6477         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6478         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6479         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6480         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6481         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6482         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6483         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6484         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6485         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6486         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6487         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6488         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6489         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6490         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6491         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6492         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6493         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6494         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6495         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6496         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6497         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6498         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6499         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6500         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6501         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6502         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6503         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6504         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6505         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6506         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6507         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6508         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6509         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6510         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6511         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6512         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6513         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6514         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6515         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
6516         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
6517         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
6518         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
6519         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
6520         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
6521         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
6522         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
6523         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
6524         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6525         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
6526         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
6527         defined.
6528         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
6529         __NR_setgroups32 if defined.
6530         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
6531         if defined.
6532         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
6533         __NR_setresgid32 is defined.
6534         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
6535         __NR_setresuid32 if defined.
6536         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
6537         __NR_setreuid32 if defined.
6538         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
6539         defined.
6541 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
6543         [BZ #21277]
6544         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
6545         unconditionally.
6546         (IMAXBEL): Likewise.
6547         (IUTF8): Likewise.
6549 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6551         * sysdeps/aarch64/libm-test-ulps: Update.
6553 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
6555         * README.tunables: Updated descriptions.
6556         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
6557         * scripts/gen-tunables.awk: Updated the code related to the
6558         commit.
6560 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
6562         * benchtests/Makefile (string-benchset): Add memcpy-random.
6563         * benchtests/bench-memcpy-random.c: New file.
6565 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6567         * stdio-common/printf.h (register_printf_modifier): Change the
6568         order of __wur and __THROW.
6569         (register_printf_type): Likewise.
6571 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6573         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
6574         test_main ().
6575         (CMDLINE_PROCESS): Use function instead of defined macro.
6576         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
6577         <suppport/support.h> to use set_fortify_handler().
6578         * string/bug-envz1.c: Import support/test-driver.c instead of
6579         test-skeleton.c.
6580         * string/bug-strcoll2.c: Likewise.
6581         * string/bug-strtok1.c: Likewise.
6582         * string/stratcliff.c: Likewise.
6583         * string/test-ffs.c: Likewise.
6584         * string/test-memccpy.c: Likewise.
6585         * string/test-memchr.c: Likewise.
6586         * string/test-memcmp.c: Likewise.
6587         * string/test-memcpy.c: Likewise.
6588         * string/test-memmem.c: Likewise.
6589         * string/test-memmove.c: Likewise.
6590         * string/test-memrchr.c: Likewise.
6591         * string/test-memset.c: Likewise.
6592         * string/test-rawmemchr.c: Likewise.
6593         * string/test-strcasecmp.c: Likewise.
6594         * string/test-strcasestr.c: Likewise.
6595         * string/test-strcat.c: Likewise.
6596         * string/test-strchr.c: Likewise.
6597         * string/test-strcmp.c: Likewise.
6598         * string/test-strcpy.c: Likewise.
6599         * string/test-string.h: Likewise.
6600         * string/test-strlen.c: Likewise.
6601         * string/test-strncasecmp.c: Likewise.
6602         * string/test-strncat.c: Likewise.
6603         * string/test-strncmp.c: Likewise.
6604         * string/test-strncpy.c: Likewise.
6605         * string/test-strnlen.c: Likewise.
6606         * string/test-strpbrk.c: Likewise.
6607         * string/test-strrchr.c: Likewise.
6608         * string/test-strspn.c: Likewise.
6609         * string/test-strstr.c: Likewise.
6610         * string/tst-bswap.c: Likewise.
6611         * string/tst-cmp.c: Likewise.
6612         * string/tst-endian.c: Likewise.
6613         * string/tst-inlcall.c: Likewise.
6614         * string/tst-strcoll-overflow.c: Likewise.
6615         * string/tst-strfry.c: Likewise.
6616         * string/tst-strlen.c: Likewise.
6617         * string/tst-strtok.c: Likewise.
6618         * string/tst-strtok_r.c: Likewise.
6619         * string/tst-strxfrm.c: Likewise.
6620         * string/tst-strxfrm2.c: Likewise.
6621         * string/tst-svc.c: Likewise.
6622         * string/tst-svc2.c: Likewise.
6624 2017-03-22  Zack Weinberg  <zackw@panix.com>
6626         * stdio-common/bug25.c: Include stdlib.h.
6627         * support/tst-support_format_dns_packet.c: Include stdio.h,
6628         stdlib.h, and string.h.
6629         * support/tst-support_record_failure.c: Include string.h.
6630         * support/tst-support_record_failure-2.sh: Adjust line number
6631         expectations and correct a typo in an error message.
6633 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6635         [BZ #21258]
6636         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
6637         Define only if _dl_runtime_resolve is defined to
6638         _dl_runtime_resolve_sse_vex.
6639         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
6640         Fallthrough to _dl_runtime_resolve_sse_vex.
6642 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
6644         * INSTALL: Regenerated.
6646 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
6648         * config.h.in: Add LINK_OBSOLETE_NSL.
6649         * config.make.in: Add build-obsolete-nsl.
6650         * configure.ac: Add obsolete-nsl option.
6651         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
6652         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
6653         * include/rpcsvc/nislib.h: Likewise.
6654         * include/rpcsvc/ypclnt.h: Likewise.
6655         * manual/install.texi: Document --enable-obsolete-nsl.
6656         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
6657         * nis/nis_add.c: Replace libnsl_hidden_def with
6658         libnsl_hidden_nolink_def.
6659         * nis/nis_addmember.c: Likewise.
6660         * nis/nis_call.c: Likewise.
6661         * nis/nis_clone_obj.c: Likewise.
6662         * nis/nis_defaults.c: Likeise.
6663         * nis/nis_domain_of_r.c: Likewise.
6664         * nis/nis_error.c: Likewise.
6665         * nis/nis_file.c: Likewise.
6666         * nis/nis_free.c: Likewise.
6667         * nis_local_names.c: Likewise.
6668         * nis/nis_lookup.c: Likewise.
6669         * nis/nis_modify.c: Likewise.
6670         * nis/nis_print.c: Likewise.
6671         * nis/nis_remove.c: Likewise.
6672         * nis/nis_table.c: Likewise.
6673         * nis/nis_util.c: Likewise.
6674         * nis/nis_xdr.c: Likewise.
6675         * nis/yp_xdr.c: Likewise.
6676         * nis/ypclnt.c: Likewise.
6677         * nis/ypupdate_xdr.c: Likewise.
6678         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
6679         * nis/nis_clone_dir.c: Likewise.
6680         * nis/nis_clone_res.c: Likewise.
6681         * nis/nis_creategroup.c: Likewise.
6682         * nis/nis_destroygroup.c: Likewise.
6683         * nis/nis_domain_of.c: Likewise.
6684         * nis/nis_getservlist.c: Likewise.
6685         * nis/nis_ismember.c: Likewise.
6686         * nis/nis_mkdir.c: Likewise.
6687         * nis/nis_ping.c: Likewise.
6688         * nis/nis_print_group_entry.c: Likewise.
6689         * nis/nis_removemember.c: Likewise.
6690         * nis/nis_rmdir.c: Likewise.
6691         * nis/nis_server.c: Likewise.
6692         * nis/nis_subr.c: Likewise.
6693         * nis/nis_verifygroup.c: Likewise.
6695 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6697         * malloc/tst-interpose-aux.c (check_for_allocations):
6698         Move compiler barrier before free.
6700 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
6702         [BZ #21279]
6703         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
6704         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
6705         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
6706         x86_64-x32-linux.
6707         (mq_attr.mq_maxmsg): Likewise.
6708         (mq_attr.mq_msgsize): Likewise.
6709         (mq_attr.mq_curmsgs): Likewise.
6711         [BZ #21278]
6712         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
6713         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
6714         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
6715         mips-o32-linux.
6717         [BZ #21268]
6718         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
6719         if [__USE_MISC]
6720         (NL3): Likewise.
6722 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
6724         [BZ #21275]
6725         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
6726         __stack to __stackbase.
6727         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
6728         checks so we can include defined(__ia64__) first.
6730 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
6732         * sysdeps/unix/sysv/linux/ttyname.h: New file.
6733         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
6734         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
6735         Call is_pty when the link does not exist or does not match, fail
6736         with ENODEV when it returns true.
6737         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
6738         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
6739         Call is_pty when the link does not exist or does not match, fail
6740         with ENODEV when it returns true.
6742 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
6744         [BZ #16437]
6745         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
6746         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
6747         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
6748         x86_64-x32-linux.
6749         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
6750         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
6751         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
6753         [BZ #21261]
6754         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
6755         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
6756         names for all fields.
6757         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
6758         for jmp_buf field renaming.
6759         (_JMPBUF_UNWINDS_ADJ): Likewise.
6761         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
6762         with allow-header.
6764 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
6766         * malloc/malloc.c (unlink): Add consistency check between size and
6767         next->prev->size, to further harden against 1-byte overflows.
6769 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
6771         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
6772         CPU_FEATURES_CPU_P.
6774 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
6776         [BZ #21259]
6777         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
6778         unconditionally, not just for [__USE_MISC].
6780         [BZ #17786]
6781         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
6782         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
6783         mips-o32-linux.
6785         [BZ #21260]
6786         * sysdeps/unix/sysv/linux/alpha/Makefile
6787         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
6788         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
6790         * conform/conformtest.pl ($cross): New variable.
6791         (--cross): New command-line option.
6792         (runtest): Skip test execution when cross-compiling.
6793         * conform/Makefile (conformtest-cross): New variable.
6794         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
6795         conformtest.pl.
6797         * conform/conformtest.pl ($xfail_str): New variable.
6798         (--xfail=): New command-line option.
6799         (top level): Handle expectations starting xfail[cond]-.
6800         * conform/Makefile (conformtest-xfail): New variable.
6801         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
6802         conformtest.pl.
6804 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
6806         * conform/conformtest.pl: Use compilation instead of execution
6807         tests for testing values of constants and usability in #if.
6809 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6811         * math/auto-libm-test-in: Mark some catan and catanh as
6812         xfail-rounding:ibm128-libgcc.
6813         * math/auto-libm-test-out-catan: Regenerate.
6814         * math/auto-libm-test-out-catanh: Likewise.
6816 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
6818         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
6819         (__END_NAMESPACE_STD): Likewise.
6820         (__USING_NAMESPACE_STD): Likewise.
6821         (__BEGIN_NAMESPACE_C99): Likewise.
6822         (__END_NAMESPACE_C99): Likewise.
6823         (__USING_NAMESPACE_C99): Likewise.
6824         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
6825         undefine macro.
6826         (_Mdouble_END_NAMESPACE): Likewise.
6827         * ctype/ctype.h: Do not handle C++ namespaces.
6828         * libio/bits/stdio-ldbl.h: Likewise.
6829         * libio/stdio.h: Likewise.
6830         * locale/locale.h: Likewise.
6831         * math/bits/mathcalls.h: Likewise.
6832         * setjmp/setjmp.h: Likewise.
6833         * signal/signal.h: Likewise.
6834         * stdlib/bits/stdlib-float.h: Likewise.
6835         * stdlib/bits/stdlib-ldbl.h: Likewise.
6836         * stdlib/stdlib.h: Likewise.
6837         * string/string.h: Likewise.
6838         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
6839         * time/bits/types/clock_t.h: Likewise.
6840         * time/bits/types/struct_tm.h: Likewise.
6841         * time/bits/types/time_t.h: Likewise.
6842         * time/time.h: Likewise.
6843         * wcsmbs/bits/wchar-ldbl.h: Likewise.
6844         * wcsmbs/uchar.h: Likewise.
6845         * wcsmbs/wchar.h: Likewise.
6846         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
6847         * wctype/wctype.h: Do not handle C++ namespaces.
6848         * scripts/begin-end-check.pl: Remove.
6849         * Makefile (installed-headers): Likewise.
6850         (tests-special): Do not add $(objpfx)begin-end-check.out.
6851         ($(objpfx)begin-end-check.out): Remove.
6853 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
6854             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6856         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
6857         (DL_PLATFORM_INIT): New define.
6858         (dl_platform_init): New function.
6859         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
6860         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
6861         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
6862         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
6863         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
6865 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
6867         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
6868         instead of PIC.
6870 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
6872         [BZ #21094]
6873         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6874         24+24+24-bit pi for wider range of values around pi/2.
6875         * math/auto-libm-test-in: Add more tests of cos and tan.
6876         * math/auto-libm-test-out-cos: Regenerated.
6877         * math/auto-libm-test-out-tan: Likewise.
6879 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
6881         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
6882         (RTLD_START): Don't record stack end address in _dl_start_user.
6884 2017-03-15  Alexey Neyman  <stilor@att.net>
6886         [BZ #21088]
6887         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
6888         around definitions match those around use.
6890 2017-03-15  Alexey Neyman  <stilor@att.net>
6892         * configure.ac: Avoid empty subexpression in grep.
6893         * configure: Regenerate.
6895 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6897         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
6898         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
6899         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
6900         (test_wrp_rv): Fix format.
6901         (test_wrp_rv2): New macro.
6902         (do_test): Handle mlock return on 64 bits kernels with 32 bits
6903         binaries.
6905 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
6907         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
6908         Use a union when storing pointers.
6909         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
6910         cast result when passing to INIT_VEC_PTRS_LOOP.
6911         (VECTOR_WRAPPER_fFF_3): Likewise.
6912         (VECTOR_WRAPPER_fFF_4): Likewise.
6914 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6916         * include/bits/mathcalls-helper-functions.h: New file.
6917         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
6918         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
6919         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
6920         math/bits/mathcalls-helper-functions.h.
6921         * math/bits/mathcalls-helper-functions.h: New file.
6922         * math/math.h: Include bits/mathcalls-helper-functions.h for
6923         float, double, and long double.
6925 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6927         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
6928         instead of feraiseexcept.
6930 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6932         [BZ #21243]
6933         * support/temp_file.c (support_delete_temp_files): Add comment
6934         about ignored errors.
6936 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6938         [BZ #21244]
6939         * support/xclose.c: New file.
6940         * support/Makefile (libsupport-routines): Add xclose.
6941         * support/xunistd.h (xclose): Declare.
6942         * support/resolv_test.c (server_thread_tcp_client)
6943         (server_thread_tcp, make_server_sockets, resolv_test_start)
6944         (resolv_test_end): Call xclose instead of close.
6945         * support/support_enter_network_namespace.c
6946         (support_enter_network_namespace): Likewise.
6947         * support/support_run_diff.c (write_to_temp_file): Likewise.
6949 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6951         * support/support_format_dns_packet.c (support_format_dns_packet):
6952         Handle CNAME records in the response.  Extract RDATA names from
6953         rdata, not the whole packet.  Check AAAA record length.
6954         * support/tst-support_format_dns_packet.c: New file.
6955         * support/Makefile (tests): Add tst-support_format_dns_packet.
6956         (tst-support_format_dns_packet): Link against libresolv.
6958 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6960         [BZ #21232]
6961         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
6962         posix_fadvise64 weak_alias for static build.
6964 2017-03-14  Andreas Schwab  <schwab@suse.de>
6966         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
6967         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
6968         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
6969         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
6970         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
6971         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
6972         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
6973         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
6975 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6977         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
6978         posix error code.
6979         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6981 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6983         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
6984         no_isolate usage for SH.
6986 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
6988         [BZ #15105]
6989         [BZ #19463]
6990         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
6991         * inet/rcmd.c (rcmd_af): Likewise.
6992         * inet/rexec.c   (rexec_af): Likewise.
6993         * intl/dcigettext.c (_LIBC): Likewise.
6994         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
6995         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
6996         * locale/setlocale.c (setlocale): Likewise.
6997         * posix/spawn_faction_addopen.c
6998         (posix_spawn_file_actions_addopen): Likewise.
6999         * stdlib/putenv.c (putenv): Use __strndup.
7000         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7001         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7002         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7003         (__Need_M_And_C) Remove define/undef.
7004         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7005         (__malloc_and_calloc_defined): Remove define.
7006         * string/bits/string2.h (__strdup): Remove define.
7007         (strdup): Likewise.
7008         (__strndup): Likewise.
7009         (strndup): Likewise.
7011 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
7013         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7014         macro.
7015         (IPV6_ADDR_PREFERENCES): Likewise.
7016         (IPV6_MINHOPCOUNT): Likewise.
7017         (IPV6_ORIGDSTADDR): Likewise.
7018         (IPV6_RECVORIGDSTADDR): Likewise.
7019         (IPV6_TRANSPARENT): Likewise.
7020         (IPV6_UNICAST_IF): Likewise.
7021         (IPV6_RECVFRAGSIZE): Likewise.
7023 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
7025         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7027 2017-03-12  Alexey Neyman <stilor@att.net>
7029         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7030         in R_SH_DIR32 case is always false when inlined from
7031         dl-conflict.c. Ifdef out to prevent GCC from insertin an
7033 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
7035         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7036         (__ASSUME_RECV_SYSCALL): Replace duplicate by
7037         __ASSUME_SEND_SYSCALL.
7039 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
7041         * sunrpc/Makefile: don't build and install rpcsvc header
7042         files, rpcgen and librpcsvc.a by default.
7044 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
7046         * math/auto-libm-test-out-catan: Regenerated.
7047         * math/auto-libm-test-out-catanh: Likewise.
7048         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7050 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
7052         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7053         for long double with corrected test expectations.
7055 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7057         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7058         Define.
7059         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7060         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7061         * sysdeps/unix/sysv/linux/nios2/sysdep.h
7062         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7063         * sysdeps/unix/sysv/linux/tile/sysdep.h
7064         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7065         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7066         (__ASSUME_RECV_SYSCALL): Define.
7067         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7068         (__ASSUME_RECV_SYSCALL): Likewise.
7069         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7070         (__ASSUME_RECV_SYSCALL): Likewise.
7071         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7072         (__ASSUME_RECV_SYSCALL): Likewise.
7073         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7074         (__ASSUME_RECV_SYSCALL): Likewise.
7075         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7076         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7077         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7078         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7079         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7080         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7081         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7082         auto-generation list.
7083         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7084         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7085         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7086         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7087         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7088         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7089         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7090         __ASSUME_SENDTO_SYSCALL.
7091         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7092         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7093         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7095         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7096         auto-generation list.
7097         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7098         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7099         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7100         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7101         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7102         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7103         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7104         * sysdeps/unix/sysv/linux/kernel-features.h
7105         (__ASSUME_SENDTO_SYSCALL): Define by default.
7106         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7107         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
7108         __NR_sendto.
7109         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7110         (__ASSUME_SENDTO_SYSCALL): Likewise.
7111         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7112         (__ASSUME_SENDTO_SYSCALL): Likewise.
7113         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7114         (__ASSUME_SENDTO_SYSCALL): Remove definition.
7115         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7116         (__ASSUME_SENDTO_SYSCALL): Likewise.
7117         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
7118         (__ASSUME_SENDTO_SYSCALL): Likewise.
7119         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
7121         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
7122         auto-generation list.
7123         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7124         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7125         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7126         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7127         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7128         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7129         (__ASSUME_RECV_SYSCALL): New define.
7130         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7131         (__ASSUME_RECV_SYSCALL): Likewise.
7132         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7133         (__ASSUME_RECV_SYSCALL): Likewise.
7134         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7135         (__ASSUME_RECV_SYSCALL): Likewise.
7136         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7137         (__ASSUME_RECV_SYSCALL): Likewise.
7138         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7139         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7140         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7141         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7142         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7143         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7144         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
7145         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
7146         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
7147         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
7148         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
7149         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
7151         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
7152         auto-generation list.
7153         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7154         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7155         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7156         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7157         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7158         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7159         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7160         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7161         (__ASSUME_RECVFROM_SYSCALL): Define by default.
7162         * sysdeps/unix/sysv/linux/kernel-features.h
7163         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
7164         __NR_recvfrom.
7165         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7166         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7167         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7168         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7169         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7170         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
7171         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7172         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7173         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7174         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7175         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7176         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7177         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
7179         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
7180         auto-generation list.
7181         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7182         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7183         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7184         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7185         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7186         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7187         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7188         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
7189         * sysdeps/unix/sysv/linux/kernel-features.h
7190         (__ASSUME_CONNECT_SYSCALL): Define.
7191         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7192         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
7193         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7194         (__ASSUME_CONNECT_SYSCALL): Likewise.
7195         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7196         (__ASSUME_CONNECT_SYSCALL): Likewise.
7197         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7198         (__ASSUME_CONNECT_SYSCALL): Likewise.
7200         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
7201         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
7202         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
7203         auto-generation list.
7204         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7205         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7206         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7207         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7208         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7209         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7210         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7211         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7212         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7213         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7214         * sysdeps/unix/sysv/linux/kernel-features.h
7215         (__ASSUME_ACCEPT_SYSCALL): New define.
7216         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7217         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7218         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
7219         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7220         (__ASSUME_ACCEPT_SYSCALL): Define.
7221         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7222         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7223         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7224         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7225         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7226         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7227         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7228         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7229         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
7231 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
7232             Zack Weinberg  <zackw@panix.com>
7234         * posix/test-errno.c: New file.
7235         * posix/Makefile (tests): Add test-errno.
7236         * sysdeps/unix/sysv/linux/test-errno.c: New file.
7237         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
7239 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
7241         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7243 2017-03-07  Florian Weimer  <fweimer@redhat.com>
7245         * time/tzset.c (compute_offset): Open-code min macro.
7246         (min, max, sign): Remove.
7248 2017-03-07  Florian Weimer  <fweimer@redhat.com>
7250         [BZ #15576]
7251         Remove TZNAME_MAX limit from sysconf.
7252         * include/time.h (__tzname_cur_max, __tzname_max): Remove
7253         declaration.
7254         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
7255         compute_tzname_max.
7256         (compute_tzname_max): Remove.
7257         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
7258         (update_vars): Do not update __tzname_cur_max.
7259         (tzset_internal): Remove argument.
7260         (__tzset): Adjust call to tzset_internal.
7261         (__tz_convert): Likewise.
7263         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
7264         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7265         * manual/conf.texi (Sysconf Definition): Update comment.
7267 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7269         [BZ #21209]
7270         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
7271         AT_SECURE processes.
7272         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
7273         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
7274         (test_child): Likewise.
7275         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
7277 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7279         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
7281 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7283         * sysdeps/s390/atomic-machine.h
7284         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
7285         (__arch_compare_and_exchange_val_8_acq,
7286         __arch_compare_and_exchange_val_16_acq,
7287         __arch_compare_and_exchange_val_32_acq,
7288         __arch_compare_and_exchange_val_64_acq):
7289         Delete macro.
7290         (atomic_compare_and_exchange_val_acq,
7291         atomic_compare_and_exchange_val_rel,
7292         atomic_compare_and_exchange_bool_acq,
7293         catomic_compare_and_exchange_bool_acq,
7294         atomic_exchange_acq, atomic_exchange_rel,
7295         atomic_exchange_and_add_acq,
7296         atomic_exchange_and_add_rel,
7297         catomic_exchange_and_add, atomic_or_val,
7298         atomic_or, catomic_or, atomic_bit_test_set,
7299         atomic_and_val, atomic_and, catomic_and):
7300         Define macros with help of C11 atomic builtins.
7302 2017-03-03  Justus Winter <justus@gnupg.org>
7304         * sysdeps/mach/hurd/ftruncate64.c: New file.
7305         * sysdeps/mach/hurd/truncate64.c: Likewise.
7307 2017-03-03  Florian Weimer  <fweimer@redhat.com>
7309         * time/tzfile.c (NOID): Do not define.
7310         * time/tzset.c (NOID): Likewise.
7312 2017-03-03  Florian Weimer  <fweimer@redhat.com>
7314         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
7316 2017-03-02  Florian Weimer  <fweimer@redhat.com>
7318         * elf/get-dynamic-info.h: Remove header file inclusion guard.
7320 2017-03-02  Florian Weimer  <fweimer@redhat.com>
7322         [BZ #21015]
7323         * manual/install.texi (Configuring and compiling): Document
7324         --enable-bind-now.
7325         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
7326         (build-shlib-helper): Use $(LDFLAGS-lib.so).
7327         (format.lds): Likewise.
7328         [bind-now] (LDFLAGS-c.so): Remove.
7329         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
7330         be R_X86_64_GLOB_DAT.
7331         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
7332         relocation can be R_386_GLOB_DAT.
7333         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
7334         relocaiton can be R_ALPHA_GLOB_DAT.
7335         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
7337 2017-03-01  Zack Weinberg  <zackw@panix.com>
7339         * include/libc-pointer-arith.h: New file.  Define
7340         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
7341         PTR_ALIGN_DOWN here.
7342         * include/libc-internal.h: Definitions of above macros
7343         moved from here.  Don't include libc-diag.h anymore either.
7344         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
7345         Don't include libc-internal.h.
7347         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
7348         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
7349         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
7350         * string/strcoll_l.c, sysdeps/nacl/brk.c
7351         * sysdeps/unix/clock_settime.c
7352         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
7353         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
7354         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7355         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
7356         Don't include libc-internal.h.
7358         * elf/get-dynamic-info.h, iconv/loop.c
7359         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
7360         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
7361         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
7362         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
7363         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7364         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
7365         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7366         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
7367         * sysdeps/ieee754/ldbl-128/k_tanl.c
7368         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7369         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7370         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
7371         Include libc-diag.h instead of libc-internal.h.
7373         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
7374         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
7375         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
7376         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
7377         * sysdeps/unix/sysv/linux/spawni.c
7378         * sysdeps/x86_64/nptl/tls.h:
7379         Include libc-pointer-arith.h instead of libc-internal.h.
7381         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
7382         * sysdeps/x86_64/atomic-machine.h:
7383         Add multiple include guard.
7385         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
7386         * string/strcasestr.c: No need to include config.h.
7387         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
7388         sys/auxv.h. Don't include sysdep.h.
7389         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
7391         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
7392         DL_LOOKUP_ADDRESS.
7393         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
7394         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
7395         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
7396         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
7397         of ARTIFICIAL_LIMIT.
7398         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
7399         declaration of __clone2.
7401 2017-02-28  Florian Weimer  <fweimer@redhat.com>
7403         * scripts/backport-support.sh (latest_commit): New file.
7405 2017-02-28  Florian Weimer  <fweimer@redhat.com>
7407         [BZ #20257]
7408         * inet/Makefile (routines): Add deadline.
7409         (tests-static): Add tst-deadline.
7410         * inet/net-internal.h (struct deadline_current_time)
7411         (__deadline_current_time, struct deadline, __deadline_is_infinite)
7412         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
7413         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
7414         * inet/deadline.c: New file.
7415         * inet/tst-deadline.c: Likewise.
7416         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
7417         tst-udp-timeout, tst-udp-garbage.
7418         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
7419         explicitly.
7420         (tst-udp-garbage): Likewise.  Also link against thread library.
7421         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
7422         struct layout is part of the ABI.
7423         (clntudp_call): Rework timeout handling.
7424         * sunrpc/tst-udp-garbage.c: New file.
7425         * sunrpc/tst-udp-nonblocking.c: Likewise.
7426         * sunrpc/tst-udp-timeout.c: Likewise.
7428 2017-02-28  Florian Weimer  <fweimer@redhat.com>
7430         [BZ #5010]
7431         * sunrpc/svc.c (svc_is_mapped): Remove.
7432         (svc_unregister): Obtain mapped status while the service is still
7433         registered.
7434         * sunrpc/Makefile [have-thread-library] (tests): Add
7435         tst-svc_register.
7436         (tst-svc_register): Link against libc.so explicitly and the thread
7437         library.
7438         * sunrpc/tst-svc_register.c: New file.
7440 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
7442         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
7443         * sysdeps/pthread/bits/sigthread.h: Likewise.
7445 2017-02-27  Florian Weimer  <fweimer@redhat.com>
7447         [BZ #21115]
7448         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
7449         * sunrpc/Makefile (tests): Add tst-udp-error.
7450         (tst-udp-error): Link against libc.so explicitly.
7451         * sunrpc/tst-udp-error: New file.
7453 2017-02-25  Zack Weinberg  <zackw@panix.com>
7455         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
7456         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
7458         * sysdeps/generic/math_ldbl.h
7459         * sysdeps/ia64/fpu/math_ldbl.h
7460         * sysdeps/ieee754/ldbl-128/math_ldbl.h
7461         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7462         * sysdeps/ieee754/ldbl-96/math_ldbl.h
7463         * sysdeps/powerpc/fpu/math_ldbl.h
7464         * sysdeps/x86_64/fpu/math_ldbl.h:
7465         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
7466         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
7467         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
7468         Add copyright notices.
7470         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7471         Don't use EXTRACT_WORDS64.
7473         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
7474         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
7475         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
7476         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
7477         Include math_ldbl.h, not math_private.h.
7479 2017-02-25  Zack Weinberg  <zackw@panix.com>
7481         * include/libc-diag.h: New file.  Define ignore_value,
7482         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
7483         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
7485         * include/libc-internal.h: Definitions of above macros moved from
7486         here.  Include libc-diag.h.  Add copyright notice.
7488         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
7489         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
7490         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
7491         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
7492         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
7493         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
7494         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
7495         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
7496         Include libc-diag.h instead of libc-internal.h.
7498         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
7499         call to unsetenv (NULL).
7500         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
7501         call to pthread_mutexattr_destroy (NULL).
7503 2017-02-25  Zack Weinberg  <zackw@panix.com>
7505         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
7506         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
7507         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
7508         gets was removed from C++ in C++14.
7509         * include/stdio.h: Remove redundant declaration of gets.
7510         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
7511         be declared, since we are testing it.
7512         * stdio-common/Makefile (tst-gets.c): Compile with
7513         -Wno-deprecated-declarations.
7514         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
7515         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
7516         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
7517         Compile with -Wno-deprecated-declarations.
7519 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7521         * math/libm-test-support.c (check_ulp): Use LIT() around literal
7522         numbers.
7524 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7526         * resolv/tst-resolv-qtypes.c (domain):
7527         Change type to const pointer to const char.
7529 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
7531         * math/Makefile (libm-tests-generated): Remove variable.
7532         (libm-tests-base-normal): New variable.
7533         (libm-tests-base-finite): Likewise.
7534         (libm-tests-base-inline): Likewise.
7535         (libm-tests-base): Likewise.
7536         (libm-tests-normal): Likewise.
7537         (libm-tests-finite): Likewise.
7538         (libm-tests-inline): Likewise.
7539         (libm-tests-vector): Likewise.
7540         (libm-tests): Define in terms of these new variables.
7541         (libm-tests-for-type): New variable.
7542         (libm-tests.o): Move definition.
7543         (tests): Move addition of $(libm-tests).
7544         (generated): Update for new and removed libm test files.
7545         ($(objpfx)libm-test.c): Remove target.
7546         ($(objpfx)libm-have-vector-test.h): Likewise.
7547         (CFLAGS-test-double-vlen2.c): Remove variable.
7548         (CFLAGS-test-double-vlen4.c): Likewise.
7549         (CFLAGS-test-double-vlen8.c): Likewise.
7550         (CFLAGS-test-float-vlen4.c): Likewise.
7551         (CFLAGS-test-float-vlen8.c): Likewise.
7552         (CFLAGS-test-float-vlen16.c): Likewise.
7553         (CFLAGS-test-float.c): Likewise.
7554         (CFLAGS-test-float-finite.c): Likewise.
7555         (CFLAGS-libm-test-support-float.c): Likewise.
7556         (CFLAGS-test-double.c): Likewise.
7557         (CFLAGS-test-double-finite.c): Likewise.
7558         (CFLAGS-libm-test-support-double.c): Likewise.
7559         (CFLAGS-test-ldouble.c): Likewise.
7560         (CFLAGS-test-ldouble-finite.c): Likewise.
7561         (CFLAGS-libm-test-support-ldouble.c): Likewise.
7562         (libm-test-inline-cflags): New variable.
7563         (CFLAGS-test-ifloat.c): Remove variable.
7564         (CFLAGS-test-idouble.c): Likewise.
7565         (CFLAGS-test-ildouble.c): Likewise.
7566         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
7567         dependencies.
7568         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
7569         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
7570         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
7571         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
7572         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
7573         Likewise.
7574         (dependencies on libm-test-support-*.o): Remove.
7575         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
7576         rules using iterators.
7577         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
7578         Likewise.
7579         ($(objpfx)libm-test-support-$(o).o): Likewise.
7580         ($(addprefix $(objpfx),$(filter-out $(tests-static)
7581         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
7582         instead.
7583         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
7584         define rule instead.
7585         * math/README.libm-test: Update.
7586         * math/libm-test-acos.inc: Include libm-test-driver.c.
7587         (do_test): New function.
7588         * math/libm-test-acosh.inc: Include libm-test-driver.c.
7589         (do_test): New function.
7590         * math/libm-test-asin.inc: Include libm-test-driver.c.
7591         (do_test): New function.
7592         * math/libm-test-asinh.inc: Include libm-test-driver.c.
7593         (do_test): New function.
7594         * math/libm-test-atan.inc: Include libm-test-driver.c.
7595         (do_test): New function.
7596         * math/libm-test-atan2.inc: Include libm-test-driver.c.
7597         (do_test): New function.
7598         * math/libm-test-atanh.inc: Include libm-test-driver.c.
7599         (do_test): New function.
7600         * math/libm-test-cabs.inc: Include libm-test-driver.c.
7601         (do_test): New function.
7602         * math/libm-test-cacos.inc: Include libm-test-driver.c.
7603         (do_test): New function.
7604         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
7605         (do_test): New function.
7606         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
7607         (do_test): New function.
7608         * math/libm-test-carg.inc: Include libm-test-driver.c.
7609         (do_test): New function.
7610         * math/libm-test-casin.inc: Include libm-test-driver.c.
7611         (do_test): New function.
7612         * math/libm-test-casinh.inc: Include libm-test-driver.c.
7613         (do_test): New function.
7614         * math/libm-test-catan.inc: Include libm-test-driver.c.
7615         (do_test): New function.
7616         * math/libm-test-catanh.inc: Include libm-test-driver.c.
7617         (do_test): New function.
7618         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
7619         (do_test): New function.
7620         * math/libm-test-ccos.inc: Include libm-test-driver.c.
7621         (do_test): New function.
7622         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
7623         (do_test): New function.
7624         * math/libm-test-ceil.inc: Include libm-test-driver.c.
7625         (do_test): New function.
7626         * math/libm-test-cexp.inc: Include libm-test-driver.c.
7627         (do_test): New function.
7628         * math/libm-test-cimag.inc: Include libm-test-driver.c.
7629         (do_test): New function.
7630         * math/libm-test-clog.inc: Include libm-test-driver.c.
7631         (do_test): New function.
7632         * math/libm-test-clog10.inc: Include libm-test-driver.c.
7633         (do_test): New function.
7634         * math/libm-test-conj.inc: Include libm-test-driver.c.
7635         (do_test): New function.
7636         * math/libm-test-copysign.inc: Include libm-test-driver.c.
7637         (do_test): New function.
7638         * math/libm-test-cos.inc: Include libm-test-driver.c.
7639         (do_test): New function.
7640         * math/libm-test-cosh.inc: Include libm-test-driver.c.
7641         (do_test): New function.
7642         * math/libm-test-cpow.inc: Include libm-test-driver.c.
7643         (do_test): New function.
7644         * math/libm-test-cproj.inc: Include libm-test-driver.c.
7645         (do_test): New function.
7646         * math/libm-test-creal.inc: Include libm-test-driver.c.
7647         (do_test): New function.
7648         * math/libm-test-csin.inc: Include libm-test-driver.c.
7649         (do_test): New function.
7650         * math/libm-test-csinh.inc: Include libm-test-driver.c.
7651         (do_test): New function.
7652         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
7653         (do_test): New function.
7654         * math/libm-test-ctan.inc: Include libm-test-driver.c.
7655         (do_test): New function.
7656         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
7657         (do_test): New function.
7658         * math/libm-test-erf.inc: Include libm-test-driver.c.
7659         (do_test): New function.
7660         * math/libm-test-erfc.inc: Include libm-test-driver.c.
7661         (do_test): New function.
7662         * math/libm-test-exp.inc: Include libm-test-driver.c.
7663         (do_test): New function.
7664         * math/libm-test-exp10.inc: Include libm-test-driver.c.
7665         (do_test): New function.
7666         * math/libm-test-exp2.inc: Include libm-test-driver.c.
7667         (do_test): New function.
7668         * math/libm-test-expm1.inc: Include libm-test-driver.c.
7669         (do_test): New function.
7670         * math/libm-test-fabs.inc: Include libm-test-driver.c.
7671         (do_test): New function.
7672         * math/libm-test-fdim.inc: Include libm-test-driver.c.
7673         (do_test): New function.
7674         * math/libm-test-floor.inc: Include libm-test-driver.c.
7675         (do_test): New function.
7676         * math/libm-test-fma.inc: Include libm-test-driver.c.
7677         (do_test): New function.
7678         * math/libm-test-fmax.inc: Include libm-test-driver.c.
7679         (do_test): New function.
7680         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
7681         (do_test): New function.
7682         * math/libm-test-fmin.inc: Include libm-test-driver.c.
7683         (do_test): New function.
7684         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
7685         (do_test): New function.
7686         * math/libm-test-fmod.inc: Include libm-test-driver.c.
7687         (do_test): New function.
7688         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
7689         (do_test): New function.
7690         * math/libm-test-frexp.inc: Include libm-test-driver.c.
7691         (do_test): New function.
7692         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
7693         (do_test): New function.
7694         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
7695         (do_test): New function.
7696         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
7697         (do_test): New function.
7698         * math/libm-test-hypot.inc: Include libm-test-driver.c.
7699         (do_test): New function.
7700         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
7701         (do_test): New function.
7702         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
7703         (do_test): New function.
7704         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
7705         (do_test): New function.
7706         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
7707         (do_test): New function.
7708         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
7709         (do_test): New function.
7710         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
7711         (do_test): New function.
7712         * math/libm-test-isinf.inc: Include libm-test-driver.c.
7713         (do_test): New function.
7714         * math/libm-test-isless.inc: Include libm-test-driver.c.
7715         (do_test): New function.
7716         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
7717         (do_test): New function.
7718         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
7719         (do_test): New function.
7720         * math/libm-test-isnan.inc: Include libm-test-driver.c.
7721         (do_test): New function.
7722         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
7723         (do_test): New function.
7724         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
7725         (do_test): New function.
7726         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
7727         (do_test): New function.
7728         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
7729         (do_test): New function.
7730         * math/libm-test-iszero.inc: Include libm-test-driver.c.
7731         (do_test): New function.
7732         * math/libm-test-j0.inc: Include libm-test-driver.c.
7733         (do_test): New function.
7734         * math/libm-test-j1.inc: Include libm-test-driver.c.
7735         (do_test): New function.
7736         * math/libm-test-jn.inc: Include libm-test-driver.c.
7737         (do_test): New function.
7738         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
7739         (do_test): New function.
7740         * math/libm-test-llogb.inc: Include libm-test-driver.c.
7741         (do_test): New function.
7742         * math/libm-test-llrint.inc: Include libm-test-driver.c.
7743         (do_test): New function.
7744         * math/libm-test-llround.inc: Include libm-test-driver.c.
7745         (do_test): New function.
7746         * math/libm-test-log.inc: Include libm-test-driver.c.
7747         (do_test): New function.
7748         * math/libm-test-log10.inc: Include libm-test-driver.c.
7749         (do_test): New function.
7750         * math/libm-test-log1p.inc: Include libm-test-driver.c.
7751         (do_test): New function.
7752         * math/libm-test-log2.inc: Include libm-test-driver.c.
7753         (do_test): New function.
7754         * math/libm-test-logb.inc: Include libm-test-driver.c.
7755         (do_test): New function.
7756         * math/libm-test-lrint.inc: Include libm-test-driver.c.
7757         (do_test): New function.
7758         * math/libm-test-lround.inc: Include libm-test-driver.c.
7759         (do_test): New function.
7760         * math/libm-test-modf.inc: Include libm-test-driver.c.
7761         (do_test): New function.
7762         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
7763         (do_test): New function.
7764         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
7765         (do_test): New function.
7766         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
7767         (do_test): New function.
7768         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
7769         (do_test): New function.
7770         * math/libm-test-nextup.inc: Include libm-test-driver.c.
7771         (do_test): New function.
7772         * math/libm-test-pow.inc: Include libm-test-driver.c.
7773         (do_test): New function.
7774         * math/libm-test-remainder.inc: Include libm-test-driver.c.
7775         (do_test): New function.
7776         * math/libm-test-remquo.inc: Include libm-test-driver.c.
7777         (do_test): New function.
7778         * math/libm-test-rint.inc: Include libm-test-driver.c.
7779         (do_test): New function.
7780         * math/libm-test-round.inc: Include libm-test-driver.c.
7781         (do_test): New function.
7782         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
7783         (do_test): New function.
7784         * math/libm-test-scalb.inc: Include libm-test-driver.c.
7785         (do_test): New function.
7786         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
7787         (do_test): New function.
7788         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
7789         (do_test): New function.
7790         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
7791         (do_test): New function.
7792         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
7793         (do_test): New function.
7794         * math/libm-test-signbit.inc: Include libm-test-driver.c.
7795         (do_test): New function.
7796         * math/libm-test-significand.inc: Include libm-test-driver.c.
7797         (do_test): New function.
7798         * math/libm-test-sin.inc: Include libm-test-driver.c.
7799         (do_test): New function.
7800         * math/libm-test-sincos.inc: Include libm-test-driver.c.
7801         (do_test): New function.
7802         * math/libm-test-sinh.inc: Include libm-test-driver.c.
7803         (do_test): New function.
7804         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
7805         (do_test): New function.
7806         * math/libm-test-tan.inc: Include libm-test-driver.c.
7807         (do_test): New function.
7808         * math/libm-test-tanh.inc: Include libm-test-driver.c.
7809         (do_test): New function.
7810         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
7811         (do_test): New function.
7812         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
7813         (do_test): New function.
7814         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
7815         (do_test): New function.
7816         * math/libm-test-trunc.inc: Include libm-test-driver.c.
7817         (do_test): New function.
7818         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
7819         (do_test): New function.
7820         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
7821         (do_test): New function.
7822         * math/libm-test-y0.inc: Include libm-test-driver.c.
7823         (do_test): New function.
7824         * math/libm-test-y1.inc: Include libm-test-driver.c.
7825         (do_test): New function.
7826         * math/libm-test-yn.inc: Include libm-test-driver.c.
7827         (do_test): New function.
7828         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
7829         (HAVE_VECTOR): Remove macro.
7830         (START): Do not call HAVE_VECTOR.
7831         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
7832         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
7833         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
7834         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
7835         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
7836         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
7837         * math/test-math-vector.h (FUNC_TEST): New macro.
7838         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
7839         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
7840         (double-vlen4-funcs): Likewise.
7841         (double-vlen4-avx2-funcs): Likewise.
7842         (double-vlen8-funcs): Likewise.
7843         (float-vlen4-funcs): Likewise.
7844         (float-vlen8-funcs): Likewise.
7845         (float-vlen8-avx2-funcs): Likewise.
7846         (float-vlen16-funcs): Likewise.
7847         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
7848         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
7849         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
7850         macro.
7851         (TEST_VECTOR_sin): Likewise.
7852         (TEST_VECTOR_sincos): Likewise.
7853         (TEST_VECTOR_log): Likewise.
7854         (TEST_VECTOR_exp): Likewise.
7855         (TEST_VECTOR_pow): Likewise.
7856         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
7857         Likewise.
7858         (TEST_VECTOR_sin): Likewise.
7859         (TEST_VECTOR_sincos): Likewise.
7860         (TEST_VECTOR_log): Likewise.
7861         (TEST_VECTOR_exp): Likewise.
7862         (TEST_VECTOR_pow): Likewise.
7863         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
7864         Likewise.
7865         (TEST_VECTOR_sinf): Likewise.
7866         (TEST_VECTOR_sincosf): Likewise.
7867         (TEST_VECTOR_logf): Likewise.
7868         (TEST_VECTOR_expf): Likewise.
7869         (TEST_VECTOR_powf): Likewise.
7870         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
7871         Likewise.
7872         (TEST_VECTOR_sinf): Likewise.
7873         (TEST_VECTOR_sincosf): Likewise.
7874         (TEST_VECTOR_logf): Likewise.
7875         (TEST_VECTOR_expf): Likewise.
7876         (TEST_VECTOR_powf): Likewise.
7877         * math/gen-libm-have-vector-test.sh: Remove file.
7878         * math/libm-test.inc: Likewise.
7879         * math/libm-test-support-double.c: Likewise.
7880         * math/libm-test-support-float.c: Likewise.
7881         * math/libm-test-support-ldouble.c: Likewise.
7882         * math/test-double-finite.c: Likewise.: Likewise.
7883         * math/test-double.c: Likewise.
7884         * math/test-float-finite.c: Likewise.
7885         * math/test-float.c: Likewise.
7886         * math/test-idouble.c: Likewise.
7887         * math/test-ifloat.c: Likewise.
7888         * math/test-ildouble.c: Likewise.
7889         * math/test-ldouble-finite.c: Likewise.
7890         * math/test-ldouble.c: Likewise.
7891         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7892         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
7893         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7894         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7895         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7896         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7897         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7898         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
7899         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7900         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7902 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7903            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7905         * math/Makefile: Add wrappers to gen-libm-calls.
7906         * math/w_acos_template.c: New file.
7907         * math/w_acosh_template.c: Likewise.
7908         * math/w_asin_template.c: Likewise.
7909         * math/w_atan2_template.c: Likewise.
7910         * math/w_atanh_template.c: Likewise.
7911         * math/w_cosh_template.c: Likewise.
7912         * math/w_exp10_template.c: Likewise.
7913         * math/w_exp2_template.c: Likewise.
7914         * math/w_exp_template.c: Likewise.
7915         * math/w_fmod_template.c: Likewise.
7916         * math/w_hypot_template.c: Likewise.
7917         * math/w_j0_template.c: Likewise.
7918         * math/w_j1_template.c: Likewise.
7919         * math/w_jn_template.c: Likewise.
7920         * math/w_lgamma_r_template.c: Likewise.
7921         * math/w_lgamma_template.c: Likewise.
7922         * math/w_log10_template.c: Likewise.
7923         * math/w_log2_template.c: Likewise.
7924         * math/w_log_template.c: Likewise.
7925         * math/w_pow_template.c: Likewise.
7926         * math/w_remainder_template.c: Likewise.
7927         * math/w_sinh_template.c: Likewise.
7928         * math/w_sqrt_template.c: Likewise.
7929         * math/w_tgamma_template.c: Likewise.: Likewise.
7930         * sysdeps/generic/math-type-macros-double.h
7931         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
7932         the new wrappers.
7933         * sysdeps/generic/math-type-macros-float.h: Likewise.
7934         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7936 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
7938         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
7939         New enum constant and macro.
7941         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7942         kernel version to 4.10.
7944 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
7946         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
7948 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7952 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7954         * sysdeps/powerpc/tst-set_ppr.c: New file.
7955         Implement test cases for __ppc_set_ppr_* functions.
7956         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
7957         in the list of tests.
7959 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7961         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
7962         instead of test-skeleton.c.
7963         (do_test): Replaced pthread_create and pthread_join with
7964         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
7965         Removed unneeded status variable.
7966         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
7967         instead of test-skeleton.c.
7968         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
7970 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
7972         [BZ #20313]
7973         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7974         201605L, for Unicode 9.
7976 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
7978         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
7979         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7980         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7981         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7982         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7983         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7985 2017-02-19  Zack Weinberg  <zackw@panix.com>
7987         * rt/tst-mqueue4.c: Include stdint.h.
7989 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
7991         * sysdeps/arm/libm-test-ulps: Update.
7992         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7993         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7994         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7996 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7998         [BZ #21029]
7999         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8000         * sysdeps/unix/sysv/linux/i386/Makefile
8001         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8002         (uses-6-syscall-arguments): Remove.
8003         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8004         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8005         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8006         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8007         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8008         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8009         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8010         [$(subdir) = misc] (cflags-pselect.o): Likewise.
8011         [$(subdir) = misc] (cflags-pselect.os): Likewise.
8012         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8013         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8014         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8015         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8016         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8017         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8018         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8019         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8020         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8021         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8022         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8023         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8024         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8025         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8026         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8027         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8028         Likewise.
8029         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8030         Likewise.
8031         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8032         Likewise.
8033         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8034         Likewise.
8035         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8036         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8037         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8038         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8039         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8040         ebp on inline assembly.
8041         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8042         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8043         Set if CAN_USE_REGISTER_ASM_EBP is set.
8045 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
8047         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8048         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8050 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8052         * math/auto-libm-test-in: Add tests of catan and catanh.
8053         * math/auto-libm-test-out-catan: New generated file.
8054         * math/auto-libm-test-out-catanh: Likewise.
8055         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8056         Move tests with finite inputs, except divide-by-zero cases, to
8057         auto-libm-test-in.
8058         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8059         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8060         (libm-test-funcs-noauto): Remove catan and catanh.
8061         * sysdeps/i386/fpu/libm-test-ulps: Update.
8062         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8065         * math/auto-libm-test-in: Add tests of casin and casinh.
8066         * math/auto-libm-test-out-casin: New generated file.
8067         * math/auto-libm-test-out-casinh: Likewise.
8068         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8069         Move tests with finite inputs to auto-libm-test-in.
8070         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8071         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8072         (libm-test-funcs-noauto): Remove casin and casinh.
8073         * sysdeps/i386/fpu/libm-test-ulps: Update.
8074         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8077         * math/auto-libm-test-in: Add tests of cacos and cacosh.
8078         * math/auto-libm-test-out-cacos: New generated file.
8079         * math/auto-libm-test-out-cacosh: Likewise.
8080         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8081         Move tests with finite inputs to auto-libm-test-in.
8082         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8083         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8084         (libm-test-funcs-noauto): Remove cacos and cacosh.
8085         * sysdeps/i386/fpu/libm-test-ulps: Update.
8086         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8089         Revert:
8090         2017-02-16  Zack Weinberg  <zackw@panix.com>
8092         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8093         Don't include init-arch.h.
8094         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8095         Don't include init-arch.h.
8097 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8099         [BZ #21171]
8100         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
8101         +Inf and raise divide-by-zero when x is negative.
8102         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
8103         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8104         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
8105         -Inf and raise divide-by-zero when x = +-0.
8106         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8107         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8108         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8109         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8110         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8111         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8112         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8114 2017-02-16  Zack Weinberg  <zackw@panix.com>
8116         * scripts/build-many-glibcs.py (bot_build_mail): If the
8117         bot_config does not contain all of the necessary email-
8118         related settings, just print a warning and continue.
8120 2017-02-16  Zack Weinberg  <zackw@panix.com>
8122         * crypt/md5.h: Test _LIBC with #if defined, not #if.
8123         * dirent/opendir-tst1.c: Include sys/stat.h.
8124         * dirent/tst-fdopendir.c: Include sys/stat.h.
8125         * dirent/tst-fdopendir2.c: Include stdlib.h.
8126         * dirent/tst-scandir.c: Include stdbool.h.
8127         * elf/tst-auditmod1.c: Include link.h and stddef.h.
8128         * elf/tst-tls15.c: Include stdlib.h.
8129         * elf/tst-tls16.c: Include stdlib.h.
8130         * elf/tst-tls17.c: Include stdlib.h.
8131         * elf/tst-tls18.c: Include stdlib.h.
8132         * iconv/tst-iconv6.c: Include endian.h.
8133         * iconvdata/bug-iconv11.c: Include limits.h.
8134         * io/test-utime.c: Include stdint.h.
8135         * io/tst-faccessat.c: Include sys/stat.h.
8136         * io/tst-fchmodat.c: Include sys/stat.h.
8137         * io/tst-fchownat.c: Include sys/stat.h.
8138         * io/tst-fstatat.c: Include sys/stat.h.
8139         * io/tst-futimesat.c: Include sys/stat.h.
8140         * io/tst-linkat.c: Include sys/stat.h.
8141         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
8142         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
8143         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
8144         * io/tst-openat.c: Include stdbool.h.
8145         * io/tst-readlinkat.c: Include sys/stat.h.
8146         * io/tst-renameat.c: Include sys/stat.h.
8147         * io/tst-symlinkat.c: Include sys/stat.h.
8148         * io/tst-unlinkat.c: Include stdbool.h.
8149         * libio/bug-memstream1.c: Include stdlib.h.
8150         * libio/bug-wmemstream1.c: Include stdlib.h.
8151         * libio/tst-fwrite-error.c: Include stdlib.h.
8152         * libio/tst-memstream1.c: Include stdlib.h.
8153         * libio/tst-memstream2.c: Include stdlib.h.
8154         * libio/tst-memstream3.c: Include stdlib.h.
8155         * malloc/tst-interpose-aux.c: Include stdint.h.
8156         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
8157         * nptl/tst-basic7.c: Include limits.h.
8158         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
8159         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
8160         * nptl/tst-cancel4_1.c: Include stddef.h.
8161         * nptl/tst-cancel4_2.c: Include stddef.h.
8162         * nptl/tst-cond16.c: Include limits.h.
8163         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8164         * nptl/tst-cond18.c: Include limits.h.
8165         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8166         * nptl/tst-cond4.c: Include stdint.h.
8167         * nptl/tst-cond6.c: Include stdint.h.
8168         * nptl/tst-stack2.c: Include limits.h.
8169         * nptl/tst-stackguard1.c: Include stddef.h.
8170         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
8171         * nptl/tst-tls4moda.c: Include stddef.h.
8172         Don't include stdio.h, unistd.h, or tls.h.
8173         * nptl/tst-tls4modb.c: Include stddef.h.
8174         Don't include stdio.h, unistd.h, or tls.h.
8175         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
8176         * posix/tst-getaddrinfo2.c: Include stdio.h.
8177         * posix/tst-getaddrinfo5.c: Include stdio.h.
8178         * posix/tst-pathconf.c: Include sys/stat.h.
8179         * posix/tst-posix_fadvise-common.c: Include stdint.h.
8180         * posix/tst-preadwrite-common.c: Include sys/stat.h.
8181         * posix/tst-regex.c: Include stdint.h.
8182         Don't include spawn.h or spawn_int.h.
8183         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
8184         * posix/tst-vfork3.c: Include sys/stat.h.
8185         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
8186         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
8187         * resolv/tst-resolv-search.c: Include stdlib.h.
8188         * stdio-common/tst-fmemopen2.c: Include stdint.h.
8189         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
8190         * stdlib/test-canon.c: Include sys/stat.h.
8191         * stdlib/tst-tls-atexit.c: Include stdbool.h.
8192         * string/test-memchr.c: Include stdint.h.
8193         * string/tst-cmp.c: Include stdint.h.
8194         * sysdeps/pthread/tst-timer.c: Include stdint.h.
8195         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
8196         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
8197         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8198         Don't include init-arch.h.
8199         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8200         Don't include init-arch.h.
8201         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
8202         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
8203         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
8204         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
8205         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
8206         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
8207         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
8208         * time/clocktest.c: Include stdint.h.
8209         * time/tst-posixtz.c: Include stdint.h.
8210         * timezone/tst-timezone.c: Include stdint.h.
8212 2017-02-16  Zack Weinberg  <zackw@panix.com>
8214         * string/string.h [__USE_MISC]: Include strings.h.
8215         (__bzero, bcmp, bcopy, bzero, index, rindex)
8216         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
8217         (ffs, ffsl, ffsll): Don't declare.
8218         * string/strings.h: Do not suppress the file if string.h has
8219         already been included.
8220         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
8221         annotations.
8222         (index, rindex): Define inline forwarders even if
8223         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
8224         (ffs): Use __attribute_const__.
8225         (ffsl, ffsll): Declare here.
8226         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
8227         have now been standardized.
8228         * include/string.h (__bzero): Declare here.
8230         * bits/types.h: Move to posix/bits.
8231         * include/bits/types.h: New wrapper.
8233 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
8235         * string/bits/string2.h (strcmp): Remove define.
8236         (__strcmp_cg): Likewise.
8237         (strncmp): Likewise.
8239 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
8241         * include/string.h: Add __cplusplus check.
8243 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8245         [BZ #21134]
8246         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
8247         "divide by zero" exception when the input is zero.
8248         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
8249         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
8250         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
8251         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
8252         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8254 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
8256         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
8257         and include ...
8258         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
8259         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
8260         to, and include ...
8261         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
8262         file.
8263         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
8264         and include ...
8265         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
8266         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
8267         and include ...
8268         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
8269         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
8270         and include ...
8271         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
8272         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
8273         and include ...
8274         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
8275         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
8276         to, and include ...
8277         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
8278         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
8279         and include ...
8280         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
8282 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
8284         * math/libm-test-support.h: Do not include <math-tests-arch.h>
8285         here.
8286         * math/libm-test-support.c (libm_test_init): Do not call
8287         INIT_ARCH_EXT here.
8288         * math/libm-test-driver.c: Include <math-tests-arch.h>.
8289         (main): Call INIT_ARCH_EXT.
8291 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8293         [BZ #21130]
8294         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
8295         with the "invalid" exception raised when x is -Inf.
8296         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8298 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
8300         * string/bits/string2.h (strchr): Remove define.
8302 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
8304         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
8305         tst-avx512.
8306         (test-extras): Add tst-avx-aux and tst-avx512-aux.
8307         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
8308         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
8309         ($(objpfx)tst-sse): New rule.
8310         ($(objpfx)tst-avx): Likewise.
8311         ($(objpfx)tst-avx512): Likewise.
8312         (CFLAGS-tst-avx-aux.c): New.
8313         (CFLAGS-tst-avxmod.c): Likewise.
8314         (CFLAGS-tst-avx512-aux.c): Likewise.
8315         (CFLAGS-tst-avx512mod.c): Likewise.
8316         * sysdeps/x86_64/tst-avx-aux.c: New file.
8317         * sysdeps/x86_64/tst-avx.c: Likewise.
8318         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
8319         * sysdeps/x86_64/tst-avx512.c: Likewise.
8320         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
8321         * sysdeps/x86_64/tst-avxmod.c: Likewise.
8322         * sysdeps/x86_64/tst-sse.c: Likewise.
8323         * sysdeps/x86_64/tst-ssemod.c: Likewise.
8325 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
8327         * math/auto-libm-test-in: Add more tests of csin and csinh.
8328         * math/auto-libm-test-out-csin: Regenerated.
8329         * math/auto-libm-test-out-csinh: Likewise.
8330         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
8331         auto-libm-test-in.
8332         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
8334 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8336         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
8337         libm-compat-calls-auto.
8338         (libm-compat-calls): Likewise.
8339         (libm-compat-calls-auto): Rename to libm-compat-calls and add
8340         w_lgamma_compatF and k_standardF (merged from the items above).
8341         (libm-routines): Use libm-compat-calls, instead of
8342         libm-compat-calls-auto, with type-foreach.
8344 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
8346         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
8347         macro.
8348         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
8349         (CFLAGS-test-ifloat.c): ... this.  Remove
8350         -U__LIBC_INTERNAL_MATH_INLINES.
8351         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
8352         (CFLAGS-test-idouble.c): ... this.  Remove
8353         -U__LIBC_INTERNAL_MATH_INLINES.
8354         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
8355         (CFLAGS-test-ildouble.c): ... this.  Remove
8356         -U__LIBC_INTERNAL_MATH_INLINES.
8358 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
8360         * math/libm-test-support.c: New file.  Content from
8361         math/libm-test-driver.c.
8362         * math/libm-test-support.h: Likewise.
8363         * math/libm-test-support-double.c: New file.
8364         * math/libm-test-support-float.c: Likewise.
8365         * math/libm-test-support-ldouble.c: Likewise.
8366         * math/libm-test-driver.c: Remove main comment and header
8367         includes.  Include libm-test-support.h.
8368         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
8369         (flag_test_errno): Remove static.
8370         (flag_test_exceptions): Likewise.
8371         (flag_test_finite): Likewise.
8372         (flag_test_inline): Likewise.
8373         (flag_test_mathvec): Likewise.
8374         (test_msg): Likewise.
8375         (NO_EXCEPTION): Remove.
8376         (INVALID_EXCEPTION): Likewise.
8377         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8378         (OVERFLOW_EXCEPTION): Likewise.
8379         (UNDERFLOW_EXCEPTION): Likewise.
8380         (INEXACT_EXCEPTION): Likewise.
8381         (INVALID_EXCEPTION_OK): Likewise.
8382         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8383         (OVERFLOW_EXCEPTION_OK): Likewise.
8384         (UNDERFLOW_EXCEPTION_OK): Likewise.
8385         (NO_INEXACT_EXCEPTION): Likewise.
8386         (EXCEPTIONS_OK): Likewise.
8387         (IGNORE_ZERO_INF_SIGN): Likewise.
8388         (TEST_NAN_SIGN): Likewise.
8389         (TEST_NAN_PAYLOAD): Likewise.
8390         (NO_TEST_INLINE): Likewise.
8391         (XFAIL_TEST): Likewise.
8392         (ERRNO_UNCHANGED): Likewise.
8393         (ERRNO_EDOM): Likewise.
8394         (ERRNO_ERANGE): Likewise.
8395         (IGNORE_RESULT): Likewise.
8396         (NON_FINITE): Likewise.
8397         (TEST_SNAN): Likewise.
8398         (NO_TEST_MATHVEC): Likewise.
8399         (__CONCATX): Likewise.
8400         (TYPE_MIN): Likewise.
8401         (TYPE_TRUE_MIN): Likewise.
8402         (TYPE_MAX): Likewise.
8403         (MIN_EXP): Likewise.
8404         (MAX_EXP): Likewise.
8405         (MANT_DIG): Likewise.
8406         (FSTR_MAX): Likewise.
8407         (ulp_idx): Likewise.
8408         (qtype_str): Remove static.
8409         (TEST_COND_binary32): Remove.
8410         (TEST_COND_binary64): Likewise.
8411         (TEST_COND_binary128): Likewise.
8412         (TEST_COND_ibm128): Likewise.
8413         (TEST_COND_intel96): Likewise.
8414         (TEST_COND_m68k96): Likewise.
8415         (TEST_COND_ibm128_libgcc): Likewise.
8416         (XFAIL_IBM128_LIBGCC): Likewise.
8417         (PAYLOAD_DIG): Likewise.
8418         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8419         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8420         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8421         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8422         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8423         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8424         (TEST_COND_long32): Likewise.
8425         (TEST_COND_long64): Likewise.
8426         (TEST_COND_before_rounding): Likewise.
8427         (TEST_COND_after_rounding): Likewise.
8428         (ulps_file_name): Likewise.
8429         (ulps_file): Likewise.
8430         (output_ulps): Likewise.
8431         (output_dir): Likewise.
8432         (noErrors): Likewise.
8433         (noTests): Likewise.
8434         (noExcTests): Likewise.
8435         (noErrnoTests): Likewise.
8436         (verbose): Likewise.
8437         (output_max_error): Likewise.
8438         (output_points): Likewise.
8439         (ignore_max_ulp): Likewise.
8440         (max_error): Likewise.
8441         (real_max_error): Likewise.
8442         (imag_max_error): Likewise.
8443         (prev_max_error): Likewise.
8444         (prev_real_max_error): Likewise.
8445         (prev_imag_max_error): Likewise.
8446         (max_valid_error): Likewise.
8447         (TYPE_DECIMAL_DIG): Likewise.
8448         (TYPE_HEX_DIG): Likewise.
8449         (fmt_ftostr): Likewise.
8450         (compare_ulp_data): Likewise.
8451         (find_ulps): Likewise.
8452         (init_max_error): Likewise.
8453         (set_max_error): Likewise.
8454         (print_float): Likewise.
8455         (print_screen): Likewise.
8456         (print_screen_max_error): Likewise.
8457         (update_stats): Likewise.
8458         (print_function_ulps): Likewise.
8459         (print_complex_function_ulps): Likewise.
8460         (fpstack_test): Likewise.
8461         (print_max_error): Likewise.
8462         (print_complex_max_error): Likewise.
8463         (test_single_exception): Likewise.
8464         (test_exceptions): Likewise.
8465         (test_single_errno): Likewise.
8466         (test_errno): Likewise.
8467         (ULPDIFF): Likewise.
8468         (ulp): Likewise.
8469         (check_float_internal): Likewise.
8470         (check_float): Likewise.
8471         (check_complex): Likewise.
8472         (check_int): Likewise.
8473         (check_long): Likewise.
8474         (check_bool): Likewise.
8475         (check_longlong): Likewise.
8476         (check_intmax_t): Likewise.
8477         (check_uintmax_t): Likewise.
8478         (enable_test): Likewise.
8479         (matherr): Likewise.
8480         (initialize): Likewise.
8481         (options): Likewise.
8482         (doc): Remove static.
8483         (argp): Likewise.
8484         (parse_opt): Remove.
8485         (check_ulp): Likewise.
8486         (libm_test_init): Likewise.
8487         (libm_test_finish): Likewise.
8488         * math/Makefile (libm-test-support): New variable.
8489         (test-extras): Add libm-test-support files.
8490         (extra-test-objs): Likewise.
8491         (CFLAGS-libm-test-support-float.c): New variable.
8492         (CFLAGS-libm-test-support-double.c): Likewise.
8493         (CFLAGS-libm-test-support-ldouble.c): Likewise.
8494         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
8495         libm-test-support objects.
8497 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8499         * math/Makefile (libm-calls): Move w_exp...
8500         (libm-compat-calls-auto): Here.
8502         * math/w_expl.c: Add suffix "_compat" to filename.
8503         * sysdeps/ia64/fpu/w_expl.c: Likewise.
8504         * sysdeps/ia64/fpu/w_expf.c: Likewise.
8505         * sysdeps/ia64/fpu/w_exp.c: Likewise.
8506         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8507         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8508         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8509         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
8510         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8512         * math/w_expl_compat.c: New file, copied from above.
8513         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
8514         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
8515         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
8516         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
8517         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
8518         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
8519         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
8520         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
8522         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
8523         to filename.
8524         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
8526         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
8527         copied from above and adjusted for the new filenames.
8528         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
8530 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8532         * math/Makefile (libm-calls): Move w_lgammaF...
8533         (libm-compat-calls-auto): Here.
8535         * math/w_lgamma.c: Add suffix "_compat2" to filename.
8536         * math/w_lgammaf.c: Likewise.
8537         * math/w_lgammal.c: Likewise.
8539         * math/w_lgamma_compat2.c: New file, copied from above.
8540         * math/w_lgammaf_compat2.c: Likewise.
8541         * math/w_lgammal_compat2.c: Likewise.
8543 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8545         * math/Makefile (libm-calls): Move w_lgammaF_r...
8546         (libm-compat-calls-auto): Here.
8548         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
8549         * math/w_lgammaf_r.c: Likewise.
8550         * math/w_lgammal_r.c: Likewise.
8551         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
8552         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
8553         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
8555         * math/w_lgamma_r_compat.c: New file, copied from above.
8556         * math/w_lgammaf_r_compat.c: Likewise.
8557         * math/w_lgammal_r_compat.c: Likewise.
8558         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
8559         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
8560         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
8562         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
8563         to filename.
8564         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
8566         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
8567         copied from above and adjusted for the new filenames.
8568         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
8570 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
8572         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
8573         calculation in SYSCALL_ERROR_HANDLER().
8575 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
8577         * manual/contrib.texi: Fix typo.
8579 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8581         [BZ #21109]
8582         * elf/dl-tunable-types.h (tunable_callback_t): Accept
8583         tunable_val_t as argument.
8584         * elf/dl-tunables.c (__tunable_set_val): Add comment.
8585         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
8586         argument.
8587         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
8589 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
8591         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
8592         Add PTRACE_EVENT_STOP.
8593         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8594         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8595         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8596         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8597         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
8598         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
8600 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
8602         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
8603         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
8604         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
8605         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
8606         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
8607         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
8608         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
8609         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
8610         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
8611         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
8613         [BZ #21112]
8614         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
8615         12 bits zero.
8616         (cp_l): Update for new value of cp_h.
8617         * math/auto-libm-test-in: Add another test of pow.
8618         * math/auto-libm-test-out-pow: Regenerated.
8620 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8622         * manual/contrib.texi: Fix typo.
8624 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8626         [BZ #15998]
8627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8628         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
8629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8631 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8633         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
8634         STRCHR as __strchr_power8.
8635         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
8636         strlen as __strlen_power8.
8638 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8640         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
8641         unaligned load for shorter strings.
8642         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
8644 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
8646         * math/libm-test-driver.c (flag_test_errno): New variable.
8647         (flag_test_exceptions): Likewise.
8648         (flag_test_finite): Likewise.
8649         (flag_test_inline): Likewise.
8650         (flag_test_mathvec): Likewise.
8651         (test_msg): Likewise.
8652         (ulp_idx): Likewise.
8653         (qtype_str): Likewise.
8654         (ULP_IDX): Remove macro.
8655         (QTYPE_STR): Likewise.
8656         (find_ulps): Use ulp_idx not ULP_IDX.
8657         (print_function_ulps): Use qtype_str, printed with %s, not
8658         QTYPE_STR, printed with concatentation to format string.
8659         (print_complex_function_ulps): Likewise.
8660         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
8661         (test_errno): Use flag_test_errno not TEST_ERRNO.
8662         (enable_test): Use flag_test_inline, flag_test_finite and
8663         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
8664         TEST_MATHVEC.
8665         (libm_test_init): New function.  Factored out of main.
8666         (libm_test_finish): Likewise.
8667         (main): Call libm_test_init and libm_test_finish and move most
8668         code to those functions.
8670         * math/libm-test-driver.c (STRX): New macro.
8671         (STR): Likewise.
8672         (STR_FLOAT): Likewise.
8673         (STR_VEC_LEN): Likewise.
8674         (TEST_MSG): Likewise.  Define here instead of expecting to be
8675         defined by including file.
8676         * math/test-double-finite.c (TEST_MSG): Remove macro.
8677         * math/test-double-vlen2.h (TEST_MSG): Likewise.
8678         * math/test-double-vlen4.h (TEST_MSG): Likewise.
8679         * math/test-double-vlen8.h (TEST_MSG): Likewise.
8680         * math/test-double.c (TEST_MSG): Likewise.
8681         * math/test-float-finite.c (TEST_MSG): Likewise.
8682         * math/test-float-vlen16.h (TEST_MSG): Likewise.
8683         * math/test-float-vlen4.h (TEST_MSG): Likewise.
8684         * math/test-float-vlen8.h (TEST_MSG): Likewise.
8685         * math/test-float.c (TEST_MSG): Likewise.
8686         * math/test-idouble.c (TEST_MSG): Likewise.
8687         * math/test-ifloat.c (TEST_MSG): Likewise.
8688         * math/test-ildouble.c (TEST_MSG): Likewise.
8689         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
8690         * math/test-ldouble.c (TEST_MSG): Likewise.
8692         * math/libm-test.inc: Move all tests of individual functions to
8693         libm-test-*.inc and #include libm-test-*.c files.
8694         (acos_test_data): Remove.
8695         (acos_test): Likewise.
8696         (acosh_test_data): Likewise.
8697         (acosh_test): Likewise.
8698         (asin_test_data): Likewise.
8699         (asin_test): Likewise.
8700         (asinh_test_data): Likewise.
8701         (asinh_test): Likewise.
8702         (atan_test_data): Likewise.
8703         (atan_test): Likewise.
8704         (atanh_test_data): Likewise.
8705         (atanh_test): Likewise.
8706         (atan2_test_data): Likewise.
8707         (atan2_test): Likewise.
8708         (cabs_test_data): Likewise.
8709         (cabs_test): Likewise.
8710         (cacos_test_data): Likewise.
8711         (cacos_test): Likewise.
8712         (cacosh_test_data): Likewise.
8713         (cacosh_test): Likewise.
8714         (canonicalize_test_data): Likewise.
8715         (canonicalize_test): Likewise.
8716         (carg_test_data): Likewise.
8717         (carg_test): Likewise.
8718         (casin_test_data): Likewise.
8719         (casin_test): Likewise.
8720         (casinh_test_data): Likewise.
8721         (casinh_test): Likewise.
8722         (catan_test_data): Likewise.
8723         (catan_test): Likewise.
8724         (catanh_test_data): Likewise.
8725         (catanh_test): Likewise.
8726         (cbrt_test_data): Likewise.
8727         (cbrt_test): Likewise.
8728         (ccos_test_data): Likewise.
8729         (ccos_test): Likewise.
8730         (ccosh_test_data): Likewise.
8731         (ccosh_test): Likewise.
8732         (ceil_test_data): Likewise.
8733         (ceil_test): Likewise.
8734         (cexp_test_data): Likewise.
8735         (cexp_test): Likewise.
8736         (cimag_test_data): Likewise.
8737         (cimag_test): Likewise.
8738         (clog_test_data): Likewise.
8739         (clog_test): Likewise.
8740         (clog10_test_data): Likewise.
8741         (clog10_test): Likewise.
8742         (conj_test_data): Likewise.
8743         (conj_test): Likewise.
8744         (copysign_test_data): Likewise.
8745         (copysign_test): Likewise.
8746         (cos_test_data): Likewise.
8747         (cos_test): Likewise.
8748         (cosh_test_data): Likewise.
8749         (cosh_test): Likewise.
8750         (cpow_test_data): Likewise.
8751         (cpow_test): Likewise.
8752         (cproj_test_data): Likewise.
8753         (cproj_test): Likewise.
8754         (creal_test_data): Likewise.
8755         (creal_test): Likewise.
8756         (csin_test_data): Likewise.
8757         (csin_test): Likewise.
8758         (csinh_test_data): Likewise.
8759         (csinh_test): Likewise.
8760         (csqrt_test_data): Likewise.
8761         (csqrt_test): Likewise.
8762         (ctan_test_data): Likewise.
8763         (ctan_test): Likewise.
8764         (ctanh_test_data): Likewise.
8765         (ctanh_test): Likewise.
8766         (erf_test_data): Likewise.
8767         (erf_test): Likewise.
8768         (erfc_test_data): Likewise.
8769         (erfc_test): Likewise.
8770         (exp_test_data): Likewise.
8771         (exp_test): Likewise.
8772         (exp10_test_data): Likewise.
8773         (exp10_test): Likewise.
8774         (pow10_test): Likewise.
8775         (exp2_test_data): Likewise.
8776         (exp2_test): Likewise.
8777         (expm1_test_data): Likewise.
8778         (expm1_test): Likewise.
8779         (fabs_test_data): Likewise.
8780         (fabs_test): Likewise.
8781         (fdim_test_data): Likewise.
8782         (fdim_test): Likewise.
8783         (floor_test_data): Likewise.
8784         (floor_test): Likewise.
8785         (fma_test_data): Likewise.
8786         (fma_test): Likewise.
8787         (fmax_test_data): Likewise.
8788         (fmax_test): Likewise.
8789         (fmaxmag_test_data): Likewise.
8790         (fmaxmag_test): Likewise.
8791         (fmin_test_data): Likewise.
8792         (fmin_test): Likewise.
8793         (fminmag_test_data): Likewise.
8794         (fminmag_test): Likewise.
8795         (fmod_test_data): Likewise.
8796         (fmod_test): Likewise.
8797         (fpclassify_test_data): Likewise.
8798         (fpclassify_test): Likewise.
8799         (frexp_test_data): Likewise.
8800         (frexp_test): Likewise.
8801         (fromfp_test_data): Likewise.
8802         (fromfp_test): Likewise.
8803         (fromfpx_test_data): Likewise.
8804         (fromfpx_test): Likewise.
8805         (getpayload_test_data): Likewise.
8806         (getpayload_test): Likewise.
8807         (hypot_test_data): Likewise.
8808         (hypot_test): Likewise.
8809         (ilogb_test_data): Likewise.
8810         (ilogb_test): Likewise.
8811         (iscanonical_test_data): Likewise.
8812         (iscanonical_test): Likewise.
8813         (iseqsig_test_data): Likewise.
8814         (iseqsig_test): Likewise.
8815         (isfinite_test_data): Likewise.
8816         (isfinite_test): Likewise.
8817         (finite_test): Likewise.
8818         (isgreater_test_data): Likewise.
8819         (isgreater_test): Likewise.
8820         (isgreaterequal_test_data): Likewise.
8821         (isgreaterequal_test): Likewise.
8822         (isinf_test_data): Likewise.
8823         (isinf_test): Likewise.
8824         (isless_test_data): Likewise.
8825         (isless_test): Likewise.
8826         (islessequal_test_data): Likewise.
8827         (islessequal_test): Likewise.
8828         (islessgreater_test_data): Likewise.
8829         (islessgreater_test): Likewise.
8830         (isnan_test_data): Likewise.
8831         (isnan_test): Likewise.
8832         (isnormal_test_data): Likewise.
8833         (isnormal_test): Likewise.
8834         (issignaling_test_data): Likewise.
8835         (issignaling_test): Likewise.
8836         (issubnormal_test_data): Likewise.
8837         (issubnormal_test): Likewise.
8838         (isunordered_test_data): Likewise.
8839         (isunordered_test): Likewise.
8840         (iszero_test_data): Likewise.
8841         (iszero_test): Likewise.
8842         (j0_test_data): Likewise.
8843         (j0_test): Likewise.
8844         (j1_test_data): Likewise.
8845         (j1_test): Likewise.
8846         (jn_test_data): Likewise.
8847         (jn_test): Likewise.
8848         (lgamma_test_data): Likewise.
8849         (lgamma_test): Likewise.
8850         (gamma_test): Likewise.
8851         (llogb_test_data): Likewise.
8852         (llogb_test): Likewise.
8853         (lrint_test_data): Likewise.
8854         (lrint_test): Likewise.
8855         (llrint_test_data): Likewise.
8856         (llrint_test): Likewise.
8857         (log_test_data): Likewise.
8858         (log_test): Likewise.
8859         (log10_test_data): Likewise.
8860         (log10_test): Likewise.
8861         (log1p_test_data): Likewise.
8862         (log1p_test): Likewise.
8863         (log2_test_data): Likewise.
8864         (log2_test): Likewise.
8865         (logb_test_data): Likewise.
8866         (logb_test): Likewise.
8867         (lround_test_data): Likewise.
8868         (lround_test): Likewise.
8869         (llround_test_data): Likewise.
8870         (llround_test): Likewise.
8871         (modf_test_data): Likewise.
8872         (modf_test): Likewise.
8873         (nearbyint_test_data): Likewise.
8874         (nearbyint_test): Likewise.
8875         (nextafter_test_data): Likewise.
8876         (nextafter_test): Likewise.
8877         (nextup_test_data): Likewise.
8878         (nextup_test): Likewise.
8879         (nextdown_test_data): Likewise.
8880         (nextdown_test): Likewise.
8881         (nexttoward_test_data): Likewise.
8882         (nexttoward_test): Likewise.
8883         (pow_test_data): Likewise.
8884         (pow_test): Likewise.
8885         (remainder_test_data): Likewise.
8886         (remainder_test): Likewise.
8887         (drem_test): Likewise.
8888         (remquo_test_data): Likewise.
8889         (remquo_test): Likewise.
8890         (rint_test_data): Likewise.
8891         (rint_test): Likewise.
8892         (round_test_data): Likewise.
8893         (round_test): Likewise.
8894         (roundeven_test_data): Likewise.
8895         (roundeven_test): Likewise.
8896         (scalb_test_data): Likewise.
8897         (scalb_test): Likewise.
8898         (scalbn_test_data): Likewise.
8899         (scalbn_test): Likewise.
8900         (ldexp_test): Likewise.
8901         (scalbln_test_data): Likewise.
8902         (scalbln_test): Likewise.
8903         (setpayload_test_data): Likewise.
8904         (setpayload_test): Likewise.
8905         (setpayloadsig_test_data): Likewise.
8906         (setpayloadsig_test): Likewise.
8907         (signbit_test_data): Likewise.
8908         (signbit_test): Likewise.
8909         (sin_test_data): Likewise.
8910         (sin_test): Likewise.
8911         (sincos_test_data): Likewise.
8912         (sincos_test): Likewise.
8913         (sinh_test_data): Likewise.
8914         (sinh_test): Likewise.
8915         (sqrt_test_data): Likewise.
8916         (sqrt_test): Likewise.
8917         (tan_test_data): Likewise.
8918         (tan_test): Likewise.
8919         (tanh_test_data): Likewise.
8920         (tanh_test): Likewise.
8921         (tgamma_test_data): Likewise.
8922         (tgamma_test): Likewise.
8923         (totalorder_test_data): Likewise.
8924         (totalorder_test): Likewise.
8925         (totalordermag_test_data): Likewise.
8926         (totalordermag_test): Likewise.
8927         (trunc_test_data): Likewise.
8928         (trunc_test): Likewise.
8929         (ufromfp_test_data): Likewise.
8930         (ufromfp_test): Likewise.
8931         (ufromfpx_test_data): Likewise.
8932         (ufromfpx_test): Likewise.
8933         (y0_test_data): Likewise.
8934         (y0_test): Likewise.
8935         (y1_test_data): Likewise.
8936         (y1_test): Likewise.
8937         (yn_test_data): Likewise.
8938         (yn_test): Likewise.
8939         (significand_test_data): Likewise.
8940         (significand_test): Likewise.
8941         * math/Makefile (auto-libm-test-out-files): Remove variable.
8942         (libm-test-funcs-noauto): New variable.
8943         (libm-test-funcs-all): Likewise.
8944         (libm-test-c-auto): Likewise.
8945         (libm-test-c-noauto): Likewise.
8946         (libm-tests-generated): Add $(libm-test-c-auto) and
8947         $(libm-test-c-noauto).
8948         (generated): Do not add auto-libm-test-out.
8949         (libm-test-c-auto-obj): New variable.
8950         (libm-test-c-noauto-obj): Likewise.
8951         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
8952         ($(libm-test-c-noauto-obj)): New static pattern rule.
8953         ($(libm-test-c-auto-obj)): Likewise.
8954         (libm-test-incs): New variable.
8955         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
8956         and pass it to gen-libm-have-vector-test.sh.
8957         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
8958         be passed on command line.
8959         * math/libm-test-acos.inc: New file.  Content from
8960         math/libm-test.inc.
8961         * math/libm-test-acosh.inc: Likewise.
8962         * math/libm-test-asin.inc: Likewise.
8963         * math/libm-test-asinh.inc: Likewise.
8964         * math/libm-test-atan.inc: Likewise.
8965         * math/libm-test-atan2.inc: Likewise.
8966         * math/libm-test-atanh.inc: Likewise.
8967         * math/libm-test-cabs.inc: Likewise.
8968         * math/libm-test-cacos.inc: Likewise.
8969         * math/libm-test-cacosh.inc: Likewise.
8970         * math/libm-test-canonicalize.inc: Likewise.
8971         * math/libm-test-carg.inc: Likewise.
8972         * math/libm-test-casin.inc: Likewise.
8973         * math/libm-test-casinh.inc: Likewise.
8974         * math/libm-test-catan.inc: Likewise.
8975         * math/libm-test-catanh.inc: Likewise.
8976         * math/libm-test-cbrt.inc: Likewise.
8977         * math/libm-test-ccos.inc: Likewise.
8978         * math/libm-test-ccosh.inc: Likewise.
8979         * math/libm-test-ceil.inc: Likewise.
8980         * math/libm-test-cexp.inc: Likewise.
8981         * math/libm-test-cimag.inc: Likewise.
8982         * math/libm-test-clog.inc: Likewise.
8983         * math/libm-test-clog10.inc: Likewise.
8984         * math/libm-test-conj.inc: Likewise.
8985         * math/libm-test-copysign.inc: Likewise.
8986         * math/libm-test-cos.inc: Likewise.
8987         * math/libm-test-cosh.inc: Likewise.
8988         * math/libm-test-cpow.inc: Likewise.
8989         * math/libm-test-cproj.inc: Likewise.
8990         * math/libm-test-creal.inc: Likewise.
8991         * math/libm-test-csin.inc: Likewise.
8992         * math/libm-test-csinh.inc: Likewise.
8993         * math/libm-test-csqrt.inc: Likewise.
8994         * math/libm-test-ctan.inc: Likewise.
8995         * math/libm-test-ctanh.inc: Likewise.
8996         * math/libm-test-erf.inc: Likewise.
8997         * math/libm-test-erfc.inc: Likewise.
8998         * math/libm-test-exp.inc: Likewise.
8999         * math/libm-test-exp10.inc: Likewise.
9000         * math/libm-test-exp2.inc: Likewise.
9001         * math/libm-test-expm1.inc: Likewise.
9002         * math/libm-test-fabs.inc: Likewise.
9003         * math/libm-test-fdim.inc: Likewise.
9004         * math/libm-test-floor.inc: Likewise.
9005         * math/libm-test-fma.inc: Likewise.
9006         * math/libm-test-fmax.inc: Likewise.
9007         * math/libm-test-fmaxmag.inc: Likewise.
9008         * math/libm-test-fmin.inc: Likewise.
9009         * math/libm-test-fminmag.inc: Likewise.
9010         * math/libm-test-fmod.inc: Likewise.
9011         * math/libm-test-fpclassify.inc: Likewise.
9012         * math/libm-test-frexp.inc: Likewise.
9013         * math/libm-test-fromfp.inc: Likewise.
9014         * math/libm-test-fromfpx.inc: Likewise.
9015         * math/libm-test-getpayload.inc: Likewise.
9016         * math/libm-test-hypot.inc: Likewise.
9017         * math/libm-test-ilogb.inc: Likewise.
9018         * math/libm-test-iscanonical.inc: Likewise.
9019         * math/libm-test-iseqsig.inc: Likewise.
9020         * math/libm-test-isfinite.inc: Likewise.
9021         * math/libm-test-isgreater.inc: Likewise.
9022         * math/libm-test-isgreaterequal.inc: Likewise.
9023         * math/libm-test-isinf.inc: Likewise.
9024         * math/libm-test-isless.inc: Likewise.
9025         * math/libm-test-islessequal.inc: Likewise.
9026         * math/libm-test-islessgreater.inc: Likewise.
9027         * math/libm-test-isnan.inc: Likewise.
9028         * math/libm-test-isnormal.inc: Likewise.
9029         * math/libm-test-issignaling.inc: Likewise.
9030         * math/libm-test-issubnormal.inc: Likewise.
9031         * math/libm-test-isunordered.inc: Likewise.
9032         * math/libm-test-iszero.inc: Likewise.
9033         * math/libm-test-j0.inc: Likewise.
9034         * math/libm-test-j1.inc: Likewise.
9035         * math/libm-test-jn.inc: Likewise.
9036         * math/libm-test-lgamma.inc: Likewise.
9037         * math/libm-test-llogb.inc: Likewise.
9038         * math/libm-test-llrint.inc: Likewise.
9039         * math/libm-test-llround.inc: Likewise.
9040         * math/libm-test-log.inc: Likewise.
9041         * math/libm-test-log10.inc: Likewise.
9042         * math/libm-test-log1p.inc: Likewise.
9043         * math/libm-test-log2.inc: Likewise.
9044         * math/libm-test-logb.inc: Likewise.
9045         * math/libm-test-lrint.inc: Likewise.
9046         * math/libm-test-lround.inc: Likewise.
9047         * math/libm-test-modf.inc: Likewise.
9048         * math/libm-test-nearbyint.inc: Likewise.
9049         * math/libm-test-nextafter.inc: Likewise.
9050         * math/libm-test-nextdown.inc: Likewise.
9051         * math/libm-test-nexttoward.inc: Likewise.
9052         * math/libm-test-nextup.inc: Likewise.
9053         * math/libm-test-pow.inc: Likewise.
9054         * math/libm-test-remainder.inc: Likewise.
9055         * math/libm-test-remquo.inc: Likewise.
9056         * math/libm-test-rint.inc: Likewise.
9057         * math/libm-test-round.inc: Likewise.
9058         * math/libm-test-roundeven.inc: Likewise.
9059         * math/libm-test-scalb.inc: Likewise.
9060         * math/libm-test-scalbln.inc: Likewise.
9061         * math/libm-test-scalbn.inc: Likewise.
9062         * math/libm-test-setpayload.inc: Likewise.
9063         * math/libm-test-setpayloadsig.inc: Likewise.
9064         * math/libm-test-signbit.inc: Likewise.
9065         * math/libm-test-significand.inc: Likewise.
9066         * math/libm-test-sin.inc: Likewise.
9067         * math/libm-test-sincos.inc: Likewise.
9068         * math/libm-test-sinh.inc: Likewise.
9069         * math/libm-test-sqrt.inc: Likewise.
9070         * math/libm-test-tan.inc: Likewise.
9071         * math/libm-test-tanh.inc: Likewise.
9072         * math/libm-test-tgamma.inc: Likewise.
9073         * math/libm-test-totalorder.inc: Likewise.
9074         * math/libm-test-totalordermag.inc: Likewise.
9075         * math/libm-test-trunc.inc: Likewise.
9076         * math/libm-test-ufromfp.inc: Likewise.
9077         * math/libm-test-ufromfpx.inc: Likewise.
9078         * math/libm-test-y0.inc: Likewise.
9079         * math/libm-test-y1.inc: Likewise.
9080         * math/libm-test-yn.inc: Likewise.
9081         * math/README.libm-test: Update.
9083         * math/gen-auto-libm-tests.c: Update comment about use of program.
9084         (generate_output): Add argument FUNCTION.
9085         (main): Require extra argument.  Pass function name to
9086         generate_output.
9087         * math/Makefile (generated): Add auto-libm-test-out.
9088         (libm-test-funcs-auto): New variable.
9089         (auto-libm-test-out-files): New variable.
9090         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9091         Concatenate those files to form $(objpfx)auto-libm-test-out and
9092         use it as input to gen-libm-test.pl.
9093         * math/README.libm-test: Update.
9094         * math/auto-libm-test-out: Remove.
9095         * math/auto-libm-test-out-acos: New generated file.
9096         * math/auto-libm-test-out-acosh: Likewise.
9097         * math/auto-libm-test-out-asin: Likewise.
9098         * math/auto-libm-test-out-asinh: Likewise.
9099         * math/auto-libm-test-out-atan: Likewise.
9100         * math/auto-libm-test-out-atan2: Likewise.
9101         * math/auto-libm-test-out-atanh: Likewise.
9102         * math/auto-libm-test-out-cabs: Likewise.
9103         * math/auto-libm-test-out-carg: Likewise.
9104         * math/auto-libm-test-out-cbrt: Likewise.
9105         * math/auto-libm-test-out-ccos: Likewise.
9106         * math/auto-libm-test-out-ccosh: Likewise.
9107         * math/auto-libm-test-out-cexp: Likewise.
9108         * math/auto-libm-test-out-clog: Likewise.
9109         * math/auto-libm-test-out-clog10: Likewise.
9110         * math/auto-libm-test-out-cos: Likewise.
9111         * math/auto-libm-test-out-cosh: Likewise.
9112         * math/auto-libm-test-out-cpow: Likewise.
9113         * math/auto-libm-test-out-csin: Likewise.
9114         * math/auto-libm-test-out-csinh: Likewise.
9115         * math/auto-libm-test-out-csqrt: Likewise.
9116         * math/auto-libm-test-out-ctan: Likewise.
9117         * math/auto-libm-test-out-ctanh: Likewise.
9118         * math/auto-libm-test-out-erf: Likewise.
9119         * math/auto-libm-test-out-erfc: Likewise.
9120         * math/auto-libm-test-out-exp: Likewise.
9121         * math/auto-libm-test-out-exp10: Likewise.
9122         * math/auto-libm-test-out-exp2: Likewise.
9123         * math/auto-libm-test-out-expm1: Likewise.
9124         * math/auto-libm-test-out-fma: Likewise.
9125         * math/auto-libm-test-out-hypot: Likewise.
9126         * math/auto-libm-test-out-j0: Likewise.
9127         * math/auto-libm-test-out-j1: Likewise.
9128         * math/auto-libm-test-out-jn: Likewise.
9129         * math/auto-libm-test-out-lgamma: Likewise.
9130         * math/auto-libm-test-out-log: Likewise.
9131         * math/auto-libm-test-out-log10: Likewise.
9132         * math/auto-libm-test-out-log1p: Likewise.
9133         * math/auto-libm-test-out-log2: Likewise.
9134         * math/auto-libm-test-out-pow: Likewise.
9135         * math/auto-libm-test-out-sin: Likewise.
9136         * math/auto-libm-test-out-sincos: Likewise.
9137         * math/auto-libm-test-out-sinh: Likewise.
9138         * math/auto-libm-test-out-sqrt: Likewise.
9139         * math/auto-libm-test-out-tan: Likewise.
9140         * math/auto-libm-test-out-tanh: Likewise.
9141         * math/auto-libm-test-out-tgamma: Likewise.
9142         * math/auto-libm-test-out-y0: Likewise.
9143         * math/auto-libm-test-out-y1: Likewise.
9144         * math/auto-libm-test-out-yn: Likewise.
9146         * math/Makefile (generated): Do not include libm-test.stmp.
9147         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
9148         on $(objpfx)libm-test.stmp.
9149         ($(objpfx)libm-test.stmp): Remove rule.
9150         ($(objpfx)libm-test-ulps.h): New rule.
9151         ($(objpfx)libm-test.c): Likewise.
9152         ($(objpfx)libm-have-vector-test.h): Likewise.
9153         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
9154         individual generated files, not libm-test.stmp.
9156         * math/gen-libm-test.pl ($output_dir): Remove variable.
9157         ($srcdir): Likewise.
9158         ($opt_a): New variable.
9159         ($opt_c): Likewise.
9160         ($opt_C): Likewise.
9161         ($opt_H): Likewise.
9162         (-n): Make option take argument and use it as NewUlps output.
9163         (-a): New option.  Use its argument for auto-libm-test-out input.
9164         (-c): New option.  Use its argument for libm-test.inc input.
9165         (-C): New option.  Use its argument for libm-test.c output.
9166         (-H): New option.  Use its argument for libm-test-ulps.h output.
9167         (top level): Only process inputs needed to generate outputs
9168         specified by command-line options.  Only generate outputs
9169         specified by command-line options.
9170         * math/README.libm-test: Update example gen-libm-test.pl command.
9171         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
9172         commands.
9173         (regen-ulps): Likewise.
9175 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
9177         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
9178         * include/string.h (index): Remove define.
9179         (rindex): Likewise.
9180         * misc/getttyent.c (__getttyent): Rename index to strchr.
9181         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
9182         * sunrpc/rpc_main.c (mkfile_output): Likewise.
9184 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9186         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
9187         * math/libm-test.inc: Move all contents, other than tests of
9188         individual functions, to libm-test-driver.c.
9189         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
9190         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
9191         [!FE_UPWARD] (FE_UPWARD): Likewise.
9192         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
9193         (NO_EXCEPTION): Likewise.
9194         (INVALID_EXCEPTION): Likewise.
9195         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9196         (OVERFLOW_EXCEPTION): Likewise.
9197         (UNDERFLOW_EXCEPTION): Likewise.
9198         (INEXACT_EXCEPTION): Likewise.
9199         (INVALID_EXCEPTION_OK): Likewise.
9200         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9201         (OVERFLOW_EXCEPTION_OK): Likewise.
9202         (UNDERFLOW_EXCEPTION_OK): Likewise.
9203         (NO_INEXACT_EXCEPTION): Likewise.
9204         (EXCEPTIONS_OK): Likewise.
9205         (IGNORE_ZERO_INF_SIGN): Likewise.
9206         (TEST_NAN_SIGN): Likewise.
9207         (TEST_NAN_PAYLOAD): Likewise.
9208         (NO_TEST_INLINE): Likewise.
9209         (XFAIL_TEST): Likewise.
9210         (ERRNO_UNCHANGED): Likewise.
9211         (ERRNO_EDOM): Likewise.
9212         (ERRNO_ERANGE): Likewise.
9213         (IGNORE_RESULT): Likewise.
9214         (NON_FINITE): Likewise.
9215         (TEST_SNAN): Likewise.
9216         (NO_TEST_MATHVEC): Likewise.
9217         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
9218         (__CONCATX): Likewise.
9219         (TYPE_MIN): Likewise.
9220         (TYPE_TRUE_MIN): Likewise.
9221         (TYPE_MAX): Likewise.
9222         (MIN_EXP): Likewise.
9223         (MAX_EXP): Likewise.
9224         (MANT_DIG): Likewise.
9225         (FSTR_MAX): Likewise.
9226         (ULP_IDX): Likewise.
9227         (QTYPE_STR): Likewise.
9228         (TEST_COND_binary32): Likewise.
9229         (TEST_COND_binary64): Likewise.
9230         (TEST_COND_binary128): Likewise.
9231         (TEST_COND_ibm128): Likewise.
9232         (TEST_COND_intel96): Likewise.
9233         (TEST_COND_m68k96): Likewise.
9234         (TEST_COND_ibm128_libgcc): Likewise.
9235         (XFAIL_IBM128_LIBGCC): Likewise.
9236         (PAYLOAD_DIG): Likewise.
9237         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9238         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9239         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9240         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9241         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9242         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9243         (TEST_COND_long32): Likewise.
9244         (TEST_COND_long64): Likewise.
9245         (TEST_COND_before_rounding): Likewise.
9246         (TEST_COND_after_rounding): Likewise.
9247         (lit_pi_3_m_4_d): Likewise.
9248         (lit_pi_3_m_4_ln10_m_d): Likewise.
9249         (lit_pi_2_ln10_m_d): Likewise.
9250         (lit_pi_4_ln10_m_d): Likewise.
9251         (lit_pi_ln10_d): Likewise.
9252         (lit_pi_2_d): Likewise.
9253         (lit_pi_4_d): Likewise.
9254         (lit_pi): Likewise.
9255         (lit_e): Likewise.
9256         (ulps_file_name): Likewise.
9257         (ulps_file): Likewise.
9258         (output_ulps): Likewise.
9259         (output_dir): Likewise.
9260         (noErrors): Likewise.
9261         (noTests): Likewise.
9262         (noExcTests): Likewise.
9263         (noErrnoTests): Likewise.
9264         (verbose): Likewise.
9265         (output_max_error): Likewise.
9266         (output_points): Likewise.
9267         (ignore_max_ulp): Likewise.
9268         (plus_zero): Likewise.
9269         (minus_zero): Likewise.
9270         (plus_infty): Likewise.
9271         (minus_infty): Likewise.
9272         (qnan_value_pl): Likewise.
9273         (qnan_value): Likewise.
9274         (snan_value_pl): Likewise.
9275         (snan_value): Likewise.
9276         (max_value): Likewise.
9277         (min_value): Likewise.
9278         (min_subnorm_value): Likewise.
9279         (snan_value_ld): Likewise.
9280         (max_error): Likewise.
9281         (real_max_error): Likewise.
9282         (imag_max_error): Likewise.
9283         (prev_max_error): Likewise.
9284         (prev_real_max_error): Likewise.
9285         (prev_imag_max_error): Likewise.
9286         (max_valid_error): Likewise.
9287         (TYPE_DECIMAL_DIG): Likewise.
9288         (TYPE_HEX_DIG): Likewise.
9289         (fmt_ftostr): Likewise.
9290         (compare_ulp_data): Likewise.
9291         (find_ulps): Likewise.
9292         (init_max_error): Likewise.
9293         (set_max_error): Likewise.
9294         (print_float): Likewise.
9295         (print_screen): Likewise.
9296         (print_screen_max_error): Likewise.
9297         (update_stats): Likewise.
9298         (print_function_ulps): Likewise.
9299         (print_complex_function_ulps): Likewise.
9300         (fpstack_test): Likewise.
9301         (print_max_error): Likewise.
9302         (print_complex_max_error): Likewise.
9303         (test_single_exception): Likewise.
9304         (test_exceptions): Likewise.
9305         (test_single_errno): Likewise.
9306         (test_errno): Likewise.
9307         (ULPDIFF): Likewise.
9308         (ulp): Likewise.
9309         (check_float_internal): Likewise.
9310         (check_float): Likewise.
9311         (check_complex): Likewise.
9312         (check_int): Likewise.
9313         (check_long): Likewise.
9314         (check_bool): Likewise.
9315         (check_longlong): Likewise.
9316         (check_intmax_t): Likewise.
9317         (check_uintmax_t): Likewise.
9318         (enable_test): Likewise.
9319         (struct test_f_f_data): Likewise.
9320         (struct test_ff_f_data): Likewise.
9321         (struct test_fj_f_data): Likewise.
9322         (struct test_fi_f_data): Likewise.
9323         (struct test_fl_f_data): Likewise.
9324         (struct test_if_f_data): Likewise.
9325         (struct test_fff_f_data): Likewise.
9326         (struct test_fiu_M_data): Likewise.
9327         (struct test_fiu_U_data): Likewise.
9328         (struct test_c_f_data): Likewise.
9329         (struct test_f_f1_data): Likewise.
9330         (struct test_fF_f1_data): Likewise.
9331         (struct test_ffI_f1_data): Likewise.
9332         (struct test_c_c_data): Likewise.
9333         (struct test_cc_c_data): Likewise.
9334         (struct test_f_i_data): Likewise.
9335         (struct test_ff_i_data): Likewise.
9336         (struct test_f_l_data): Likewise.
9337         (struct test_f_L_data): Likewise.
9338         (struct test_fFF_11_data): Likewise.
9339         (struct test_Ff_b1_data): Likewise.
9340         (IF_ROUND_INIT_): Likewise.
9341         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9342         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9343         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9344         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9345         (ROUND_RESTORE_): Likewise.
9346         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9347         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9348         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9349         (ROUND_RESTORE_FE_UPWARD): Likewise.
9350         (RM_): Likewise.
9351         (RM_FE_DOWNWARD): Likewise.
9352         (RM_FE_TONEAREST): Likewise.
9353         (RM_FE_TOWARDZERO): Likewise.
9354         (RM_FE_UPWARD): Likewise.
9355         (COMMON_TEST_SETUP): Likewise.
9356         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9357         (COMMON_TEST_CLEANUP): Likewise.
9358         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9359         (RUN_TEST_f_f): Likewise.
9360         (RUN_TEST_LOOP_f_f): Likewise.
9361         (RUN_TEST_fp_f): Likewise.
9362         (RUN_TEST_LOOP_fp_f): Likewise.
9363         (RUN_TEST_2_f): Likewise.
9364         (RUN_TEST_LOOP_2_f): Likewise.
9365         (RUN_TEST_ff_f): Likewise.
9366         (RUN_TEST_LOOP_ff_f): Likewise.
9367         (RUN_TEST_LOOP_fj_f): Likewise.
9368         (RUN_TEST_fi_f): Likewise.
9369         (RUN_TEST_LOOP_fi_f): Likewise.
9370         (RUN_TEST_fl_f): Likewise.
9371         (RUN_TEST_LOOP_fl_f): Likewise.
9372         (RUN_TEST_if_f): Likewise.
9373         (RUN_TEST_LOOP_if_f): Likewise.
9374         (RUN_TEST_fff_f): Likewise.
9375         (RUN_TEST_LOOP_fff_f): Likewise.
9376         (RUN_TEST_fiu_M): Likewise.
9377         (RUN_TEST_LOOP_fiu_M): Likewise.
9378         (RUN_TEST_fiu_U): Likewise.
9379         (RUN_TEST_LOOP_fiu_U): Likewise.
9380         (RUN_TEST_c_f): Likewise.
9381         (RUN_TEST_LOOP_c_f): Likewise.
9382         (RUN_TEST_f_f1): Likewise.
9383         (RUN_TEST_LOOP_f_f1): Likewise.
9384         (RUN_TEST_fF_f1): Likewise.
9385         (RUN_TEST_LOOP_fF_f1): Likewise.
9386         (RUN_TEST_fI_f1): Likewise.
9387         (RUN_TEST_LOOP_fI_f1): Likewise.
9388         (RUN_TEST_ffI_f1_mod8): Likewise.
9389         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
9390         (RUN_TEST_Ff_b1): Likewise.
9391         (RUN_TEST_LOOP_Ff_b1): Likewise.
9392         (RUN_TEST_Ffp_b1): Likewise.
9393         (RUN_TEST_LOOP_Ffp_b1): Likewise.
9394         (RUN_TEST_c_c): Likewise.
9395         (RUN_TEST_LOOP_c_c): Likewise.
9396         (RUN_TEST_cc_c): Likewise.
9397         (RUN_TEST_LOOP_cc_c): Likewise.
9398         (RUN_TEST_f_i): Likewise.
9399         (RUN_TEST_LOOP_f_i): Likewise.
9400         (RUN_TEST_f_i_tg): Likewise.
9401         (RUN_TEST_LOOP_f_i_tg): Likewise.
9402         (RUN_TEST_ff_b): Likewise.
9403         (RUN_TEST_LOOP_ff_b): Likewise.
9404         (RUN_TEST_ff_i_tg): Likewise.
9405         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9406         (RUN_TEST_f_b): Likewise.
9407         (RUN_TEST_LOOP_f_b): Likewise.
9408         (RUN_TEST_f_b_tg): Likewise.
9409         (RUN_TEST_LOOP_f_b_tg): Likewise.
9410         (RUN_TEST_f_l): Likewise.
9411         (RUN_TEST_LOOP_f_l): Likewise.
9412         (RUN_TEST_f_L): Likewise.
9413         (RUN_TEST_LOOP_f_L): Likewise.
9414         (RUN_TEST_fFF_11): Likewise.
9415         (RUN_TEST_LOOP_fFF_11): Likewise.
9416         (VEC_SUFF): Likewise.
9417         (STR_CONCAT): Likewise.
9418         (STR_CON3): Likewise.
9419         (HAVE_VECTOR): Likewise.
9420         (START): Likewise.
9421         (END): Likewise.
9422         (END_COMPLEX): Likewise.
9423         (ALL_RM_TEST): Likewise.
9424         (matherr): Likewise.
9425         (initialize): Likewise.
9426         (options): Likewise.
9427         (doc): Likewise.
9428         (parse_opt): Likewise.
9429         (argp): Likewise.
9430         (check_ulp): Likewise.
9431         (main): Likewise.
9432         (do_test): New function.  Call tests of individual functions
9433         previously called from main.
9435         * math/libm-test.inc: Remove comment listing functions tested and
9436         not tested.
9438 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9440         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
9441         (allocate_stack): Remove COLORING_INCREMENT usage.
9442         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
9443         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
9445 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9447         * manual/libm-err-tab.pl (@all_functions): Change to
9448         %all_functions.  Initialize as empty.
9449         (parse_ulps): Add to %all_functions based on functions found in
9450         ulps files.  Ignore results for non-default rounding modes and
9451         vector functions.
9452         (print_platforms): Use %all_platforms.
9453         * manual/math.texi (Errors in Math Functions): Document omissions
9454         from the table.
9456         * math/Makefile (before-compile): Remove.
9458 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
9460         [BZ #21075]
9461         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
9462         unused assignment.
9463         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9465 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9467         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
9468         Add __glibc_unlikely hint.
9470 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9472         [BZ #16640]
9473         * sysdeps/i386/i686/strtok.S: Remove file.
9474         * sysdeps/i386/i686/strtok_r.S: Likewise.
9475         * sysdeps/i386/strtok.S: Likewise.
9476         * sysdeps/i386/strtok_r.S: Likewise.
9477         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
9478         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
9479         * sysdeps/x86_64/strtok.S: Likewise.
9480         * sysdeps/x86_64/strtok_r.S: Likewise.
9482         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
9483         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9484         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9485         (__ASSUME_FADVISE64_AS_64_64): Define.
9486         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
9487         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
9488         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
9489         __ALIGNMENT_ARG usage.
9490         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
9491         __NR_fadvise64_64 if it is not defined.
9493 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9495         * version.h (RELEASE): Set to "development"
9496         (VERSION): Set to 2.25.90.
9497         * NEWS: Add 2.26 section.
9499         * version.h (RELEASE): Set to "stable"
9500         (VERSION): Set to 2.25.
9501         * include/features.h (__GLIBC_MINOR__): Set to 25.
9503         * manual/contrib.texi: Add more contributors from this release
9504         and past releases.
9506         * NEWS (2.25): Add list of bugs fixed.
9508         * NEWS: Add missing news items.
9510 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9512         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
9513         parent if child exited in that manner.  Print WEXITSTATUS
9514         instead of the raw status.
9515         (do_test_prep): Rename to do_test.
9516         (do_test): Return the result of run_executable_sgid.
9517         (TEST_FUNCTION_ARGV): Adjust.
9519 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
9520             Florian Weimer  <fweimer@redhat.com>
9521             Carlos O'Donell  <carlos@redhat.com>
9523         [BZ #20915]
9524         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
9525         Do not initialize DTV.
9526         * nptl/allocatestack.c (init_one_static_tls): Likewise.
9528 2017-02-03  David S. Miller  <davem@davemloft.net>
9530         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
9531         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9532         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
9533         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9534         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
9535         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9536         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
9537         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9538         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
9539         (libm-sysdep_routines): Update.
9540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
9541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
9542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
9544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9545         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
9546         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
9547         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
9548         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
9549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
9550         Likewise.
9551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
9553         Likewise.
9554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
9556         Likewise.
9557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
9559         Likewise.
9560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9562         (libm-sysdep_routines): Update.
9564 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
9566         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
9567         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
9568         against unrelocated shared library.
9569         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9571 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9573         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
9574         * elf/tst-env-setuid-tunables.c
9575         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
9576         GLIBC_TUNABLES is removed in a setgid process.
9578         [BZ #21073]
9579         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
9580         * elf/dl-tunables.c (tunables_strdup): Remove.
9581         (get_next_env): Also return the previous envp.
9582         (parse_tunables): Erase tunables of category
9583         TUNABLES_SECLEVEL_SXID_ERASE.
9584         (maybe_enable_malloc_check): Make MALLOC_CHECK_
9585         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
9586         (__tunables_init)[TUNABLES_FRONTEND ==
9587         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
9588         after parsing.
9589         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
9590         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
9591         * elf/dl-tunables.h (struct _tunable): Change member is_secure
9592         to security_level.
9593         * elf/dl-tunables.list: Add security_level annotations for all
9594         tunables.
9595         * scripts/gen-tunables.awk: Recognize and generate enum values
9596         for security_level.
9597         * elf/tst-env-setuid.c: New test case.
9598         * elf/tst-env-setuid-tunables: new test case.
9599         * elf/Makefile (tests-static): Add them.
9601 2017-02-01  Richard Henderson  <rth@twiddle.net>
9603         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
9604         adjusting the byte count.
9606 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
9608         * conform/Makefile (linknamespace-libs): Define.
9610         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
9611         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
9612         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
9613         operands.
9615 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
9617         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
9619 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
9621         [BZ #21081]
9622         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9623         (L(stosb)): Add VZEROUPPER before ret.
9625 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
9626             Alexey Makhalov <amakhalov@vmware.com>
9627             Florian Weimer <fweimer@redhat.com>
9629         [BZ #20116]
9630         * nptl/pthread_create.c: Document concurrency notes.
9631         Enhance thread creation notes.
9632         (create_thread): Use bool *stopped_start.
9633         (START_THREAD_DEFN): Comment ownership of PD.
9634         (__pthread_create_2_1): Add local bool stopped_start and use
9635         that instead of pd->stopped_start where appropriate.
9636         * nptl/createthread.c (create_thread): Use bool *stopped_start.
9637         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
9638         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
9639         * nptl/tst-create-detached.c: New file.
9640         * nptl/Makefile (tests): Add tst-create-detached.
9641         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9642         Reference the enhanced thread creation notes.
9643         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
9644         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9645         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
9646         (__pthread_current_priority): Likewise.
9647         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
9648         xpthread_attr_init, xpthread_attr_setdetachstate, and
9649         xpthread_attr_setstacksize.
9650         * support/xpthread_attr_destroy.c: New file.
9651         * support/xpthread_attr_init.c: New file.
9652         * support/xpthread_attr_setdetachstate.c: New file.
9653         * support/xpthread_attr_setstacksize.c: New file.
9654         * support/xthread.h: Define prototypes for xpthread_attr_destroy
9655         xpthread_attr_init, xpthread_attr_setdetachstate, and
9656         xpthread_attr_setstacksize.
9658 2017-01-27  Florian Weimer  <fweimer@redhat.com>
9660         * nptl/Makefile (tests): Add tst-robust-fork.
9661         * nptl/tst-robust-fork.c: New file.
9662         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
9663         xpthread_mutex_consistent, xpthread_mutex_destroy,
9664         xpthread_mutex_init, xpthread_mutexattr_destroy,
9665         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
9666         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
9667         xpthread_mutexattr_settype.
9668         * support/xmmap.c: New file.
9669         * support/xmunmap.c: Likewise.
9670         * support/xpthread_mutex_consistent.c: Likewise.
9671         * support/xpthread_mutex_destroy.c: Likewise.
9672         * support/xpthread_mutex_init.c: Likewise.
9673         * support/xpthread_mutexattr_destroy.c: Likewise.
9674         * support/xpthread_mutexattr_init.c: Likewise.
9675         * support/xpthread_mutexattr_setprotocol.c: Likewise.
9676         * support/xpthread_mutexattr_setpshared.c: Likewise.
9677         * support/xpthread_mutexattr_setrobust.c: Likewise.
9678         * support/xpthread_mutexattr_settype.c: Likewise.
9679         * support/xthread.h (xpthread_mutexattr_destroy)
9680         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
9681         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
9682         (xpthread_mutexattr_settype, xpthread_mutex_init)
9683         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
9684         * support/xunistd.h (xmmap, xmunmap): Likewise.
9686 2017-01-25  Florian Weimer  <fweimer@redhat.com>
9688         * string/Makefile (xtests): Add comment.
9689         (LOCALES): Add en_GB.UTF-8.
9690         (tst-strcoll-overflow.out): Depend on generated locales.
9691         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
9692         (SIZE, TIMEOUT): Update comments.
9693         (do_test): Define as static.  Fail test if setlocale fails.
9694         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
9695         messages.
9696         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
9697         TIMEOUT at 300 seconds should be enough to run this test
9698         successfully.
9700 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
9702         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
9703         /* FALLTHRU */ comments.
9705 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
9707         [BZ #21053]
9708         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
9709         constants instead of the old R* ones.
9710         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
9711         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
9712         (NGREG): ... to this, to fit in with other architectures.
9713         (gpregset_t): Use new NGREG macro.
9714         [__USE_GNU]: Remove condition; all architectures other than tile
9715         are unconditional.
9716         (R*): Rename to REG_R*.
9718 2017-01-20  DJ Delorie  <dj@redhat.com>
9720         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
9721         (tunable_set_val_if_valid_range_signed) ... this, and ...
9722         (tunable_set_val_if_valid_range_unsigned) ... this.
9723         (tunable_initialize): Call the correct one of the above based on type.
9725 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
9727         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
9728         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9729         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9730         * sysdeps/microblaze/libm-test-ulps: Likewise.
9731         * sysdeps/sh/libm-test-ulps: Likewise.
9733         * math/README.libm-test: Update list of characters for input and
9734         output types.
9736 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9738         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9739         (__lll_unlock_elision): Fix adapt_count decrement.
9741 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
9743         * README.pretty-printers (Known issues): Warn about printers not
9744         always covering everything.
9745         * nptl/nptl-printers.py (MutexPrinter): Change output.
9746         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
9748 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9750         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
9751         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9752         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
9753         (__lll_lock_elision): Do not test futex before starting a
9754         transaction.  Use __glibc_likely instead of __builtin_expect.
9755         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
9756         (__lll_trylock_elision): Do not test futex before starting a
9757         transaction.  Use __glibc_likely instead of __builtin_expect.
9759 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9761         * po/Makefile (update-translations): New target.
9763 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
9765         [BZ #21061]
9766         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
9768 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9770         * elf/dl-tunables (get_next_env): Always advance envp.
9771         * stdlib/tst-empty-env.c: New test case.
9772         * stdlib/Makefile (tests): Use it.
9774 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
9776         [BZ #21047]
9777         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
9778         name for instruction.
9779         [!__SOFTFP__] (_FPU_SETCW): Likewise.
9781 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
9783         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
9784         for make install.
9786 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9788         * po/bg.po: Merge from Translation Project.
9789         * po/fr.po: Likewise.
9790         * po/ko.po: Likewise.
9791         * po/nl.po: Likewise.
9792         * po/sv.po: Likewise.
9794 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
9796         * manual/install.texi (Tools for Compilation): Update GCC version
9797         known to work to build glibc.
9798         * INSTALL: Regenerated.
9800 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9802         [BZ #21006]
9803         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
9805 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
9807         [BZ #21045]
9808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9809         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
9810         to __sigprocmask.
9812 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
9814         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
9815         wrap-around.
9816         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
9818         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
9820 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9822         * NEWS: Fix typo.
9824 2016-01-13  Torvald Riegel  <triegel@redhat.com>
9826         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
9827         barriers and comments.
9828         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
9829         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9830         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9832 2016-01-13  Torvald Riegel  <triegel@redhat.com>
9834         [BZ #19402]
9835         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
9836         mutexes.
9838 2016-01-13  Torvald Riegel  <triegel@redhat.com>
9840         [BZ #20985]
9841         * nptl/Makefile: Adapt.
9842         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
9843         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
9844         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
9845         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
9846         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
9847         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
9848         lll_robust* functions and adapt.
9849         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9850         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
9851         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
9852         __lll_robust_timedlock, __lll_robust_unlock): Remove.
9853         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
9854         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
9855         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
9856         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
9857         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
9858         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
9859         __lll_robust_timedlock, __lll_robust_unlock): Remove.
9860         * nptl/lowlevelrobustlock.c: Remove file.
9861         * nptl/lowlevelrobustlock.sym: Likewise.
9862         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
9863         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
9865 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9867         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9869 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9871         * po/cs.po: Merge translations from the Translation Project.
9872         * po/de.po: Likewise.
9873         * po/pl.po: Likewise.
9874         * po/ru.po: Likewise.
9875         * po/tr.po: Likewise.
9876         * po/uk.po: Likewise.
9877         * po/vi.po: Likewise.
9878         * po/zh_CN.po: Likewise.
9880 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
9882         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
9884         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
9885         object.
9887 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
9889         [BZ #16458]
9890         * bits/uintn-identity.h: New file.
9891         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
9892         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
9893         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
9894         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
9895         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
9896         * string/endian.h: Include <bits/uintn-identity.h>.
9897         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
9898         __uint16_identity.
9899         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
9900         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
9901         __uint32_identity.
9902         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
9903         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
9904         __uint64_identity.
9905         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
9906         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
9907         __uint16_identity.
9908         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
9909         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
9910         __uint32_identity.
9911         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
9912         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
9913         __uint64_identity.
9914         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
9915         * string/Makefile (headers): Add bits/uintn-identity.h.
9916         (tests): Add test-endian-types.
9917         * string/test-endian-types.c: New file.
9918         * inet/Makefile (tests): Add test-hnto-types.
9919         * inet/test-hnto-types.c: New file.
9921 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9923         * po/be.po: Update from Translation Project.
9924         * po/bg.po: Likewise.
9925         * po/ca.po: Likewise.
9926         * po/cs.po: Likewise.
9927         * po/da.po: Likewise.
9928         * po/de.po: Likewise.
9929         * po/el.po: Likewise.
9930         * po/eo.po: Likewise.
9931         * po/es.po: Likewise.
9932         * po/fi.po: Likewise.
9933         * po/fr.po: Likewise.
9934         * po/gl.po: Likewise.
9935         * po/hr.po: Likewise.
9936         * po/hu.po: Likewise.
9937         * po/ia.po: Likewise.
9938         * po/id.po: Likewise.
9939         * po/it.po: Likewise.
9940         * po/ja.po: Likewise.
9941         * po/ko.po: Likewise.
9942         * po/lt.po: Likewise.
9943         * po/nb.po: Likewise.
9944         * po/nl.po: Likewise.
9945         * po/pl.po: Likewise.
9946         * po/pt_BR.po: Likewise.
9947         * po/ru.po: Likewise.
9948         * po/rw.po: Likewise.
9949         * po/sk.po: Likewise.
9950         * po/sl.po: Likewise.
9951         * po/sv.po: Likewise.
9952         * po/tr.po: Likewise.
9953         * po/uk.po: Likewise.
9954         * po/vi.po: Likewise.
9955         * po/zh_CN.po: Likewise.
9956         * po/zh_TW.po: Likewise.
9958 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
9960         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
9961         -Wformat-truncation instead of -Wformat-length.
9962         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
9963         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
9964         GCC 7.
9965         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
9966         (do_test): Ignore -Wformat-truncation for GCC 7.
9968         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
9969         buffer used to print long int value.
9971         * elf/sotruss-lib.c (init): Increase space allocated for pid by
9972         one byte.  Print it with %ld, cast to long int.
9974 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9976         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
9977         (re.fullmatch, subprocess.run): Likewise.
9979 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9981         * po/libc.pot: Regenerate.
9983 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9985         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
9986         (min_strlen): Likewise.
9987         (disable_tunable): Likewise.
9988         (maybe_disable_malloc_check): Rename to
9989         maybe_enable_malloc_check.
9990         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
9991         if /etc/suid-debug file exists.
9992         (__tunables_init): Update caller.
9993         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
9994         secure.
9996 2016-01-10  Torvald Riegel  <triegel@redhat.com>
9998         * nptl/DESIGN-rwlock.txt: Remove.
9999         * nptl/lowlevelrwlock.sym: Remove.
10000         * nptl/Makefile: Add new tests.
10001         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
10002         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10003         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10004         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10005         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10006         PTHREAD_RWLOCK_FUTEX_USED): New.
10007         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10008         implementation.
10009         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10010         (__pthread_rwlock_rdlock): Adapt.
10011         * nptl/pthread_rwlock_timedrdlock.c
10012         (pthread_rwlock_timedrdlock): Adapt.
10013         * nptl/pthread_rwlock_timedwrlock.c
10014         (pthread_rwlock_timedwrlock): Adapt.
10015         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10016         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10017         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10018         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10019         (__pthread_rwlock_wrlock): Adapt.
10020         * nptl/tst-rwlock10.c: Adapt.
10021         * nptl/tst-rwlock11.c: Adapt.
10022         * nptl/tst-rwlock17.c: New file.
10023         * nptl/tst-rwlock18.c: New file.
10024         * nptl/tst-rwlock19.c: New file.
10025         * nptl/tst-rwlock2b.c: New file.
10026         * nptl/tst-rwlock8.c: Adapt.
10027         * nptl/tst-rwlock9.c: Adapt.
10028         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10029         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10030         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10031         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10032         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10033         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10034         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10035         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10036         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10037         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10038         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10039         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10040         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10041         (pthread_rwlock_t): Adapt.
10042         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10043         (pthread_rwlock_t): Adapt.
10044         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10045         * nptl/nptl-printers.py (): Adapt.
10046         * nptl/nptl_lock_constants.pysym: Adapt.
10047         * nptl/test-rwlock-printers.py: Adapt.
10048         * nptl/test-rwlockattr-printers.c: Adapt.
10049         * nptl/test-rwlockattr-printers.py: Adapt.
10051 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
10053         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10054         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10055         (fma_test_data): Likewise.
10056         (hypot_test_data): Likewise.
10057         (log1p_test_data): Likewise.
10058         (modf_test_data): Likewise.
10059         (pow_test_data): Likewise.
10060         (remainder_test_data): Likewise.
10061         (remquo_test_data): Likewise.
10062         (scalb_test_data): Likewise.
10063         (scalbn_test_data): Likewise.
10064         (scalbln_test_data): Likewise.
10065         * math/gen-libm-test.pl (parse_args): Transform
10066         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10067         on the rounding mode.
10069 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
10071         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10072         xfail-rounding:ibm128-libgcc automatically to tests overflowing
10073         and those that can underflow to zero.
10074         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10075         add others.
10076         * math/auto-libm-test-out: Regenerated.
10078         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10079         supported.
10080         (feholdexcept_tests): Skip tests requiring exceptions or rounding
10081         modes support if not supported.
10083         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10084         Add libc.so PLT entry.
10085         (__tls_get_addr): Make ld.so PLT entry optional.
10087 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10089         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10090         * string/bits/string3.h: ... here.
10092 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
10094         [BZ #21028]
10095         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10096         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10097         if EXCEPTION_TESTS returns false.
10099 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10101         [BZ #20558]
10102         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
10103         strings_fortified.h.
10104         [__USE_MISC] (bzero): Likewise.
10105         [__USE_MISC] (explicit_bzero): Likewise.
10106         * string/strings.h: Include strings_fortified.h.
10107         * string/Makefile (headers): Add strings_fortified.h.
10108         * string/bits/strings_fortified.h: New file.
10109         * include/bits/strings_fortified.h: Likewise.
10111 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
10113         * elf/tst-tls13.c (TIMEOUT): Remove.
10114         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
10115         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
10116         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
10117         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
10118         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
10120         [BZ #21026]
10121         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
10122         (readahead): New syscall entry.
10124 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
10126         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10127         around tests of strncat with large sizes.
10129         * malloc/tst-malloc.c: Include <libc-internal.h>.
10130         (do_test): Disable -Walloc-size-larger-than= around tests of
10131         malloc with negative sizes.
10132         * malloc/tst-mcheck.c: Include <libc-internal.h>.
10133         (do_test): Disable -Walloc-size-larger-than= around tests of
10134         malloc and realloc with negative sizes.
10135         * malloc/tst-realloc.c: Include <libc-internal.h>.
10136         (do_test): Disable -Walloc-size-larger-than= around tests of
10137         realloc with negative sizes.
10139         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
10140         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
10141         allowed to 16 ulps.
10142         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
10143         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
10144         * math/auto-libm-test-out: Regenerated.
10146 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10148         * math/Makefile (libm-calls): Move wrappers...
10149         (libm-compat-call-auto): Here.
10150         (libm-routines): Add items in libm-compat-calls-auto.
10151         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
10152         the filenames of the wrappers that have been renamed.
10153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
10154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10156         * math/w_acos.c: Add _compat suffix to filename.
10157         * math/w_acosf.c: Likewise.
10158         * math/w_acosh.c: Likewise.
10159         * math/w_acoshf.c: Likewise.
10160         * math/w_acoshl.c: Likewise.
10161         * math/w_acosl.c: Likewise.
10162         * math/w_asin.c: Likewise.
10163         * math/w_asinf.c: Likewise.
10164         * math/w_asinl.c: Likewise.
10165         * math/w_atan2.c: Likewise.
10166         * math/w_atan2f.c: Likewise.
10167         * math/w_atan2l.c: Likewise.
10168         * math/w_atanh.c: Likewise.
10169         * math/w_atanhf.c: Likewise.
10170         * math/w_atanhl.c: Likewise.
10171         * math/w_cosh.c: Likewise.
10172         * math/w_coshf.c: Likewise.
10173         * math/w_coshl.c: Likewise.
10174         * math/w_exp10.c: Likewise.
10175         * math/w_exp10f.c: Likewise.
10176         * math/w_exp10l.c: Likewise.
10177         * math/w_exp2.c: Likewise.
10178         * math/w_exp2f.c: Likewise.
10179         * math/w_exp2l.c: Likewise.
10180         * math/w_fmod.c: Likewise.
10181         * math/w_fmodf.c: Likewise.
10182         * math/w_fmodl.c: Likewise.
10183         * math/w_hypot.c: Likewise.
10184         * math/w_hypotf.c: Likewise.
10185         * math/w_hypotl.c: Likewise.
10186         * math/w_j0.c: Likewise.
10187         * math/w_j0f.c: Likewise.
10188         * math/w_j0l.c: Likewise.
10189         * math/w_j1.c: Likewise.
10190         * math/w_j1f.c: Likewise.
10191         * math/w_j1l.c: Likewise.
10192         * math/w_jn.c: Likewise.
10193         * math/w_jnf.c: Likewise.
10194         * math/w_jnl.c: Likewise.
10195         * math/w_log10.c: Likewise.
10196         * math/w_log10f.c: Likewise.
10197         * math/w_log10l.c: Likewise.
10198         * math/w_log2.c: Likewise.
10199         * math/w_log2f.c: Likewise.
10200         * math/w_log2l.c: Likewise.
10201         * math/w_log.c: Likewise.
10202         * math/w_logf.c: Likewise.
10203         * math/w_logl.c: Likewise.
10204         * math/w_pow.c: Likewise.
10205         * math/w_powf.c: Likewise.
10206         * math/w_powl.c: Likewise.
10207         * math/w_remainder.c: Likewise.
10208         * math/w_remainderf.c: Likewise.
10209         * math/w_remainderl.c: Likewise.
10210         * math/w_scalb.c: Likewise.
10211         * math/w_scalbf.c: Likewise.
10212         * math/w_scalbl.c: Likewise.
10213         * math/w_sinh.c: Likewise.
10214         * math/w_sinhf.c: Likewise.
10215         * math/w_sinhl.c: Likewise.
10216         * math/w_sqrt.c: Likewise.
10217         * math/w_sqrtf.c: Likewise.
10218         * math/w_sqrtl.c: Likewise.
10219         * math/w_tgamma.c: Likewise.
10220         * math/w_tgammaf.c: Likewise.
10221         * math/w_tgammal.c: Likewise.
10223         * math/w_acos_compat.c: New file copied from above and
10224         adjusted for new #includes path
10225         * math/w_acosf_compat.c: Likewise.
10226         * math/w_acosh_compat.c: Likewise.
10227         * math/w_acoshf_compat.c: Likewise.
10228         * math/w_acoshl_compat.c: Likewise.
10229         * math/w_acosl_compat.c: Likewise.
10230         * math/w_asin_compat.c: Likewise.
10231         * math/w_asinf_compat.c: Likewise.
10232         * math/w_asinl_compat.c: Likewise.
10233         * math/w_atan2_compat.c: Likewise.
10234         * math/w_atan2f_compat.c: Likewise.
10235         * math/w_atan2l_compat.c: Likewise.
10236         * math/w_atanh_compat.c: Likewise.
10237         * math/w_atanhf_compat.c: Likewise.
10238         * math/w_atanhl_compat.c: Likewise.
10239         * math/w_cosh_compat.c: Likewise.
10240         * math/w_coshf_compat.c: Likewise.
10241         * math/w_coshl_compat.c: Likewise.
10242         * math/w_exp10_compat.c: Likewise.
10243         * math/w_exp10f_compat.c: Likewise.
10244         * math/w_exp10l_compat.c: Likewise.
10245         * math/w_exp2_compat.c: Likewise.
10246         * math/w_exp2f_compat.c: Likewise.
10247         * math/w_exp2l_compat.c: Likewise.
10248         * math/w_fmod_compat.c: Likewise.
10249         * math/w_fmodf_compat.c: Likewise.
10250         * math/w_fmodl_compat.c: Likewise.
10251         * math/w_hypot_compat.c: Likewise.
10252         * math/w_hypotf_compat.c: Likewise.
10253         * math/w_hypotl_compat.c: Likewise.
10254         * math/w_j0_compat.c: Likewise.
10255         * math/w_j0f_compat.c: Likewise.
10256         * math/w_j0l_compat.c: Likewise.
10257         * math/w_j1_compat.c: Likewise.
10258         * math/w_j1f_compat.c: Likewise.
10259         * math/w_j1l_compat.c: Likewise.
10260         * math/w_jn_compat.c: Likewise.
10261         * math/w_jnf_compat.c: Likewise.
10262         * math/w_jnl_compat.c: Likewise.
10263         * math/w_log10_compat.c: Likewise.
10264         * math/w_log10f_compat.c: Likewise.
10265         * math/w_log10l_compat.c: Likewise.
10266         * math/w_log2_compat.c: Likewise.
10267         * math/w_log2f_compat.c: Likewise.
10268         * math/w_log2l_compat.c: Likewise.
10269         * math/w_log_compat.c: Likewise.
10270         * math/w_logf_compat.c: Likewise.
10271         * math/w_logl_compat.c: Likewise.
10272         * math/w_pow_compat.c: Likewise.
10273         * math/w_powf_compat.c: Likewise.
10274         * math/w_powl_compat.c: Likewise.
10275         * math/w_remainder_compat.c: Likewise.
10276         * math/w_remainderf_compat.c: Likewise.
10277         * math/w_remainderl_compat.c: Likewise.
10278         * math/w_scalb_compat.c: Likewise.
10279         * math/w_scalbf_compat.c: Likewise.
10280         * math/w_scalbl_compat.c: Likewise.
10281         * math/w_sinh_compat.c: Likewise.
10282         * math/w_sinhf_compat.c: Likewise.
10283         * math/w_sinhl_compat.c: Likewise.
10284         * math/w_sqrt_compat.c: Likewise.
10285         * math/w_sqrtf_compat.c: Likewise.
10286         * math/w_sqrtl_compat.c: Likewise.
10287         * math/w_tgamma_compat.c: Likewise.
10288         * math/w_tgammaf_compat.c: Likewise.
10289         * math/w_tgammal_compat.c: Likewise.
10291         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
10292         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
10293         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
10294         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
10295         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
10296         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
10297         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
10298         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
10299         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
10300         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
10301         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
10302         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
10303         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
10304         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
10305         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
10306         * sysdeps/ia64/fpu/w_powl.c: Likewise.
10307         * sysdeps/ia64/fpu/w_powf.c: Likewise.
10308         * sysdeps/ia64/fpu/w_pow.c: Likewise.
10309         * sysdeps/ia64/fpu/w_logl.c: Likewise.
10310         * sysdeps/ia64/fpu/w_logf.c: Likewise.
10311         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
10312         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
10313         * sysdeps/ia64/fpu/w_log2.c: Likewise.
10314         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
10315         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
10316         * sysdeps/ia64/fpu/w_log10.c: Likewise.
10317         * sysdeps/ia64/fpu/w_log.c: Likewise.
10318         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
10319         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
10320         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
10321         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
10322         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
10323         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
10324         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
10325         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
10326         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
10327         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
10328         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
10329         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
10330         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
10331         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
10332         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
10333         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
10334         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
10335         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
10336         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
10337         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
10338         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
10339         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
10340         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
10341         * sysdeps/ia64/fpu/w_asin.c: Likewise.
10342         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
10343         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
10344         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
10345         * sysdeps/ia64/fpu/w_acos.c: Likewise.
10346         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
10347         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
10348         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
10349         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
10350         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
10351         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
10352         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
10353         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
10354         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
10355         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
10356         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
10357         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
10358         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
10359         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
10360         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
10361         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
10362         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
10363         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
10364         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
10365         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
10366         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
10367         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
10368         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
10369         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
10370         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
10371         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
10372         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
10373         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
10374         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
10375         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
10376         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
10377         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
10378         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
10379         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
10380         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
10381         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
10382         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
10383         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
10384         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
10385         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
10386         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
10387         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
10388         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
10389         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
10390         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
10391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
10392         Likewise.
10393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
10394         Likewise.
10395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
10396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
10397         Likewise.
10398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
10399         Likewise.
10400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
10401         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10402         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10403         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10404         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10405         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10406         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
10408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
10410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10411         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10412         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10413         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10414         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10416         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
10417         and adjusted for new #includes path
10418         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
10419         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
10420         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
10421         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
10422         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
10423         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
10424         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
10425         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
10426         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
10427         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
10428         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
10429         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
10430         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
10431         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
10432         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
10433         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
10434         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
10435         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
10436         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
10437         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
10438         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
10439         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
10440         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
10441         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
10442         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
10443         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
10444         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
10445         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
10446         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
10447         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
10448         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
10449         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
10450         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
10451         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
10452         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
10453         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
10454         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
10455         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
10456         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
10457         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
10458         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
10459         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
10460         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
10461         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
10462         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
10463         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
10464         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
10465         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
10466         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
10467         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
10468         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
10469         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
10470         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
10471         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
10472         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
10473         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
10474         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
10475         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
10476         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
10477         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
10478         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
10479         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
10480         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
10481         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
10482         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
10483         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
10484         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
10485         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
10486         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
10487         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
10488         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
10489         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
10490         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
10491         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
10492         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
10493         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
10494         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
10495         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
10496         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
10497         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
10498         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
10499         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
10500         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
10501         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
10502         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
10503         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
10504         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
10505         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
10506         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
10507         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
10508         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
10509         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
10510         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
10511         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
10512         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
10513         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
10514         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
10515         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
10516         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
10517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
10518         Likewise.
10519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
10520         Likewise.
10521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
10522         Likewise.
10523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
10524         Likewise.
10525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
10526         Likewise.
10527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
10528         Likewise.
10529         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
10530         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
10531         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
10532         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
10533         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
10534         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
10535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
10536         Likewise.
10537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
10538         Likewise.
10539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
10540         Likewise.
10541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
10542         Likewise.
10543         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
10544         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
10545         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
10546         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
10548 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
10550         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
10551         __jmp_buf_internal_tag.
10553         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
10554         preserve NaN payload if [__mips_nan2008].
10555         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
10557         [BZ #21022]
10558         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
10560 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
10562         * sysdeps/i386/fpu/libm-test-ulps: Update.
10564 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10566         * sysdeps/ia64/strcat.c: Remove file.
10567         * sysdeps/powerpc/strcat.c: Likewise.
10568         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
10569         C implementation.
10570         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
10571         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
10573 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10574             Steven Munroe  <sjmunroe@us.ibm.com>
10575             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10577         [BZ #20822]
10578         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10579         (__lll_lock_elision): Access adapt_count via C11 atomics.
10580         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10581         (__lll_trylock_elision): Likewise.
10582         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10583         (__lll_unlock_elision):  Update adapt_count variable inside the
10584         critical section using C11 atomics.
10586 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
10588         * math/test-fenvinline.c (do_test): Disable tests of raised
10589         exceptions if !EXCEPTION_TESTS (FLOAT).
10591 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10593         [BZ #19390]
10594         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
10595         maximum string size.
10596         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
10597         in pointer addition.
10598         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
10599         Likewise.
10601 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
10603         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
10604         passed to tst-ldconfig-X.sh.
10606 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
10608         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
10610 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
10612         [BZ #21019]
10613         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
10614         New syscall entry.
10615         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
10616         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
10617         lseek.
10619         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10620         power4 glibc for powerpc-linux-gnu.
10622 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10624         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
10625         semctl.
10627 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
10629         * math/test-nearbyint-except.c: Include <stdbool.h>.
10630         (any_supported): New variable.
10631         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
10632         set any_supported.
10633         (do_test): Return 77 if no floating-point type supported
10634         exceptions.
10636         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
10637         condition on [__mips_hard_float].
10639 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10641         [BZ #21014]
10642         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
10643         in pointer addition.
10644         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
10646 2017-01-02  Torvald Riegel  <triegel@redhat.com>
10648         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
10649         new condvar.
10651 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
10653         * scripts/build-many-glibcs.py (Context.checkout): Default
10654         binutils version to 2.28 branch.
10656 2017-01-01  Florian Weimer  <fweimer@redhat.com>
10658         * support/support_format_netent.c (support_format_netent): Work
10659         around alpha struct netent definition difference.
10661 2017-01-01  Florian Weimer  <fweimer@redhat.com>
10663         * support/xwrite.c (xwrite): Use %td for pointer difference.
10665 2017-01-01  Florian Weimer  <fweimer@redhat.com>
10667         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
10668         have-tunables only.
10669         (tests-static): Add tst-malloc-usable-static-tunables for
10670         have-tunables only.
10672 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
10674         * scripts/config.guess: Update to version 2017-01-01.
10675         * scripts/config.sub: Update to version 2017-01-01.
10677         * NEWS: Update copyright dates.
10678         * catgets/gencat.c (print_version): Likewise.
10679         * csu/version.c (banner): Likewise.
10680         * debug/catchsegv.sh: Likewise.
10681         * debug/pcprofiledump.c (print_version): Likewise.
10682         * debug/xtrace.sh (do_version): Likewise.
10683         * elf/ldconfig.c (print_version): Likewise.
10684         * elf/ldd.bash.in: Likewise.
10685         * elf/pldd.c (print_version): Likewise.
10686         * elf/sotruss.sh: Likewise.
10687         * elf/sprof.c (print_version): Likewise.
10688         * iconv/iconv_prog.c (print_version): Likewise.
10689         * iconv/iconvconfig.c (print_version): Likewise.
10690         * locale/programs/locale.c (print_version): Likewise.
10691         * locale/programs/localedef.c (print_version): Likewise.
10692         * login/programs/pt_chown.c (print_version): Likewise.
10693         * malloc/memusage.sh (do_version): Likewise.
10694         * malloc/memusagestat.c (print_version): Likewise.
10695         * malloc/mtrace.pl: Likewise.
10696         * manual/libc.texinfo: Likewise.
10697         * nptl/version.c (banner): Likewise.
10698         * nscd/nscd.c (print_version): Likewise.
10699         * nss/getent.c (print_version): Likewise.
10700         * nss/makedb.c (print_version): Likewise.
10701         * posix/getconf.c (main): Likewise.
10702         * scripts/test-installation.pl: Likewise.
10703         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10705         * All files with FSF copyright notices: Update copyright dates
10706         using scripts/update-copyrights.
10707         * intl/plural.c: Regenerated.
10708         * locale/programs/charmap-kw.h: Likewise.
10709         * locale/programs/locfile-kw.h: Likewise.
10711 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10713         [BZ #20593]
10714         Update DNS RR type definitions.
10715         * scripts/gen-rrtypes.py: New file.
10716         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
10717         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
10718         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
10719         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
10720         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
10721         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
10722         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
10723         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
10724         ns_t_ta, ns_t_dlv.
10725         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
10726         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
10727         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
10728         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
10729         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
10730         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
10731         Define.
10732         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
10733         entry for ns_t_zxfr.
10735 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10737         [BZ #18784]
10738         CVE-2015-5180
10739         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
10740         T_UNSPEC.  Adjust value.
10741         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
10742         * resolv/res_query.c (__libc_res_nquery): Likewise.
10743         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
10744         QTYPEs.
10745         * resolv/tst-resolv-qtypes.c: New file.
10746         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
10747         (tst-resolv-qtypes): Link against libresolv and libpthread.
10749 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10751         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
10753 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10755         * manual/tunables.texi: New chapter.
10756         * manual/Makefile (chapters): Add it.
10757         * manual/probes.texi (@node): Point to the Tunables chapter.
10759         * Makeconfig (have-tunables): Check for non-negative instead
10760         of positive.
10761         * configure.ac: Add 'valstring' as a valid value for
10762         --enable-tunables.
10763         * configure: Regenerate.
10764         * elf/Makefile (have-tunables): Check for non-negative instead
10765         of positive.
10766         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
10767         dl-tunables.c.
10768         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
10769         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
10770         (tunables_strdup): Likewise.
10771         (disable_tunables): Likewise.
10772         (parse_tunables): Likewise.
10773         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
10774         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
10775         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
10776         (TUNABLES_FRONTEND_yes): New macro, define as
10777         TUNABLES_FRONTEND_valstring by default.
10778         * manual/install.texi: Document new acceptable values for
10779         --enable-tunables.
10780         * INSTALL: Regenerate.
10782         * config.make.in (have-loop-to-function): Define.
10783         * elf/Makefile (CFLAGS-dl-tunables.c): Add
10784         -fno-tree-loop-distribute-patterns.
10785         * elf/dl-tunables.c: Include libc-internals.h.
10786         (GLIBC_TUNABLES): New macro.
10787         (tunables_strdup): New function.
10788         (parse_tunables): New function.
10789         (min_strlen): New function.
10790         (__tunables_init): Use the new functions and macro.
10791         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
10792         * malloc/tst-malloc-usable-tunables.c: New test case.
10793         * malloc/tst-malloc-usable-static-tunables.c: New test case.
10794         * malloc/Makefile (tests, tests-static): Add tests.
10796         * manual/install.texi: Add --enable-tunables option.
10797         * INSTALL: Regenerate.
10798         * README.tunables: New file.
10799         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
10800         (before-compile): Generate dl-tunable-list.h early.
10801         * config.h.in: Add HAVE_TUNABLES.
10802         * config.make.in: Add have-tunables.
10803         * configure.ac: Add --enable-tunables option.
10804         * configure: Regenerate.
10805         * csu/init-first.c (__libc_init_first): Move
10806         __libc_init_secure earlier...
10807         * csu/init-first.c (LIBC_START_MAIN):... to here.
10808         Include dl-tunables.h, libc-internal.h.
10809         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
10810         binaries.
10811         * elf/Makefile (dl-routines): Add dl-tunables.
10812         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
10813         namespace.
10814         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
10815         only when !HAVE_TUNABLES.
10816         * elf/rtld.c (process_envvars): Likewise.
10817         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
10818         (_dl_sysdep_start): Call __tunables_init.
10819         * elf/dl-tunable-types.h: New file.
10820         * elf/dl-tunables.c: New file.
10821         * elf/dl-tunables.h: New file.
10822         * elf/dl-tunables.list: New file.
10823         * malloc/tst-malloc-usable-static.c: New test case.
10824         * malloc/Makefile (tests-static): Add it.
10825         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
10826         Define TUNABLE_NAMESPACE.
10827         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
10828         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
10829         callback functions.
10830         (ptmalloc_init): Set tunable values.
10831         * scripts/gen-tunables.awk: New file.
10832         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
10833         (_dl_sysdep_start): Call __tunables_init.
10835 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10837         * resolv/resolv.h (RES_BLAST): Deprecate.
10838         * resolv/res_debug.c (p_option): Remove RES_BLAST.
10839         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
10840         to RES_BLAST.
10842 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10844         [BZ #19582]
10845         Deprecate RES_USE_INET6.
10846         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
10847         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
10848         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
10849         RES_USE_INET6.
10850         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
10851         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
10852         (_nss_nisplus_gethostbyaddr_r): Likewise.
10853         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
10854         of res_use_inet6.
10855         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
10856         instead of RES_USE_INET6.
10857         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
10858         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
10859         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
10860         Likewise.
10861         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
10862         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
10863         Likewise.
10864         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
10865         (_nss_dns_gethostbyname_r): Likewise.
10866         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
10867         alternate RES_USE_INET6 handling.
10868         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
10869         instead of RES_USE_INET6.
10870         * resolv/res_init.c (res_setoptions): Likewise.
10871         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
10872         * resolv/resolv-internal.h: New file.
10873         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
10874         make the deprecation warning non-fatal.
10875         * resolv/README (Using the resolver in multi-threaded code): Drop
10876         reference to RES_USE_INET6.
10877         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
10878         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
10880 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10882         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
10883         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
10884         tst-resolv-search.
10885         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
10886         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
10887         with libresolv and libpthread.
10888         * resolv/tst-bug18665.c: New file.
10889         * resolv/tst-bug18665-tcp: Likewise.
10890         * resolv/tst-res_use_inet6: Likewise.
10891         * resolv/tst-resolv-basic: Likewise.
10892         * resolv/tst-resolv-network: Likewise.
10893         * resolv/tst-resolv-search: Likewise.
10894         * support/Makefile (libsupport-routines): Add check_addrinfo,
10895         check_dns_packet, check_hostent, check_netent, resolv_test,
10896         support_format_address_family, support_format_addrinfo,
10897         support_format_dns_packet, support_format_herrno,
10898         support_format_hostent, support_format_netent, support_run_diff,
10899         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
10900         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
10901         xstrdup, xwrite.
10902         * support/check_addrinfo.c: New file.
10903         * support/check_dns_packet.c: Likewise.
10904         * support/check_hostent.c: Likewise.
10905         * support/check_netent.c: Likewise.
10906         * support/check_nss.h: Likewise.
10907         * support/format_nss.h: Likewise.
10908         * support/resolv_test.c: Likewise.
10909         * support/resolv_test.h: Likewise.
10910         * support/run_diff.h: Likewise.
10911         * support/support_format_address_family.c: Likewise.
10912         * support/support_format_addrinfo.c: Likewise.
10913         * support/support_format_dns_packet.c: Likewise.
10914         * support/support_format_herrno.c: Likewise.
10915         * support/support_format_hostent.c: Likewise.
10916         * support/support_format_netent.c: Likewise.
10917         * support/support_run_diff.c: Likewise.
10918         * support/xaccept.c: Likewise.
10919         * support/xbind.c: Likewise.
10920         * support/xconnect.c: Likewise.
10921         * support/xfclose.c: Likewise.
10922         * support/xfopen.c: Likewise.
10923         * support/xgetsockname.c: Likewise.
10924         * support/xlisten.c: Likewise.
10925         * support/xmemstream.c: Likewise.
10926         * support/xmemstream.h: Likewise.
10927         * support/xpoll.c: Likewise.
10928         * support/xpthread_once.c: Likewise.
10929         * support/xrecvfrom.c: Likewise.
10930         * support/xsendto.c: Likewise.
10931         * support/xsetsockopt.c: Likewise.
10932         * support/xstdio.h: Likewise.
10933         * support/xstrdup.c: Likewise.
10934         * support/support.h (xstrdup): Declare.
10935         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
10936         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
10937         * support/xthread.h (xpthread_once): Likwise.
10938         * support/xunistd.h (xwrite): Declare.
10940 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10942         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
10943         (test_verbose): Declare.
10944         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
10945         * support/support_test_main.c (default_options): Likewise.
10946         (usage, support_test_main): Handle 'v'.
10947         (test_verbose): Define.
10948         * support/tst-support_record_failure.c (do_test): Use
10949         test_verbose.
10950         * support/tst-support_record_failure-2.sh (different_status): Add
10951         --verbose test.
10953 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10955         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
10956         test failures are recorded.
10957         * support/check.c (support_print_failure_impl): Call
10958         support_record_failure.
10959         (support_exit_failure_impl): Call support_record_failure if status
10960         indicates failure.
10961         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
10962         * support/xasprintf.c (xasprintf): Likewise.
10963         * support/xfork.c (xfork): Likewise.
10964         * support/xpthread_check_return.c (xpthread_check_return):
10965         Likewise.
10966         * support/xsocket.c (xsocket): Likeweise.
10967         * support/xwaitpid.c (xwaitpid): Likewise.
10968         * support/support_record_failure.c (struct test_failures): Adjust
10969         to coding style.
10970         * support/support_test_verify_impl.c (support_test_verify_impl):
10971         Adjust error messages.
10972         * support/tst-support_record_failure-2.sh (different_status):
10973         Adjust error messages.
10975 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10977         * support/namespace.h: New file.
10978         * support/support_become_root.c: Likewise.
10979         * support/support_enter_network_namespace.c: Likewise.
10980         * support/tst-support-namespace.c: Likewise.
10981         * support/xsocket.c: Likewise.
10982         * support/xsocket.h: Likewise.
10983         * support/Makefile (libsupport-routines): Add support_become_root,
10984         support_enter_network_namespace, xsocket.
10985         (tests): Add tst-support-namespace.
10987 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10989         [BZ #17252]
10990         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
10991         __USE_GNU.
10993 2016-12-31  Torvald Riegel  <triegel@redhat.com>
10995         [BZ #13165]
10996         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
10997         use new algorithm.
10998         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10999         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11000         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11001         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11002         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11003         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11004         __condvar_cleanup_waiting, __condvar_dec_grefs,
11005         __pthread_cond_wait_common): New.
11006         (__condvar_cleanup): Remove.
11007         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11008         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11009         Likewise.
11010         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11011         Likewise.
11012         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11013         * nptl/tst-cond1.c: Add comment.
11014         * nptl/tst-cond20.c (do_test): Adapt.
11015         * nptl/tst-cond22.c (do_test): Likewise.
11016         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11017         structure.
11018         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11019         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11020         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11021         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11022         Likewise.
11023         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11024         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11025         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11026         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11027         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11028         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11029         Likewise.
11030         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11031         Likewise.
11032         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11033         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11034         (COND_CLOCK_BITS): Adapt.
11035         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11036         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11037         __PTHREAD_COND_SHARED_MASK): New.
11038         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11039         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11040         * nptl/nptl_lock_constants.pysym: Adapt.
11041         * nptl/test-cond-printers.py: Adapt.
11042         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11043         cond_compat_check_and_clear): Adapt.
11044         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11045         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11046         (__pthread_cond_timedwait): ... and move here.
11047         * nptl/DESIGN-condvar.txt: Remove file.
11048         * nptl/lowlevelcond.sym: Likewise.
11049         * nptl/pthread_cond_timedwait.c: Likewise.
11050         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11051         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11052         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11053         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11054         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11055         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11056         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11057         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11058         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11059         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11060         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11061         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11062         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11063         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11064         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11065         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11067 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
11069         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11070         (fromfp): New declaration.
11071         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11072         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11073         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11074         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11075         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11076         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11077         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11078         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11079         * math/math.h: Include <bits/types.h>.
11080         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11081         constant and macro.
11082         (FP_INT_DOWNWARD): Likewise.
11083         (FP_INT_TOWARDZERO): Likewise.
11084         (FP_INT_TONEARESTFROMZERO): Likewise.
11085         (FP_INT_TONEAREST): Likewise.
11086         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11087         (fromfpf): Likewise.
11088         (fromfpl): Likewise.
11089         (ufromfp): Likewise.
11090         (ufromfpf): Likewise.
11091         (ufromfpl): Likewise.
11092         (fromfpx): Likewise.
11093         (fromfpxf): Likewise.
11094         (fromfpxl): Likewise.
11095         (ufromfpx): Likewise.
11096         (ufromfpxf): Likewise.
11097         (ufromfpxl): Likewise.
11098         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11099         s_fromfpxF and s_ufromfpxF.
11100         * math/gen-fromfp-tests.py: New file.
11101         * math/gen-fromfp-tests-inputs: Likewise.
11102         * math/libm-test.inc: Include <stdint.h>
11103         (check_intmax_t): New function.
11104         (check_uintmax_t): Likewise.
11105         (struct test_fiu_M_data): New type.
11106         (struct test_fiu_U_data): Likewise.
11107         (RUN_TEST_fiu_M): New macro.
11108         (RUN_TEST_LOOP_fiu_M): Likewise.
11109         (RUN_TEST_fiu_U): Likewise.
11110         (RUN_TEST_LOOP_fiu_U): Likewise.
11111         (fromfp_test_data): New array.
11112         (fromfp_test): New function.
11113         (fromfpx_test_data): New array.
11114         (fromfpx_test): New function.
11115         (ufromfp_test_data): New array.
11116         (ufromfp_test): New function.
11117         (ufromfpx_test_data): New array.
11118         (ufromfpx_test): New function.
11119         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
11120         ufromfpx_test.
11121         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
11122         characters.
11123         * math/test-tgmath-ret.c: Include <stdint.h>.
11124         (rm): New variable.
11125         (width): Likewise.
11126         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
11127         called function.
11128         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
11129         CHECK_RET_CONST_TYPE.
11130         (CHECK_RET_CONST_DOUBLE): Likewise.
11131         (CHECK_RET_CONST_LDOUBLE): Likewise.
11132         (CHECK_RET_CONST): Take extra arguments and pass them to calls
11133         macros.
11134         (fromfp): New CHECK_RET_CONST call.
11135         (ufromfp): Likewise.
11136         (fromfpx): Likewise.
11137         (ufromfpx): Likewise.
11138         (do_test): Call check_return_fromfp, check_return_ufromfp,
11139         check_return_fromfpx and check_return_ufromfpx.
11140         * math/test-tgmath.c: Include <stdint.h>
11141         (NCALLS): Increase to 138.
11142         (F(compile_test)): Initialize i.  Call fromfp functions.
11143         (F(fromfp)): New function.
11144         (F(fromfpx)): Likewise.
11145         (F(ufromfp)): Likewise.
11146         (F(ufromfpx)): Likewise.
11147         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
11148         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
11149         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
11150         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
11151         ufromfpxl.
11152         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
11153         ufromfp and ufromfpx.
11154         * math/fromfp.h: New file.
11155         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
11156         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
11157         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
11158         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
11159         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
11160         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
11161         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
11162         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
11163         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
11164         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
11165         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
11166         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
11167         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
11168         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
11169         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
11170         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
11171         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
11172         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
11173         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
11174         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
11175         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
11176         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
11177         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
11178         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
11179         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
11180         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
11181         ufromfp, fromfpx and ufromfpx.
11182         (CFLAGS-nldbl-fromfp.c): New variable.
11183         (CFLAGS-nldbl-fromfpx.c): Likewise.
11184         (CFLAGS-nldbl-ufromfp.c): Likewise.
11185         (CFLAGS-nldbl-ufromfpx.c): Likewise.
11186         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
11187         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
11188         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
11189         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
11190         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
11191         * sysdeps/nacl/libm.abilist: Update.
11192         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11193         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11194         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11195         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11196         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11197         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11198         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11199         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11200         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11201         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11202         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11203         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11205         Likewise.
11206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11207         Likewise.
11208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11209         Likewise.
11210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11211         Likewise.
11212         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11213         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11214         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11215         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11216         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11218         Likewise.
11219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11220         Likewise.
11221         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11222         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11223         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11225 2016-12-30  Florian Weimer  <fweimer@redhat.com>
11227         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
11228         compat-gethnamaddr.
11229         (CPPFLAGS): Remove.
11230         * resolv/gethnamaddr.c: Rename ...
11231         * resolv/compat-gethnamaddr.c: ... to this file.
11232         (_endhtent): Make static.
11233         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
11234         symbol.
11235         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
11236         compat symbol.
11237         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
11238         symbol.
11239         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
11240         Turn into compat symbol.
11241         * include/resolv.h (_endhtent): Remove declaration.
11243 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
11245         * bits/types.h (__intmax_t): New typedef.
11246         (__uintmax_t): Likewise.
11247         * sysdeps/generic/stdint.h: Include <bits/types.h>.
11248         (intmax_t): Define using __intmax_t.
11249         (uintmax_t): Define using __uintmax_t.
11251         * support/Makefile (tests-special): Make definition conditional on
11252         [$(run-built-tests) = yes].
11253         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
11254         on [$(run-built-tests) = yes].
11256 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11258         * Rules (tests): Add tests-printers-programs to tests to be
11259         built.
11261 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11263         * sysvipc/Makefile (tests): Add test-sysvshm.
11264         * sysvipc/test-sysvshm.c: New file.
11266         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
11267         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
11268         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
11269         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
11270         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
11271         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
11272         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
11273         Likewise.
11274         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
11275         Likewise.
11276         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
11277         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
11278         is defined.
11280         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
11281         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
11282         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
11283         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
11284         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
11285         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
11286         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
11287         Likewise.
11288         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
11289         Likewise.
11290         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
11291         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
11292         defined.
11294         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11295         oldshmctl.
11296         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
11297         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
11298         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
11299         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
11300         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
11301         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
11302         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
11303         Likewise.
11304         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
11305         Likewise.
11306         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
11307         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
11308         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
11309         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
11310         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
11311         implementation.
11312         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
11313         if it is defined.
11315         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
11316         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
11317         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
11318         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
11319         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
11320         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
11321         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
11322         Likewise.
11323         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
11324         Likewise.
11325         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
11326         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
11327         Define to __NR_osf_shmat.
11328         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
11329         defined.
11331         * sysvipc/Makefile (tests): Add test-sysvsem.
11332         * sysvipc/test-sysvsem.c: New file.
11334         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
11335         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
11336         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
11337         Likewise.
11338         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
11339         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
11340         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
11341         Likewise.
11342         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
11343         Likewise.
11344         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
11345         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
11346         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
11347         add a comment about s390 syscall difference from default one.
11348         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
11349         syscall if it is defined.
11351         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
11352         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
11353         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
11354         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
11355         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
11356         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
11357         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
11358         Likewise.
11359         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
11360         Likewise.
11361         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
11362         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
11363         defined.
11365         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
11366         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
11367         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
11368         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
11369         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
11370         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
11371         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
11372         Likewise.
11373         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
11374         Likewise.
11375         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
11376         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
11377         if it is defined.
11379         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11380         oldsemctl.
11381         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
11382         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
11383         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
11384         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
11385         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
11386         implementation.
11387         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
11388         syscall if it is defined.
11389         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
11390         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
11391         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
11392         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
11393         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
11394         Likewise.
11395         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
11397         * sysvipc/Makefile (tests): Add test-sysvmsg.
11398         * sysvipc/test-sysvmsg.c: New file.
11399         * support/check.h (FAIL_UNSUPPORTED): New define.
11401         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
11402         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
11403         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
11404         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
11405         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
11406         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
11407         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
11408         Likewise.
11409         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
11410         Likewise.
11411         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
11412         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
11413         define.
11415         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
11416         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
11417         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
11418         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
11419         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
11420         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
11421         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
11422         Likewise.
11423         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
11424         Likewise.
11425         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
11426         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
11427         if defined.
11429         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
11430         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
11431         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11432         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11433         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11434         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
11435         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11436         Likewise.
11437         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
11438         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
11439         Likewise.
11440         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
11441         if defined.
11442         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
11444         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11445         oldmsgctl.
11446         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
11447         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
11448         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
11449         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
11450         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11451         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11452         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11453         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11454         Likewise.
11455         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
11456         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
11457         implementation.
11458         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
11459         if defined.
11461         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
11462         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
11463         definition and define its own.
11464         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
11465         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
11466         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
11467         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
11468         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
11469         definitions to common header.
11470         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
11471         operation from ipc_ops.h.
11473         * sysdeps/unix/sysv/linux/kernel-features.h
11474         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
11475         * sysdeps/unix/sysv/linux/i386/kernel-features.h
11476         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
11477         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11478         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11479         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11480         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11481         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11482         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11483         * sysdeps/unix/sysv/linux/s390/kernel-features.h
11484         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11485         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11486         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11487         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11488         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11490 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11492         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
11493         overflow in pointer addition.
11495 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11497         * sysdeps/powerpc/powerpc64/multiarch/Makefile
11498         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
11499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11500         (strchr): Add __strchr_power8 to list of strchr functions.
11501         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
11502         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
11503         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
11504         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
11505         (strchr): Add __strchr_power8 to ifunc list.
11506         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
11507         (__strchrnul): Add __strchrnul_power8 to ifunc list.
11508         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
11509         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
11511 2016-12-28  Florian Weimer  <fweimer@redhat.com>
11513         * support/Makefile (libsupport-routines): Add
11514         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
11515         (tests): Add tst-support_record_failure.
11516         (tests-special): tst-support_record_failure-2.
11517         (tst-support_record_failure-2.out): Depend on
11518         tst-support_record_failure-2.sh and tst-support_record_failure.
11519         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
11520         (support_test_verify_impl, support_record_failure)
11521         (support_report_failure, support_report_failure_reset): Declare.
11522         * support/support_test_main.c (adjust_exit_status): New function.
11523         (support_test_main): Call it to incorporate record test failures.
11524         * support/support_test_verify_impl.c: New file.
11525         * support/support_record_failure.c: Likewise.
11526         * support/tst-support_record_failure.c: Likewise.
11527         * support/tst-support_record_failure-2.sh: Likewise.
11528         * support/xunistd.h: Likewise.
11529         * support/xfork.c: Likewise.
11530         * support/xwaitpid.c: Likewise.
11532 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
11534         * scripts/check-c++-types.sh: Add comments.
11536 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
11538         [BZ #19514]
11539         * resolv/res_send.c: Fix typo in comment.
11540         * sysdeps/i386/i386-mcount.S: Likewise.
11541         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11542         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11543         * sysdeps/sparc/sparc-mcount.S: Likewise.
11545 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11547         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
11548         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
11549         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
11550         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
11551         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
11552         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
11553         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
11554         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
11556 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11558         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
11560 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11562         [BZ #17252]
11563         * posix/unistd.h (getentropy): Declare.
11565 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11567         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
11568         Remove.
11569         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
11570         (cmd): Remove spoof, nospoof, spoofalert.
11571         (parse_line): Ignore spoof-related lines.
11572         (do_init): Do not process RESOLV_SPOOF_CHECK.
11574 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11576         [BZ #20964]
11577         sunrpc: Always obtain AF_INET addresses from NSS.
11578         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
11579         * sunrpc/rpc_gethostbyname.c: New file.
11580         * sunrpc/Makefile (routines): Add it.
11581         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
11582         * sunrpc/clnt_simp.c (callrpc): Likewise.
11583         * sunrpc/getrpcport.c (getrpcport): Likewise.
11585 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11587         * sunrpc/rpcinfo.c: Remove.
11588         * sunrpc/Makefile: Remove comments referring to rpcinfo.
11590 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11592         [BZ #19387]
11593         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
11594         addition.
11595         * string/test-memchr.c (do_test): Remove alignment limitation.
11596         (test_main): Add test that trigger BZ #19387.
11598 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11600         [BZ #7065]
11601         Enable stack protectore if requested by ./configure.
11602         * Makeconfig (+stack-protector): New variable.
11603         (+cflags): Use it.
11605 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11607         [BZ #7065]
11608         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
11609         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
11610         (__rt_sigreturn_stub): Use inhibit_stack_protector.
11611         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11612         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
11614 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11616         [BZ #7065]
11617         * login/Makefile (pt_chown-cflags): Remove.
11618         * nscd/Makefile (CFLAGS-nscd): Likewise.
11619         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11621 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11623         [BZ #7065]
11624         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
11625         non-libc-linking testcase.
11627 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11628             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11629             Florian Weimer  <fweimer@redhat.com>
11631         [BZ #7065]
11632         PLT avoidance for __stack_chk_fail*.
11633         * debug/Makefile (CFLAGS-stack_chk_fail.c)
11634         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
11635         * debug/stack_chk_fail.c (__stack_chk_fail): Add
11636         __stack_chk_fail_local alias.
11637         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
11638         (__stack_chk_fail): Turn into hidden reference to
11639         __stack_chk_fail_local.
11641 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11643         [BZ #7065]
11644         * configure.ac: Add check for unsupported stack-protection level.
11645         (libc_cv_predef_stack_protector): Remove.
11646         (no_ssp): New variable.
11647         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
11648         (stack_protector): Set to -fno-stack-protector similarly.
11649         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
11650         (libc_cv_asm_set_directive): Likewise.
11651         (libc_cv_protected_data): Likewise.
11652         (libc_cv_z_combreloc): Likewise.
11653         (libc_cv_hashstyle): Likewise.
11654         (libc_cv_has_glob_dat): Likewise.
11655         (libc_cv_output_format): Likewise.
11656         (libc_cv_output_format): Likewise.
11657         (libc_cv_ehdr_start): Likewise.
11658         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
11659         (LIBC_LINKER_FEATURE): Likewise.
11660         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
11662 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11664         [BZ #7065]
11665         * elf/Makefile (dummy-stack-chk-fail): New.
11666         (librtld.map): Use it.
11668 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11670         [BZ #7065]
11671         Compile the dynamic linker without stack protection.
11672         * elf/Makefile (elide-stack-protector): New.
11673         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
11674         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
11675         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
11676         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
11678 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11680         [BZ #7065]
11681         * config.make.in (have-ssp, no-stack-protector): New.
11682         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
11683         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
11684         (CFLAGS-sbrk.op): Likewise.
11685         (CFLAGS-brk.o): Likewise.
11686         (CFLAGS-brk.op): Likewise.
11687         * string/Makefile (CFLAGS-memcpy.c): Likewise.
11688         (CFLAGS-wordcopy.c): Likewise.
11690 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11692         [BZ #7065]
11693         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
11694         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
11695         * include/libc-symbols.h (inhibit_stack_protector): New macro.
11696         (__ifunc_resolver): Use it.
11697         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
11698         inhibit_stack_protector.
11699         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
11700         * elf/ifuncmain7.c (foo_ifunc): Likewise.
11701         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
11702         (foo_protected_ifunc): Likewise.
11703         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
11704         (foo_protected_ifunc): Likewise.
11705         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
11706         * sysdeps/nacl/nacl_interface_query.c
11707         (nacl_interface_query_ifunc): Likewise.
11708         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
11709         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
11710         Likewise.
11711         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
11712         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
11713         the generated vDSO syscall resolver.
11715 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11716             Florian Weimer  <fweimer@redhat.com>
11718         [BZ #7065]
11719         Initialize the stack guard earlier when linking statically.
11720         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
11721         (__pthread_initialize_minimal): Declare.
11722         * csu/libc-start.c (__pthread_initialize_minimal): Remove
11723         declaration.
11724         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
11725         stack canary and apply_irel initialization up.  Call
11726         __pthread_initialize_minimal only if linked in.
11727         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
11728         constant values.
11729         (__pthread_initialize_minimal): Remove.
11730         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
11731         (__pthread_initialize_minimal_internal): Do not call
11732         __libc_setup_tls.
11734 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11736         [BZ #7065]
11737         * configure.ac (libc_cv_ssp): Move up.
11738         (libc_cv_ssp_strong): Likewise.
11739         (libc_cv_ssp_all): New.
11740         (stack_protector): Augment, adding -fstack-protector-all.
11741         (no_stack_protector): New.
11742         (STACK_PROTECTOR_LEVEL): New.
11743         (AC_ARG_ENABLE(stack-protector)): New configure flag.
11744         * manual/install.texi (--enable-stack-protector): Document it.
11745         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
11747 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
11749         * README.pretty-printers: Must specify CPPFLAGS-* also.
11750         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
11751         (CPPFLAGS-test-mutex-printers.c): Define.
11752         (CPPFLAGS-test-condattr-printers.c): Define.
11753         (CPPFLAGS-test-cond-printers.c): Define.
11754         (CPPFLAGS-test-rwlockattr-printers.c): Define.
11755         (CPPFLAGS-test-rwlock-printers.c): Define.
11757         * nss/Makefile [ifeq (yes,$(have-thread-library))]
11758         (tests): Add tst-cancel-getpwuid_r.
11759         * nss/tst-cancel-getpwuid_r.c: New file.
11761         [BZ #11941]
11762         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
11763         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
11764         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
11765         tst-nodelete-dlclose.
11766         (modules-names): Add tst-nodelete-dlclose-dso and
11767         tst-nodelete-dlclose-plugin.
11768         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
11769         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
11770         ($(objpfx)tst-nodelete-dlclose): Define.
11771         ($(objpfx)tst-nodelete-dlclose.out): Define.
11773 2016-12-23  Florian Weimer  <fweimer@redhat.com>
11775         * scripts/test_printers_common.py: Log GDB output in case of
11776         Python detection failure.
11778 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11780         * configure.ac: Check for python3 or python.
11781         * configure: Regenerated.
11782         * config.make.in (PYTHON): New variable.
11783         * benchtests/Makefile: Don't define PYTHON.
11784         (bench): Define target only if PYTHON was defined.
11785         * Rules: Don't define PYTHON.
11786         Define pretty printer targets only if PYTHON was defined.
11787         (tests-printers): Add to tests-unsupported if PYTHON is not
11788         found.
11789         (python-flags, python-invoke): Remove.
11790         (tests-printers-out): Use PYTHON instead of python-invoke.
11792 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
11794         [BZ #20978]
11795         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11796         Compare name == NULL, not name != NULL.
11798         * manual/texinfo.tex: Update to version 2016-09-18.18 with
11799         trailing whitespace removed.
11800         * scripts/config.guess: Update to version 2016-10-02.
11801         * scripts/config.sub: Update to version 2016-11-19.
11802         * scripts/install-sh: Update to version 2016-01-11.22.
11803         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
11804         * scripts/move-if-change: Update to version 2016-01-11 22:04.
11806 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
11808         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
11809         (do_one_test) Restore original string so iteration works.
11810         * string/string-inlines.c (do_test): Create better input strings.
11811         (test_main) Reduce number of testruns.
11812         * string/string-inlines.c (__old_strsep_1c): New function.
11813         (__old_strsep_2c): Likewise.
11814         (__old_strsep_3c): Likewise.
11815         * string/strsep.c (__strsep): Remove case of small delim string.
11816         Call strcspn directly rather than strpbrk.
11817         * string/bits/string2.h (__strsep): Remove define.
11818         (__strsep_1c): Remove.
11819         (__strsep_2c): Remove.
11820         (__strsep_3c): Remove.
11821         (strsep): Remove.
11822         * sysdeps/unix/sysv/linux/internal_statvfs.c
11823         (__statvfs_getflags): Rename to __strsep.
11825 2016-12-21  Florian Weimer  <fweimer@redhat.com>
11827         * csu/libc-tls.c (_dl_tls_setup): Remove.
11828         * elf/dl-tls.c (_dl_tls_setup): Likewise.
11829         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
11830         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
11832 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
11834         [BZ #7065]
11835         * sysdeps/x86_64/Makefile [$(subdir) = elf]
11836         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
11838 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
11839             Florian Weimer  <fweimer@redhat.com>
11841         [BZ #7065]
11842         * csu/Makefile (tests): Empty assignment and document it.
11843         (tests-static): Remove.
11844         * csu/tst-empty.c: Move to...
11845         * misc/tst-empty.c: ... here.  Switch to new test driver.
11846         * csu/tst-atomic.c: Move to...
11847         * misc/tst-atomic.c: ... here.  Switch to new test driver.
11848         * csu/tst-atomic-long.c: Move to...
11849         * misc/tst-atomic-long.c: ... here.
11850         * misc/Makefile (tests): Add tst-empty, tst-atomic,
11851         tst-atomic-long.
11852         (tests-static): Add tst-empty.
11854 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
11856         * manual/nss.texi: Change incorrect @vtable to @table.
11857         * manual/arith.texi: Convert @tables of variables to @vtables
11858         and remove unnecessary indexing.
11859         * manual/filesys.texi: Likewise.
11860         * manual/llio.texi: Likewise.
11861         * manual/memory.texi: Likewise.
11862         * manual/process.texi: Likewise.
11863         * manual/resource.texi: Likewise.
11864         * manual/search.texi: Likewise.
11865         * manual/signal.texi: Likewise.
11866         * manual/socket.texi: Likewise.
11867         * manual/stdio.texi: Likewise.
11868         * manual/sysinfo.texi: Likewise.
11869         * manual/syslog.texi: Likewise.
11870         * manual/terminal.texi: Likewise.
11871         * manual/time.texi: Likewise.
11872         * manual/users.texi: Likewise.
11874 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
11876         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11877         (roundeven): New declaration.
11878         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
11879         macro.
11880         * math/Versions (roundeven): New libm symbol at version
11881         GLIBC_2.25.
11882         (roundevenf): Likewise.
11883         (roundevenl): Likewise.
11884         * math/Makefile (libm-calls): Add s_roundevenF.
11885         * math/libm-test.inc (roundeven_test_data): New array.
11886         (roundeven_test): New function.
11887         (main): Call roundeven_test.
11888         * math/test-tgmath.c (NCALLS): Increase to 134.
11889         (F(compile_test)): Call roundeven.
11890         (F(roundeven)): New function.
11891         * manual/arith.texi (Rounding Functions): Document roundeven,
11892         roundevenf and roundevenl.
11893         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
11894         * include/math.h (roundeven): Use libm_hidden_proto.
11895         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
11896         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
11897         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
11898         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
11899         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
11900         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
11901         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11902         roundeven.
11903         (CFLAGS-nldbl-roundeven.c): New variable.
11904         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
11905         * sysdeps/nacl/libm.abilist: Update.
11906         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11907         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11908         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11909         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11910         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11911         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11912         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11913         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11914         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11915         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11916         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11917         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11919         Likewise.
11920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11921         Likewise.
11922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11923         Likewise.
11924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11925         Likewise.
11926         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11927         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11928         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11929         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11930         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11932         Likewise.
11933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11934         Likewise.
11935         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11936         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11937         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11939 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
11941         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
11942         preprocessor indentation inside #if.
11944 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11946         * math/libm-test.inc (fmt_ftostr): New function.
11947         (print_float, check_float_internal): Replace some uses of
11948         FTOSTR with uses of fmt_ftostr.
11949         (print_max_error, print_complex_max_error, print_function_ulps)
11950         (print_complex_function_ulps): Remove uses of the macros
11951         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
11952         * math/test-double.h (FTOSTR): Define to strfromd.
11953         (PRINTF_EXPR): Delete.
11954         (PRINTF_XEXPR): Likewise.
11955         (PRINTF_NEXPR): Likewise.
11956         * math/test-float.h (FTOSTR): Define to strfromf.
11957         (PRINTF_EXPR): Delete.
11958         (PRINTF_XEXPR): Likewise.
11959         (PRINTF_NEXPR): Likewise.
11960         * math/test-ldouble.h (FTOSTR): Define to strfroml.
11961         (PRINTF_EXPR): Delete.
11962         (PRINTF_XEXPR): Likewise.
11963         (PRINTF_NEXPR): Likewise.
11965 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11967         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
11968         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
11969         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
11970         (__lll_lock_elision): Decrement adapt_count while unlocking
11971         instead of before locking.
11972         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
11973         (__lll_trylock_elision): Likewise.
11974         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
11975         (__lll_unlock_elision): Likewise.
11977 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11979         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
11980         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
11981         Use __libc_tbegin_retry macro.
11983 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11985         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
11986         Add -msoft-float.
11987         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
11988         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
11989         Use __libc_t* transaction macros instead of __builtin_t*.
11990         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11991         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11993 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11995         * sysdeps/unix/sysv/linux/s390/elision-lock.c
11996         (__lll_lock_elision): Use atomics to load / store adapt_count.
11997         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
11998         (__lll_trylock_elision): Likewise.
12000 2016-12-20  Florian Weimer  <fweimer@redhat.com>
12002         Do not require memset elimination in explicit_bzero test.
12003         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12004         (enum test_expectation): Add NO_EXPECTATIONS.
12005         (subtests): NO_EXPECTATIONS for ordinary clear.
12006         (check_test_buffer): Handle NO_EXPECTATIONS.
12007         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12009 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12011         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12012         (fmaxmag): New declaration.
12013         (fminmag): Likewise.
12014         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12015         macro.
12016         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12017         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12018         (fmaxmagf): Likewise.
12019         (fmaxmagl): Likewise.
12020         (fminmag): Likewise.
12021         (fminmagf): Likewise.
12022         (fminmagl): Likewise.
12023         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12024         * math/s_fmaxmag_template.c: New file.
12025         * math/s_fminmag_template.c: Likewise.
12026         * math/libm-test.inc (fmaxmag_test_data): New array.
12027         (fmaxmag_test): New function.
12028         (fminmag_test_data): New array.
12029         (fminmag_test): New function.
12030         (main): Call fmaxmag_test and fminmag_test.
12031         * math/test-tgmath.c (NCALLS): Increase to 132.
12032         (F(compile_test)): Call fmaxmag and fminmag.
12033         (F(fminmag)): New function.
12034         (F(fmaxmag)): Likewise.
12035         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12036         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12037         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12038         fminmag.
12039         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12040         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12041         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12042         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12043         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12044         and fminmag.
12045         (CFLAGS-nldbl-fmaxmag.c): New variable.
12046         (CFLAGS-nldbl-fminmag.c): Likewise.
12047         * sysdeps/nacl/libm.abilist: Update.
12048         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12049         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12050         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12051         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12052         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12053         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12054         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12055         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12056         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12057         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12058         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12059         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12061         Likewise.
12062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12063         Likewise.
12064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12065         Likewise.
12066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12067         Likewise.
12068         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12069         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12070         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12071         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12072         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12074         Likewise.
12075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12076         Likewise.
12077         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12078         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12079         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12081 2016-12-19  Torvald Riegel  <triegel@redhat.com>
12083         [BZ #20973]
12084         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12085         wake-up in robust mutexes.
12086         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12088 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12090         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12091         (CFLAGS-bench-fmaxf.c): New rule.
12092         (CFLAGS-bench-fminf.c): Likewise.
12093         * benchtests/fmaxf-inputs: New file.
12094         * benchtests/fminf-inputs: Likewise.
12096         * benchtests/Makefile (bench-math): Add fmin and fmax.
12097         (CFLAGS-bench-fmax.c): New rule.
12098         (CFLAGS-bench-fmin.c): Likewise.
12099         * benchtests/fmax-inputs: New file.
12100         * benchtests/fmin-inputs: Likewise.
12102         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
12103         parenthesis.
12104         (CMDLINE_PROCESS): Define using function instead of macro.
12105         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
12106         of test-skeleton.
12107         * benchtests/bench-memchr.c: Likewise.
12108         * benchtests/bench-memcmp.c: Likewise.
12109         * benchtests/bench-memcpy-large.c: Likewise.
12110         * benchtests/bench-memcpy.c: Likewise.
12111         * benchtests/bench-memmem.c: Likewise.
12112         * benchtests/bench-memmove-large.c: Likewise.
12113         * benchtests/bench-memmove.c: Likewise.
12114         * benchtests/bench-memset-large.c: Likewise.
12115         * benchtests/bench-memset.c: Likewise.
12116         * benchtests/bench-rawmemchr.c: Likewise.
12117         * benchtests/bench-strcasecmp.c: Likewise.
12118         * benchtests/bench-strcasestr.c: Likewise.
12119         * benchtests/bench-strcat.c: Likewise.
12120         * benchtests/bench-strchr.c: Likewise.
12121         * benchtests/bench-strcmp.c: Likewise.
12122         * benchtests/bench-strcpy.c: Likewise.
12123         * benchtests/bench-strcpy_chk.c: Likewise.
12124         * benchtests/bench-strlen.c: Likewise.
12125         * benchtests/bench-strncasecmp.c: Likewise.
12126         * benchtests/bench-strncmp.c: Likewise.
12127         * benchtests/bench-strncpy.c: Likewise.
12128         * benchtests/bench-strnlen.c: Likewise.
12129         * benchtests/bench-strpbrk.c: Likewise.
12130         * benchtests/bench-strrchr.c: Likewise.
12131         * benchtests/bench-strsep.c: Likewise.
12132         * benchtests/bench-strspn.c: Likewise.
12133         * benchtests/bench-strstr.c: Likewise.
12134         * benchtests/bench-strtok.c: Likewise.
12136 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12138         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
12139         stepping identification.
12140         (init_cpu_features): Add handle of Haswell.
12142 2016-11-25  Jim Meyering  <meyering@fb.com>
12144         [BZ #20386]
12145         Let gcc detect assert(a = 1) errors.
12146         * assert/assert.h (assert): Rewrite, retaining the old definintion
12147         when required, but otherwise putting the expression as-is in an "if"
12148         expression (hence, with no added parentheses) within a statement
12149         expression.
12151 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12153         * benchtests/Makefile (binaries-benchset): Depend on libsupport
12154         DSO.
12156 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
12158         * Rules (python-flags, python-invoke): New.
12159         ($(test-printers-out)): Use $(python-flags).
12161 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12163         * manual/arith.texi (Math Error Reporting): Document that sNaN
12164         arguments are not considered domain errors.
12166 2016-12-16  Zack Weinberg <zackw@panix.com>
12167             Florian Weimer <fweimer@redhat.com>
12168             Nick Mathewson <nickm@torproject.org>
12170         * string/explicit_bzero.c: New routine.
12171         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
12172         * string/Makefile (routines, strop-tests, tests): Add them.
12173         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
12174         * string/string.h [__USE_MISC]: Declare explicit_bzero.
12176         * debug/explicit_bzero_chk.c: New routine.
12177         * debug/Makefile (routines): Add it.
12178         * debug/tst-chk1.c: Test fortification of explicit_bzero.
12179         * string/bits/string3.h: Fortify explicit_bzero.
12181         * manual/string.texi: Document explicit_bzero.
12182         * NEWS: Mention addition of explicit_bzero.
12184         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
12185         data before returning, using explicit_bzero.
12186         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
12187         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12188         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12190         * include/string.h: Redirect internal uses of explicit_bzero
12191         to __explicit_bzero_chk[_internal].
12192         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
12193         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
12194         * sysdeps/arm/nacl/libc.abilist
12195         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12196         * sysdeps/unix/sysv/linux/alpha/libc.abilist
12197         * sysdeps/unix/sysv/linux/arm/libc.abilist
12198         * sysdeps/unix/sysv/linux/hppa/libc.abilist
12199         * sysdeps/unix/sysv/linux/i386/libc.abilist
12200         * sysdeps/unix/sysv/linux/ia64/libc.abilist
12201         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12202         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12203         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12204         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12205         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12206         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12207         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12208         * sysdeps/unix/sysv/linux/nios2/libc.abilist
12209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12213         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12214         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12215         * sysdeps/unix/sysv/linux/sh/libc.abilist
12216         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12217         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12220         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12221         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12222         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12223         Add entries for explicit_bzero and __explicit_bzero_chk.
12225 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12227         * math/fenv.h
12228         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
12229         (FE_SNANS_ALWAYS_SIGNAL): New macro.
12230         * math/test-fe-snans-always-signal.c: New file.
12231         * math/Makefile (tests): Add test-fe-snans-always-signal.
12232         (CFLAGS-test-fe-snans-always-signal.c): New variable.
12233         * manual/arith.texi (Infinity and NaN): Document
12234         FE_SNANS_ALWAYS_SIGNAL.
12236 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12238         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
12239         bracket.
12241 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12243         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
12244         before calling execv.
12246 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12248         [BZ #20971]
12249         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
12250         overflow in pointer addition.
12251         * string/test-memchr.c (do_test): Add an argument to pass as
12252         the size on memchr.
12253         (test_main): Add check for SIZE_MAX.
12255 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12257         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
12258         (libm-calls): Add w_scalblnF.
12259         * math/w_scalbln.c: Remove.
12260         * math/w_scalblnf.c: Likewise.
12261         * math/w_scalblnl.c: Likewise.
12262         * math/w_scalbln_template.c: New file with type-generic
12263         implementation based on math/w_scalbln.c.
12264         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
12265         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
12267 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
12269         [BZ #20947]
12270         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
12271         either is a signaling NaN.
12272         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
12273         follow fmaxl more closely.
12274         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
12275         when either is a signaling NaN.
12276         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
12277         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
12278         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
12279         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
12280         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
12281         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
12282         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
12283         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
12284         (fmin_test_data): Likewise.
12286 2016-12-15  Andreas Schwab  <schwab@suse.de>
12288         * support/support_test_main.c (support_test_main): Don't shadow
12289         file-local variable test_pid.
12291 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
12293         [BZ #20947]
12294         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
12295         either is a signaling NaN.
12296         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
12298 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
12300         [BZ #20947]
12301         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
12302         when either is a signaling NaN.
12303         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
12305         * bits/long-double.h: New file.
12306         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
12307         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
12308         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
12309         * sysdeps/mips/bits/long-double.h: Likewise.
12310         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
12311         * math/Makefile (headers): Add bits/long-double.h.
12312         * misc/sys/cdefs.h: Include <bits/long-double.h>.
12313         * stdlib/strtold.c: Include <bits/long-double.h> instead of
12314         <bits/wordsize.h>.
12315         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
12316         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
12317         * math/math.h: Do not include <bits/mathdef.h>.
12318         * sysdeps/aarch64/bits/mathdef.h: Remove file.
12319         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
12320         inclusion.
12321         * sysdeps/ia64/bits/mathdef.h: Remove file.
12322         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
12323         * sysdeps/mips/bits/mathdef.h: Likewise.
12324         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12325         * sysdeps/s390/bits/mathdef.h: Likewise.
12326         * sysdeps/sparc/bits/mathdef.h: Likewise.
12327         * sysdeps/x86/bits/mathdef.h: Likewise.
12328         * sysdeps/s390/s390-32/bits/wordsize.h
12329         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
12330         conditional code.
12331         * sysdeps/s390/s390-64/bits/wordsize.h
12332         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12333         Likewise.
12334         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
12335         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12336         Likewise.
12337         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
12338         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12339         Likewise.
12340         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
12341         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12342         Likewise.
12344         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
12345         <linux/falloc.h>.
12346         (FALLOC_FL_KEEP_SIZE): Remove.
12347         (FALLOC_FL_PUNCH_HOLE): Likewise.
12348         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
12349         (FALLOC_FL_ZERO_RANGE): Likewise.
12351 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12353         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
12355 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12357         * sysdeps/unix/sysv/linux/renameat.c: New file.
12358         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
12360         * sysdeps/unix/sysv/linux/rename.c: New file.
12361         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
12363 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
12365         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
12366         * string/strtok.c (strtok): Change to tailcall __strtok_r.
12367         * string/strtok_r.c (__strtok_r): Optimize for performance.
12368         * string/string-inlines.c (__old_strtok_r_1c): New function.
12369         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
12371 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12373         * math/Makefile (gen-libm-calls): Add w_log1pF.
12374         (libm-calls): Remove w_log1pF.
12375         * math/w_log1p.c: Remove.
12376         * math/w_log1pf.c: Likewise.
12377         * math/w_log1pl.c: Likewise.
12378         * math/w_log1p_template.c: New file with type-generic
12379         implementation based on math/w_log1p.c.
12380         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
12381         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
12383 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
12385         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
12387 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
12389         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12390         kernel version to 4.9.
12392 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
12394         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
12395         ($(inst_libdir)/libm.a): Fix rule to create the target only.
12397 2016-12-13  Andreas Schwab  <schwab@suse.de>
12399         * sysdeps/powerpc/dl-procinfo.c: Don't define
12400         _dl_powerpc_platforms.
12401         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
12402         constants instead of referencing _dl_powerpc_platforms.
12403         (_dl_platform_string): Remove.
12405 2016-12-13  Florian Weimer  <fweimer@redhat.com>
12407         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
12409 2016-12-13  Florian Weimer  <fweimer@redhat.com>
12411         * Rules (binaries-shared-tests, binaries-pie-tests)
12412         (binaries-static-tests): Link with $(link-extra-libs-tests).
12413         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
12414         Remove $(link-extra-libs-tests).
12416 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12418         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12419         (sysdep_routines): Add strncmp_power9.
12420         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12421         (strncmp): Add __strncmp_power9 to list of strncmp functions.
12422         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
12423         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12424         (strncmp): Add __strncmp_power9 to ifunc list.
12425         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
12427 2016-12-12  Florian Weimer  <fweimer@redhat.com>
12429         [BZ #17252]
12430         Add getentropy, getrandom.
12431         * stdlib/sys/random.h: New file.
12432         (headers): Add it.
12433         * stdlib/Makefile (routines): Add getentropy, getrandom.
12434         (tests): Add tst-getrandom.
12435         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
12436         * stdlib/getentropy.c: New file.
12437         * stdlib/getrandom.c: Likewise.
12438         * stdlib/tst-getrandom.c: Likewise.
12439         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
12440         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
12441         * manual/crypt.texi (Unpredictable Bytes): New section.
12442         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
12443         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
12444         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12445         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12446         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12447         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12448         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12449         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12450         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12451         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12452         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12453         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12454         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12455         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12456         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12457         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12459         Likewise.
12460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12461         Likewise.
12462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12464         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12465         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12466         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12467         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12468         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12471         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12472         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12473         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12475 2016-12-10  Florian Weimer  <fweimer@redhat.com>
12477         [BZ #20956]
12478         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
12479         as additional compiler barriers.
12480         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
12481         (fn2, do_test): Declare with external linkage.
12482         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
12483         (do_test): Declare with external linkage.
12484         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
12485         (do_test): Declare with external linkage.
12486         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
12487         (do_test): Declare with external linkage.
12489 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
12491         * support/support_test_main.c (support_test_main): Use correct
12492         timeout.
12494 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
12495             Florian Weimer  <fweimer@redhat.com>
12497         [BZ #16421]
12498         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
12499         and __u6_addr32 members.
12500         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
12501         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
12502         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
12503         Use __u6_addr32.
12504         * inet/tst-checks.c: Use <support/test-driver.c>
12505         * inet/tst-checks-posix.c: New file.
12506         * inet/Makefile (tests): Add it.
12507         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
12509 2016-12-09  Florian Weimer  <fweimer@redhat.com>
12511         New subdirectory support for build and test infrastructure.
12512         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
12513         setting install-lib.
12514         * Makeconfig (link-extra-libs-tests): Define.
12515         (+link-pie-tests, +link-static-tests, +link-tests): Use
12516         link-extra-libs-tests.
12517         (rpath-dirs, all-subdirs): Add support.
12518         (built-modules): Add libsupport.
12519         (libsupport): Define.
12520         * support: New directory.
12521         * support/Makefile: New file.
12522         * support/check.c: Likewise.
12523         * support/check.h: Likewise.
12524         * support/delayed_exit.c: Likewise.
12525         * support/ignore_stderr.c: Likewise.
12526         * support/oom_error.c: Likewise.
12527         * support/set_fortify_handler.c: Likewise.
12528         * support/support.h: Likewise.
12529         * support/temp_file-internal.h: Likewise.
12530         * support/temp_file.c: Likewise.
12531         * support/test-driver.c: Likewise.
12532         * support/test-driver.h: Likewise.
12533         * support/test_main.c: Likewise.
12534         * support/write_message.c: Likewise.
12535         * support/xasprintf.c: Likewise.
12536         * support/xcalloc.c: Likewise.
12537         * support/xmalloc.c: Likewise.
12538         * support/xpthread_barrier_destroy.c: Likewise.
12539         * support/xpthread_barrier_init.c: Likewise.
12540         * support/xpthread_barrier_wait.c: Likewise.
12541         * support/xpthread_cancel.c: Likewise.
12542         * support/xpthread_check_return.c: Likewise.
12543         * support/xpthread_cond_wait.c: Likewise.
12544         * support/xpthread_create.c: Likewise.
12545         * support/xpthread_detach.c: Likewise.
12546         * support/xpthread_join.c: Likewise.
12547         * support/xpthread_mutex_lock.c: Likewise.
12548         * support/xpthread_mutex_unlock.c: Likewise.
12549         * support/xpthread_sigmask.c: Likewise.
12550         * support/xpthread_spin_lock.c: Likewise.
12551         * support/xpthread_spin_unlock.c: Likewise.
12552         * support/xrealloc.c: Likewise.
12553         * support/xsignal.h: Likewise.
12554         * support/xthread.h: Likewise.
12555         * support_tempfile.h: Likewise.
12556         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
12557         (TEST_DATA_LIMIT): Remove unused macro.
12558         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
12559         <support/check.h>.
12560         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
12561         (ignore_stderr, set_fortify_handler): Remove.  Now in
12562         <support/support.h>.
12563         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
12564         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
12565         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
12566         (xpthread_join): Remove.  Now in <support/xthread.h>.
12567         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
12568         Introduce legacy wrappers.
12569         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
12570         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
12571         (write_message): Remove.
12572         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
12573         test-skeleton.c.
12574         * io/test-open-tmpfile: Likewise.
12575         * io/tst-posix_fallocate-common.c: Likewise.
12576         * libio/tst-fseek.c: Likewise.
12577         * malloc/tst-malloc-backtrace.c: Likewise.
12578         * malloc/tst-malloc-fork-deadlock.c: Likewise.
12579         * malloc/tst-malloc-thread-exit.c: Likewise.
12580         * nptl/tst-cancel7.c: Likewise.
12581         * nptl/tst-cleanup0.c: Likewise.
12582         * posix/tst-posix_fadvise-common.c: Likewise.
12583         * rt/tst-shm.c: Likewise.
12584         * time/bug-getdate1.c: Likewise.
12585         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12586         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
12587         * elf/Makefile (tst-piemod1.so): Link against libsupport.
12589 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
12591         * Rules [$(run-built-tests) != no] (tests-expected): Add
12592         $(tests-printers).
12593         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
12595 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
12597         [BZ #20539]
12598         * math/Makefile (install-lib-ldscripts): Add libm.a.
12599         (install_subdir): Remove.
12600         (install-others): Add.
12601         ($(inst_libdir)/libm.a): Add rule for installation as
12602         linker script.
12603         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
12605 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
12607         * INSTALL: Regenerated.
12608         * Makeconfig: Add comments and whitespace to make the control flow
12609         clearer.
12610         (+link-printers-tests, +link-pie-printers-tests,
12611         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
12612         built-rtld-LDFLAGS, link-libc-rpath,
12613         link-libc-tests-after-rpath-link,
12614         link-libc-printers-tests): New.
12615         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
12616         link-libc-tests): Use the new variables as required.
12617         * Makerules ($(py-const)): New rule.
12618         generated: Add $(py-const).
12619         * README.pretty-printers: New file.
12620         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
12621         (others): Depend on $(py-const).
12622         (tests): Depend on $(tests-printers-programs) or
12623         $(tests-printers-out),
12624         as required.  Pass $(tests-printers) to merge-test-results.sh.
12625         * manual/install.texi: Add requirements for testing the pretty
12626         printers.
12627         * nptl/Makefile (gen-py-const-headers, pretty-printers,
12628         tests-printers, CFLAGS-test-mutexattr-printers.c
12629         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
12630         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
12631         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
12632         * nptl/nptl-printers.py: New file.
12633         * nptl/nptl_lock_constants.pysym: Likewise.
12634         * nptl/test-cond-printers.c: Likewise.
12635         * nptl/test-cond-printers.py: Likewise.
12636         * nptl/test-condattr-printers.c: Likewise.
12637         * nptl/test-condattr-printers.py: Likewise.
12638         * nptl/test-mutex-printers.c: Likewise.
12639         * nptl/test-mutex-printers.py: Likewise.
12640         * nptl/test-mutexattr-printers.c: Likewise.
12641         * nptl/test-mutexattr-printers.py: Likewise.
12642         * nptl/test-rwlock-printers.c: Likewise.
12643         * nptl/test-rwlock-printers.py: Likewise.
12644         * nptl/test-rwlockattr-printers.c: Likewise.
12645         * nptl/test-rwlockattr-printers.py: Likewise.
12646         * scripts/gen-py-const.awk: Likewise.
12647         * scripts/test_printers_common.py: Likewise.
12648         * scripts/test_printers_exceptions.py: Likewise.
12650 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
12652         * scripts/build-many-glibcs.py (Context.__init__): Take strip
12653         argument.
12654         (Glibc.build_glibc): Strip installed shared libraries if
12655         requested.
12656         (get_parser): Add --strip option.
12657         (main): Update Context call.
12659 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12660             Dominik Vogt  <vogt@linux.vnet.ibm.com>
12662         [BZ #20847]
12663         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
12664         array bounds for else branch.
12665         (__execvpe): Style fixes.
12666         * posix/tst-vfork3.c (run_script): New function.
12667         (create_script): Likewise.
12668         (do_test): Use run_script internal function.
12669         (do_prepare): Use create_script internal function.
12671 2016-12-07  Andreas Schwab  <schwab@suse.de>
12673         * sysdeps/unix/sysv/linux/x86/elision-conf.h
12674         (__elision_available): Don't declare.
12675         * sysdeps/unix/sysv/linux/x86/elision-conf.c
12676         (__elision_available): Don't define.
12677         (elision_init): Don't set __elision_available.
12679 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
12681         [BZ #20940]
12682         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
12683         return Inf for arguments Inf and sNaN.
12684         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
12685         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12686         Likewise.
12687         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12688         Likewise.
12689         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12690         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
12691         for arguments Inf and sNaN.  When returning a NaN, compute it by
12692         arithmetic on the arguments.
12693         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
12694         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
12695         arguments.
12697 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
12699         [BZ #20916]
12700         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
12701         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
12702         to compute result.
12703         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12704         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
12706 2016-12-05  Torvald Riegel  <triegel@redhat.com>
12708         * include/atomic.h (__atomic_check_size_ls): New.
12709         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
12710         atomic_store_release): Use it.
12711         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
12712         (elision_adapt, ELIDE_LOCK): Use atomics.
12713         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
12714         atomics and improve code comments.
12715         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
12716         (__lll_trylock_elision): Likewise.
12718 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12720         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
12721         programs.
12723 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
12725         [BZ #20916]
12726         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
12727         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
12728         arguments to compute result.
12729         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
12730         1 for arguments (sNaN, 0) or (1, sNaN).
12731         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12732         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12734         [BZ #20919]
12735         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
12736         NaN first argument when raised to power 0.
12737         * math/w_pow.c (__pow): Do not check for NaN or zero results from
12738         raising to power zero.
12739         * math/w_powf.c (__powf): Likewise.
12740         * math/w_powl.c (__powl): Likewise.
12741         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
12742         pow (0, 0) or pow (NaN, 0).
12744 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
12746         [BZ #20918]
12747         * configure.ac: Test for static NSS cryptographic libraries and set
12748         libc_cv_static_nss_crypt.
12749         * configure: Regenerate.
12750         * config.make.in (static-nss-crypt): Define.
12751         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
12752         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
12753         (CFLAGS-tst-linkall-static.c): Define.
12754         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
12755         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
12756         ($(objpfx)tst-linkall-static): Define.
12757         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
12758         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
12760 2016-12-02  Florian Weimer  <fweimer@redhat.com>
12762         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
12763         (one-hundred, tst-tls-many-dynamic-modules): Define.
12764         (modules-names): Add $(tst-tls-many-dynamic-modules).
12765         (tst-tls-manydynamic%mod.os): Build with special preprocessor
12766         macros.
12767         (tst-tls-manydynamic): Link against libdl, libpthread.
12768         (tst-tls-manydynamic.out): The test needs the test modules at run
12769         time.
12770         * elf/tst-tls-manydynamic.c: New file.
12771         * elf/tst-tls-manydynamic.h: Likewise.
12772         * elf/tst-tls-manydynamicmod.c: Likewise.
12774 2016-12-02  Florian Weimer  <fweimer@redhat.com>
12776         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
12777         (TLS_DTV_UNALLOCATED): Add.
12778         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
12779         offsets.
12781 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
12783         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12785 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
12787         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
12788         Add -fno-optimize-sibling-calls.
12790 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
12792         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
12793         New declaration.
12794         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
12795         macro.
12796         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
12797         New macro.
12798         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
12799         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
12800         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
12801         (llogbf): Likewise.
12802         (llogbl): Likewise.
12803         * math/Makefile (gen-libm-calls): Add w_llogbF.
12804         (tests): Add test-fp-llogb-constants.
12805         * math/w_llogb_template.c: New file.  Based on
12806         math/w_ilogb_template.c.
12807         * math/libm-test.inc (llogb_test_data): New array.
12808         (llogb_test): New function.
12809         (main): Call llogb_test.
12810         * math/test-fp-llogb-constants.c: New file.  Based on
12811         math/test-fp-ilogb-constants.c.
12812         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
12813         (do_test): Call check_return_llogb.
12814         * math/test-tgmath.c (NCALLS): Increase to 126.
12815         (F(compile_test)): Call llogb.
12816         (F(llogb)): New function.
12817         * manual/math.texi (Exponents and Logarithms): Document llogb,
12818         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
12819         * manual/libm-err-tab.pl (@all_functions): Add llogb.
12820         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
12821         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
12822         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
12823         (CFLAGS-nldbl-llogb.c): New variable.
12824         * sysdeps/nacl/libm.abilist: Update.
12825         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12826         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12827         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12828         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12829         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12830         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12831         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12832         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12833         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12834         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12835         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12836         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12838         Likewise.
12839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12840         Likewise.
12841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12842         Likewise.
12843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12844         Likewise.
12845         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12846         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12847         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12848         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12849         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12851         Likewise.
12852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12853         Likewise.
12854         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12855         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12856         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12858 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
12860         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
12861         _Float128 instead of long double.
12862         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
12864         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
12865         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
12866         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
12867         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
12868         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
12869         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
12870         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
12871         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
12872         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
12873         Likewise.
12875 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12877         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
12878         Remove redirection to __strrchr_ppc.
12880 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12882         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12883         (sysdep_routines): Add strcmp_power9.
12884         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12885         (strcmp): Add __strcmp_power9 to list of strcmp functions.
12886         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
12887         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
12888         (strcmp): Add __strcmp_power9 to ifunc list.
12889         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
12891 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
12893         * bits/fp-logb.h: New file.
12894         * sysdeps/ia64/bits/fp-logb.h: Likewise.
12895         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
12896         * sysdeps/x86/bits/fp-logb.h: Likewise.
12897         * math/Makefile (headers): Add bits/fp-logb.h.
12898         * math/math.h: Include <bits/fp-logb.h>.
12899         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
12900         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
12901         * bits/mathdef.h (FP_ILOGB0): Remove.
12902         (FP_ILOGBNAN): Likewise.
12903         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
12904         (FP_ILOGBNAN): Likewise.
12905         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
12906         (FP_ILOGBNAN): Likewise.
12907         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
12908         (FP_ILOGBNAN): Likewise.
12909         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
12910         (FP_ILOGBNAN): Likewise.
12911         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
12912         (FP_ILOGBNAN): Likewise.
12913         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
12914         (FP_ILOGBNAN): Likewise.
12915         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
12916         (FP_ILOGBNAN): Likewise.
12917         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
12918         (FP_ILOGBNAN): Likewise.
12919         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
12920         (FP_ILOGBNAN): Likewise.
12922         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
12923         time module.
12924         (Context.__init__): Initialize self.logsdir_old.
12925         (Context.run_builds): Handle bot action.
12926         (Context.bot_cycle): Copy logs directory before running builds.
12927         (Context.bot_run_self): Take argument for whether to check
12928         subprocess result.  Flush stdout before running subprocess.
12929         (Context.bot): New function.
12930         (get_parser): Allow bot action.
12932 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
12934         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
12935         Import email.mime.text, email.utils and smtplib modules.
12936         (Context.__init__): Initialize self.bot_config_json.
12937         (Context.run_builds): Handle bot-cycle action.
12938         (Context.load_bot_config_json): New function.
12939         (Context.part_build_old): Likewise.
12940         (Context.bot_cycle): Likewise.
12941         (Context.bot_build_mail): Likewise.
12942         (Context.bot_run_self): Likewise.
12943         (get_parser): Allow bot-cycle action.
12945 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12947         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
12948         Remove redirection to __stpcpy_ppc.
12950 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12952         Remove __libc_memalign from ld.so because it is unused.
12953         * elf/dl-minimal.c: Update comment on the malloc implementation.
12954         (malloc): Renamed from __libc_memalign, replacing the original
12955         malloc implementation.  Replace the align parameter with
12956         MALLOC_ALIGNMENT.
12957         * elf/Versions (ld): Update comment and remove __libc_memalign.
12958         * sysdeps/nacl/ld.abilist: Likewise.
12959         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12960         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12961         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12962         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12963         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12964         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12965         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12966         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12967         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12968         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12969         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12970         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12971         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12975         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12976         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12977         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12978         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12979         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
12981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
12982         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
12983         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12984         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12985         * sysdeps/generic/localplt.data (ld.so): Likewise.
12986         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
12987         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
12988         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
12989         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
12990         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
12991         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
12992         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
12993         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
12994         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
12995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
12996         (ld.so): Likewise.
12997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12998         (ld.so): Likewise.
12999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13000         Likewise.
13001         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13002         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13003         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13004         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13005         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13007 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13009         [BZ #16628]
13010         Implement _dl_catch_error, _dl_signal_error in libc.so.
13011         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13012         (catch_hook): Define as thread-local or regular variable,
13013         depending on DL_ERROR_BOOTSTRAP.
13014         (CATCH_HOOK): Remove.
13015         (dl_signal_error, _dl_catch_error): Use
13016         catch_hook.  Add hidden definition for libc.
13017         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
13018         for DL_ERROR_BOOTSTRAP only.
13019         * elf/dl-error.c: New file.
13020         * elf/dl-error-minimal.c: Likewise.
13021         * elf/tst-latepthread.c: Likewise.
13022         * elf/tst-latepthreadmod.c: Likewise.
13023         * elf/Makefile (routines): Add dl-error.
13024         (dl-routines): Remove dl-error.
13025         (rtld-routines): Add dl-error-minimal.
13026         [build-shared] (tests): Add tst-latepthread.
13027         (module-names): Add tst-latepthreadmod.
13028         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13029         symbol.
13030         (tst-latepthreadmod.so): Link against libpthread.
13031         (tst-latepthread): Link against libdbl.
13032         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13033         _dl_catch_error.
13034         [ld] (GLIBC_PRIVATE): Likewise.
13035         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13036         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13037         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13038         directly.
13039         * elf/dl-tsd.c: Remove file.
13040         * elf/rtld.c (_rtld_global_ro): Remove initializers for
13041         _dl_catch_error, _dl_signal_error.
13042         (_dl_initial_error_catch_tsd): Remove definition.
13043         (do_preload): Remove initialization of dl_error_catch_tsd.
13044         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13045         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13046         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13047         * dlfcn/dlopen.c (dlopen_doit): Likewise.
13048         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13049         set dl_error_catch_tsd.
13050         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13051         _dl_error_catch_tsd member.
13052         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13053         members.
13054         (_dl_initial_error_catch_tsd): Remove declaration.
13055         (_dl_dprintf): Provide definition for use outside of ld.so.
13056         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13057         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
13058         prototype for libc.
13059         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13060         _dl_catch_error.
13061         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13062         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13063         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13064         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13065         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13066         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13067         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13068         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13069         Likewise.
13070         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13072         (ld.so): Likewise.
13073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13074         (ld.so): Likewise.
13075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13076         Likewise.
13077         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13078         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13079         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13080         Likewise.
13081         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13082         Likewise.
13083         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13085 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13087         [BZ #4099]
13088         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13089         _IO_BUFSIZ (8192).
13091 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
13093         * PROJECTS: Remove file.
13095 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13097         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13099 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
13100             Steve Ellcey  <sellcey@caviumnetworks.com>
13102         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
13103         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
13104         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
13105         fxstatat.
13106         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
13107         lxstat.
13108         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
13109         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
13110         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
13111         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
13112         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
13113         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
13114         __xstat.
13116 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13118         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
13119         Define.
13120         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
13121         definition.
13123 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13125         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
13126         version and turn into strong alias.  Remove compat symbol.
13128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13129         (__longjmp): Remove.
13131 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
13133         * bits/fp-fast.h: New file.
13134         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13135         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
13136         * math/Makefile (headers): Add bits/fp-fast.h.
13137         * math/math.h: Include <bits/fp-fast.h>.
13138         * bits/mathdef.h (FP_FAST_FMA): Remove.
13139         (FP_FAST_FMAF): Likewise.
13140         (FP_FAST_FMAL): Likewise.
13141         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
13142         (FP_FAST_FMAF): Likewise.
13143         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
13144         (FP_FAST_FMAF): Likewise.
13145         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
13146         (FP_FAST_FMAF): Likewise.
13147         (FP_FAST_FMAL): Likewise.
13148         * sysdeps/arm/bits/mathdef.h: Remove file.
13149         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
13150         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13151         * sysdeps/tile/bits/mathdef.h: Likewise.
13153 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
13155         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
13156         * math/w_ilogb.c: Remove.
13157         * math/w_ilogbf.c: Likewise.
13158         * math/w_ilogbl.c: Likewise.
13159         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
13160         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
13161         * math/Makefile (gen-libm-calls): Add w_ilogbF.
13162         (libm-calls): Remove w_ilogbF.
13163         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
13164         (LDOUBLE_ilogbl_libm_version): New macro.
13166         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
13168         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
13169         [!__STRICT_ANSI__ && !__cplusplus].
13171 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
13173         [BZ #20750]
13174         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
13175         of PIC.
13177 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
13178             Yury Norov  <ynorov@caviumnetworks.com>
13179             Steve Ellcey  <sellcey@caviumnetworks.com>
13181         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
13182         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
13183         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
13184         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
13185         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
13186         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
13187         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
13188         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
13189         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
13190         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
13191         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
13192         to get correct reg name for ILP32.
13193         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
13194         (RELA_SIZE): New Macro.
13195         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
13196         to support ILP32.
13197         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
13198         cast for ILP32 mode.
13199         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
13200         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
13201         * sysdeps/aarch64/memset.S (__memset): Ditto.
13202         * sysdeps/aarch64/strchr.S (strchr): Ditto.
13203         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
13204         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
13205         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
13206         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
13207         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
13208         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
13209         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
13210         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
13211         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
13212         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
13213         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
13214         change PTR_MANGLE call to use register numbers instead of names.
13215         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
13216         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
13217         ILP32 mode, change PTR_MANGLE calls to use register numbers.
13218         * sysdeps/aarch64/start.S (_start): Ditto.
13219         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
13220         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
13221         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
13222         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
13223         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
13224         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
13225         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
13226         Make defined values dependent on __ILP32__.
13227         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
13228         (sem_t): Change __align type.
13229         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
13230         PTR_SIZE): New Macros.
13231         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
13232         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
13233         Set when in ILP32 mode.
13234         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
13235         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
13236         Set elf flags for ILP32.
13237         (add_system_dir): Set ILP32 library directories.
13238         * sysdeps/unix/sysv/linux/aarch64/init-first.c
13239         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
13240         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
13241         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
13242         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
13243         New Macros.
13244         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
13246 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
13248         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
13249         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
13250         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
13252 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
13254         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
13255         <asm/cachectl.h>.
13257 2016-11-27  Zack Weinberg  <zackw@panix.com>
13259         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
13260         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
13262 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13264         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
13265         error_t to fix usage in C++ programs.
13267 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
13269         * scripts/build-many-glibcs.py: Import datetime module.
13270         (Context.__init__): Load JSON build state.  Initialize list of
13271         status logs.
13272         (Context.run_builds): Update saved build state.
13273         (Context.add_makefile_cmdlist): Update list of status logs.
13274         (Context.load_build_state_json): New function.
13275         (Context.store_build_state_json): Likewise.
13276         (Context.clear_last_build_state): Likewise.
13277         (Context.update_build_state): Likewise.
13278         (CommandList.status_logs): Likewise.
13280 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
13282         * scripts/build-many-glibcs.py (Context.__init__): Save text of
13283         script being executed.
13284         (Context.get_script_text): New function.
13285         (Context.exec_self): Likewise.
13286         (Context.checkout): Re-exec script if changed by checkout process.
13288 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
13290         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13291         (setpayloadsig): New declaration.
13292         * math/Versions (setpayloadsig): New libm symbol at version
13293         GLIBC_2.25.
13294         (setpayloadsigf): Likewise.
13295         (setpayloadsigl): Likewise.
13296         * math/Makefile (libm-calls): Add s_setpayloadsigF.
13297         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
13298         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
13299         (setpayloadsig_test_data): New array.
13300         (setpayloadsig_test): New function.
13301         (main): Call setpayloadsig_test.
13302         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
13303         setpayloadsigf and setpayloadsigl.
13304         * manual/libm-err-tab.pl: Update comment on interfaces without
13305         ulps tabulated.
13306         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
13307         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
13308         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
13309         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
13310         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
13311         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
13312         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13313         setpayloadsig.
13314         (CFLAGS-nldbl-setpayloadsig.c): New variable.
13315         * sysdeps/nacl/libm.abilist: Update.
13316         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13317         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13318         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13319         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13320         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13321         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13322         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13323         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13324         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13325         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13326         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13327         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13329         Likewise.
13330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13331         Likewise.
13332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13333         Likewise.
13334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13335         Likewise.
13336         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13337         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13338         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13339         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13340         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13342         Likewise.
13343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13344         Likewise.
13345         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13346         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13347         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13349         * scripts/build-many-glibcs.py: Import json module.
13350         (Context.__init__): Take replace_sources argument.  Load
13351         versions.json.
13352         (Context.load_versions_json): New function.
13353         (Context.store_json): Likewise.
13354         (Context.store_versions_json): Likewise.
13355         (Context.set_component_version): Likewise.
13356         (Context.checkout): Update versions.json.  Check for and handle
13357         changes of version.  Prefer previously explicitly specified
13358         version to default version.
13359         (Context.checkout_vcs): Return a revision identifier.
13360         (Context.git_checkout): Likewise.
13361         (Context.gcc_checkout): Likewise.
13362         (get_parser): Add --replace-sources option.
13363         (main): Pass replace_sources argument to Context call.
13365 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13367         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
13368         * nptl/allocatestack.c (allocate_stack): Likewise.
13369         (__reclaim_stacks): Likewise.
13370         (setxid_signal_thread): Obtain pid through syscall.
13371         * nptl/nptl-init.c (sigcancel_handler): Likewise.
13372         (sighandle_setxid): Likewise.
13373         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
13374         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13375         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13376         Likewise.
13377         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
13378         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
13379         comment.
13380         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
13381         * nptl/descr.h (struct pthread): Change comment about pid value.
13382         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
13383         pid assert.
13384         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
13385         Do not set pid value.
13386         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
13387         pid cache check.
13388         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
13389         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
13390         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
13391         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
13392         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
13393         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13394         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
13395         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
13396         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
13397         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
13398         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
13399         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13400         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
13401         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13402         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
13403         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
13404         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13405         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
13406         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
13407         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
13408         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
13409         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13410         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
13411         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
13412         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
13413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13415         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13416         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13417         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13418         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
13419         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
13420         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
13421         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13422         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
13423         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13424         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
13425         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13426         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
13427         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
13428         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13429         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
13430         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
13431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13433         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13434         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13435         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13436         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13437         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13438         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
13439         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13440         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
13441         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
13442         struct access.
13443         (clone_test): Remove function.
13444         (do_test): Rewrite to take in consideration pid is not cached anymore.
13446 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
13448         * bits/flt-eval-method.h: New file.
13449         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
13450         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
13451         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
13452         * math/Makefile (headers): Add bits/flt-eval-method.h.
13453         * math/math.h: Include <bits/flt-eval-method.h>.
13454         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
13455         [__USE_ISOC99] (double_t): Likewise.
13456         * bits/mathdef.h (float_t): Remove.
13457         (double_t): Likewise.
13458         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
13459         (double_t): Likewise.
13460         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
13461         (double_t): Likewise.
13462         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
13463         (double_t): Likewise.
13464         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
13465         (double_t): Likewise.
13466         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
13467         (double_t): Likewise.
13468         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
13469         (double_t): Likewise.
13470         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
13471         (double_t): Likewise.
13472         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
13473         (double_t): Likewise.
13474         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
13475         (double_t): Likewise.
13476         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
13477         (double_t): Likewise.
13478         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
13479         (double_t): Likewise.
13480         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
13481         (double_t): Likewise.
13482         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
13483         (double_t): Likewise.
13485 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
13487         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
13488         instead of PIC.
13490 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
13492         [BZ #20859]
13493         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
13494         (-0x7fffffff) instead of 0x80000001.
13495         * math/test-fp-ilogb-constants.c: New file.
13496         * math/Makefile (tests): Add test-fp-ilogb-constants.
13498 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
13500         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
13501         (_init): Use it in place of hardcoded R_MIPS_JALR.
13502         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
13503         (_init): Use it in place of hardcoded R_MIPS_JALR.
13504         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
13505         (_init): Use it in place of hardcoded R_MIPS_JALR.
13507 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
13509         [BZ #20787]
13510         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
13511         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
13512         (double_t): Do not define to double if [__x86_64__] when
13513         __FLT_EVAL_METHOD__ is nonzero.
13514         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
13515         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
13516         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13517         test-flt-eval-method-387 and test-flt-eval-method-sse.
13518         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
13519         variable.
13520         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
13522 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
13524         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
13525         use of -fno-isolate-erroneous-paths options for tilepro.
13527 2016-11-23  Florian Weimer  <fweimer@redhat.com>
13529         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
13530         structure initialization is no longer needed.
13532 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
13534         [BZ #20855]
13535         * bits/mathdef.h (float_t): Define to float.
13536         * math/test-flt-eval-method.c: New file.
13537         * math/Makefile (tests): Add test-flt-eval-method.
13538         (CFLAGS-test-flt-eval-method.c): New variable.
13540 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
13542         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
13543         and __fstatfs.  Make them aliases of __fstatfs64 if
13544         STATFS_IS_STATFS64 is set to non-zero.
13545         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
13546         and __statfs64.
13547         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
13548         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
13549         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
13550         for __statfs and statfs.
13551         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
13552         to 0.
13553         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
13554         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
13555         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
13556         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
13557         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
13558         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
13559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
13560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
13561         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
13562         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
13563         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
13564         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
13566 2016-11-22  Andreas Schwab  <schwab@suse.de>
13568         * misc/mkstemp.c: Include <fcntl.h>.
13569         * misc/mkstemps.c: Likewise.
13570         * misc/mkostemp.c: Likewise.
13571         * misc/mkostemps.c: Likewise.
13573 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
13575         [BZ #20847]
13576         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13577         array bounds.
13578         (__execvpe): Likewise.
13580 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
13582         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
13583         -fno-isolate-erroneous-paths options for tilepro.
13585 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
13587         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
13588         to 0 when in 32 bit mode.
13589         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
13590         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
13591         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
13592         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
13593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
13594         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
13595         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
13596         XSTAT_IS_XSTAT64 test.
13597         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
13598         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
13599         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
13600         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
13601         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
13602         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
13603         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
13604         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
13605         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
13606         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
13607         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
13609 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
13611         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13612         (setpayload): New declaration.
13613         * math/Versions (setpayload): New libm symbol at version
13614         GLIBC_2.25.
13615         (setpayloadf): Likewise.
13616         (setpayloadl): Likewise.
13617         * math/Makefile (libm-calls): Add s_setpayloadF.
13618         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
13619         test_Ff_b1_data.
13620         (RUN_TEST_Ff_b1): New macro.
13621         (RUN_TEST_LOOP_Ff_b1): Likewise.
13622         (canonicalize_test_data): Update type.
13623         (setpayload_test_data): New array.
13624         (setpayload_test): New function.
13625         (main): Call setpayload_test.
13626         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
13627         setpayloadf and setpayloadl.
13628         * manual/libm-err-tab.pl: Update comment on interfaces without
13629         ulps tabulated.
13630         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
13631         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
13632         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
13633         Likewise.
13634         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
13635         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
13636         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
13637         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
13638         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
13639         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
13640         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
13641         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
13642         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
13643         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13644         setpayload.
13645         (CFLAGS-nldbl-setpayload.c): New variable.
13646         * sysdeps/nacl/libm.abilist: Update.
13647         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13648         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13649         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13650         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13651         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13652         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13653         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13654         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13655         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13656         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13657         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13658         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13660         Likewise.
13661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13662         Likewise.
13663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13664         Likewise.
13665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13666         Likewise.
13667         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13668         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13669         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13670         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13671         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13673         Likewise.
13674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13675         Likewise.
13676         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13677         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13678         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13680 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13682         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
13683         * include/unistd.h: Extend comment about __access_noerrno return
13684         semantics.
13685         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
13686         (access_common): Correct typo for EACCES.
13688 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
13690         * sysdeps/tile/math-tests.h: New file.
13692         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
13693         (__old_set_dataplane): Rename from set_dataplane and make a
13694         compatibility symbol.
13695         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
13696         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
13697         sys/dataplane.h.
13699 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
13701         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
13702         script quote words in command output to log suitably for input to
13703         the shell.
13705 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
13706             Maciej W. Rozycki  <macro@imgtec.com>
13708         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
13709         `.Lno_weak_fn' label.
13710         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
13711         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
13713 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13714             Yury Norov  <ynorov@caviumnetworks.com>
13716         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
13717         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
13718         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13719         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
13720         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13721         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
13722         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13723         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13724         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13725         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
13726         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13727         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
13728         (sysdep_routines): Remove oldgetrlimit64.
13729         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
13730         (sysdep_routines): Likewise.
13731         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
13732         (sysdep_routines): Likewise.
13733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
13734         [$(subdir) = resource] (sysdep_routines): Likewise.
13735         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
13736         [$(subdir) = resource] (sysdep_routines): Likewise.
13737         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
13738         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
13739         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
13740         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
13741         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
13742         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13743         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
13744         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
13745         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
13746         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
13747         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
13748         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
13749         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
13750         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
13751         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
13752         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
13753         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
13754         setrlimit and getrlimit.
13755         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
13756         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13757         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
13758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
13760         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13761         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
13762         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13763         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13764         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
13765         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
13766         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
13767         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
13768         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
13769         (__old_getrlimit64): Add compatibility symbol.
13770         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
13772 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
13774         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
13775         newly built gmp, mpfr and mpc.
13777         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
13779 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
13781         * conform/Makefile (linknamespace-libs): Rename to
13782         linknamespace-libs-thr.
13783         (linknamespace-libs-posix): New variable.
13784         (linknamespace-libs-xsi): Likewise.
13785         (linknamespace-libs-XPG3): Include libcrypt.a.
13786         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
13787         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
13788         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
13789         (linknamespace-libs-XOPEN2K): Likewise.
13790         (linknamespace-libs-XOPEN2K8): Likewise.
13791         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
13793         [BZ #20829]
13794         * stdio-common/Versions (__snprintf): Add to version
13795         GLIBC_PRIVATE.
13796         * include/stdio.h (__snprintf): Use libc_hidden_proto.
13797         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
13798         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
13799         of snprintf.
13800         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13802 2016-11-16  Zack Weinberg  <zackw@panix.com>
13804         * string/string.h: Remove obsolete comment stating that
13805         strcoll_l and strxfrm_l have not yet been standardized.
13807 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13809         * hurd/hurd.h (__hurd_fail_noerrno): New function.
13810         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
13811         __access_noerrno.
13812         * io/access.c (__access_noerrno): New function.
13813         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
13814         (hurd_fail_seterrno): Likewise.
13815         (access_common): Likewise.
13816         (__access_noerrno): Likewise.
13817         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
13818         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
13819         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
13820         macro.
13822 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
13824         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
13825         Only declare fpregs if [__SH_FPU_ANY__].
13827 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
13829         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
13830         Make code unconditional.
13831         [!(__SH4__ || __SH4A__)]: Remove conditional code.
13833 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
13835         * manual/sysinfo.texi (S_APPEND): Delete.
13836         (S_IMMUTABLE): Likewise.
13838 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
13839             Magnus Granberg  <zorry@gentoo.org>
13840             Mike Frysinger  <vapier@gentoo.org>
13842         [BZ #20662]
13843         * configure.ac (libc_cv_predef_stack_protector): Also check for
13844         __stack_chk_fail_local symbols.
13845         * configure: Regenerated.
13847 2016-11-15  Florian Weimer  <fweimer@redhat.com>
13849         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
13850         (libc_hidden_def): Remove redefinition.
13851         (__sigsetjmp): Add hidden definition.
13852         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
13853         (libc_hidden_def): Remove redefinition.
13854         (__sigsetjmp): Add hidden definition.
13856 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
13858         * scripts/build-many-glibcs.py (os.path): Do not import.
13859         (Context): Inherit explicitly from object.  Remove blank line
13860         between class and docstring.
13861         (Config): Likewise.
13862         (Glibc): Likewise.
13863         (Command): Likewise.
13864         (CommandList): Likewise.
13865         (Context.write_files): Store chmod mode in a variable.
13867         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
13868         LIBC_SLIBDIR_RTLDDIR for tilegx32.
13869         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
13871 2016-11-14  Zack Weinberg  <zackw@panix.com>
13873         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
13874         creating or re-creating it.
13876         * string/bits/string2.h: Fix typo in comment.
13878 2016-11-14  Zack Weinberg  <zackw@panix.com>
13880         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
13881         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
13882         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
13883         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
13884         of redirected function names.
13886         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
13887         as well.  Document that MESSAGE must be a single string literal.
13889 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
13891         * scripts/build-many-glibcs.py: New file.
13893         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
13894         (do_test): Disable -Wmaybe-uninitialized around uses of
13895         except_mask.
13897         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
13899 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
13901         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
13902         (atomic_store_release): Provide tilepro-specific implementations.
13904 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
13906         * math/math.h (__MATH_TG): New macro.
13907         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
13908         [__USE_ISOC99] (signbit): Likewise.
13909         [__USE_ISOC99] (isfinite): Likewise.
13910         [__USE_ISOC99] (isnan): Likewise.
13911         [__USE_ISOC99] (isinf): Likewise.
13912         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
13913         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
13914         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
13915         __MATH_TG and __MATH_EVAL_FMT2.
13916         * sysdeps/generic/math_private.h (fabs_tg): Define using
13917         __MATH_TG.
13918         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
13919         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
13920         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
13921         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
13922         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
13923         macro.
13924         (__iscanonical): Likewise.
13925         (iscanonical): Define using __MATH_TG.
13927 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13929         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
13930         guards.
13932         * sysdeps/unix/sysv/linux/access.c: New file.
13933         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
13935 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
13937         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
13938         and __WORDSIZE32_PTRDIFF_LONG.
13940 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13942         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13944 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13946         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
13947         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
13948         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
13949         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
13950         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
13951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
13952         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
13953         * sysdeps/unix/sysv/linux/truncate.c: New file.
13954         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
13955         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
13956         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
13957         Remove.
13958         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
13959         Likewise.
13961         * posix/tst-truncate-common.c: New file.
13962         * posix/tst-truncate.c: Use tst-truncate-common.c.
13963         * posix/tst-truncate64.c: Likewise and add LFS tests.
13964         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
13965         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
13966         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
13967         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
13968         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
13969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
13970         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
13971         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
13972         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
13973         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
13974         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
13975         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
13976         Remove.
13977         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
13978         Likewise.
13980 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
13982         [BZ #20790]
13983         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
13984         to MAXLINESIZE.
13985         * sunrpc/bug20790.x: New file.
13986         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
13987         variable.
13988         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
13989         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
13991         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
13993         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
13995         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
13996         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
13997         calloc, realloc, free, memalign and __libc_memalign rather than
13998         making them optional.
14000         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14001         for libc.so.
14003 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14005         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14006         ptw-lseek64.
14007         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14008         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
14009         Likewise.
14010         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14011         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14012         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14013         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14014         * sysdeps/unix/sysv/linux/lseek.c: New file.
14015         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14016         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14017         __libc_lseek64 from auto-generation.
14018         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14019         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14021 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14023         * nptl/tst-basic1.c (tf, do_test): Use write_message.
14024         * nptl/tst-cleanup1.c (do_test): Likewise.
14025         * nptl/tst-cleanup3.c (do_test): Likewise.
14026         * nptl/tst-key1.c (do_test): Likewise.
14027         * nptl/tst-key2.c (tf, do_test): Likewise.
14028         * nptl/tst-key3.c (tf, do_test): Likewise.
14029         * nptl/tst-stdio1.c (do_test): Likewise.
14030         * nptl/tst-stdio2.c (do_test): Likewise.
14032         * nptl/tst-kill3.c (handler): Use write_message in place of write.
14033         * nptl/tst-kill6.c (handler): Likewise.
14034         * nptl/tst-tls2.c (CB): Likewise.
14035         * nptl/tst-tls3.c (CB): Likewise.
14037 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
14039         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14041 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
14042             Steve Ellcey  <sellcey@caviumnetworks.com>
14044         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14045           __ASSUME_ST_INO_64_BIT as 0
14046         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14047         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14048           over the code where __ASSUME_ST_INO_64_BIT is used.
14049         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14050         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14051         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14053 2016-11-07  Florian Weimer  <fweimer@redhat.com>
14055         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14056         Document ABI exposure of the __kind offset.
14057         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14058         Mention reason for the __kind offset exposure in the ABI.
14059         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14060         Likewise.
14061         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14062         Likewise.
14063         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14064         Likewise.
14065         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14066         (struct __pthread_mutex_s): Likewise.
14067         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14068         Likewise.
14069         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14070         Likewise.
14071         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14072         Likewise.
14073         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14074         Likewise.
14075         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14076         Likewise.
14077         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14078         Likewise.
14079         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14080         (struct __pthread_mutex_s): Likewise.
14081         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14082         (struct __pthread_mutex_s): Likewise.
14083         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14084         Likewise.
14086 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
14088         * test-skeleton.c: Document do_test usage.
14090 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
14092         * iconv/gconv.h (__gconv_info): Define __data element using a
14093         zero-length array.
14095 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
14097         * math/test-tgmath2.c: Split up test function.
14099 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14101         * Rules (tests-expected): New variable, depending on
14102         $(run-built-tests).
14103         (tests): Pass $(tests-expected) to merge-test-results.sh, not
14104         $(tests).
14106         * Rules [$(run-built-tests) = no] (tests): Do not depend on
14107         $(tests-unsupported).
14109 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14111         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
14112         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
14114 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14116         [BZ #20768]
14117         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
14118         __fegetenv instead of fegetenv.
14120         [BZ #14139]
14121         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
14122         (find_files): Obtain platform name from libm-test-ulps-name and
14123         store in %pplatforms.
14124         (canonicalize_platform): Remove.
14125         (print_platforms): Use $pplatforms directly.
14126         (by_platforms): Do not allow for platforms missing from
14127         %pplatforms.
14128         * sysdeps/aarch64/libm-test-ulps-name: New file.
14129         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
14130         * sysdeps/arm/libm-test-ulps-name: Likewise.
14131         * sysdeps/generic/libm-test-ulps-name: Likewise.
14132         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
14133         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
14134         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
14135         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
14136         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
14137         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
14138         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
14139         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
14140         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
14141         * sysdeps/nios2/libm-test-ulps-name: Likewise.
14142         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
14143         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
14144         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
14145         * sysdeps/sh/libm-test-ulps-name: Likewise.
14146         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
14147         * sysdeps/tile/libm-test-ulps-name: Likewise.
14148         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
14150         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
14152         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
14153         (test-xfail-check-execstack): New variable.
14155         * sysdeps/mips/localplt.data: New file.
14157 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
14158             Steve Ellcey  <sellcey@caviumnetworks.com>
14160         * bits/wordsize.h: Add documentation.
14161         * sysdeps/aarch64/bits/wordsize.h : New file
14162         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
14163         definitions.
14164         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
14165         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
14166         with #if instead of #ifdef.
14167         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
14168         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
14169         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
14170         Add or change defines.
14171         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
14172         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14173         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
14174         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
14175         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14176         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14177         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
14178         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14179         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
14180         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14181         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
14182         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
14183         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
14184         * sysdeps/x86/bits/wordsize.h: Likewise.
14186 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
14187             Kevin Petit  <kevin.petit@arm.com>
14189         * sysdeps/aarch64/memchr.S (__memchr): New file.
14191 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14193         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
14195 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
14197         [BZ #19398]
14198         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
14199         $(linknamespace-symlists-tests).
14201 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
14203         * time/tst-strptime2.c: Ignore -Wformat-length warning.
14205 2016-11-02  Florian Weimer  <fweimer@redhat.com>
14206             Carlos O'Donell  <carlos@redhat.com>
14208         [Bug #20729]
14209         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
14210         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
14211         for -Os related change.
14213 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
14215         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
14217 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
14219         [BZ #19673]
14220         * manual/math.texi (Exponents and Logarithms): Correct description
14221         of clog10.
14223 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
14225         [Bz #20729]
14226         * locale/weight.h: Include libc-internal.h.
14227         * locale/weightwc.h: Likewise.
14228         * nptl/nptl_dbP.h: Likewise.
14230 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
14232         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
14233         when it is MACH_PORT_NULL.
14235 2016-10-31  Andreas Schwab  <schwab@suse.de>
14237         [BZ #20707]
14238         * posix/glob.c (glob): Initialize pglob before checking for
14239         GLOB_BRACE.  Don't call glob recursively if pattern contains no
14240         valid brace expression despite GLOB_BRACE.
14241         * posix/globtest.sh: Test it.
14243 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
14245         [BZ #20729]
14246         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
14247         Define.
14248         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
14249         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
14250         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
14251         for seq2.back_us and seq1.back_us only for -Os compiles.
14252         * locale/weightwc.h (findix): Likewise.
14253         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
14254         DB_GET_FIELD_ADDRESS only for -Os compiles.
14255         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
14256         for slen only for -Os compiles.
14257         * string/strcoll_l.c (get_next_seq): Ignore
14258         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
14259         for -Os compiles.
14261         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
14262         * include/crypt.h: New file.
14264 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14266         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
14267         from test-skeleton.c.
14268         (statclass): Replace calls to write with calls to write_message.
14270 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
14272         * math/math.h
14273         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
14274         New macro.
14275         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
14276         Likewise.
14277         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
14278         Likewise.
14279         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
14280         SNANL.
14281         * math/test-double.h (snan_value_MACRO): New macro.
14282         * math/test-float.h (snan_value_MACRO): Likewise.
14283         * math/test-ldouble.h (snan_value_MACRO): Likewise.
14284         * math/libm-test.inc (issignaling_test_data): Add tests of
14285         snan_value_MACRO.
14287 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14289         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
14290         behavior when eliding a lock not held by the current thread.
14291         * sysdeps/powerpc/nptl/elide.h: Likewise.
14293 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14295         [BZ #20728]
14296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
14297         branch to _exit() by a function call.
14299 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14301         * malloc/malloc.c: Update chunk layout comments.
14302         (chunk_main_arena): Update comment.
14304 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14306         * crypt/sha256.c, crypt/sha256-block.c,
14307         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
14308         sha256_process_block to __sha256_process_block.
14309         * crypt/sha512.c, crypt/sha512-block.c,
14310         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
14311         sha512_process_block to __sha512_process_block.
14313 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
14315         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
14317         * math/test-nan-overflow.c: Include stdlib.h for malloc.
14319 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
14321         [BZ #20019]
14322         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
14323         definition in unrelocated shared library.
14324         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14326 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14328         [BZ #20729]
14329         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
14330         * sysdeps/unix/sysv/linux/i386/Makefile
14331         (uses-6-syscall-arguments): Define.
14332         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
14333         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
14334         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
14335         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
14336         Likewise.
14337         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
14338         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
14339         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
14340         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
14341         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
14342         (CFLAGS-fallocate64.os): Likewise.
14343         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
14344         (CFLAGS-pthread_rwlock_timedrdlock.os)
14345         (CFLAGS-pthread_rwlock_timedwrlock.o)
14346         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
14347         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
14348         (CFLAGS-sem_timedwait.os): Likewise.
14350 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14352         * elf/tst-linkall-static.c: New file.
14353         * elf/Makefile (tests-static): Add tst-linkall-static.
14354         (tst-linkall-static): Link against static libraries.
14356 2016-10-27  Florian Weimer  <fweimer@redhat.com>
14358         * malloc/malloc.c (sysmalloc): Initialize previous size field of
14359         mmaped chunks.
14361 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14363         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
14364         members to mchunk_prev_size, mchunk_size.
14365         (chunk_main_arena): Reverse sense and rename from
14366         chunk_non_main_arena.
14367         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
14368         mchunk_size instead of size.
14369         (set_non_main_arena): Define.
14370         (chunksize): Use chunksize_nomask instead of direct member access.
14371         (chunksize_nomask): Define.
14372         (next_chunk): Use chunksize instead of direct member access.
14373         (prev_size, set_prev_size): Define.
14374         (prev_chunk): Use prev_size instead of direct member access.
14375         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
14376         (inuse_bit_at_offset, set_inuse_bit_at_offset)
14377         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
14378         (mchunk_prev_size, mchunk_size): Poison tokens.
14379         (unlink): Use chunksize_nomask, prev_size accessors.
14380         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
14381         (do_check_free_chunk): Use prev_size accessor.
14382         (sysmalloc): Use set_prev_size, set_head accessors.
14383         (munmap_chunk, mremap_chunk): Use prev_size accessor.
14384         (__libc_free): Use chunksize_nomask accessor.
14385         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
14386         chunk_main_arena accessors.
14387         (_int_free): Use chunksize_nomask, prev_size accessors.
14388         (malloc_consolidate): Use chunksize, prev_size accessors.
14389         (_int_realloc): Use chunksize_nomask accessor.
14390         (_int_memalign): Use set_prev_size accessor.
14391         (__malloc_info): Use chunksize_nomask accessor.
14392         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
14393         accessors.
14394         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
14395         (heap_trim): Use chunksize_nomask, prev_size accessors.
14397 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
14399         [BZ #19380]
14400         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
14401         for inexact results.
14402         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
14403         of inexact result where mpfr_subnormalize is the only inexact
14404         step.
14405         * stdlib/tst-strtod-round-data.h: Regenerated.
14406         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
14407         Define to 0.
14408         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
14410 2016-10-27  David S. Miller  <davem@davemloft.net>
14412         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
14414 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14416         * malloc/malloc.c (do_set_mallopt_check): New function.
14417         (do_set_mmap_threshold): Likewise.
14418         (do_set_mmaps_max): Likewise.
14419         (do_set_top_pad): Likewise.
14420         (do_set_perturb_byte): Likewise.
14421         (do_set_trim_threshold): Likewise.
14422         (do_set_arena_max): Likewise.
14423         (do_set_arena_test): Likewise.
14424         (__libc_mallopt): Use them.
14426 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
14428         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14429         (canonicalize): New declaration.
14430         * math/Versions (canonicalize): New libm symbol at version
14431         GLIBC_2.25.
14432         (canonicalizef): Likewise.
14433         (canonicalizel): Likewise.
14434         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
14435         * math/s_canonicalize_template.c: New file.
14436         * math/libm-test.inc: Update comment on functions tested and
14437         testing of NaN payloads.
14438         (TEST_NAN_PAYLOAD): New macro.
14439         (NO_TEST_INLINE): Update value.
14440         (XFAIL_TEST): Likewise.
14441         (ERRNO_UNCHANGED): Likewise.
14442         (ERRNO_EDOM): Likewise.
14443         (ERRNO_ERANGE): Likewise.
14444         (IGNORE_RESULT): Likewise.
14445         (NON_FINITE): Likewise.
14446         (TEST_SNAN): Likewise.
14447         (NO_TEST_MATHVEC): Likewise.
14448         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
14449         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
14450         (struct test_Ffp_b1_data): New type.
14451         (RUN_TEST_Ffp_b1): New macro.
14452         (RUN_TEST_LOOP_Ffp_b1): Likewise.
14453         (canonicalize_test_data): New array.
14454         (canonicalize_test): New function.
14455         (main): Call canonicalize_test.
14456         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
14457         canonicalizef and canonicalizel.
14458         * manual/libm-err-tab.pl: Update comment on interfaces without
14459         ulps tabulated.
14460         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
14461         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
14462         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14463         canonicalize.
14464         (CFLAGS-nldbl-canonicalize.c): New variable.
14465         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
14466         to ...
14467         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
14468         ... here.
14469         (do_test): Also test canonicalizel.
14470         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
14471         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
14472         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
14473         file.
14474         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
14475         Use libm_hidden_def.
14476         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
14477         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
14478         (do_test): Also test canonicalizel.
14479         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
14480         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
14481         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
14482         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
14483         libm_hidden_def.
14484         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
14485         macro.
14486         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
14487         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
14488         * sysdeps/nacl/libm.abilist: Update.
14489         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14490         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14491         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14492         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14493         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14494         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14495         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14496         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14497         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14498         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14499         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14500         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14502         Likewise.
14503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14504         Likewise.
14505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14506         Likewise.
14507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14508         Likewise.
14509         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14510         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14511         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14512         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14513         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14515         Likewise.
14516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14517         Likewise.
14518         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14519         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14520         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14522         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
14523         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14524         getpayload.
14525         (CFLAGS-nldbl-getpayload.c): New variable.
14527 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14529         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
14530         integer from the format string.
14532 2016-10-26  Florian Weimer  <fweimer@redhat.com>
14534         [BZ #19473]
14535         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
14536         declarations.
14537         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
14538         weak aliases.
14539         * malloc/hooks.c (__malloc_get_state): Remove definition.
14540         (malloc_get_state): New stub implementation as
14541         compatibility symbol.
14542         (malloc_set_state): Rename from __malloc_set_state.  Turn into
14543         compat symbol.
14544         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
14545         malloc_set_state.
14546         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
14548 2016-10-26  Florian Weimer  <fweimer@redhat.com>
14550         * iconvdata/iso646.c (enum variant): Drop illegal_var.
14551         (names): Turn into concatenation of strings.
14552         (gconv_init): Adapt iteration over names.
14554 2016-10-26  Florian Weimer  <fweimer@redhat.com>
14556         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
14557         make const.
14558         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
14559         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
14560         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
14561         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
14562         character in sbconv.
14563         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
14564         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
14565         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
14567 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14569         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
14571         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
14572         (M_TRIM_THRESHOLD): Likewise.
14574         * manual/memory.texi (M_ARENA_TEST): Add documentation.
14575         (M_ARENA_MAX): Likewise.
14576         * malloc/malloc.c: Remove obsolete comment.
14578         * manual/memory.texi: Add environment variable alternatives to
14579         setting mallopt parameters.
14581 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
14583         * include/atomic.h
14584         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
14585         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
14587 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14589         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
14590         * stdlib/tst-strfrom.h: New file.
14591         * stdlib/tst-strfrom.c: New file.
14592         * stdlib/tst-strfrom-locale.c: New file.
14594         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
14595         * stdlib/bug-strtod2.c: Likewise.
14596         * stdlib/tst-strtod-round-skeleton.c: Likewise.
14597         * stdlib/tst-strtod6.c: Likewise.
14598         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
14600 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14602         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
14603         * manual/arith.texi: Document strfromd, strfromf, strfroml.
14604         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
14605         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
14606         * stdlib/stdlib.h (strfromd): New declaration.
14607         (strfromf): Likewise.
14608         (strfroml): Likewise.
14609         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
14610         strfrom.
14611         * stdlib/strfromd.c: New file.
14612         * stdlib/strfromf.c: Likewise.
14613         * stdlib/strfroml.c: Likewise.
14614         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
14615         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
14616         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
14617         * sysdeps/arm/nacl/libc.abilist: Update.
14618         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14619         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14620         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14621         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14622         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14623         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14624         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14625         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14626         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14627         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14628         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14629         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14630         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14631         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
14634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14636         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14637         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14638         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14639         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14640         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14643         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14644         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14645         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14647 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
14649         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
14650         instead of cmpli.
14651         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
14652         instead of cmpli.
14654 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
14656         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
14657         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
14658         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
14659         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14660         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14661         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14663 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14665         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
14666         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
14667         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
14668         SYSCALL_LL64_PRW.
14669         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
14670         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
14671         __ASSUME_PRW_DUMMY_ARG.
14672         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
14673         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14674         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14675         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14676         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
14677         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
14679 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
14681         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
14683 2016-10-22  Florian Weimer  <fweimer@redhat.com>
14685         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
14686         "C++", to override a potential extern "C" directive around the
14687         header file inclusion.
14689 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
14691         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
14693 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14695         * sysdeps/powerpc/fpu/fenv_private.h:
14696         (_FPU_MASK_ALL): Rename to...
14697         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
14698         XE FPSCR bits.
14700         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
14702         (_FPU_MASK_ROUNDING): Rename to...
14703         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
14704         NI bits.
14706         (_FPU_MASK_EXCEPT_ROUND): Rename to...
14707         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
14708         bits and rounding bits.
14710         (__libc_feholdbits_ppc): New inline function to mask, set,
14711         and pontentially clear FSPCR bits, and change MSR[FE] bits.
14712         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
14713         (libc_feholdexcept_setround_ppc): Likewise.
14715         (__libc_femergeenv_ppc): New function to dynamically mask both
14716         old and new FP environments and merge.
14717         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
14718         (libc_feresetround_ppc): Likewise.
14719         (libc_feupdateenv_test_ppc): Likewise.
14720         (libc_feupdateenv_ppc): Likewise.
14722         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
14723         of ISA RN bits, and update macro names.
14724         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
14725         effectively the same as the previously mentioned function.
14727         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
14728         usage with fe_resetround_ppc.
14730         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
14731         to be used.
14732         (libc_feholdexcept_setround_ctxf): Likewise.
14733         (libc_feholdexcept_setround_ctxl): Likewise.
14735 2016-10-21  Florian Weimer  <fweimer@redhat.com>
14737         [BZ #20715]
14738         * math/math.h [__cplusplus] (iszero): Define as function template.
14739         * math/Makefile [CXX] (tests): Add test-math-iszero.
14740         (CFLAGS-test-math-iszero.cc): Set.
14741         * math/test-math-iszero.cc: New file.
14743 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
14745         [BZ #20660]
14746         * sysdeps/arm/e_sqrt.c: New file.
14747         * sysdeps/arm/e_sqrtf.c: Likewise.
14749 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
14751         [BZ #20718]
14752         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
14753         not use floating-point comparisons to test sign.
14754         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
14755         Likewise.
14757         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14758         (getpayload): New declaration.
14759         * math/Versions (getpayload): New libm symbol at version
14760         GLIBC_2.25.
14761         (getpayloadf): Likewise.
14762         (getpayloadl): Likewise.
14763         * math/Makefile (libm-calls): Add s_getpayloadF.
14764         * math/libm-test.inc: Include <nan-high-order-bit.h>.
14765         (struct test_f_f_data): Add comment.
14766         (RUN_TEST_fp_f): New macro.
14767         (RUN_TEST_LOOP_fp_f): Likewise.
14768         (getpayload_test_data): New array.
14769         (getpayload_test): New function.
14770         (main): Call getpayload_test.
14771         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
14772         descriptor.
14773         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
14774         getpayloadf and getpayloadl.
14775         * manual/libm-err-tab.pl: Update comment on interfaces without
14776         ulps tabulated.
14777         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
14778         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
14779         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
14780         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
14781         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
14782         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
14783         * sysdeps/nacl/libm.abilist: Update.
14784         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14785         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14786         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14787         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14788         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14789         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14790         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14791         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14792         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14793         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14794         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14795         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14797         Likewise.
14798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14799         Likewise.
14800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14801         Likewise.
14802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14803         Likewise.
14804         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14805         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14806         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14807         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14808         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14810         Likewise.
14811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14812         Likewise.
14813         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14814         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14815         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14817 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14819         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
14820         tst-fallocate{64}.
14821         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
14822         on syscall return.
14824 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
14826         [BZ #20689]
14827         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
14828         usable.
14830 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
14832         * sysdeps/generic/nan-high-order-bit.h: New file.
14833         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
14834         * sysdeps/mips/nan-high-order-bit.h: Likewise.
14835         * sysdeps/hppa/math_private.h: Remove file.
14836         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
14837         not define here.
14838         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
14839         <nan-high-order-bit.h>.
14840         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14841         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
14842         <nan-high-order-bit.h>.
14843         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14844         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
14845         <nan-high-order-bit.h>.
14846         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14847         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
14848         <nan-high-order-bit.h>.
14849         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14850         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
14851         <nan-high-order-bit.h>.
14852         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14853         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
14854         <nan-high-order-bit.h>.
14855         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14856         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
14857         <nan-high-order-bit.h>.
14858         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14859         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
14860         <nan-high-order-bit.h>.
14861         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14862         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
14863         <nan-high-order-bit.h>.
14864         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14865         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
14866         <nan-high-order-bit.h>.
14867         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14868         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
14869         <nan-high-order-bit.h>.
14870         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14871         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
14872         <nan-high-order-bit.h>.
14873         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14874         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
14875         <nan-high-order-bit.h>.
14876         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14877         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
14878         <nan-high-order-bit.h>.
14879         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14880         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
14881         <nan-high-order-bit.h>.
14882         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14883         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
14884         <nan-high-order-bit.h>.
14885         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14886         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
14887         <nan-high-order-bit.h>.
14888         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14889         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
14890         <nan-high-order-bit.h>.
14891         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14893 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14895         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
14897 2016-09-22  John David Anglin  <dave.anglin@bell.net>
14899         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
14900         abort-instr.h.
14901         (EFAULT): Remove conditional define.
14902         (ENOSYS): Likewise.
14903         (atomic_compare_and_exchange_val_acq): Use instruction nullification
14904         instead of conditional branch instructions.
14906 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
14908         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14909         (totalordermag): New declaration.
14910         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
14911         New macro.
14912         * math/Versions (totalordermag): New libm symbol at version
14913         GLIBC_2.25.
14914         (totalordermagf): Likewise.
14915         (totalordermagl): Likewise.
14916         * math/Makefile (libm-calls): Add s_totalordermagF.
14917         * math/libm-test.inc (totalordermag_test_data): New array.
14918         (totalordermag_test): New function.
14919         (main): Call totalordermag_test.
14920         * math/test-tgmath.c (NCALLS): Increase to 125.
14921         (F(compile_test)): Call totalordermag.
14922         (F(totalordermag)): New function.
14923         * manual/arith.texi (FP Comparison Functions): Document
14924         totalordermag, totalordermagf and totalordermagl.
14925         * manual/libm-err-tab.pl: Update comment on interfaces without
14926         ulps tabulated.
14927         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
14928         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
14929         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
14930         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
14931         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
14932         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
14933         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
14934         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14935         totalordermag.
14936         (CFLAGS-nldbl-totalordermag.c): New variable.
14937         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
14938         (do_test): Also test totalordermagl.
14939         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
14940         Likewise.
14941         * sysdeps/nacl/libm.abilist: Update.
14942         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14943         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14944         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14945         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14946         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14947         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14948         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14949         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14950         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14951         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14952         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14953         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14955         Likewise.
14956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14957         Likewise.
14958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14959         Likewise.
14960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14961         Likewise.
14962         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14963         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14964         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14965         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14966         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14968         Likewise.
14969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14970         Likewise.
14971         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14972         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14973         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14975 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
14977         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
14978         boolean.
14980 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
14982         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
14983         raising FE_INVALID with feraisexcept in case where part of
14984         argument is infinite, subtract that part of argument from itself.
14985         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
14986         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
14987         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
14989 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
14991         * math/libm-test.inc (totalorder_test_data): Add more tests.
14993 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
14995         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
14996         Undefine weak_alias and add a comment why mips64 require
14997         versioning.
14999 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15001         [BZ #20647]
15002         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15003         maximum CPUID level is less than 2.
15005 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15007         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15008         (totalorder): New declaration.
15009         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15010         New macro.
15011         * math/Versions (totalorder): New libm symbol at version
15012         GLIBC_2.25.
15013         (totalorderf): Likewise.
15014         (totalorderl): Likewise.
15015         * math/Makefile (libm-calls): Add s_totalorderF.
15016         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15017         string.
15018         * math/libm-test.inc (PAYLOAD_DIG): New macro.
15019         (qnan_value_pl): Likewise.
15020         (snan_value_pl): Likewise.
15021         (qnan_value): Define using qnan_value_pl.
15022         (snan_value): Define using snan_value_pl.
15023         (struct test_ff_i_data): Add comment about which tests use this
15024         structure.
15025         (RUN_TEST_ff_b): New macro.
15026         (RUN_TEST_LOOP_ff_b): Likewise.
15027         (totalorder_test_data): New array.
15028         (totalorder_test): New function.
15029         (main): Call totalorder_test.
15030         * math/test-tgmath.c (NCALLS): Increase to 122.
15031         (F(compile_test)): Call totalorder.
15032         (F(totalorder)): New function.
15033         * manual/arith.texi (FP Comparison Functions): Document
15034         totalorder, totalorderf and totalorderl.
15035         * manual/libm-err-tab.pl: Update comment on interfaces without
15036         ulps tabulated.
15037         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15038         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15039         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15040         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15041         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15042         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15043         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15044         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15045         totalorder.
15046         (CFLAGS-nldbl-totalorder.c): New variable.
15047         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15048         file.
15049         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15050         Add test-totalorderl-ldbl-128ibm.
15051         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15052         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15053         test-totalorderl-ldbl-96.
15054         * sysdeps/nacl/libm.abilist: Update.
15055         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15056         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15057         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15058         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15059         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15060         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15061         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15062         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15063         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15064         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15065         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15066         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15068         Likewise.
15069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15070         Likewise.
15071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15072         Likewise.
15073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15074         Likewise.
15075         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15076         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15077         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15078         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15079         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15081         Likewise.
15082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15083         Likewise.
15084         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15085         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15086         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15088 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15090         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15091         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15092         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15093         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15094         remove ENOSYS implementation.
15095         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15096         Consolidate all Linux implementations.
15098 2016-10-11  Florian Weimer  <fweimer@redhat.com>
15100         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
15101         * resolv/herror.c (herror): Cast away const-ness.
15102         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
15103         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
15105 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
15107         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
15108         instead of M_NAN + M_NAN.
15109         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15111 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15113         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
15114         unused variable 'p'.
15116 2016-10-09  Alan Modra  <amodra@gmail.com>
15117             Andreas Schwab  <schwab@linux-m68k.org>
15119         [BZ #20554]
15120         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
15121         [PIC && !SHARED]: Set up PIC register for PLT call.
15123 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
15125         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
15126         conditional on value of [__FLT_EVAL_METHOD__].
15127         * math/test-iseqsig-excess-precision.c: New file.
15128         * math/Makefile (tests): Add test-iseqsig-excess-precision.
15130 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15132         * math/s_iseqsig_template.c: Include math-private.h.
15134         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
15135         * posix/tst-posix_fadvise.c: New file.
15136         * posix/tst-posix_fadvise64.c: Likewise.
15137         * posix/tst-posix_fadvise-common.c: Likewise.
15138         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15139         (__ASSUME_FADVISE64_64_6ARG): Define.
15140         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15141         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
15142         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15143         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15144         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
15145         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
15146         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
15147         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
15148         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
15149         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
15150         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
15151         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
15152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
15153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
15154         Likewise.
15155         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
15156         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
15157         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
15158         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15159         Alias to __posix_fadvise64_l32.
15160         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
15161         Add compat definition to posix_fadvise64.
15162         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15163         Add versioned definition to posix_fadvise64.
15164         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
15165         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
15166         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
15167         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
15168         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
15170         * io/Makefile (tests): Add tst-posix_fallocate and
15171         tst-posix_fallocate64.
15172         * io/tst-posix_fallocate-common.c: New file.
15173         * io/tst-posix_fallocate.c: Likewise.
15174         * io/tst-posix_fallocate64.c: Likewise.
15175         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
15176         file.
15177         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
15178         Likewise.
15179         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
15180         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
15181         Likewise.
15182         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
15183         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
15184         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
15185         SYSCALL_LL to pass both offset and len arguments.
15186         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
15187         Likewise.
15188         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
15189         __libc_pwrite64 alias used by posix_fallocate64.
15191         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15192         tst-fallocate64.
15193         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15194         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15195         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15196         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15197         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15198         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15199         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15200         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15201         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15202         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15203         macro on offset argument.
15204         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15205         SYSCALL_LL64 on offset argument.
15207         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15208         tst-fallocate64.
15209         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15210         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15211         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15212         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15213         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15214         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15215         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15216         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15217         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15218         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15219         macro on offset argument.
15220         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15221         SYSCALL_LL64 on offset argument.
15222         * test-skeleton.c (FAIL_RET): Add macro.
15223         (FAIL_EXIT): Likewise.
15224         (FAIL_EXIT1): Likewise.
15225         (_FAIL): Likewise.
15227 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15229         [BZ #20629]
15230         resolv: Remove RES_USEBSTRING and its implementation.
15231         * resolv/resolv.h (RES_USEBSTRING): Remove.
15232         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
15233         (digitvalue, encode_bitstring, decode_bitstring): Remove.
15234         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
15235         (labellen): Remove extended label types support.
15236         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
15237         * resolv/res_init.c (res_setoptions): Likewise.
15238         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15240 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15242         resolv: Remove RES_NOIP6DOTINT and its implementation.
15243         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
15244         (RES_NOIP6DOTINT): Remove.
15245         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
15246         handling.
15247         * resolv/res_debug.c (p_option): Likewise.
15248         * resolv/res_init.c (res_setoptions): Likewise.
15249         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15251 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15253         resolv: Deprecate unimplemented flags.
15254         * misc/sys/cdefs.h (__glibc_macro_warning1)
15255         (__glibc_macro_warning): Define.
15256         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
15257         (RES_KEEPTSIG): Mark as deprecated.
15258         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
15259         RES_NOCHECKNAME, RES_KEEPTSIG.
15260         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
15262 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15264         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
15265         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
15266         Use strong_alias to create symbols for glibc verison 2.19.
15268 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15270         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
15272 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15274         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
15276 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15278         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
15280 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15282         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15283         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
15284         in header for using it as type for ifunc function because __GI_* symbols
15285         for ppc32 do not target the ifunc symbols.
15286         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15288 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15290         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
15291         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
15292         libc_ifunc_hidden_def.
15293         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
15294         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
15295         Redirect ifunced function in header for using it as type of ifunc'ed
15296         function. Redefine libc_hidden_def to use fallback non ifunc'ed
15297         function for __GI_* symbol.
15298         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
15299         * include/libc-symbols.h
15300         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
15302 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15304         [BZ #20478]
15305         * sysdeps/s390/multiarch/ifunc-resolve.h
15306         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
15307         to create ifunc symbols.
15308         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
15309         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
15310         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
15311         for using it as type for ifunc function.
15312         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15313         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15314         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15315         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15316         * sysdeps/s390/multiarch/strcat.c: Likewise.
15317         * sysdeps/s390/multiarch/strchr.c: Likewise.
15318         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15319         * sysdeps/s390/multiarch/strcpy.c: Likewise.
15320         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15321         * sysdeps/s390/multiarch/strlen.c: Likewise.
15322         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15323         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15324         * sysdeps/s390/multiarch/strnlen.c: Likewise.
15325         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15326         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15327         * sysdeps/s390/multiarch/strspn.c: Likewise.
15328         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15329         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15330         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15331         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15332         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15333         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15334         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15335         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
15336         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
15337         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15338         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
15339         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
15341 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15343         * include/libc-symbols.h (__ifunc_resolver):
15344         New macro is used by __ifunc* macros.
15345         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
15346         depending on HAVE_GCC_IFUNC.
15347         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
15348         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
15349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
15350         Redirect ifunced function in header for using as type for ifunc function.
15351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
15352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
15353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
15354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
15355         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
15356         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
15357         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
15358         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
15359         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
15360         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
15361         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
15362         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
15363         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
15364         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
15365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
15366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
15367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
15368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
15369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
15370         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
15371         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
15372         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
15373         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
15374         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
15375         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
15376         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
15377         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
15378         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
15379         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
15380         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
15381         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
15382         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
15383         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
15384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
15385         Add libc_hidden_def() and use libc_ifunc_hidden() macro
15386         instead of libc_ifunc() macro.
15387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
15388         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
15390 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15392         * config.h.in (HAVE_GCC_IFUNC): New undef.
15393         * configure.ac: Add check if gcc supports attribute ifunc feature.
15394         * configure: Regenerated.
15395         * manual/install.texi: Add recommendation for gcc with
15396         indirect-function support.
15397         * INSTALL: Regenerated.
15399 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
15401         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
15402         macro.
15403         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15404         (__iseqsig): New declaration.
15405         * math/s_iseqsig_template.c: New file.
15406         * math/Versions (__iseqsigf): New libm symbol at version
15407         GLIBC_2.25.
15408         (__iseqsig): Likewise.
15409         (__iseqsigl): Likewise.
15410         * math/libm-test.inc (iseqsig_test_data): New array.
15411         (iseqsig_test): New function.
15412         (main): Call iseqsig_test.
15413         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
15414         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
15415         * manual/libm-err-tab.pl: Update comment on interfaces without
15416         ulps tabulated.
15417         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
15418         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
15419         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
15420         * sysdeps/nacl/libm.abilist: Update.
15421         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15422         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15423         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15424         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15425         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15426         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15427         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15428         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15429         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15430         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15431         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15432         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15434         Likewise.
15435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15436         Likewise.
15437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15438         Likewise.
15439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15440         Likewise.
15441         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15442         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15443         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15444         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15445         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15447         Likewise.
15448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15449         Likewise.
15450         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15451         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15452         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15454 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15456         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
15457         do_sincos_2, sloww, sloww1): Update comments.
15459         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
15460         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
15462         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
15463         K boolean and rename it.
15464         (__sin): Adjust.
15465         (__cos): Adjust.
15467 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
15468             Siddhesh Poyarekar  <siddhesh@sourceware.org>
15470         * manual/nss.texi: Fix typos in the manual.
15472 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
15474         * manual/contrib.texi: Fix typos in the manual.
15476         * manual/maint.texi: Fix typos in the manual.
15478         * manual/install.texi: Fix typos in the manual.
15479         * INSTALL: Regenerated.
15481         * manual/lang.texi: Fix typos in the manual.
15483         * manual/probes.texi: Fix typos in the manual.
15485         * manual/threads.texi: Fix typos in the manual.
15487         * manual/debug.texi: Fix typos in the manual.
15489         * manual/crypt.texi: Fix typos in the manual.
15491         * manual/conf.texi: Fix typos in the manual.
15493         * manual/sysinfo.texi: Fix typos in the manual.
15495         * manual/users.texi: Fix typos in the manual.
15497         * manual/job.texi: Fix typos in the manual.
15499         * manual/process.texi: Fix typos in the manual.
15501         * manual/argp.texi: Fix typos in the manual.
15502         * manual/getopt.texi: Likewise.
15503         * manual/startup.texi: Likewise.
15505         * manual/signal.texi: Fix typos in the manual.
15507         * manual/setjmp.texi: Fix typos in the manual.
15509         * manual/resource.texi: Fix typos in the manual.
15511         * manual/time.texi: Fix typos in the manual.
15513         * manual/arith.texi: Fix typos in the manual.
15515         * manual/math.texi: Fix typos in the manual.
15517         * manual/syslog.texi: Fix typos in the manual.
15519         * manual/terminal.texi: Fix typos in the manual.
15521         * manual/socket.texi: Fix typos in the manual.
15523         * manual/filesys.texi: Fix typos in the manual.
15525         * manual/llio.texi: Fix typos in the manual.
15527         * manual/stdio.text: Fix typos in the manual.
15529 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15531         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
15532         instead of K1.
15534         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
15535         SHIFT_QUADRANT and make it bool.
15536         (do_sincos_2): Likewise.
15537         (sloww): Likewise.
15538         (sloww1): Likewise.
15539         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
15540         (__cos): Likewise.
15542 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15544         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15546 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
15548         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
15549         Define to __WORDSIZE, not conditional on [LONG_MAX ==
15550         0x7fffffffL].
15551         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
15553 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15555         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
15556         inline by __inline__.
15557         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
15558         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
15559         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
15560         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
15561         sigset_t from signal.h.
15562         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
15563         which is already required.
15565 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
15567         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15569 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
15571         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
15572         (struct tcp_repair_window): New type.
15574 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15576         * libio/tst-memstream3.c: Include string.h.
15578 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15580         [BZ #18241]
15581         [BZ #20181]
15582         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
15583         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
15584         write position is at the end the buffer.
15585         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
15586         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
15587         (_IO_str_seekoff): Set correct offset from negative displacement and
15588         set EINVAL for invalid ones.
15589         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
15590         buffer length.
15591         (_IO_wstr_switch_to_get_mode): New function.
15592         (_IO_wstr_seekoff): Set correct offset from negative displacement and
15593         set EINVAL for invalid ones.
15594         * libio/tst-memstream3.c: New file.
15595         * libio/tst-wmemstream3.c: Likewise.
15596         * manual/examples/memstrm.c: Remove warning when priting size_t.
15598 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
15600         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
15601         macro to use __builtin_fma.
15602         * sysdeps/x86_64/fpu/dla.h: Remove file.
15604         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
15605         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
15606         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
15608 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
15610         [BZ #20292]
15611         * elf/Makefile (routines): Add dl-addr-obj.
15612         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
15613         tst-_dl_addr_inside_object.
15614         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
15615         [ifeq (yesyes,$(have-fpie)$(build-shared))]
15616         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
15617         [ifeq (yesyes,$(have-fpie)$(build-shared))]
15618         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
15619         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
15620         * elf/dl-open.c: Likewise.
15621         * elf/dl-addr-obj.c: New file.
15622         * elf/tst-_dl_addr_inside_object.c: New file.
15624 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
15626         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
15627         <bits/iscanonical.h>.
15628         * bits/iscanonical.h: New file.
15629         * math/s_iscanonicall.c: Likewise.
15630         * math/Versions (__iscanonicall): New libm symbol at version
15631         GLIBC_2.25.
15632         * math/libm-test.inc (iscanonical_test_data): New array.
15633         (iscanonical_test): New function.
15634         (main): Call iscanonical_test.
15635         * math/Makefile (headers): Add bits/iscanonical.h.
15636         (type-ldouble-routines): Add s_iscanonicall.
15637         * manual/arith.texi (Floating Point Classes): Document
15638         iscanonical.
15639         * manual/libm-err-tab.pl: Update comment on interfaces without
15640         ulps tabulated.
15641         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
15642         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
15643         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
15644         Likewise.
15645         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
15646         test-iscanonical-ldbl-128ibm.
15647         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
15648         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
15649         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
15650         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
15651         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
15652         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15653         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15655         Likewise.
15656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15657         Likewise.
15658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15659         Likewise.
15660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15661         Likewise.
15662         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15663         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15665 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15667         * string/bits/string3.h: Remove C++ style comments.
15669 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15671         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
15672         instead of ternary condition.
15673         (do_sincos_2): Likewise.
15674         (__sin): Likewise.
15675         (__cos): Likewise.
15676         (slow): Likewise.
15677         (sloww): Likewise.
15678         (sloww1): Likewise.
15679         (bsloww): Likewise.
15680         (bsloww1): Likewise.
15682         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
15683         instead of ternary condition.
15684         (do_sin_slow): Likewise.
15685         (do_sincos_1): Likewise.
15686         (do_sincos_2): Likewise.
15687         (__cos): Likewise.
15688         (sloww): Likewise.
15689         (sloww1): Likewise.
15690         (sloww2): Likewise.
15691         (bsloww): Likewise.
15692         (bsloww1): Likewise.
15693         (bsloww2): Likewise.
15695         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
15696         check from here...
15697         (slow2): ... and here...
15698         (__sin): ... to here.
15700 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
15702         * math/math.h
15703         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
15704         Cast argument to its own type.
15705         * math/test-iszero-excess-precision.c: New file.
15706         * math/Makefile (tests): Add test-iszero-excess-precision.
15707         (CFLAGS-test-iszero-excess-precision.c): New variable.
15709 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
15711         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
15712         field, add err field.
15713         (__spawni_child): Report error through err member instead of pipe.
15714         (__spawnix): Likewise.
15716 2016-09-28  Zack Weinberg  <zackw@panix.com>
15718         * scripts/check-installed-headers.sh: Generalize treatment of
15719         sys/elf.h to all target architectures.
15721         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
15722         deleted typedef ucontext_t.
15724 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15726         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
15727         (__INTERNAL_SYSCALL1): Likewise.
15728         (__INTERNAL_SYSCALL2): Likewise.
15729         (__INTERNAL_SYSCALL3): Likewise.
15730         (__INTERNAL_SYSCALL4): Likewise.
15731         (__INTERNAL_SYSCALL5): Likewise.
15732         (__INTERNAL_SYSCALL6): Likewise.
15733         (__INTERNAL_SYSCALL7): Likewise.
15734         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
15735         (__INTERNAL_SYSCALL_NARGS): Likewise.
15736         (__INTERNAL_SYSCALL_DISP): Likewise.
15737         (INTERNAL_SYSCALL_CALL): Likewise.
15738         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
15739         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
15740         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
15741         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
15742         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
15743         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
15744         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
15745         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
15746         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
15747         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
15748         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
15749         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
15750         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
15752 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
15754         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
15755         macro.
15756         * math/libm-test.inc (iszero_test_data): New array.
15757         (iszero_test): New function.
15758         (main): Call iszero_test.
15759         * manual/arith.texi (Floating Point Classes): Document iszero.
15760         * manual/libm-err-tab.pl: Update comment on interfaces without
15761         ulps tabulated.
15763 2016-09-23  Zack Weinberg  <zackw@panix.com>
15765         * scripts/check-installed-headers.sh: New script.
15766         * Rules: In each directory that defines header files to be installed,
15767         run check-installed-headers.sh on them as a special test.
15768         * Makefile: Likewise for the headers installed at top level.
15770         * include/aliases.h, include/alloca.h, include/argz.h
15771         * include/arpa/nameser.h, include/arpa/nameser_compat.h
15772         * include/elf.h, include/envz.h, include/err.h
15773         * include/execinfo.h, include/fpu_control.h, include/getopt.h
15774         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
15775         * include/link.h, include/malloc.h, include/mcheck.h
15776         * include/mntent.h, include/netinet/ether.h
15777         * include/nss.h, include/obstack.h, include/printf.h
15778         * include/pty.h, include/resolv.h, include/rpc/auth.h
15779         * include/rpc/auth_des.h, include/rpc/auth_unix.h
15780         * include/rpc/clnt.h, include/rpc/des_crypt.h
15781         * include/rpc/key_prot.h, include/rpc/netdb.h
15782         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
15783         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
15784         * include/rpc/rpc_msg.h, include/rpc/svc.h
15785         * include/rpc/svc_auth.h, include/rpc/xdr.h
15786         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
15787         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
15788         * include/rpcsvc/ypupd.h, include/shadow.h
15789         * include/stdio_ext.h, include/sys/epoll.h
15790         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
15791         * include/sys/prctl.h, include/sys/profil.h
15792         * include/sys/statfs.h, include/sys/sysctl.h
15793         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
15794         * sysdeps/arm/nacl/include/bits/setjmp.h
15795         * sysdeps/mips/include/sys/asm.h
15796         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
15797         * sysdeps/unix/sysv/linux/include/sys/timex.h
15798         * sysdeps/x86/fpu/include/bits/fenv.h:
15799         Add #ifndef _ISOMAC guard around internal declarations.
15800         Add multiple-inclusion guard if not already present.
15802 2016-09-23  Zack Weinberg  <zackw@panix.com>
15804         * sysdeps/generic/sys/ucontext.h
15805         * sysdeps/arm/sys/ucontext.h
15806         * sysdeps/i386/sys/ucontext.h
15807         * sysdeps/m68k/sys/ucontext.h
15808         * sysdeps/mips/sys/ucontext.h
15809         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
15810         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
15811         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
15812         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
15813         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
15814         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
15815         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
15816         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
15817         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
15818         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
15819         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
15820         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
15821         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
15822         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
15823         Include both bits/sigcontext.h and bits/sigstack.h.
15824         Fix grammar error in comment, if present.
15826         * bits/sigstack.h
15827         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
15828         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
15829         * sysdeps/unix/sysv/linux/bits/sigstack.h
15830         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
15831         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
15832         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
15833         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
15834         * bits/sigcontext.h
15835         * sysdeps/mach/hurd/i386/bits/sigcontext.h
15836         * sysdeps/unix/sysv/linux/bits/sigcontext.h
15837         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
15838         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
15839         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
15840         as well as signal.h, if this was not already allowed.  Request
15841         definition of size_t if necessary.  Minimize semantically-null
15842         differences across files.
15844 2016-09-23  Zack Weinberg  <zackw@panix.com>
15846         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
15847         Remove all logic conditional on __need macros.  Move all the
15848         conditionally defined types to their own headers...
15849         * time/bits/types/clock_t.h: Define clock_t here.
15850         * time/bits/types/clockid_t.h: Define clockid_t here.
15851         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
15852         * time/bits/types/struct_timespec.h: Define struct timespec here.
15853         * time/bits/types/struct_timeval.h: Define struct timeval here.
15854         * time/bits/types/struct_tm.h: Define struct tm here.
15855         * time/bits/types/time_t.h: Define time_t here.
15856         * time/bits/types/timer_t.h: Define timer_t here.
15857         * time/Makefile: Install the new headers.
15859         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
15860         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
15861         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
15862         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
15863         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
15864         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
15865         * sysdeps/unix/sysv/linux/bits/resource.h
15866         * sysdeps/unix/sysv/linux/bits/timex.h
15867         * sysdeps/unix/sysv/linux/mips/bits/resource.h
15868         * sysdeps/unix/sysv/linux/net/ppp_defs.h
15869         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
15870         * sysdeps/unix/sysv/linux/sys/acct.h
15871         * sysdeps/unix/sysv/linux/sys/timerfd.h
15872         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
15873         * time/sys/time.h, time/sys/timeb.h
15874         Use the new bits/types headers.
15876         * include/time.h: Remove __need logic.
15877         * include/bits/time.h
15878         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
15879         * include/bits/types/time_t.h, include/bits/types/timer_t.h
15880         * include/bits/types/struct_itimerspec.h
15881         * include/bits/types/struct_timespec.h
15882         * include/bits/types/struct_timeval.h
15883         * include/bits/types/struct_tm.h:
15884         New wrapper headers.
15886 2016-09-23  Zack Weinberg  <zackw@panix.com>
15888         * sysdeps/mach/hurd/net/if_ppp.h
15889         * sysdeps/unix/sysv/linux/net/if_ppp.h:
15890         Only define struct ifpppstatsreq and struct ifpppcstatsreq
15891         if __USE_MISC is defined, to ensure struct ifreq is declared.
15893         * inet/netinet/ether.h: Condition all function prototypes
15894         on __USE_MISC, to ensure struct ether_addr is declared.
15896         * socket/bits/types/struct_osockaddr.h: New header.
15897         * include/bits/types/struct_osockaddr.h: New wrapper.
15898         * socket/Makefile: Install the new header.
15899         * socket/sys/socket.h, inet/protocols/talkd.h:
15900         Refer to bits/types/struct_osockaddr.h for the definition of
15901         struct osockaddr.
15903 2016-09-23  Zack Weinberg  <zackw@panix.com>
15905         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
15906         * inet/protocols/routed.h, inet/protocols/talkd.h
15907         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
15908         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
15909         * sysdeps/generic/netinet/if_ether.h
15910         * sysdeps/generic/netinet/in_systm.h
15911         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
15912         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
15913         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
15914         * sysdeps/mach/hurd/net/if_arp.h
15915         * sysdeps/mach/hurd/net/if_ppp.h
15916         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
15917         * sysdeps/unix/sysv/linux/bits/in.h
15918         * sysdeps/unix/sysv/linux/net/ethernet.h
15919         * sysdeps/unix/sysv/linux/net/if_arp.h
15920         * sysdeps/unix/sysv/linux/net/if_ppp.h
15921         * sysdeps/unix/sysv/linux/net/if_shaper.h
15922         * sysdeps/unix/sysv/linux/net/route.h
15923         * sysdeps/unix/sysv/linux/netinet/if_ether.h
15924         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
15925         * sysdeps/unix/sysv/linux/netinet/if_tr.h
15926         * sysdeps/unix/sysv/linux/netipx/ipx.h
15927         * sysdeps/unix/sysv/linux/sys/acct.h
15928         * include/arpa/nameser.h, include/resolv.h:
15929         Change all uses of u_char to unsigned char,
15930         u_short and ushort to unsigned short, u_int and uint to unsigned int,
15931         u_long and ulong to unsigned long, u_int8_t to uint8_t,
15932         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
15933         and u_int64_t and u_quad_t to uint64_t.
15935         * mach/sys/reboot.h: Remove two casts of integer literals
15936         to the types they already have.
15938         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
15939         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
15940         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
15941         from referring to 'unsigned char' to 'uint8_t' for consistency with
15942         the macro definition below.
15944         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
15945         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
15946         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
15947         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
15948         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
15949         * sysdeps/unix/sysv/linux/sys/acct.h
15950         * include/arpa/nameser.h, include/resolv.h:
15951         Fix indentation disrupted by mechanical edits.
15953         * inet/protocols/talkd.h, resolv/arpa/nameser.h
15954         * sysdeps/generic/netinet/in_systm.h
15955         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
15956         * sysdeps/gnu/netinet/udp.h
15957         * sysdeps/unix/sysv/linux/net/ethernet.h
15958         * sysdeps/unix/sysv/linux/net/if_arp.h
15959         * sysdeps/unix/sysv/linux/net/if_ppp.h
15960         * sysdeps/unix/sysv/linux/net/if_shaper.h
15961         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
15962         * sysdeps/unix/sysv/linux/netinet/if_tr.h
15963         * sysdeps/unix/sysv/linux/netipx/ipx.h
15964         * sysdeps/unix/sysv/linux/sys/acct.h
15965         Include stdint.h for uintNN_t definitions.
15966         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
15968 2016-09-23  Zack Weinberg  <zackw@panix.com>
15970         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
15971         * sysdeps/unix/sysv/linux/netrose/rose.h:
15972         Include sys/socket.h and netax25/ax25.h.
15974         * inet/netinet/icmp6.h, inet/netinet/ip6.h
15975         * resolv/arpa/nameser_compat.h:
15976         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
15978         * sysdeps/unix/sysv/linux/sys/quota.h:
15979         Use __caddr_t instead of caddr_t.
15980         * sysdeps/unix/sysv/linux/sys/timerfd.h:
15981         Use __clockid_t instead of clockid_t.
15983         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
15985         * argp/argp.h: Check whether _LIBC is defined before expanding it.
15986         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
15987         expanding it.
15989         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
15990         Define __glibc_c99_flexarr_available to 1 when the compiler
15991         supports C99-compatible flexible array members, 0 otherwise.
15992         * sysdeps/unix/sysv/linux/bits/socket.h
15993         * sysdeps/mach/hurd/bits/socket.h
15994         * bits/socket.h: Use __glibc_c99_flexarr_available in
15995         definitions of struct cmsghdr and CMSG_DATA.
15997 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15999         * manual/nss.texi (NSS Modules Interface): Adjust function return
16000         type to enum nss_status.  Document errnop argument.  Clarify
16001         h_errnop semantics.  Fix cross-reference formatting.
16002         (NSS Module Function Internals): Mention that *errnop needs to be
16003         set on failure, but not to zero.
16005 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16007         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16008         (get_random_name): New functions.
16009         (check_wrapper_flags_mode): Use linkat to give the new file a name
16010         determined by get_random_name.
16011         (do_test): Add calls to test open64 and openat64.
16013 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16015         * test-skeleton.c: Remove #include <stdarg.h>.
16017 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
16019         [BZ #19826]
16020         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16021         initialization of static TLS entries.
16022         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16023         * nptl/allocatestack.c (init_one_static_tls): Likewise.
16025 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16027         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16028         _hurd_malloc_fork_prepare.
16029         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16030         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16031         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16032         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16033         (_hurd_fork_child_hook): Drop malloc_fork_child.
16034         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16035         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16036         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16037         after locking locks (notably hurd_dtable_lock). Call
16038         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16039         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16040         __malloc_fork_unlock_child.
16041         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16043 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
16045         * soft-fp/extendhftf2.c: New.
16046         * soft-fp/fixhfti.c: Likewise.
16047         * soft-fp/fixunshfti.c: Likewise.
16048         * soft-fp/floattihf.c: Likewise.
16049         * soft-fp/floatuntihf.c: Likewise.
16050         * soft-fp/half.h: Likewise.
16051         * soft-fp/trunctfhf2.c: Likewise.
16053 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
16055         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16056         macro.
16057         * math/libm-test.inc (issubnormal_test_data): New array.
16058         (issubnormal_test): New function.
16059         * manual/arith.texi (Floating Point Classes): Document
16060         issubnormal.
16061         * manual/libm-err-tab.pl: Update comment on interfaces without
16062         ulps tabulated.
16064         * sysdeps/generic/stdint.h: Define
16065         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16066         <bits/libc-header-start.h> instead of including <features.h>.
16067         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16068         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16069         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16070         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16071         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16072         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16073         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16074         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16075         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16076         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16077         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16078         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16079         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16080         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16081         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16082         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16083         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16084         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16085         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16086         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16087         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16088         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16089         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16090         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16091         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16092         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16093         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16094         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16095         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16096         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16097         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16098         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16099         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
16100         * manual/arith.texi (Integers): Document these macros for types
16101         specified by width properties.
16102         * manual/lang.texi (Width of Type): Document these macros for
16103         other standard typedefs.
16104         * stdlib/tst-width-stdint.c: New file.
16105         * stdlib/Makefile (tests): Add tst-width-stdint.
16107 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16109         [BZ #20016]
16110         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
16111         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
16112         Move ...
16113         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
16114         ... here, as compatibility symbols in a new file.
16115         * resolv/Makefile (libresolv-routines): Add compat-hooks.
16116         * resolv/res_init.c (__res_vinit): Adjust member names.
16117         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
16118         * resolv/resolv.h (res_sendhookact, res_send_qhook)
16119         (res_send_rhook): Remove.
16120         (struct __res_state): Rename qhook, rhook members.
16122 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16124         malloc: Use __libc_lock wrappers.
16125         * malloc/arena.c (list_lock, free_list_lock): Define using
16126         __libc_lock_define_initialized.
16127         (arena_lock): Adjust formatting.
16128         * malloc/malloc.c (struct malloc_state): Define mutex using
16129         __libc_lock_define.
16130         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
16131         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
16132         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
16133         (mutex_unlock, mutex_trylock): Remove.
16134         (__pthread_initialize): Remove unused macro.
16135         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
16136         (mutex_unlock, mutex_trylock): Remove.
16138 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16140         [BZ #20592]
16141         Remove RR type classification macros.
16142         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
16143         (ns_t_udp_p, ns_t_xfr_p): Remove.
16145 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16147         Remove misleading version information.
16148         * resolv/arpa/nameser.h (__NAMESER): Remove.
16149         * resolv/arpa/nameser_compat.h (__BIND): Remove.
16151 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16153         Remove the always-defined BIND_4_COMPAT macro.
16154         * resolv/arpa/nameser.h: Unconditionally include
16155         <arpa/nameser_compat.h>.
16156         (BIND_4_COMPAT): Remove.
16157         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
16159 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16161         [BZ #20591]
16162         Remove obsolete DNSSEC support.
16163         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
16164         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
16165         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
16166         (ns_verify_tcp, ns_verify_tcp_init): Remove.
16167         (ns_cert_types): Add comment.
16168         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
16169         separately.
16170         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
16171         (dst_s_dns_key_id): Remove.
16172         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
16173         variables.
16175 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16177         [BZ #20524]
16178         * manual/string.texi (String/Array Comparison): Clarify the
16179         strverscmp behavior.
16181 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16183         * test-skeleton.c (xasprintf): Add function.
16184         * io/tst-open-tmpfile.c: New test.
16185         * io/Makefile (tests): Add it.
16187 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16189         Avoid running $(CXX) during build to obtain header file paths.
16190         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
16191         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
16192         * Makerules (cstdlib, cmath): Remove variables.  Use
16193         $(c++-cstdlib-header), $(c++-cmath-header) instead.
16194         * configure: Regenerate.
16196 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16198         * Makeconfig (all-object-suffixes): Include .op only if
16199         $(build-profile).
16201 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16203         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
16204         conditionals.  Do not define PATH_MAX.
16206 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16208         * posix/Makefile (tests): Add tst-spawn3.
16209         * posix/tst-spawn3.c: New file.
16210         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
16211         if it is already opened for open action.
16213         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
16214         all signals when executing the clone vfork child.
16215         (SIGALL_SET): Remove macro.
16217         * nptl/Makefile (tests): Add tst-exec5.
16218         * nptl/tst-exec5.c: New file.
16219         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
16220         asynchronous cancellation.
16222 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16224         * hurd/exc2signal.c: #include <hurd/signal.h>
16225         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
16226         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
16227         accordingly.
16228         * mach/mach_error.c (mach_error): Fix old-style function definition.
16229         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
16231 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16233         * math/Makefile (libm-calls): Remove s_nanF.
16234         (gen-libm-calls): Add s_nanF.
16236         * math/s_nan.c: Refactor into ...
16237         * math/s_nan_template.c: New file.
16239         * math/s_nanf.c: Removed.
16240         * math/s_nanl.c: Removed.
16241         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
16242         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
16244         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16245         (LDOUBLE_nanl_libm_version): New macro.
16247         * sysdeps/generic/math-type-macros-double.h:
16248         (M_STRTO_NAN): New macro.
16249         * sysdeps/generic/math-type-macros-float.h: Likewise.
16250         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16252         * sysdeps/generic/math-type-macros.h: Document
16253         M_STRTO_NAN.
16255 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16257         * math/s_nanf.c: Remove __nanf undef.
16258         * math/s_nan.c: Remove __nan undef.
16259         * math/s_nanl.c: Remove __nanl undef.
16261         * sysdeps/generic/math_private.h (__nan): Remove macro
16262         override.
16263         (__nanf): Likewise.
16264         (__nanl): Likewise.
16266 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16268         * math/Makefile (gen-all-calls): New variable.
16269         (generated): Replace gen-libm-calls with gen-all-calls.
16270         (gen-libm-templates.stmp): Likewise.  Also, ensure
16271         the output directory exists or is created and add
16272         dependency on the Makefile.
16273         (calls): Move s_ldexpF into gen-calls.
16274         (gen-calls): New variable.
16276         * math/s_ldexpf.c: Removed.
16277         * math/s_ldexpl.c: Removed.
16278         * math/s_ldexp.c: Refactored into ...
16279         * math/s_ldexp_template.c: New file.
16281         * sysdeps/generic/math-type-macros-double.h: Remove
16282         redundant fall-through definition of declare_mgen_alias.
16283         (declare_mgen_alias_2): New macro.
16285         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
16286         New macro for function aliased to two exported symbols.
16288         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
16289         new template file.
16290         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16292 2016-09-20  Florian Weimer  <fweimer@redhat.com>
16294         * Makeconfig (all-object-suffixes): Remove .og.
16295         * Makerules (elide-routines.og): Remove.
16296         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
16297         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
16298         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
16300 2016-09-20  Florian Weimer  <fweimer@redhat.com>
16302         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
16303         .os objects.
16305 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16307         [BZ #20615]
16308         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
16309         fpu directory by non-fpu.
16310         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
16311         on non-fpu directory from a fpu directory.
16313 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
16315         * include/limits.h: Define
16316         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16317         <bits/libc-header-start.h> instead of including <features.h>.
16318         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
16319         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
16320         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
16321         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
16322         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
16323         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
16324         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
16325         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
16326         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
16328         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
16329         * manual/lang.texi (Width of Type): Document these macros.
16330         * stdlib/tst-width.c: New file.
16331         * stdlib/Makefile (tests): Add tst-width.
16333 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16335         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
16336         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
16338 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16340         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
16341         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16342         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16344 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16346         [BZ #18243]
16347         * rt/Makefile (test): Add tst-shm-cancel.
16348         * rt/tst-shm-cancel.c: New file.
16349         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
16351         [BZ #18243]
16352         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
16353         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
16354         definition.
16355         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
16356         uncontended case.
16357         * nptl/sem_wait.c (__new_sem_wait): Likewise.
16358         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
16359         (tf): Fix check for uncontended case.
16360         (do_test): Likewise.
16361         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
16362         (tf): Fix check for uncontended case.
16363         (do_test): Likewise.
16364         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
16365         (tf): Fix check for uncontended case.
16366         (do_test): Likewise.
16367         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
16368         (tf): Fix check for uncontended case.
16369         (do_test): Likewise.
16371         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
16372         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
16374         [BZ #15765]
16375         * nptl/Makefile (tests): Add tst-sem16.
16376         * nptl/tst-sem16.c: New file.
16377         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
16379         * nptl/sem_open.c (sem_open): Init pad value to 0.
16380         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16381         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16383 2016-09-15  Florian Weimer  <fweimer@redhat.com>
16385         [BZ #20611]
16386         * inet/Makefile (routines): Add inet6_scopeid_pton.
16387         (tests): Add tst-inet6_scopeid_pton.
16388         * inet/inet6_scopeid_pton.c: New file.
16389         * inet/net-internal.h: Likewise.
16390         * inet/tst-inet6_scopeid_pton.c: New test.
16391         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
16392         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
16393         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16395 2016-09-14  Florian Weimer  <fweimer@redhat.com>
16397         Remove support for compiling wrappers with PTW.
16398         * sysdeps/nptl/Makeconfig: Drop ptw- support.
16399         * nptl/Makefile (pthread-compat-wrappers): Define.
16400         (libpthread-routines): Use pthread-compat-wrappers.
16401         * sysdeps/unix/sysv/linux/alpha/Makefile
16402         (libpthread-routines, libpthread-shared-only-routines): Remove
16403         ptw- prefix.
16404         * sysdeps/s390/nptl/Makefile
16405         (libpthread-routines, libpthread-shared-only-routines): Likewise.
16406         * sysdeps/ia64/nptl/Makefile
16407         (libpthread-routines, libpthread-shared-only-routines): Likewise.
16408         * sysdeps/nacl/Makefile (libpthread-routines): Use
16409         pthread-compat-wrappers to filter the routines list instead of the
16410         ptw- prefix.
16412 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16414         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
16415         with L() and remove explicit suffix, convert real literals
16416         which can be equivalentally substituted with integers, and
16417         transform -L(x) to L(-x).
16419         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16420         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16421         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16422         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16423         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16424         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16425         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16426         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16427         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16428         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16429         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16430         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16431         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16432         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16433         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16434         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16435         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16436         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16437         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16438         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16439         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16440         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16441         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16442         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16443         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16444         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16445         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16446         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16447         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16448         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16449         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16450         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16451         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16452         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16453         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16454         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16455         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16456         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16457         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16458         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16459         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16460         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16461         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16462         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16463         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16464         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16465         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16466         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
16467         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16468         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16470 2016-09-13  Florian Weimer  <fweimer@redhat.com>
16472         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
16474 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16476         * malloc/Makefile (tests): Remove individual static test names
16477         and just add all of tests-static.
16479         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
16481 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
16483         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
16484         file.
16486         * sysdeps/sparc/fpu/fegetmode.c: New file.
16487         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
16489         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
16490         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
16492         * sysdeps/s390/fpu/fegetmode.c: New file.
16493         * sysdeps/s390/fpu/fesetmode.c: Likewise.
16495         * sysdeps/powerpc/fpu/fegetmode.c: New file.
16496         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
16497         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
16498         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
16499         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
16500         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
16502         * sysdeps/mips/fpu/fegetmode.c: New file.
16503         * sysdeps/mips/fpu/fesetmode.c: Likewise.
16505         * sysdeps/m68k/fpu/fegetmode.c: New file.
16506         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
16508         * sysdeps/ia64/fpu/fegetmode.c: New file.
16509         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
16511         * sysdeps/hppa/fpu/fegetmode.c: New file.
16512         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
16514         * sysdeps/arm/fegetmode.c: New file.
16515         * sysdeps/arm/fesetmode.c: Likewise.
16517         * sysdeps/alpha/fpu/fegetmode.c: New file.
16518         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
16520         * sysdeps/aarch64/fpu/fegetmode.c: New file.
16521         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
16523         * math/fegetmode.c: New file.
16524         * math/fesetmode.c: Likewise.
16525         * sysdeps/i386/fpu/fegetmode.c: Likewise.
16526         * sysdeps/i386/fpu/fesetmode.c: Likewise.
16527         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
16528         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
16529         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
16530         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
16531         declaration.
16532         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
16533         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
16534         typedef.
16535         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16536         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16537         (femode_t): New typedef.
16538         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16539         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16540         (femode_t): New typedef.
16541         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16542         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16543         (femode_t): New typedef.
16544         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16545         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16546         (femode_t): New typedef.
16547         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16548         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16549         (femode_t): New typedef.
16550         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16551         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16552         (femode_t): New typedef.
16553         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16554         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16555         (femode_t): New typedef.
16556         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16557         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16558         (femode_t): New typedef.
16559         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16560         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16561         (femode_t): New typedef.
16562         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16563         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16564         (femode_t): New typedef.
16565         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
16566         declaration.
16567         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16568         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16569         (femode_t): New typedef.
16570         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16571         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16572         (femode_t): New typedef.
16573         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16574         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16575         (femode_t): New typedef.
16576         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16577         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16578         (femode_t): New typedef.
16579         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16580         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16581         (femode_t): New typedef.
16582         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16583         * manual/arith.texi (FE_DFL_MODE): Document macro.
16584         (fegetmode): Document function.
16585         (fesetmode): Likewise.
16586         * math/Versions (fegetmode): New libm symbol at version
16587         GLIBC_2.25.
16588         (fesetmode): Likewise.
16589         * math/Makefile (libm-support): Add fegetmode and fesetmode.
16590         (tests): Add test-femode and test-femode-traps.
16591         * math/test-femode-traps.c: New file.
16592         * math/test-femode.c: Likewise.
16593         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
16594         alias for __fe_dfl_env.
16595         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
16596         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
16597         (__fe_dfl_mode): Likewise.
16598         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
16599         version GLIBC_2.25.
16600         * sysdeps/nacl/libm.abilist: Update.
16601         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16602         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16603         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16604         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16605         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16606         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16607         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16608         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16609         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16610         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16611         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16612         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16614         Likewise.
16615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16616         Likewise.
16617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16618         Likewise.
16619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16620         Likewise.
16621         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16622         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16623         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16624         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16625         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16627         Likewise.
16628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16629         Likewise.
16630         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16631         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16632         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16634 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16636         [BZ #20495]
16637         [BZ #20508]
16638         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
16639         processors, set Use_dl_runtime_resolve_slow and set
16640         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
16641         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
16642         New.
16643         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
16644         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
16645         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
16646         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
16647         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
16648         if Use_dl_runtime_resolve_opt is set.  Use
16649         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
16650         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
16651         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
16652         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
16653         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
16654         New.
16655         (_dl_runtime_resolve_opt): Likewise.
16656         (_dl_runtime_profile): Define only if _dl_runtime_profile is
16657         defined.
16659 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
16661         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
16662         __libc_memalign with "+ RELA R_390_GLOB_DAT".
16664 2016-09-06  Florian Weimer  <fweimer@redhat.com>
16666         Convert malloc to __libc_lock.  Automated part, using this Perl
16667         s/// command:
16668           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
16669             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
16670         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
16671         conversion.
16673 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
16675         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
16676         (linknamespace-symlists-tests): Likewise.
16677         (linknamespace-header-tests): Likewise.
16679 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
16681         [BZ #19810]
16682         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
16683         * elf/tst-noload.c: New test case.
16684         * elf/Makefile (tests): Add tst-noload.
16686 2016-09-02  Roland McGrath  <roland@hack.frob.com>
16688         * sysdeps/nacl/dup.c: Add libc_hidden_def.
16690         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
16691         not any more.
16693         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
16695 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16697         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
16698         (do_cos_slow): Likewise.
16699         (do_sin): Likewise.
16700         (do_sin_slow): Likewise.
16701         (slow): Likewise.
16702         (slow1): Likewise.
16703         (slow2): Likewise.
16704         (sloww): Likewise.
16705         (sloww1): Likewise.
16706         (sloww2): Likewise.
16707         (bsloww): Likewise.
16708         (bsloww1): Likewise.
16709         (bsloww2): Likewise.
16710         (cslow2): Likewise.
16712         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
16714         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
16715         arguments.  Consolidate input partitioning from callers here.
16716         (do_cos_slow): Likewise.
16717         (do_sin): Likewise.
16718         (do_sin_slow): Likewise.
16719         (do_sincos_1): Remove the no longer necessary input partitioning.
16720         (do_sincos_2): Likewise.
16721         (__sin): Likewise.
16722         (__cos): Likewise.
16723         (slow1): Likewise.
16724         (slow2): Likewise.
16725         (sloww1): Likewise.
16726         (sloww2): Likewise.
16727         (bsloww1): Likewise.
16728         (bsloww2): Likewise.
16729         (cslow2): Likewise.
16731 2016-09-02  Florian Weimer  <fweimer@redhat.com>
16733         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
16734         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
16735         outside of allocated array.
16737 2016-09-02  Florian Weimer  <fweimer@redhat.com>
16739         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
16740         instead of MB_CUR_MAX to avoid variable-length array.
16742 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16744         * math/Makefile (libm-calls): Remove k_rem_pio2F.
16745         (type-double-routines): Add k_rem_pio2.
16746         (type-float-routines): Add k_rem_pio2f.
16748         * sysdeps/generic/math_private.h:
16749         (__kernel_rem_pio2l): Removed.
16751         * math/k_rem_pio2l.c: Removed.
16752         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
16753         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
16754         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
16755         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
16757 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16759         * math/Makefile (gen-libm-calls): Add s_fmin
16760         (libm-calls): Remove above.
16762         * math/s_fmin.c: Refactor into ...
16763         * math/s_fmin_template.c: New file.
16765         * math/s_fminf.c: Removed.
16766         * math/s_fminl.c: Removed.
16767         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16768         (LDOUBLE_fmin_libm_version): New macro.
16770         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
16771         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
16773 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16775         * math/Makefile: (gen-libm-calls): Add s_fmax.
16776         (libm-calls): Remove above.
16778         * math/s_fmax.c: Refactor into ...
16779         * math/s_fmax_template.c: New file.
16780         * math/s_fmaxf.c: Removed.
16781         * math/s_fmaxl.c: Removed.
16783         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16784         (LDOUBLE_fmaxl_libm_version): New macro.
16786         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
16787         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
16789         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
16790         s_fmin.c to pick the aarch64 version of the file.
16791         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
16792         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
16794 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16796         * math/Makefile: (gen-libm-calls): Add s_nextdown.
16797         (libm-calls): Remove above.
16799         * math/s_nextdown.c: Refactor into ...
16800         * math/s_nextdown_template.c: New file.
16801         * math/s_nextdownf.c: Removed.
16802         * math/s_nextdownl.c: Removed.
16804         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
16806 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16808         * math/Makefile (gen-libm-calls): Add s_fdim.
16809         (libm-calls): Move to above.
16811         * math/s_fdim.c: Renamed and refactored into to ...
16812         * math/s_fdim_template.c: New file.
16813         * math/s_fdiml.c: Removed.
16814         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
16815         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
16817         * sysdeps/generic/math-type-macros-double.h:
16818         (declare_mgen_alias): Don't declare if already declared.
16819         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
16820         Likewise.
16822         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16823         (declare_mgen_alias): Don't declare if already declared.
16824         (M_LIBM_NEED_COMPAT): Likewise.
16825         (declare_mgen_libm_compat): Likewise.
16826         (LDOUBLE_fdiml_libm_version): New macro.
16828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
16829         Include math/s_fdim.c now that ldbl-opt version is not needed.
16830         (declare_mgen_alias): New macro to disable aliasing.
16832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
16833         (declare_mgen_alias): Likewise.
16834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
16835         (declare_mgen_alias): Likewise.
16836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
16837         (declare_mgen_alias): Likewise.
16838         (M_LIBM_NEED_COMPAT): Likewise.
16840 2016-09-01  Florian Weimer  <fweimer@redhat.com>
16842         [BZ #20525]
16843         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
16844         Include <linux/quota.h>.
16845         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
16846         and btodb.
16847         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
16848         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
16849         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
16850         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
16851         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
16852         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
16853         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
16854         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
16855         types.
16856         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
16857         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
16859 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16861         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
16862         (gammal_positive): Fix spacing.
16863         (__ieee754_gammal_r): Likewise.
16865 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16867         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
16868         (_Float128): Define as long double, always.
16869         (L): Apply long double type suffix, always.
16871         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
16872         _Float128, excepting comments.
16874         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16875         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16876         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16877         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16878         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16879         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16880         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16881         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16882         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16883         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
16884         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16885         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16886         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16887         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16888         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16889         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16890         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16891         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16892         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16893         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16894         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16895         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16896         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16897         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16898         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16899         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16900         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16901         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16902         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16903         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16904         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16905         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16906         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16907         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16908         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16909         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16910         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16911         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16912         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16913         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16914         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16915         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16916         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16917         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16918         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16919         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16920         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16921         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16922         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16923         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16924         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16925         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16926         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16927         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16928         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16929         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16930         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16931         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16932         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16933         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16934         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16935         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16936         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16937         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16938         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16939         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
16940         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16941         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16943         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
16944         _Float128, and include math_private.h.
16945         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16947         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
16948         long double semantics.
16949         (_Float128): Likewise.
16950         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
16951         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
16952         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
16953         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
16955 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16957         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
16958         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
16959         * sysdeps/s390/configure: Regenerated.
16960         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
16961         instruction for raising over-/underflow if z196 zarch is supported
16962         by default.
16963         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
16965 2016-08-30  Svante Signell  <svante.signell@gmail.com>
16967         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
16968         it point to a dumb buffer for RPC to fill it.
16970 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16972         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
16973         instead of if/else.
16974         (do_sin_slow): Likewise.
16975         (do_sincos_1): Use fabs instead of if/else.
16976         (do_sincos_2): Likewise.
16977         (__sin): Likewise.
16978         (__cos): Likewise.
16979         (slow2): Likewise.
16980         (sloww): Likewise.
16981         (sloww1): Likewise.  Drop argument M.
16982         (sloww2): Use fabs instead of if/else.
16983         (bsloww): Likewise.
16984         (bsloww1): Likewise.
16985         (bsloww2): Likewise.
16987         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
16988         fall through comment.
16989         (do_sincos_1): Likewise.
16991         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
16992         Consolidate switch cases 0 and 2.
16994 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16996         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
16997         (libm-calls): Remove the above.
16999         * math/s_cexp_template.c: Update using type-generic macros.
17000         * math/s_clog10_template.c: Likewise.
17001         * math/s_cpow_template.c: Likewise.
17002         * math/s_clog_template.c: Likewise.
17003         * math/s_cproj_template.c: Likewise.
17004         * math/s_csqrt_template.c: Likewise.
17006         * math/s_cexp.c: Removed.
17007         * math/s_cexpf.c: Removed.
17008         * math/s_cexpl.c: Removed.
17009         * math/s_clog10.c: Removed.
17010         * math/s_clog10f.c: Removed.
17011         * math/s_clog10l.c: Removed.
17012         * math/s_cpow.c: Removed.
17013         * math/s_cpowf.c: Removed.
17014         * math/s_cpowl.c: Removed.
17015         * math/s_clog.c: Removed.
17016         * math/s_clogf.c: Removed.
17017         * math/s_clogl.c: Removed.
17018         * math/s_cproj.c: Removed.
17019         * math/s_cprojf.c: Removed.
17020         * math/s_cprojl.c: Removed.
17021         * math/s_csqrt.c: Removed.
17022         * math/s_csqrtf.c: Removed.
17023         * math/s_csqrtl.c: Removed.
17025         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17026         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17027         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17028         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17029         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17030         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17032         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17033         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17034         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17035         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17036         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17037         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17038         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17039         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17040         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17041         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17042         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17044         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17045         version.
17047         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17048         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17049         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17050         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17052 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17054         * s_cexp_template.c: Copy of s_cexp.c.
17055         * s_clog_template.c: Copy of s_clog.c.
17056         * s_clog10_template.c: Copy of s_clog10.c.
17057         * s_cpow_template.c: Copy of s_cpow.c.
17058         * s_cproj_template.c: Copy of s_cproj.c.
17059         * s_csqrt_template.c: Copy of s_csqrt.c.
17061 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17063         [BZ #20517]
17064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17065         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17066         exported.
17068 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
17070         * math/fetestexceptflag.c: New file.
17071         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
17072         Stefan Liebler.
17073         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17074         (fetestexceptflag): New function declaration.
17075         * manual/arith.texi (fetestexceptflag): Document function.
17076         * math/Versions (fetestexceptflag): New libm symbol at version
17077         GLIBC_2.25.
17078         * math/Makefile (libm-support): Add fetestexceptflag.
17079         (tests): Add test-fetestexceptflag.
17080         * math/test-fetestexceptflag.c: New file.
17081         * sysdeps/nacl/libm.abilist: Update.
17082         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17083         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17084         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17085         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17086         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17087         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17088         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17089         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17090         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17091         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17092         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17093         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17095         Likewise.
17096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17097         Likewise.
17098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17099         Likewise.
17100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17101         Likewise.
17102         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17103         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17104         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17105         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17106         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17108         Likewise.
17109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17110         Likewise.
17111         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17112         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17113         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17115 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17117         [BZ #20432]
17118         Avoid strong references to malloc-internal symbols when linking
17119         statically, to support statically interposed mallocs.
17120         * include/libc-symbols.h (call_function_static_weak): New macro.
17121         * malloc/Makefile (tests): Add tst-interpose-nothread,
17122         tst-interpose-thread, tst-interpose-static-nothread,
17123         tst-interpose-static-thread.
17124         (tests-static): Add tst-interpose-static-nothread,
17125         tst-interpose-static-thread.
17126         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
17127         tst-interpose-aux-thread.o.
17128         (test-extras): Add tst-interpose-aux-nothread,
17129         tst-interpose-aux-thread.
17130         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
17131         tst-interpose-aux-nothread.o.
17132         (tst-interpose-thread, tst-interpose-static-thread): Link with
17133         tst-interpose-aux-thread.o and libthread.
17134         * malloc/tst-interpose-aux-nothread.c: New file.
17135         * malloc/tst-interpose-aux-thread.c: Likewise.
17136         * malloc/tst-interpose-aux.c: Likewise.
17137         * malloc/tst-interpose-aux.h: Likewise.
17138         * malloc/tst-interpose-nothread.c: Likewise.
17139         * malloc/tst-interpose-skeleton.c: Likewise.
17140         * malloc/tst-interpose-static-nothread.c: Likewise.
17141         * malloc/tst-interpose-static-thread.c: Likewise.
17142         * malloc/tst-interpose-thread.c: Likewise.
17143         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
17144         * sysdeps/mach/hurd/fork.c (__fork): Only call
17145         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17146         __malloc_fork_unlock_child if defined.
17147         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17149 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17151         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
17152         timespec C99 designated initialization.
17154 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17156         [BZ #19946]
17157         Avoid expected SIGALRM signals.
17158         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
17159         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
17160         (xpthread_create, xpthread_detach, xpthread_join)
17161         (delayed_exit_thread, delayed_exit): New functions.
17162         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
17163         (tf): Use xpthread_cond_wait.
17164         (do_test): Likewise.  Replace alarm with delayed_exit.
17165         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17166         (do_test): Call delayed_exit.  Report failure.
17167         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17168         (do_test): Call delayed_exit.
17169         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17170         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
17171         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17172         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
17173         error.
17174         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17175         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
17176         error.
17177         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
17178         (do_test): Call delayed_exit.
17179         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
17180         (do_test): Call delayed_exit.
17181         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
17182         (do_test): Call delayed_exit instead of alarm.  Use
17183         xpthread_mutex_lock.
17184         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
17185         (do_test): Call delayed_exit instead of alarm.  Use
17186         xpthread_mutex_lock.
17187         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
17188         (do_test): Call delayed_exit instead of alarm.
17189         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
17190         (do_test): Call delayed_exit instead of alarm.  Use
17191         xpthread_spin_lock.
17192         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
17193         (do_test): Call delayed_exit instead of alarm.  Use
17194         xpthread_join.
17196 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17198         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
17199         adjust CFA when allocating register save area on re-aligned
17200         stack.
17202 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17204         * string/tst-cmp.c: New test.
17205         * string/Makefile (tests): Add it.
17207 2016-08-25  Mark Wielaard  <mark@klomp.org>
17209         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
17210         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
17211         (check_tree_recurse): Use newly defined accessors.
17212         (check_tree): Likewise.
17213         (maybe_split_for_insert): Likewise.
17214         (__tfind): Likewise.
17215         (__tdelete): Likewise.
17216         (trecurse): Likewise.
17217         (tdestroy_recurse): Likewise.
17218         (__tsearch): Likewise. And add asserts for malloc alignment.
17219         (__twalk): Cast root to node in case CHECK_TREE is defined.
17221 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17223         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
17225 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17227         * math/Makefile (libm-gen-calls): Add
17228         catan, catanh, ctan, ctanh.
17229         (libm-calls): Remove the above.
17231         * math/s_catan_template.c: Update using type-generic macros.
17232         * math/s_catanh_template.c: Likewise.
17233         * math/s_ctan_template.c: Likewise.
17234         * math/s_ctanh_template.c: Likewise.
17236         * math/s_catanf.c: Removed.
17237         * math/s_catan.c: Removed.
17238         * math/s_catanl.c: Removed.
17239         * math/s_catanhf.c: Removed.
17240         * math/s_catanh.c: Removed.
17241         * math/s_catanhl.c: Removed.
17242         * math/s_ctanf.c: Removed.
17243         * math/s_ctan.c: Removed.
17244         * math/s_ctanl.c: Removed.
17245         * math/s_ctanhf.c: Removed.
17246         * math/s_ctanh.c: Removed.
17247         * math/s_ctanhl.c: Removed.
17249         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
17250         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
17251         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
17252         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
17253         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
17254         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
17256         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
17257         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17258         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
17259         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
17261 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17263         * s_catan_template.c: Copy of s_catan.c.
17264         * s_catanh_template.c: Copy of s_catanh.c.
17265         * s_ctan_template.c: Copy of s_ctan.c.
17266         * s_ctanh_template.c: Copy of s_ctanh.c.
17268 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17270         * math/Makefile (gen-libm-calls): Move
17271         casin, casinh, csin, csinh here.
17272         (libm-calls): Remove the above.
17274         * math/s_casin_template.c: Update using type-generic macros.
17275         * math/s_casinh_template.c: Likewise.
17276         * math/s_csin_template.c: Likewise.
17277         * math/s_csinh_template.c: Likewise.
17278         * math/k_casinh_template.c: Likewise.
17280         * math/s_casinf.c: Removed.
17281         * math/s_casin.c: Removed.
17282         * math/s_casinl.c: Removed.
17283         * math/s_casinh.c: Removed.
17284         * math/s_casinhf.c: Removed.
17285         * math/s_casinhl.c: Removed.
17286         * math/s_csin.c: Removed.
17287         * math/s_csinf.c: Removed.
17288         * math/s_csinl.c: Removed.
17289         * math/s_csinh.c: Removed.
17290         * math/s_csinhf.c: Removed.
17291         * math/s_csinhl.c: Removed.
17292         * math/k_casinh.c: Removed.
17293         * math/k_casinhf.c: Removed.
17294         * math/k_casinhl.c: Removed.
17296         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
17297         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
17298         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
17299         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
17301         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
17302         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
17303         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
17304         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
17305         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
17306         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
17307         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
17308         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
17310         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
17311         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
17312         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
17313         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
17315         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
17316         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
17317         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
17318         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
17320 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17322         * s_casin_template.c: Copy of s_casin.c.
17323         * s_casinh_template.c: Copy of s_casinh.c.
17324         * s_csin_template.c: Copy of s_csin.c.
17325         * s_csinh_template.c: Copy of s_csinh.c.
17326         * k_casinh_template.c: Copy of k_casinh.c.
17328 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17330         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
17332 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17334         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
17335         (mul_split) Remove, rename as mul_splitl, remove
17336         redundant float.h include, and include via mul_splitl.h
17338         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17339         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17340         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17341         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
17342         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17344         * math/mul_splitl.h: New file.
17346         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
17347         Move into mul_split.h, and remove redundant float.h include.
17349         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
17350         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
17351         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17352         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
17354         * math/mul_split.h: New file.
17356 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17358         * math/Makefile (libm-gen-calls): Move
17359         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
17360         (libm-calls): Remove above.
17362         * math/s_cacos_template.c: Update using type-generic macros.
17363         * math/s_cacosh_template.c: Likewise.
17364         * math/s_ccos_template.c: Likewise.
17365         * math/s_ccosh_template.c: Likewise.
17367         * math/s_cacosf.c: Removed.
17368         * math/s_cacos.c: Removed.
17369         * math/s_cacosl.c: Removed.
17370         * math/s_cacoshf.c: Removed.
17371         * math/s_cacosh.c: Removed.
17372         * math/s_cacoshl.c: Removed.
17373         * math/s_ccosf.c: Removed.
17374         * math/s_ccos.c: Removed.
17375         * math/s_ccosl.c: Removed.
17376         * math/s_ccoshf.c: Removed.
17377         * math/s_ccosh.c: Removed.
17378         * math/s_ccoshl.c: Removed.
17380         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
17381         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
17382         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
17383         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
17384         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
17385         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
17387         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
17388         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
17389         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
17390         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
17392         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
17393         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
17394         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
17395         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
17397 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17399         * s_cacos_template.c: Copy of s_cacos.c.
17400         * s_cacosh_template.c: Copy of s_cacosh.c.
17401         * s_ccos_template.c: Copy of s_ccos.c.
17402         * s_ccosh_template.c: Copy of s_ccosh.c.
17404 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17406         * stdlib/tst-strtod-round-skeleton.c:
17407         Refactored from tst-strtod-round.c.
17409         (L_): New macro to apply literal modifier.
17410         (FNPFX): New macro to select str or wcs prefix.
17411         (CHAR): New macro to choose wchar_t or char.
17412         (STRM): New macro to choose printf for tested character type.
17414         (STRTO): New macro to choose appropriate string -> real function.
17415         (FNPFXS): Stringitized version of FNPFX.
17416         (STR): Support for above macro.
17417         (STRX): Likewise.
17419         (TEST): Update with above macros.
17420         (test): Likewise.
17421         (GEN_ONE_TEST): Likewise.
17422         (test_in_one_mode): Likewise.
17424         * stdlib/tst-strtod-round.c: New file.
17425         * wcsmbs/tst-wcstod-round.c: New file.
17427         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
17428         (tst-wcstod-round): Add libm depencency for fesetround.
17430 2016-08-19  Zack Weinberg  <zackw@panix.com>
17432         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
17434 2016-08-18  Torvald Riegel  <triegel@redhat.com>
17436         [BZ #20477]
17437         * resolv/res_hconf.c (do_init): Use atomic access.
17438         * resolv/res_hconf.h: Add comments.
17439         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
17440         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
17441         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17443 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
17445         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17446         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
17447         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17448         Likewise.
17450 2016-08-18  Florian Weimer  <fweimer@redhat.com>
17452         [BZ #16907]
17453         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
17454         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
17455         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
17456         (__attribute__): Remove definition.
17458 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17460         * sysdeps/ieee754/ldbl-128/e_asinl.c:
17461         Remove unused sqrtl declaration.
17463 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17465         * math/Makefile: (gen-libm-templates.stmp): New rule.
17466         (libm-calls): Move carg conj cimag and cabs into ...
17467         (gen-libm-calls): New variable.
17468         (generated): Inform Make objects from gen-libm-calls
17469         may be generated.
17471         * sysdeps/generic/math-type-macros.h: New file.
17472         * sysdeps/generic/math-type-macros-float.h: Likewise.
17473         * sysdeps/generic/math-type-macros-double.h: Likewise.
17474         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
17475         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
17476         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
17478         * math/cabs.c: Refactor into
17479         * math/cabs_template.c: new file.
17480         * math/cabsf.c: Removed.
17481         * math/cabsl.c: Removed.
17482         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
17483         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
17485         * math/carg.c: Refactor into
17486         * math/carg_template.c: new file.
17487         * math/cargf.c: Removed.
17488         * math/cargl.c: Removed.
17489         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
17490         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
17492         * math/conj.c: Refactor into
17493         * math/conj_template.c: new file.
17494         * math/conjf.c: Removed.
17495         * math/conjl.c: Removed.
17496         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
17497         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
17499         * math/cimag.c: Refactor into
17500         * math/cimag_template.c: new file.
17501         * math/cimagf.c: Removed.
17502         * math/cimagl.c: Removed.
17503         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
17504         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
17506         * math/cimag.c: Refactor into
17507         * math/cimag_template.c: new file.
17508         * math/cimagf.c: Removed.
17509         * math/cimagl.c: Removed.
17510         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
17511         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
17513 2016-08-17  Florian Weimer  <fweimer@redhat.com>
17515         Reduce time to expected nptl/tst-once5 failure.
17516         * nptl/tst-once5.cc (TIMEOUT): Define.
17518 2016-08-17  Florian Weimer  <fweimer@redhat.com>
17520         [BZ #20452]
17521         Avoid additional copies of objects in libc.a in static libraries.
17522         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
17523         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
17524         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
17525         rt-sysdep.
17526         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
17527         Add nptl-sysdep.
17528         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
17529         Add ptw-sysdep.
17530         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
17531         rt-sysdep.
17532         * sysdeps/unix/sysv/linux/alpha/Makefile
17533         (libpthread-shared-only-routines): Add ptw-sysdep,
17534         ptw-sigprocmask, ptw-rt_sigaction.
17535         * sysdeps/unix/sysv/linux/ia64/Makefile
17536         (librt-shared-only-routines): Add rt-sysdep.
17537         * sysdeps/unix/sysv/linux/i386/Makefile
17538         (libpthread-shared-only-routines): Add libc-do-syscall.
17539         * sysdeps/unix/sysv/linux/microblaze/Makefile
17540         (libpthread-shared-only-routines): Add sysdep.
17541         * sysdeps/unix/sysv/linux/powerpc/Makefile
17542         (librt-shared-only-routines): Add rt-sysdep.
17543         (libpthread-shared-only-routines): Add sysdep.
17544         * sysdeps/unix/sysv/linux/s390/Makefile
17545         (librt-shared-only-routines): Add rt-sysdep.
17546         * sysdeps/unix/sysv/linux/sparc/Makefile
17547         (librt-shared-only-routines): Add rt-sysdep.
17548         (libpthread-shared-only-routines): Add sysdep.
17549         * sysdeps/unix/sysv/linux/tile/Makefile
17550         (libpthread-shared-only-routines): Likewise.
17552 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
17554         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
17555         Mask implicit bit out of unpacked value.
17556         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
17557         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
17558         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
17560         * sysdeps/sparc/fpu/fesetexcept.c: New file.
17562         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
17564         * sysdeps/s390/fpu/fesetexcept.c: New file.
17566         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
17567         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
17568         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
17570         * sysdeps/mips/fpu/fesetexcept.c: New file.
17572         * sysdeps/m68k/fpu/fesetexcept.c: New file.
17574         * sysdeps/ia64/fpu/fesetexcept.c: New file.
17576         * sysdeps/hppa/fpu/fesetexcept.c: New file.
17578         * sysdeps/arm/fesetexcept.c: New file.
17580         * sysdeps/alpha/fpu/fesetexcept.c: New file.
17582         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
17584         * math/fesetexcept.c: New file.
17585         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
17586         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
17587         * math/fenv.h: Define
17588         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17589         <bits/libc-header-start.h> instead of including <features.h>.
17590         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
17591         declaration.
17592         * manual/arith.texi (fesetexcept): Document function.
17593         * math/Versions (fesetexcept): New libm symbol at version
17594         GLIBC_2.25.
17595         * math/Makefile (libm-support): Add fesetexcept.
17596         (tests): Add test-fesetexcept and test-fesetexcept-traps.
17597         * math/test-fesetexcept.c: New file.
17598         * math/test-fesetexcept-traps.c: Likewise.
17599         * sysdeps/nacl/libm.abilist: Update.
17600         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17601         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17602         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17603         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17604         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17605         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17606         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17607         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17608         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17609         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17610         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17611         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17613         Likewise.
17614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17615         Likewise.
17616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17617         Likewise.
17618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17619         Likewise.
17620         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17621         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17622         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17623         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17624         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17626         Likewise.
17627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17628         Likewise.
17629         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17630         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17631         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17633 2016-08-16  Florian Weimer  <fweimer@redhat.com>
17635         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
17636         New.
17637         (do_test): Apply default_stack_size_in_mb if not set.
17638         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
17640 2016-08-15  Andreas Schwab  <schwab@suse.de>
17642         [BZ #20435]
17643         CVE-2016-6323
17644         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
17645         as .cantunwind.
17647 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
17649         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
17650         comment from fraiseexcpt.c.
17652         * math/test-fexcept.c (feraiseexcept_exact): New function.
17653         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
17654         (test_except): Likewise.
17656 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
17658         [BZ #20455]
17659         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
17660         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
17661         to be restored.
17663         * math/test-fexcept-traps.c: New file.
17664         * math/test-fexcept.c: Likewise.
17665         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
17666         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
17667         macro.
17668         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
17669         (EXCEPTION_SET_FORCES_TRAP): Likewise.
17671 2016-08-09  Torvald Riegel  <triegel@redhat.com>
17673         * include/atomic.h (atomic_fetch_and_relaxed,
17674         atomic_fetch_and_release, atomic_fetch_or_release,
17675         atomic_fetch_xor_release): New.
17677 2016-08-06  Christian Seiler  <christian@iwakd.de>
17679         [BZ #20444]
17680         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
17681         MACH_PORT_NULL.
17683 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
17685         * math/s_fdim.c: Avoid alias renamed.
17686         * math/s_fdimf.c: Likewise.
17687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17688         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17689         Add s_fdimf-vis3, s_fdim-vis3.
17690         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
17691         (CFLAGS-s_fdim-vis3.c): Likewise.
17692         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
17693         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
17695 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
17697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17698         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17699         Remove s_fdimf-vis3, s_fdim-vis3.
17700         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
17701         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
17702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
17703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
17704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
17705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
17706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
17707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
17708         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
17709         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
17711 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
17713         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
17714         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
17715         -Wa,-Av9a -mvis.
17717 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17719         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
17720         LIT() to individual constants in simple expressions
17721         after splitting on spaces.
17722         (_apply_lit): Rename replaced version, and use it to
17723         apply to what appears to be a token.
17725         * math/libm-test.inc: Fix many, many issues with
17726         spacing.
17728 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
17730         * math/math.h: Move comment about <bits/mathdef.h> definitions
17731         above inclusion of <bits/mathdef.h>.  Do not mention
17732         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
17734 2016-08-05  Torvald Riegel  <triegel@redhat.com>
17736         * include/atomic.h (atomic_exchange_relaxed): New.
17738 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
17740         * math/e_scalb.c: Do not include <fenv.h>.
17741         (invalid_fn): Do calculation resulting in NaN instead of raising
17742         FE_INVALID and returning a NaN explicitly.
17743         * math/e_scalbf.c: Do not include <fenv.h>.
17744         (invalid_fn): Do calculation resulting in NaN instead of raising
17745         FE_INVALID and returning a NaN explicitly.
17746         * math/e_scalbl.c: Do not include <fenv.h>.
17747         (invalid_fn): Do calculation resulting in NaN instead of raising
17748         FE_INVALID and returning a NaN explicitly.
17750 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
17752         * po/de.po: Updated from Translation Project.
17753         * po/fi.po: Likewise.
17754         * po/sv.po: Likewise.
17756 2016-08-04  Florian Weimer  <fweimer@redhat.com>
17758         [BZ #20452]
17759         Use sysdep.o from libc.a in static libraries.
17760         * sysdeps/unix/sysv/linux/i386/Makefile
17761         (libpthread-shared-only-routines): Add sysdep.
17762         (librt-shared-only-routines): Likewise.
17764 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
17766         * math/tgmath.h (nextdown): Define if
17767         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
17768         (nextup): Likewise.
17770         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
17771         macro.
17772         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
17773         Document.
17774         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
17775         Document macro.
17776         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
17777         (exp10f): Likewise.
17778         (exp10l): Likewise.
17779         * math/bits/mathcalls.h (exp10): Declare if
17780         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
17782         * manual/arith.texi (nextup): Fix typo in last change.
17784 2016-08-03  Zack Weinberg  <zackw@panix.com>
17786         [BZ #19239]
17787         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
17788         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
17789         define major, minor, and makedev to issue deprecation warnings on use.
17790         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
17791         previously-activated deprecation warnings for these macros and prevent
17792         subsequent inclusions of this header from having any effect.
17793         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
17794         including <sys/sysmacros.h>, and undefine it again afterward.
17796 2016-08-03  Zack Weinberg  <zackw@panix.com>
17798         * sysdeps/generic/sys/sysmacros.h: Delete file.
17799         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
17800         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
17801         * bits/sysmacros.h: ... here; this encoding is now the generic
17802         encoding.  Now defines only the following macros:
17803         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
17804         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
17805         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
17807         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
17808         bits/sysmacros.h and the above new macros to generate the
17809         public implementations of major, minor, and makedev.
17810         * misc/tst-makedev.c: New test.
17811         * include/sys/sysmacros.h: New wrapper.
17813         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
17814         (routines): Add makedev.
17815         (tests): Add tst-makedev.
17816         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
17817         gnu_dev_makedev.
17818         * posix/Makefile (headers): Remove sys/sysmacros.h.
17819         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
17821         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
17822         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
17823         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
17824         * sysdeps/unix/sysv/linux/alpha/libc.abilist
17825         * sysdeps/unix/sysv/linux/arm/libc.abilist
17826         * sysdeps/unix/sysv/linux/hppa/libc.abilist
17827         * sysdeps/unix/sysv/linux/i386/libc.abilist
17828         * sysdeps/unix/sysv/linux/ia64/libc.abilist
17829         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17830         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
17831         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
17832         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17833         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17834         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17835         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17836         * sysdeps/unix/sysv/linux/nios2/libc.abilist
17837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17841         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
17842         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
17843         * sysdeps/unix/sysv/linux/sh/libc.abilist
17844         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17845         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17848         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
17849         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
17850         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
17851         Add GLIBC_2.25.
17853         * include/features.h (__glibc_clang_prereq): New macro.
17854         * misc/sys/cdefs.h (__glibc_clang_has_extension)
17855         (__attribute_deprecated_msg__): New macros.
17857 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
17859         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
17860         macro.
17861         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
17862         * manual/arith.texi (issignaling): Document as ISO from TS
17863         18661-1:2014.
17864         (nextup): Likewise.
17865         (nextupf): Likewise.
17866         (nextupl): Likewise.
17867         (nextdown): Likewise.
17868         (nextdownf): Likewise.
17869         (nextdownl): Likewise.
17870         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
17871         macro.
17872         * math/math.h: Define
17873         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17874         <bits/libc-header-start.h> instead of including <features.h>.
17875         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
17876         [__USE_GNU].
17877         * math/bits/mathcalls.h (nextdown): Declare if
17878         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
17879         (nextup): Likewise.
17880         (__issignaling): Likewise.
17882 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17884         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
17885         check, and remove __glibc_likely hint
17886         from FP_INFINITE check.
17887         * s_csinhf.c (__csinhf): Likewise.
17889         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
17890         hint from FP_INFINITE check.
17891         * s_csinhl.c (__csinhl): Likewise.
17893 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17895         * math/Makefile (libm-calls): Insert F placeholder into
17896         object names.  Move w_lgamma_compat* routines into
17897         (libm-compat-calls): New variable.
17898         (libm-compat-calls-ldouble-yes): New variable.
17899         (calls): Insert F placeholder.
17900         (generated): Redefine using new type-foreach macro call.
17901         (routines): Likewise.
17903         (types): New variable to hold a list of symbolic names
17904         for each type supported by the target machine.
17905         (libm-routines): Redefine using new types variable.
17906         (type-foreach): macro to replace fooF with the
17907         appropriately suffixed foo for each types.
17909         (type-ldouble-suffix): New variable.
17910         (type-ldouble-routines): Likewise.
17911         (type-ldouble-yes): Likewise.
17912         (type-double-suffix): Likewise.
17913         (type-double-routines): Likewise.
17914         (type-float-suffix): Likewise.
17915         (type-float-routines): Likewise.
17917         (dbl-only-routines): Remove.
17918         (long-c-yes): Likewise.
17919         (long-m-routines): Likewise.
17920         (long-m-support): Likewise.
17921         (long-m-yes): Likewise.
17922         (test-longdouble-yes): Likewise.
17924         (test-float.o): Simplify by increasing the scope of the
17925         recipe which adds libm-test.stmp to the vector types.
17926         (test-ifloat.o): Likewise.
17927         (test-float-finite.o): Likewise.
17928         (test-double.o): Likewise
17929         (test-idouble.o): Likewise.
17930         (test-double-finite.o): Likewise.
17931         (test-ldouble.o): Likewise
17932         (test-ildoubl.o): Likewise.
17933         (test-ldouble-finite.o): Likewise.
17935         (libm-tests): Redefine type tests using foreach and the
17936         list of types in types.
17938         (CPPFLAGS-test-ildoubl.c): Rename to
17939         (CPPFLAGS-test-ildouble.c): New variable
17941         * math/test-ildoubl.c: Rename to
17942         * math/test-ildouble.c: New file.
17944 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17946         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
17947         Use fabsl instead of fabs.
17948         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
17949         Likewise.
17950         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
17951         Add long double suffix to constant to ensure proper
17952         promotion to long double.
17954 2016-08-03  Tom Tromey  <tom@tromey.com>
17956         [BZ #20311]
17957         * nptl_db/Makefile (headers): Add proc_service.h.
17958         * nptl_db/proc_service.h: Add include guard.  Use
17959         __BEGIN/__END_DECLS.
17960         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
17961         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
17962         arguments.
17965 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17967         [BZ #17730]
17968         Avoid using memalign for TCB allocations.
17969         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
17970         (_dl_allocate_tls_storage): Use malloc and manual alignment.
17971         Avoid alignment gap in the TLS_DTV_AT_TP case.
17972         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
17973         determine the pointer to free.
17974         * nptl/tst-tls3-malloc.c: New test.
17975         * nptl/Makefile (tests): Add it.
17976         (tst-tls3-malloc): Link with libdl, libpthread.
17977         (LDFLAGS-tst-tls3-malloc): Set.
17978         (tst-tls3-malloc.out): Depend on DSO used in test.
17980 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17982         [BZ #17730]
17983         Avoid using memalign for TLS allocations.
17984         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
17985         is_static member with to_free member.
17986         (union dtv): Use struct dtv_pointer.
17987         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
17988         dtv_pointer instead of is_static.
17989         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
17990         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
17991         instead of val.
17992         (allocate_dtv_entry): New function.
17993         (allocate_and_init): Return struct dtv_pointer.  Call
17994         allocate_dtv_entry instead of __libc_memalign.
17995         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
17996         instead of val.
17997         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
17998         instead of is_static.  Adjust call to allocate_and_init.
17999         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18000         struct dtv_pointer instead of val.
18002 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18004         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18005         (MALLOC_ALIGN_MASK): Move ...
18006         * malloc/malloc-internal.h: ... to here.
18007         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18009 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18011         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18012         (UDP_ENCAP_GTP1U): Likewise.
18014         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18015         (PF_MAX): Update value.
18016         (AF_QIPCRTR): New macro.
18018 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18020         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18021         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18022         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18023         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18024         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18025         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18026         s_truncf-vis3, s_trunc-vis3.
18027         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18028         (CFLAGS-s_ceil-vis3.c): Likewise.
18029         (CFLAGS-s_floorf-vis3.c): Likewise.
18030         (CFLAGS-s_floor-vis3.c): Likewise.
18031         (CFLAGS-s_truncf-vis3.c): Likewise.
18032         (CFLAGS-s_trunc-vis3.c): Likewise.
18033         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18034         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18035         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18036         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18037         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18038         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18039         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18040         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18041         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18042         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18043         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18044         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18046 2016-08-02  David S. Miller  <davem@davemloft.net>
18048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18049         (__nearbyint_vis3): Don't check for sNaN before float register is
18050         loaded with the incoming argument.
18051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18052         (__nearbyintf_vis3): Likewise.
18053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18054         Likewise.
18055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18056         Likewise.
18058         * string/test-strncmp.c (do_test_limit): Make sure the test data
18059         stream is aligned as required for the type "CHAR".
18060         (do_test): Likewise.
18062 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18064         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18065         by beq instructions jumping to the end of the function.
18066         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18067         clobber list. Use "i" constraint instead of "X".
18068         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18069         of "X".
18071 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
18073         * bits/libc-header-start.h: New file.
18074         * Makefile (headers): Add bits/libc-header-start.h.
18075         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18076         (__GLIBC_USE): New macro.
18077         * libio/stdio.h: Define
18078         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18079         <bits/libc-header-start.h> instead of including <features.h>.
18080         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18081         (open_memstream): Likewise.
18082         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18083         (__asprintf): Likewise.
18084         (asprintf): Likewise.
18085         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18086         (getdelim): Likewise.
18087         (getline): Likewise.
18088         * string/string.h: Define
18089         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18090         <bits/libc-header-start.h> instead of including <features.h>.
18091         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18092         (strndup): Likewise.
18093         * wcsmbs/wchar.h: Define
18094         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18095         <bits/libc-header-start.h> instead of including <features.h>.
18096         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18097         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18099 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18101         Support linking against compatibility symbols, for use in tests.
18102         * include/libc-symbols.h (symbol_version_reference): New macro.
18103         (symbol_version): Use it.
18104         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
18105         (compat_symbol): Use compat_symbol_reference.
18106         (compat_symbol_1, compat_symbol_2): Remove.
18107         (compat_symbol_reference, compat_symbol_reference_1)
18108         (compat_symbol_reference_2): New macro.  Use
18109         symbol_version_reference.
18111 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18113         [BZ #19469]
18114         * malloc/Makefile (CPPFLAGS): Compile tests with
18115         -DTEST_NO_MALLOPT.
18116         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
18118 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
18120         [BZ #20033]
18121         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
18122         finite version.
18123         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
18124         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
18125         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
18126         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
18127         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
18128         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
18129         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
18130         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
18131         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
18132         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
18133         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
18134         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
18135         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
18136         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
18137         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
18138         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
18139         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
18140         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
18141         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
18142         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
18143         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
18144         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
18145         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
18146         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
18147         in zero power.
18149 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18151         [BZ #20370]
18152         * malloc/arena.c (get_free_list): Update comment.  Assert that
18153         arenas on the free list have no attached threads.
18154         (remove_from_free_list): New function.
18155         (reused_arena): Call it.
18157 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
18159         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
18160         when it is a NaN.
18161         [_IEEE_FP_INEXACT] Remove.
18162         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
18163         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
18164         when it is a NaN.
18165         [_IEEE_FP_INEXACT] Remove.
18166         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
18167         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
18168         when it is a NaN.
18169         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
18170         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
18171         when its absolute value is greater than 0x1.0p52.
18172         [_IEEE_FP_INEXACT] Remove.
18173         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
18174         when its absolute value is greater than 0x1.0p23.
18175         [_IEEE_FP_INEXACT] Remove.
18177 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
18179         * version.h (RELEASE): Set to "development"
18180         (VERSION): Set to 2.24.90.
18181         * NEWS: Add 2.25 section.
18183         * version.h (RELEASE): Set to "stable"
18184         (VERSION): Set to 2.24.
18185         * include/features.h (__GLIBC_MINOR__): Set to 24.
18187         * NEWS: Add 2.24 fixed bugs.
18188         * po/libc.pot: Regenerate.
18190 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
18192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18193         [$(subdir) = math] (libm-sysdep_routines): Remove.
18194         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18195         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18196         s_truncf-vis3, s_trunc-vis3.
18197         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
18199         file.
18200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
18201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
18202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
18206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
18207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
18209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
18210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
18211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
18212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
18213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
18214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
18215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
18219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
18220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
18221         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
18222         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18223         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18224         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18225         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18226         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18227         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
18228         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18229         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18230         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
18231         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18232         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18233         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
18234         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
18235         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
18236         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
18237         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18238         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18239         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
18240         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
18241         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
18242         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
18244 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
18246         [BZ #20384]
18247         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
18248         test-double-libmvec-sincos-avx-main.o,
18249         test-double-libmvec-sincos-avx2-main.o,
18250         test-double-libmvec-sincos-main.o,
18251         test-float-libmvec-sincosf-avx-main.o,
18252         test-float-libmvec-sincosf-avx2-main.o and
18253         test-float-libmvec-sincosf-main.o.
18254         test-float-libmvec-sincosf-avx512-main.o.
18255         ($(objpfx)test-double-libmvec-sincos): Also link with
18256         $(objpfx)test-double-libmvec-sincos-main.o.
18257         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
18258         $(objpfx)test-double-libmvec-sincos-avx-main.o.
18259         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
18260         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
18261         ($(objpfx)test-float-libmvec-sincosf): Also link with
18262         $(objpfx)test-float-libmvec-sincosf-main.o.
18263         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
18264         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
18265         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
18266         test-double-libmvec-sincos-avx512-main.o and
18267         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
18268         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
18269         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
18270         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
18271         (CFLAGS-test-double-libmvec-sincos.c): Removed.
18272         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
18273         (CFLAGS-test-double-libmvec-sincos-main.c): New.
18274         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
18275         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
18276         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
18277         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
18278         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
18279         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
18280         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
18281         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
18282         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
18283         -DREQUIRE_AVX2.
18284         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
18285         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
18286         -DREQUIRE_AVX512F.
18287         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
18288         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
18289         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18290         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
18291         file.
18292         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
18293         Likewise.
18294         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
18295         Likewise.
18296         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
18297         Likewise.
18298         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
18299         Likewise.
18300         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
18301         Likewise.
18302         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
18303         Likewise.
18304         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
18305         Likewise.
18307 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
18309         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
18311 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
18313         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
18314         and typo in a comment about AT_HWCAP entry.
18316 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18318         * sysdeps/aarch64/libm-test-ulps: Updated.
18320 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18322         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
18323         of r13 as it is not restored in mvcle case.
18325 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
18327         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
18328         Rename "ret" to "__ret".
18329         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
18330         inline_syscall5, inline_syscall6): Likewise.
18332 2016-07-19   Will Newton  <will.newton@gmail.com>
18334         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
18335         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
18336         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
18337         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
18338         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
18340 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
18342         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
18343         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
18344         -mfpmath=387 with $(rtld-CFLAGS).
18345         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
18346         $(rtld-CFLAGS).
18348 2016-07-18   Ross Burton  <ross.burton@intel.com>
18349              Khem Raj  <raj.khem@gmail.com>
18351         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
18352         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
18353         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
18354         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
18355         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
18356         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
18357         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
18358         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
18359         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
18360         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
18361         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
18362         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
18363         R_METAG_TLS_DTPOFF): New.
18365 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
18366             Matt Clay  <mclay@lycos.com>
18368         [BZ #20357]
18369         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
18370         to call __mpsin/__mpcos and to negate values.
18371         * math/auto-libm-test-in: Add test.
18372         * math/auto-libm-test-out: Regenerate.
18374 2016-07-18  Zack Weinberg  <zackw@panix.com>
18376         * grp/Makefile: Don't install the internal header grp-merge.h.
18378 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18380         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18382 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18384         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
18386 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18388         [BZ #15368]
18389         * sysdeps/unix/sysv/linux/nptl-signals.h
18390         (__nptl_clear_internal_signals): New function.
18391         (__libc_signal_block_all): Likewise.
18392         (__libc_signal_block_app): Likewise.
18393         (__libc_signal_restore_set): Likewise.
18394         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
18395         implementation.
18396         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
18397         the cached pid/tid value in pthread structure.
18399 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
18401         [BZ #20347]
18402         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18404 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
18406         [BZ #20348]
18407         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
18408         preadv64, pwrite64 and pwritev64.
18410 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
18412         [BZ #20350]
18413         * posix/tst-preadwrite.c: Renamed to ...
18414         * posix/tst-preadwrite-common.c: This.
18415         (PREAD): Removed.
18416         (PWRITE): Likewise.
18417         (STRINGIFY): Likewise.
18418         (STRINGIFY2): Likewise.
18419         (do_prepare): Make it static and remove function arguments.
18420         (do_test): Likewise.
18421         (PREPARE): Updated.
18422         (TEST_FUNCTION): New.
18423         (name): Make it static.
18424         (fd): Likewise.
18425         (do_prepare): Use create_temp_file.
18426         (do_test): Renamed to ...
18427         (do_test_with_offset): This.  Make it static and accept offset.
18428         Properly check return value of PWRITE and PREAD.  Return bytes
18429         read.  Don't close fd nor unlink name.
18430         * posix/tst-preadwrite.c: Rewrite.
18431         * posix/tst-preadwrite64.c: Likewise.
18433 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
18435         [BZ #20309]
18436         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
18437         -mtls-dialect=gnu2 works.
18438         * configure: Regenerated.
18439         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
18440         (tests): Add tst-gnu2-tls1.
18441         (modules-names): Add tst-gnu2-tls1mod.
18442         ($(objpfx)tst-gnu2-tls1): New.
18443         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
18444         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
18445         * elf/tst-gnu2-tls1.c: New file.
18446         * elf/tst-gnu2-tls1mod.c: Likewise.
18447         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
18448         bytes for push in the PLT entry to align the stack.
18450 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18452         [BZ #20349]
18453         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
18455 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18457         [BZ #18707]
18458         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
18459         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
18461 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18463         * sysdeps/unix/sysv/linux/sysdep.h
18464         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
18465         guards.
18466         * misc/tst-preadvwritev-common.c: New file.
18467         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
18468         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
18469         a check for files larger than 2GB.
18471         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18472         (__ASSUME_OFF_DIFF_OFF64): Remove define.
18473         * sysdeps/unix/sysv/linux/pread.c
18474         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
18475         __OFF_T_MATCHES_OFF64_T.
18476         * sysdeps/unix/sysv/linux/pread64.c
18477         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
18478         * sysdeps/unix/sysv/linux/preadv.c
18479         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
18480         * sysdeps/unix/sysv/linux/preadv64.c
18481         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
18482         * sysdeps/unix/sysv/linux/pwrite.c
18483         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
18484         * sysdeps/unix/sysv/linux/pwrite64.c
18485         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
18486         * sysdeps/unix/sysv/linux/pwritev.c
18487         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
18488         * sysdeps/unix/sysv/linux/pwritev64.c
18489         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
18491 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
18493         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18494         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
18496 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
18498         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
18500 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
18502         [BZ #20240]
18503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
18504         (CFLAGS-s_modf-ppc32.c): New variable.
18505         (CFLAGS-s_modff-ppc32.c): Likewise.
18506         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18507         (CFLAGS-s_modf-ppc64.c): Likewise.
18508         (CFLAGS-s_modff-ppc64.c): Likewise.
18510 2016-07-07  Andreas Schwab  <schwab@suse.de>
18512         [BZ #20263]
18513         * nptl/tst-robust10.c: New test.
18514         * nptl/Makefile (tests): Add tst-robust10.
18516 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
18518         [BZ #20263]
18519         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
18521 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
18523         * sysdeps/s390/linkmap.h (struct link_map_machine):
18524         Remove member gotplt and add member jmprel.
18525         * sysdeps/s390/s390-32/dl-machine.h
18526         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
18527         instead of gotplt with &got[3].
18528         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
18529         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18531 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
18533         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
18535 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18537         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
18538         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
18539         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
18540         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
18541         * libio/vtables.c (_IO_vtable_check)
18542         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
18543         * libio/libioP.h (IO_set_accept_foreign_vtables)
18544         [!PTR_MANGLE]: Do not call PTR_MANGLE.
18546 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
18548         [BZ #20314]
18549         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
18550         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
18551         $(common-objpfx)cmath.
18552         ($(common-objpfx)cstdlib): New target.
18553         ($(common-objpfx)cmath): Likewise.
18555 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
18557         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
18559 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18561         [BZ #20327]
18562         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
18563         are not part of the string.
18565 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18567         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
18568         * nptl/tst-cancel4-common.h (fifoname): New variable.
18569         (fifofd): Likewise.
18570         (cl_fifo): New function.
18571         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
18572         SIGINT.
18573         (tf_open): Add early cancel test.
18575 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
18577         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
18579 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
18581         * sysdeps/generic/ldsodefs.h
18582         (dl_symbol_visibility_binds_local_p): New inline function.
18583         * elf/dl-addr.c (determine_info): Treat hidden and internal
18584         symbols as local.
18585         * elf/dl-lookup.c (do_lookup_x): Likewise.
18586         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
18588 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
18590         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
18591         invalid exception for a sNaN input.
18592         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18593         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18594         (__nearbyint_vis3): Likewise
18595         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18596         (__nearbyintf_vis3): Likewise
18597         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
18598         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18599         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
18600         Likewise.
18601         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
18602         Likewise.
18604 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
18606         [BZ #20139]
18607         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
18608         (HAVE_AVX512DQ_ASM_SUPPORT): This.
18609         * sysdeps/x86_64/configure.ac: Require assembler from binutils
18610         2.24 or above.
18611         (HAVE_AVX512_ASM_SUPPORT): Removed.
18612         (HAVE_AVX512DQ_ASM_SUPPORT): New.
18613         * sysdeps/x86_64/configure: Regenerated.
18614         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
18615         check unconditional.
18616         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
18617         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18618         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18619         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
18620         Likewise.
18621         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
18622         Likewise.
18623         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
18624         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
18625         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18626         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18627         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
18628         Likewise.
18629         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
18630         Likewise.
18631         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18632         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18633         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
18634         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
18635         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
18636         Likewise.
18637         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
18638         Likewise.
18639         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
18640         Likewise.
18641         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
18642         Likewise.
18643         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
18644         Likewise.
18645         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
18646         Likewise.
18647         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
18648         Likewise.
18649         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
18650         Likewise.
18651         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
18652         Likewise.
18653         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
18654         Likewise.
18655         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
18656         Likewise.
18658 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
18660         [BZ #20024]
18661         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
18662         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
18663         of this implementation of vector function.
18664         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18665         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18666         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
18667         Likewise.
18668         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18669         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18670         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
18671         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
18672         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
18673         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
18674         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
18675         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
18676         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
18677         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
18678         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
18679         for testing vector sincos with fixed ABI.
18680         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18681         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18682         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18683         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18684         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18685         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18686         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18687         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
18688         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
18689         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
18690         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
18691         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
18692         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
18693         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
18694         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18695         * sysdeps/x86_64/fpu/Makefile: Added new tests.
18697 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
18699         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
18701 2016-06-30  Anton Blanchard  <anton@samba.org>
18703         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18704         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
18705         s_sinf-ppc64.
18706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
18707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
18708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
18709         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
18711 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18714         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18715         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
18716         e_expf-ppc64.
18717         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
18718         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
18719         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
18720         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
18722 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
18724         [BZ #20277]
18725         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
18726         when SHARED is defined.
18728 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
18730         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
18731         (index_arch_Prefer_ERMS): Likewise.
18732         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
18733         __memcpy_erms for Prefer_ERMS.
18734         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18735         (__memmove_erms): Enabled for libc.a.
18736         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
18737         __memmove_erms or Prefer_ERMS.
18738         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
18739         __mempcpy_erms for Prefer_ERMS.
18740         * sysdeps/x86_64/multiarch/memset.S (memset): Return
18741         __memset_erms for Prefer_ERMS.
18743 2016-06-30  Andreas Schwab  <schwab@suse.de>
18745         [BZ #20262]
18746         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
18747         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
18748         of memory.
18750 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
18752         [BZ #18645]
18753         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
18754         (test-extras): Add tst-cleanupx4aux.
18755         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
18756         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
18757         tst-cleanupx4aux.o.
18758         * nptl/tst-cleanupx4aux.c: New file.
18760 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
18762         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18764 2016-06-29  Andreas Schwab  <schwab@suse.de>
18766         [BZ #20260]
18767         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
18768         address before the beginning of the string as an integer to avoid
18769         array-bounds warning.
18771 2016-06-28  Richard Henderson  <rth@redhat.com>
18773         * elf/elf.h (EM_BPF): New.
18774         (EM_NUM): Update.
18775         (R_BPF_NONE, R_BPF_MAP_FD): New.
18777         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
18778         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
18779         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
18780         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
18781         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
18782         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
18783         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
18784         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
18785         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
18786         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
18787         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
18788         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
18789         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
18790         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
18791         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
18792         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
18793         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
18794         (EM_NUM): Update.
18796 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
18798         [BZ #18960]
18799         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
18800         Set _nl_current_LC_CATEGORY_used to two instead of one.
18802 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
18804         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
18805         (do_test): ... this.
18806         (TEST_FUNCTION): New macro.
18807          Include test-skeleton.c.
18808         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
18809         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
18811 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
18813         [BZ #15479]
18814         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
18815         floating-point environment rather than just control word.
18816         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18817         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
18818         floating-point environment, with "invalid" exceptions merged in,
18819         rather than just control word.
18820         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
18821         * math/libm-test.inc (trunc_test_data): Do not allow spurious
18822         "inexact" exceptions.
18824         [BZ #15479]
18825         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
18826         floating-point environment rather than just control word.
18827         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18828         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
18829         floating-point environment, with "invalid" exceptions merged in,
18830         rather than just control word.
18831         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
18832         * math/libm-test.inc (floor_test_data): Do not allow spurious
18833         "inexact" exceptions.
18835         [BZ #15479]
18836         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
18837         floating-point environment rather than just control word.
18838         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18839         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
18840         floating-point environment, with "invalid" exceptions merged in,
18841         rather than just control word.
18842         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
18843         * math/libm-test.inc (ceil_test_data): Do not allow spurious
18844         "inexact" exceptions.
18846 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
18848         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
18849         __libc_vfork.
18850         (__vfork) [IS_IN (libc)]: Remove alias.
18851         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
18852         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
18853         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
18855 2016-06-24  Torvald Riegel  <triegel@redhat.com>
18857         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
18858         of atomic_compare_and_exchange_bool_rel.
18859         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18860         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
18861         catomic_compare_and_exchange_bool_rel): Remove.
18862         * sysdeps/aarch64/atomic-machine.h
18863         (atomic_compare_and_exchange_bool_rel): Likewise.
18864         * sysdeps/alpha/atomic-machine.h
18865         (atomic_compare_and_exchange_bool_rel): Likewise.
18866         * sysdeps/arm/atomic-machine.h
18867         (atomic_compare_and_exchange_bool_rel): Likewise.
18868         * sysdeps/mips/atomic-machine.h
18869         (atomic_compare_and_exchange_bool_rel): Likewise.
18870         * sysdeps/microblaze/atomic-machine.h
18871         ( __arch_compare_and_exchange_bool_8_rel,
18872         __arch_compare_and_exchange_bool_16_rel): Likewise.
18873         * sysdeps/powerpc/atomic-machine.h
18874         ( __arch_compare_and_exchange_bool_8_rel,
18875         __arch_compare_and_exchange_bool_16_rel): Likewise.
18876         * sysdeps/powerpc/powerpc32/atomic-machine.h
18877         ( __arch_compare_and_exchange_bool_32_rel,
18878         __arch_compare_and_exchange_bool_64_rel): Likewise.
18879         * sysdeps/powerpc/powerpc64/atomic-machine.h
18880         ( __arch_compare_and_exchange_bool_32_rel,
18881         __arch_compare_and_exchange_bool_64_rel): Likewise.
18882         * sysdeps/tile/atomic-machine.h
18883         (atomic_compare_and_exchange_bool_rel): Likewise.
18885 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
18887         [BZ #20296]
18888         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
18889         when either argument is a NaN.
18890         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18891         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
18893         * math/libm-test.inc (snan_value_ld): New macro.
18894         (isgreater_test_data): Add sNaN tests.
18895         (isgreaterequal_test_data): Likewise.
18896         (isless_test_data): Likewise.
18897         (islessequal_test_data): Likewise.
18898         (islessgreater_test_data): Likewise.
18899         (isunordered_test_data): Likewise.
18900         (nextafter_test_data): Likewise.
18901         (nexttoward_test_data): Likewise.
18902         (remainder_test_data): Likewise.
18903         (remquo_test_data): Likewise.
18904         (significand_test_data): Likewise.
18905         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
18907 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
18909         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
18910         environment macros are defined.
18911         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
18913 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18915         [BZ #20191]
18916         Implement vtable verification in libio.
18917         * Makerules (shlib.lds): Place __libc_IO_vtables section.
18918         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
18919         * debug/vdprintf_chk.c (__vdprintf_chk): Call
18920         _IO_new_file_init_internal instead of _IO_file_init.
18921         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
18922         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
18923         * libio/Makefile (routines): Add vtables.
18924         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
18925         (_IO_init): Remove, not for internal use.
18926         (_IO_init_internal): Declare, internal replacement for _IO_init.
18927         (_IO_file_init): Remove, not for internal use.
18928         (_IO_new_file_init): Remove, not for internal use.
18929         (_IO_new_file_init_internal): Declare, internal replacement for
18930         _IO_new_file_init.
18931         (_IO_old_file_init): Remove, not for internal use.
18932         (_IO_old_file_init_internal): Declare, internal replacement for
18933         _IO_old_file_init.
18934         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
18935         internal use.
18936         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
18937         Declare.
18938         (libio_vtable): New macro.
18939         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
18940         functions.
18941         * libio/fileops.c (_IO_new_file_init_internal): Rename from
18942         _IO_new_file_init.
18943         (_IO_new_file_init): New externally visible wrapper which disables
18944         vtable verification.
18945         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
18946         Define as vtables.
18947         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
18948         (_IO_init): New externally visible wrapper which disables
18949         vtable verification.
18950         * libio/iofdopen.c (_IO_new_fdopen): Call
18951         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
18952         comment.
18953         * libio/iofopen.c (__fopen_internal): Call
18954         _IO_new_file_init_internal instead of _IO_file_init.
18955         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
18956         Define as vtables.
18957         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
18958         _IO_new_file_init_internal instead of _IO_file_init.
18959         * libio/iopopen.c (_IO_new_popen): Likewise.
18960         (_IO_proc_jumps): Define as vtable.
18961         * libio/iovdprintf.c (_IO_vdprintf): Call
18962         _IO_new_file_init_internal instead of _IO_file_init.
18963         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
18964         (__open_memstream): Call _IO_init_internal instead of _IO_init.
18965         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
18966         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
18967         _IO_old_file_init.
18968         (_IO_old_file_init): New externally visible wrapper which disables
18969         vtable verification.
18970         (_IO_old_file_jumps): Define as vtable.
18971         * libio/oldiofdopen.c (_IO_old_fdopen): Call
18972         _IO_old_file_init_internal instead of _IO_old_file_init.
18973         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18974         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18975         (_IO_old_proc_jumps): Define as vtable.
18976         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
18977         Define as vtables.
18978         * libio/vtables.c: New file.
18979         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
18980         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
18981         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
18982         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
18983         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
18984         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
18985         instead of _IO_init.
18987 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18989         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
18991 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18993         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
18994         potentially unused.
18996 2016-06-22  Florian Weimer  <fweimer@redhat.com>
18998         * test-skeleton.c (write_message): New function.
18999         * malloc/tst-mallocfork2.c (write_message): Remove.
19000         * debug/tst-longjmp_chk2.c (write_indented): New function.
19001         (write_message): Remove.
19002         (stackoverflow_handler): Call write_indented.
19004 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
19006         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19007         "inexact" exceptions after fnstenv.
19008         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19009         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19010         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19012 2015-06-22  Zack Weinberg  <zackw@panix.com>
19014         * sysdeps/generic/bits/hwcap.h: Moved to ...
19015         * bits/hwcap.h: Here.
19017 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
19019         * sysdeps/aarch64/memcpy.S (memcpy):
19020         Further tuning for performance.
19022 2016-06-21  Florian Weimer  <fweimer@redhat.com>
19024         [BZ #20284]
19025         * malloc/arena.c (reused_arena): Do not return NULL if we start
19026         out with a non-corrupted arena.
19028 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19030         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19031         * misc/tst-preadvwritev.c: New file.
19032         * misc/tst-preadvwritev64.c: Likewise.
19033         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19034         usage.
19035         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19036         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19037         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19038         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19040 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
19042         [BZ #19654]
19043         * sysdeps/x86_64/fpu/Makefile: Added new tests.
19044         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19045         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19046         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19047         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19048         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19049         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19050         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19051         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19052         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19053         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19054         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19055         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19056         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19057         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19058         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19059         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19060         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19061         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19062         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19063         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19064         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19065         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19066         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19067         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19068         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19070 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
19072         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19073         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19075 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
19077         * sysdeps/aarch64/memcpy.S (memcpy):
19078         Rewrite of optimized memcpy and memmove.
19079         * sysdeps/aarch64/memmove.S (memmove): Remove
19080         memmove code (merged into memcpy.S).
19082 2016-06-20  Florian Weimer  <fweimer@redhat.com>
19084         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19085         * sysdeps/generic/dl-dtv.h: New file.
19086         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19087         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19088         (dtv_t): Remove.
19089         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19090         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19091         (dtv_t): Remove.
19092         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19093         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19094         (dtv_t): Remove.
19095         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19096         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19097         (dtv_t): Remove.
19098         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19099         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
19100         (dtv_t): Remove.
19101         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19102         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
19103         (dtv_t): Remove.
19104         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19105         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
19106         (dtv_t): Remove.
19107         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
19108         (dtv_t): Remove.
19109         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19110         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
19111         (dtv_t): Remove.
19112         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19113         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
19114         (dtv_t): Remove.
19115         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19116         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
19117         (dtv_t): Remove.
19118         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19119         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
19120         (dtv_t): Remove.
19121         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19122         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
19123         (dtv_t): Remove.
19124         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19125         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
19126         (dtv_t): Remove.
19127         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19128         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
19129         (dtv_t): Remove.
19130         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19131         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
19132         (dtv_t): Remove.
19134 2016-06-20  Florian Weimer  <fweimer@redhat.com>
19136         Revert symbol poisoning of  __malloc_initialize_hook.
19137         * include/stdc-predef.h (__malloc_initialize_hook): Remove
19138         poisoning.
19139         * malloc/Makefile: Remove un-poisoning.
19140         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
19141         instead of old__malloc_initialize_hook.
19142         * malloc/malloc-hooks.h: Likewise.
19143         * malloc/malloc.c: Likewise.
19144         * malloc/mcheck-init.c: Likewise.
19146 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
19148         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
19150 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
19152         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
19153         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
19154         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19155         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19157 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19159         * NEWS: Mention addition of nextup and nextdown.
19160         * manual/arith.texi: Document nextup and nextdown.
19161         * manual/libm-err-tab.pl: Add nextup and nextdown.
19162         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
19163         * math/Versions (libm): Add GLIBC_2.24.
19164         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
19165         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19166         Add new test.
19167         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
19168         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
19169         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
19170         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
19171         (nextup_test_data): Likewise.
19172         (nextdown_test_data): Likewise.
19173         * math/s_nextdown.c: New file.
19174         * math/s_nextdownf.c: Likewise.
19175         * math/s_nextdownl.c: Likewise.
19176         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
19177         F(nextup): New function.
19178         F(nextdown): Likewise.
19179         * math/tgmath.h: Add nextup and nextdown.
19180         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
19181         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
19182         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
19183         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
19184         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
19185         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
19186         Add nextup and nextdown.
19187         (CFLAGS-nldbl-nextup.c): New variable.
19188         (CFLAGS-nldbl-nextdown.c): Likewise.
19189         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
19190         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
19191         * sysdeps/nacl/libm.abilist: Update.
19192         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19193         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19194         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19195         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19196         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19197         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19198         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19199         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19200         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19201         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19202         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19203         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19206         Likewise.
19207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19209         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19210         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19211         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19212         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19213         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
19215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
19216         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19217         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19218         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
19219         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19221 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19223         * manual/pattern.texi: Fix typos & grammar errors.
19225 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19227         * manual/search.texi: Fix typos & grammar errors.
19229 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19231         * manual/message.texi: Fix typos & grammar errors.
19233 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
19235         * manual/contrib.texi: Fix spelling typos.
19236         * manual/crypt.texi: Likewise.
19237         * manual/filesys.texi: Likewise.
19238         * manual/locale.texi: Likewise.
19239         * manual/message.texi: Likewise.
19240         * manual/nss.texi: Likewise.
19241         * manual/string.texi: Likewise.
19243 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19245         * manual/locale.texi: Fix typos & grammar errors.
19247 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19249         * manual/charset.texi: Fix typos & grammar errors.
19251 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19253         * manual/string.texi: Fix typos.
19255 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19257         * manual/ctype.texi: Fix typos.
19259 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19261         * manual/memory.texi: Fix various typos & grammar errors.
19263 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
19265         [BZ #20255]
19266         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
19267         * math/libm-test.inc (fdim_test_data): Add another test.
19269         [BZ #6796]
19270         [BZ #20255]
19271         [BZ #20256]
19272         * math/s_fdim.c: Include <math_private.h>.
19273         (__fdim): Use math_narrow_eval on result.
19274         * math/s_fdimf.c: Include <math_private.h>.
19275         (__fdimf): Use math_narrow_eval on result.
19276         * sysdeps/i386/fpu/s_fdim.S: Remove file.
19277         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
19278         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
19279         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
19280         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
19281         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
19282         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
19283         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
19284         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
19285         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
19286         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
19287         * math/libm-test.inc (fdim_test_data): Expect errno setting on
19288         overflow.  Add sNaN tests.
19290         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
19291         fpclassify.
19292         * math/s_fdimf.c (__fdimf): Likewise.
19293         * math/s_fdiml.c (__fdiml): Likewise.
19295 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19297         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19298         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
19299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19300         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19301         ifunc'ed strcasecmp/strncasecmp.
19302         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
19303         [EALIGN]: Removed.
19304         [END]: Likewise.
19305         [__strcasecmp]: Define instead of the above to control symbol name.
19306         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
19307         for __strcasecmp_power8.
19308         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
19309         for __strncasecmp_power8.
19310         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
19311         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
19312         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
19313         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
19314         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
19315         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
19317 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
19319         [BZ #20252]
19320         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
19321         arguments when second argument is a NaN.
19322         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
19323         qNaN tests.
19325         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
19326         (conj_test_data): Likewise.
19327         (copysign_test_data): Likewise.
19328         (creal_test_data): Likewise.
19329         (fma_test_data): Likewise.
19330         (fmod_test_data): Likewise.
19332         [BZ #20250]
19333         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
19334         itself.
19335         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
19336         zero input to itself.
19337         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
19338         Likewise.
19339         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
19340         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
19341         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19342         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
19343         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
19345 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19347         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
19348         * nptl/tst-cancel4-common.c: New file.
19349         * nptl/tst-cancel4-common.h: Likewise.
19350         * nptl/tst-cancel4.c: Move common definitions to
19351         tst-cancel4-common.{c,h} file.
19352         * nptl/tst-cancel4_1.c: New test.
19353         * nptl/tst-cancel4_2.c: New test.
19355 2016-06-13  Florian Weimer  <fweimer@redhat.com>
19357         [BZ #20248]
19358         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
19359         (write_message): New function.
19360         (stackoverflow_handler): Call it instead of printf, to avoid
19361         excessive stack usage by printf.
19362         (do_test): Restore SIGSEGV, SIGBUS default handlers.
19364 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19366         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
19367         (prio_inherit_missing): Remove define.
19368         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19369         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19370         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
19371         Likewise.
19372         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19373         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19374         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19375         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19376         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19377         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19379 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19381         [BZ #19670]
19382         [BZ #19672]
19384         * io/test-lfs.c (do_prepare): Use xmalloc.
19385         * io/tst-fcntl.c (do_prepare): Likewise.
19386         * libio/tst-fopenloc.c (do_bz17916): Likewise.
19387         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
19388         * login/tst-utmp.c (do_prepare): Likewise.
19389         * posix/tst-exec.c (do_prepare): Likewise.
19390         * posix/tst-pathconf.c (prepare): Likewise.
19391         * posix/tst-spawn.c (do_prepare): Likewise.
19392         * posix/tst-truncate.c (do_prepare): Likewise.
19393         * rt/tst-aio.c (do_prepare): Likewise.
19394         * rt/tst-aio64.c (do_prepare): Likewise.
19396 2016-06-11  Florian Weimer  <fweimer@redhat.com>
19398         [BZ #20237]
19399         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
19400         (get*ent): Set entidx to NULL during initialization.  If entidx is
19401         NULL, start iteration from the beginning.
19403 2016-06-11  Florian Weimer  <fweimer@redhat.com>
19405         * malloc/malloc.c (musable): Return correct size for dumped fake
19406         mmapped chunk.
19408 2016-06-11  Florian Weimer  <fweimer@redhat.com>
19410         [BZ #20222]
19411         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
19412         (_IO_cookie_write): Likewise.
19413         (_IO_cookie_seek): Likewise.
19414         (_IO_cookie_close): Likewise.
19415         (_IO_old_cookie_seek): Likewise.
19416         (set_callbacks): New function.
19417         (_IO_cookie_init): Call set_callbacks to copy callbacks.
19419 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
19421         * locale/programs/localedef.c (oldstyle_tables): Remove.
19422         * locale/programs/localedef.h (oldstyle_tables): Likewise.
19424 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
19426         [BZ #20240]
19427         * math/Makefile (CFLAGS-s_modf.c): New variable.
19428         (CFLAGS-s_modff.c): Likewise.
19429         (CFLAGS-s_modfl.c): Likewise.
19430         * math/libm-test.inc (modf_test_data): Add sNaN tests.
19432 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
19434         [BZ #20215]
19435         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
19436         [!__GNUC_PREREQ (3,2)]: Likewise.
19438 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
19440         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
19441         (msghdr.msg_controllen): Likewise.
19442         (cmsghdr.cmsg_len): Likewise.
19443         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
19444         ptw-oldsendmsg.
19445         (CFLAGS-oldrecvmsg.c): Remove rule.
19446         (CFLAGS-oldsendmsg.c): Likewise.
19447         (CFLAGS-recvmsg.c): Add rule.
19448         (CFLAGS-sendmsg.c): Likewise.
19449         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
19450         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
19451         (CFLAGS-recvmsg.c): Remove rule.
19452         (CFLAGS-sendmsg.c): Likewise.
19453         (CFLAGS-oldrecvmsg.c): Likewise.
19454         (CFLAGS-oldsendmsg.c): Likewise.
19455         (CFLAGS-recvmmsg.c): Likewise.
19456         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
19457         to kernel defined interfaces.
19458         (msghdr.msg_controllen): Likewise.
19459         (cmsghdr.cmsg_len): Likewise.
19460         (msghdr.__glibc_reserved1): Remove member.
19461         (msghdr.__glibc_reserved2): Likewise.
19462         (cmsghdr.__glibc_reserved1): Likewise.
19463         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
19464         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
19465         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
19466         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
19467         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
19468         version.
19469         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19470         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
19471         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19472         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
19473         Remove recvmsg and sendmsg.
19474         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
19475         Likewise.
19476         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
19477         Likewise.
19478         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
19479         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
19480         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
19481         Likewise.
19482         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
19483         Likewise.
19484         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
19485         [libc] (GLIBC_2.24): Likewise.
19486         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
19487         Likewise.
19488         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
19489         Likewise.
19490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19491         [libc] (GLIBC_2.24): Likewise.
19492         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
19493         Likewise.
19494         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
19495         Likewise.
19496         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
19497         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
19498         Likewise.
19499         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
19500         Likewise.
19501         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
19502         Likewise.
19503         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
19504         Likewise.
19505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
19506         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
19507         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
19508         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
19509         version for {recv,send,recm,sendm}msg.
19510         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19511         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19512         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19513         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19514         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19515         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19516         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19517         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19518         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19519         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19520         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19521         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19523         Likewise.
19524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19525         Likewise.
19526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19528         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19529         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19530         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19531         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19532         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19533         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19536         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19537         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19538         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19540 2016-06-10  Florian Weimer  <fweimer@redhat.com>
19542         [BZ #19564]
19543         Remove __malloc_initialize_hook from the API.
19544         * malloc/malloc.h (__malloc_initialize_hook): Remove.
19545         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
19546         #pragma GCC poison.
19547         * malloc/malloc-hooks.h: New file.
19548         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
19549         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
19550         (old__malloc_initialize_hook): Rename from
19551         __malloc_initialize_hook to evade poisoning.  Turn into compat
19552         symbol.
19553         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
19554         __malloc_initialize_hook.
19555         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
19556         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
19557         * manual/memory.texi (Hooks for Malloc): Remove
19558         __malloc_initialize_hook.  Adjust hook example.
19560 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
19562         [BZ #20235]
19563         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
19564         itself.
19565         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19566         * math/libm-test.inc (log2_test_data): Add sNaN tests.
19568         [BZ #20234]
19569         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
19570         infinity or NaN input to itself.
19572         [BZ #20233]
19573         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
19574         to itself.
19576         [BZ #20232]
19577         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
19578         itself.
19580 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
19582         * sysdeps/x86_64/start.S (_start): Always indirect branch to
19583         __libc_start_main via GOT.
19585 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
19587         * sysdeps/x86_64/memcopy.h: New file.
19588         * sysdeps/x86_64/wordcopy.c: Likewise.
19590 2016-06-09  Florian Weimer  <fweimer@redhat.com>
19592         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
19593         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
19594         <cstdlib>.
19595         (optimization_barrier): New.
19596         (do_test): Use it.  Call quick_exit in the global namespace.
19597         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
19598         instead of <cstdlib>, <thread>.
19599         (optimization_barrier): New.
19600         (non_main_thread): Adjust declaration.  Call optimization_barrier.
19601         Call quick_exit in the global namespace.
19602         (do_test): Call optimization_barrier.  Use pthread_create,
19603         pthread_join instead of std::thread.
19605 2016-06-09  Andreas Schwab  <schwab@suse.de>
19607         [BZ #19755]
19608         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
19609         new entries in auto-propagate mode.
19610         * nscd/grpcache.c (cache_addgr): Likewise.
19612 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19614         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
19615         New functions.
19616         (add_temp_file): Use them.
19618 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
19620         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
19622 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
19624         [BZ #20229]
19625         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
19626         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
19627         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
19629         [BZ #20228]
19630         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
19631         itself.
19632         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19633         * math/libm-test.inc (log10_test_data): Add sNaN tests.
19635         [BZ #20227]
19636         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
19637         itself.
19638         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19639         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19640         * math/libm-test.inc (log_test_data): Add sNaN tests.
19642         [BZ #20226]
19643         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
19644         itself.
19645         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19646         * math/libm-test.inc (exp_test_data): Add sNaN tests.
19647         (exp10_test_data): Likewise.
19648         (expm1_test_data): Likewise.
19650         [BZ #20225]
19651         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
19652         itself.
19653         * math/s_ldexpf.c (__ldexpf): Likewise.
19654         * math/s_ldexpl.c (__ldexpl): Likewise.
19655         * math/w_scalbln.c (__w_scalbln): Likewise.
19656         * math/w_scalblnf.c (__w_scalblnf): Likewise.
19657         * math/w_scalblnl.c (__w_scalblnl): Likewise.
19658         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
19659         (scalbln_test_data): Likewise.
19661         [BZ #20224]
19662         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
19663         argument to itself.
19664         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
19666 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
19668         [BZ #19776]
19669         * sysdeps/x86_64/memcpy.S: Make it dummy.
19670         * sysdeps/x86_64/mempcpy.S: Likewise.
19671         * sysdeps/x86_64/memmove.S: New file.
19672         * sysdeps/x86_64/memmove_chk.S: Likewise.
19673         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19674         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19675         * sysdeps/x86_64/memmove.c: Removed.
19676         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19677         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19678         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
19679         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
19680         Likewise.
19681         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19682         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19683         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19684         memcpy-sse2-unaligned, memmove-avx-unaligned,
19685         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
19686         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19687         (__libc_ifunc_impl_list): Replace
19688         __memmove_chk_avx512_unaligned_2 with
19689         __memmove_chk_avx512_unaligned.  Remove
19690         __memmove_chk_avx_unaligned_2.  Replace
19691         __memmove_chk_sse2_unaligned_2 with
19692         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
19693         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
19694         with __memmove_avx512_unaligned.  Replace
19695         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
19696         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
19697         with __memcpy_chk_avx512_unaligned.  Remove
19698         __memcpy_chk_avx_unaligned_2.  Replace
19699         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
19700         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
19701         Replace __memcpy_avx512_unaligned_2 with
19702         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
19703         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
19704         with __mempcpy_chk_avx512_unaligned.  Remove
19705         __mempcpy_chk_avx_unaligned_2.  Replace
19706         __mempcpy_chk_sse2_unaligned_2 with
19707         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
19708         Replace __mempcpy_avx512_unaligned_2 with
19709         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
19710         Replace __mempcpy_sse2_unaligned_2 with
19711         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
19712         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
19713         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
19714         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
19715         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
19716         (ENTRY): Removed.
19717         (END): Likewise.
19718         (ENTRY_CHK): Likewise.
19719         (libc_hidden_builtin_def): Likewise.
19720         Don't include ../memcpy.S.
19721         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
19722         __memcpy_chk_avx512_unaligned_erms and
19723         __memcpy_chk_avx512_unaligned.  Use
19724         __memcpy_chk_avx_unaligned_erms and
19725         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
19726         Default to __memcpy_chk_sse2_unaligned.
19727         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19728         Change function suffix from unaligned_2 to unaligned.
19729         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
19730         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
19731         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
19732         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
19733         (ENTRY): Removed.
19734         (END): Likewise.
19735         (ENTRY_CHK): Likewise.
19736         (libc_hidden_builtin_def): Likewise.
19737         Don't include ../mempcpy.S.
19738         (mempcpy): New.  Add a weak alias.
19739         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
19740         __mempcpy_chk_avx512_unaligned_erms and
19741         __mempcpy_chk_avx512_unaligned.  Use
19742         __mempcpy_chk_avx_unaligned_erms and
19743         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
19744         Default to __mempcpy_chk_sse2_unaligned.
19746 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
19748         [BZ #19881]
19749         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
19750         into ...
19751         * sysdeps/x86_64/memset.S: This.
19752         (__bzero): Removed.
19753         (__memset_tail): Likewise.
19754         (__memset_chk): Likewise.
19755         (memset): Likewise.
19756         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
19757         defined.
19758         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
19759         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
19760         (__memset_zero_constant_len_parameter): Check SHARED instead of
19761         PIC.
19762         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19763         memset-avx2 and memset-sse2-unaligned-erms.
19764         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19765         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
19766         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
19767         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
19768         (__bzero): Enabled.
19769         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
19770         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
19771         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
19772         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
19773         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
19774         (memset): Removed.
19775         (__memset_chk): Likewise.
19776         (MEMSET_SYMBOL): New.
19777         (libc_hidden_builtin_def): Replace __memset_sse2 with
19778         __memset_sse2_unaligned.
19779         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
19780         __memset_chk_sse2 and __memset_chk_avx2 with
19781         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
19782         Use __memset_chk_sse2_unaligned_erms or
19783         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
19784         __memset_chk_avx512_unaligned_erms and
19785         __memset_chk_avx512_unaligned.
19787 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19789         * math/gen-auto-libm-test.c (fp_format_desc): remove
19790         suffix member.
19791         (output_generic_value): Remove usage of suffix member,
19792         and the resulting unuse of the fp_format argument.
19793         (output_for_one_input_case): Remove unused fp_format
19794         parameter.
19796         * math/auto-libm-test-out: Regenerate.
19798         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
19799         usage with TEST_COND_ibm128.
19800         (TEST_COND_flt_32): Remove.
19801         (TEST_COND_dbl_64): Remove.
19802         (TEST_COND_ldbl_96_intel): Remove.
19803         (TEST_COND_ldbl_96_m68k): Remove.
19804         (TEST_COND_ldbl_128): Remove.
19806 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19808         * auto-libm-test-in:
19809         Replace flt-32 usage with binary32.
19810         Replace dbl-64 usage with binary64.
19811         Replace ldbl-intel-96 usage with intel96.
19812         Replace ldbl-m68k-96 usage with m68k96.
19813         Replace ldbl-128ibm usage with ibm128.
19814         Replace ldbl-128 usage with binary128.
19816         * auto-libm-test-out: Regenerate.
19818 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19820         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
19821         (parse_ulps): Dynamically generate type name matching
19822         string from all_floats.
19823         (get_ulps): Generate the ulps as an array instead.
19824         (output_ulps): Dynamically compose the type based
19825         on the number of supported formats, and print
19826         the indices as type specific helper macros.
19828         * math/libm-test.inc: Remove comment about CHOOSE.
19829         (ulp_data): Generate the type in libm-test-ulps.h.
19830         (ULP_IDX): New macro.
19831         (find_ulps): Update usage of max_ulp.
19833         * math/test-double-vlen2.h (CHOOSE): Remove.
19834         * math/test-double-vlen4.h (CHOOSE): Likewise.
19835         * math/test-double-vlen8.h (CHOOSE): Likewise.
19836         * math/test-float.c (CHOOSE): Likewise.
19837         * math/test-float-finite.c (CHOOSE): Likewise.
19838         * math/test-double.c (CHOOSE): Likewise.
19839         * math/test-double-finite.c (CHOOSE): Likewise.
19840         * math/test-idouble.c (CHOOSE): Likewise.
19841         * math/test-ifloat.c (CHOOSE): Likewise.
19842         * math/test-ildoubl.c (CHOOSE): Likewise.
19843         * math/test-ldouble-finite.c (CHOOSE): Likewise.
19844         * math/test-ldouble.c (CHOOSE): Likewise.
19846         * math/test-float.h (TEST_FLOAT): Remove.
19847         * math/test-double.h (TEST_DOUBLE): Likewise.
19848         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
19850 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19852         * math/gen-libm-test.pl: (apply_lit): New subroutine.
19853         (parse_args): Strip C suffix from floating point literals
19854         typed with 'f' and wrap them with LIT().
19856         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
19857         (test_ff_f_data_nexttoward): Rename to
19858         (test_fj_f_data): New struct.
19859         (nexttoward_test_data): Relabel tests as
19860         TEST_fj_f instead of TEST_ff_f.
19862 2016-06-08  Florian Weimer  <fweimer@redhat.com>
19864         Emacs bug 23726.
19865         * malloc/malloc.c (dumped_main_arena_start): Update comment.
19866         (__libc_realloc): Correct size computation for dumped fake mmapped
19867         chunks.
19869 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
19871         [BZ #20219]
19872         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
19873         to itself.
19874         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
19876         [BZ #20218]
19877         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
19878         to itself.
19879         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
19881 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
19883         [BZ #20195]
19884         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
19885         check to ...
19886         (init_cpu_features): Here.
19888 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
19890         [BZ #20214]
19891         * sysdeps/unix/sysv/linux/bits/in.h
19892         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19893          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
19894         Define to 1.
19895         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19896          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
19897         Define to 0.
19898         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
19899         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
19901 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
19903         [BZ #20198]
19904         * stdlib/Makefile (tests): Add tst-quick_exit, and
19905         tst-thread-quick_exit.
19906         [ifeq ($(have-cxx-thread_local),yes)]
19907         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
19908         (CFLAGS-tst-thread-quick_exit.o): Likewise.
19909         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
19910         (LDLIBS-tst-thread-quick_exit): Likewise.
19911         [ifneq ($(have-cxx-thread_local),yes)]
19912         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
19913         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
19914         If run_dtors is true call __call_tls_dtors.
19915         (exit): Call __run_exit_handlers with run_dtors set to true.
19916         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
19917         definition.
19918         * stdlib/quick_exit.c (quick_exit): Remove function.
19919         (__new_quick_exit): New function.
19920         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
19921         function.
19922         * stdlib/tst-quick_exit.cc: New file.
19923         * stdlib/tst-thread-quick_exit.cc: New file.
19924         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
19925         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
19926         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
19927         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
19928         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
19929         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
19930         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
19931         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
19932         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
19933         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
19934         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
19935         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
19936         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
19937         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
19938         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
19939         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
19940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
19941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
19942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
19943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
19944         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
19945         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
19946         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
19947         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
19948         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
19949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
19950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
19951         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
19952         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
19953         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
19955 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
19957         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
19958         a typo in comments.
19960 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
19962         [BZ #20213]
19963         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
19964         argument to itself.
19965         * math/libm-test.inc (asin_test_data): Add sNaN tests.
19967 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19969         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
19970         required flags.
19971         (CFLAGS-pwritev64.c): Likewise.
19972         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
19973         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
19974         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
19975         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19976         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
19977         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
19978         syscall from auto-generation.
19979         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
19980         [WORDSIZE == 64] (pwritev64): Remove macro.
19981         [!PWRITEV] (PWRITEV): Likewise.
19982         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
19983         [!PWRITEV] (PWRITE): Likewise.
19984         [!PWRITEV] (OFF_T): Likewise.
19985         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
19986         (LO_HI_LONG): Remove macro.
19987         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
19988         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
19989         (PWRITEV): Remove macro.
19990         (PWRITEV_REPLACEMENTE): Likewise.
19991         (PWRITE): Likewise.
19992         (OFF_T): Likewise.
19993         (pwritev64): New function.
19994         * nptl/tst-cancel4.c (tf_writev): Add test.
19996         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
19997         required flags.
19998         (CFLAGS-preadv64.c): Likewise.
19999         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20000         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20001         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20002         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20003         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20004         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20005         syscall from auto-generation.
20006         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20007         [WORDSIZE == 64] (preadv64): Remove macro.
20008         [!PREADV] (PREADV): Likewise.
20009         [!PREADV] (PREADV_REPLACEMENT): Likewise.
20010         [!PREADV] (PREAD): Likewise.
20011         [!PREADV] (OFF_T): Likewise.
20012         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20013         (LO_HI_LONG): Remove macro.
20014         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20015         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20016         (PREADV): Remove macro.
20017         (PREADV_REPLACEMENTE): Likewise.
20018         (PREAD): Likewise.
20019         (OFF_T): Likewise.
20020         (preadv64): New function.
20021         * nptl/tst-cancel4.c (tf_preadv): Add test.
20023 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20025         [BZ #20212]
20026         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20027         argument to itself.
20028         * math/libm-test.inc (acos_test_data): Add sNaN tests.
20030 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20032         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20033         New symbol defined as libc_hidden_def.
20034         (strcasestr): Became a weak alias to __strcasestr.
20035         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20036         according to multi-arch support.  Move __stpncpy hidden
20037         definition from here to...
20038         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
20039         symbol stpncpy.
20040         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20041         libc_hidden_builtin_def.
20042         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20043         memset symbol to use when multi-arch support is available.
20045 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
20047         * dlfcn/tst-rec-dlopen.c: Include string.h.
20049 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20051         * manual/install.texi: Remove mention of --without-tls
20052         * INSTALL: Regenerate.
20054 2016-06-05  Florian Weimer  <fweimer@redhat.com>
20056         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20057         Remove.
20058         (call_function, interposed_malloc_called): New variables.
20059         (malloc): New function.
20060         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
20061         and clear call_function as needed.
20063 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
20065         * include/wchar.h (__wmemset): Use __typeof.
20067 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
20069         * include/wchar.h (__wmemset): Declare function without typeof.
20071 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
20073         [BZ #20205]
20074         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20075         exponent when incrementing negative subnormal with low mantissa
20076         word zero.
20077         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20078         Add another test.
20080 2016-06-03  Florian Weimer  <fweimer@redhat.com>
20082         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20083         __wmemset instead of wmemset.
20085 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
20087         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20088         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20089         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20090         __USE_KERNEL_IPV6_DEFS to 0.
20091         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20092         Update comment.
20094 2016-06-01  Florian Weimer  <fweimer@redhat.com>
20096         [BZ #19861]
20097         Do not use IFUNC resolver with potentially unrelocated symbol.
20098         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20099         (DEFINE_FORK): Remove macro and inline definition.
20100         (fork_alias): Renamed from fork_ifunc.
20101         (__fork_alias): Renamed from __fork_ifunc.
20103 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
20105         [BZ 19653]
20106         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
20107         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
20109 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20111         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
20112         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
20113         i386-linux-gnu).
20114         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
20115         Set to no.
20116         * sysdeps/mach/hurd/configure: Refresh.
20118 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20120         [BZ #20178]
20121         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
20122         on failure instead of exit.
20124 2016-05-30  Roland McGrath  <roland@hack.frob.com>
20126         [BZ #3629]
20127         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
20128         of POSIX.1-2008.
20130 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20132         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
20133           Use PLT entry for calling _hurd_self_sigstate.
20135 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
20137         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
20138         available logical processors with SMT level type sharing L2
20139         cache for Intel processors.
20141 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20143         [BZ #20160]
20144         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
20145         argument to itself before returning the result.
20146         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20147         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20148         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20149         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20150         Likewise.
20151         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20152         Likewise.
20153         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
20154         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
20155         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20156         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20157         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20158         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20160         [BZ #20160]
20161         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
20162         argument to itself before returning the result.
20163         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20164         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20165         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20166         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
20167         Likewise.
20168         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20169         Likewise.
20170         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
20171         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
20172         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
20173         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20174         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20175         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20177 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20179         * libm-test.inc: Replace usage of M_El with
20180         (lit_e): New macro.
20182 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20184         * libm-test.inc: Replace usage of M_PI_4l with
20185         (lit_pi_4_d): New macro.
20187 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20189         * libm-test.inc: Replace usage of M_PIl with
20190         (lit_pi): New macro.
20192 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20194         * libm-test.inc: Replace usage of M_PI2l with
20195         (lit_pi_2_d): New macro.
20197         * math/test-double.h (LITM): New macro.
20198         * math/test-float.h (LITM): Likewise.
20199         * math/test-ldouble.h (LITM): Likewise.
20201 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20203         * libm-test.inc (M_PI_34l): Rename to
20204         (lit_pi_3_m_4_d): New Macro.
20205         (M_PI_34_LOG10El): Rename to
20206         (lit_pi_3_m_4_ln10_m_d): New Macro.
20207         (M_PI2_LOG10El): Rename to
20208         (lit_pi_2_ln10_m_d):  New Macro.
20209         (M_PI4_LOG10El): Rename to
20210         (lit_pi_4_ln10_m_d):  New Macro.
20211         (M_PI_LOG10El): Rename to
20212         (lit_pi_ln10_d):  New Macro.
20214 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20216         [BZ #20157]
20217         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
20218         determine whether to negate low half if [_ARCH_PPCGR], and integer
20219         comparison otherwise.
20220         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
20221         determine whether to negate low half.
20223         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
20224         (NO_TEST_INLINE_DOUBLE): Likewise.
20225         (TEST_COND_x86_64): Likewise.
20226         (TEST_COND_x86): Likewise.
20227         (M_PI_6l): Likewise.
20229 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20231         * math/libm-test.inc:
20232         (TEST_FLOAT): Change usage to TEST_COND_binary32.
20233         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
20234         (TEST_LDOUBLE): Update usage to evaluate as true if
20235         the guarded tests match the property being tested.
20236         (LDBL_MAX_EXP): Change to MAX_EXP.
20237         (LDBL_MIN_EXP): Change to MIN_EXP.
20238         (LDBL_MANT_DIG): Change to MANT_DIG, except for
20239         nexttoward tests.
20241 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20243         * math/libm-test.inc:
20244         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
20245         (TYPE_MIN): Likewise.
20246         (TYPE_TRUE_MIN): Likewise.
20247         (TYPE_MAX): Likewise.
20248         (MIN_EXP): Likewise.
20249         (MAX_EXP): Likewise.
20250         (MANT_DIG): Likewise.
20252         (FSTR_MAX): New macro.
20253         (__CONCATX): Likewise.
20254         (QTYPE_STR): Likewise.
20255         (TEST_COND_binary32): Likewise.
20256         (TEST_COND_binary64): Likewise.
20257         (TEST_COND_binary128): Likewise.
20258         (TEST_COND_ibm128): Likewise.
20259         (TEST_COND_intel96): Likewise.
20260         (TEST_COND_m68k96): Likewise.
20262         (TEST_COND_flt_32): Redefine as equivalent format test macro.
20263         (TEST_COND_dbl_64): Likewise.
20264         (TEST_COND_ldbl_96_intel): Likewise.
20265         (TEST_COND_ldbl_96_m68k): Likewise.
20266         (TEST_COND_ldbl_128): Likewise.
20267         (TEST_COND_ldbl_128ibm): Likewise.
20269         (plus_zero): Redefine using LIT macro.
20270         (minus_zero): Likewise.
20271         (plus_infty): Redefine as (INF).
20272         (minux_infty): Redefine as (-INF).
20273         (max_value): Redefine as TYPE_MAX.
20274         (min_value): Redefine as TYPE_MIN.
20275         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
20277         (print_float): Refactor to use snprintf to convert FLOAT values
20278         to string. This brings it closer to dropin replacement of strtof
20279         for the TS 18661 defined types.
20280         (update_stats): Likewise.
20281         (print_complex_function_ulps): Likewise.
20282         (print_max_error): Likewise.
20283         (print_complex_max_error): Likewise.
20284         (check_float_internal): Likewise.
20286         * math/test-float.h (PREFIX): New macro.
20287         (LIT): Likewise.
20288         (TYPE_STR): Likewise.
20289         (FTOSTR): Likewise.
20291         * math/test-double.h (PREFIX): New macro.
20292         (LIT): Likewise.
20293         (TYPE_STR): Likewise.
20294         (FTOSTR): Likewise.
20296         * math/test-ldouble.h (PREFIX): New macro.
20297         (LIT): Likewise.
20298         (TYPE_STR): Likewise.
20299         (FTOSTR): Likewise.
20301 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20303         [BZ #20156]
20304         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
20305         to itself when zero or not finite.
20306         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
20307         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20308         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
20309         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
20311 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
20313         [BZ #20153]
20314         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
20315         x * x + x for infinities and NaNs.
20317         [BZ #20151]
20318         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
20319         argument to itself before returning result.
20320         (__ieee754_y0l): Likewise.
20321         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20322         (__ieee754_y1l).
20324         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
20325         (atan_test_data): Likewise.
20326         (ceil_test_data): Likewise.
20327         (cos_test_data): Likewise.
20328         (cosh_test_data): Likewise.
20329         (erf_test_data): Likewise.
20330         (exp2_test_data): Likewise.
20331         (fabs_test_data): Likewise.
20332         (floor_test_data): Likewise.
20333         (ilogb_test_data): Likewise.
20334         (j0_test_data): Likewise.
20335         (j1_test_data): Likewise.
20336         (jn_test_data): Likewise.
20337         (lgamma_test_data): Likewise.
20338         (lrint_test_data): Likewise.
20339         (llrint_test_data): Likewise.
20340         (logb_test_data): Likewise.
20341         (lround_test_data): Likewise.
20342         (llround_test_data): Likewise.
20343         (nearbyint_test_data): Likewise.
20344         (rint_test_data): Likewise.
20345         (round_test_data): Likewise.
20346         (sin_test_data): Likewise.
20347         (sincos_test_data): Likewise.
20348         (sinh_test_data): Likewise.
20349         (sqrt_test_data): Likewise.
20350         (tan_test_data): Likewise.
20351         (tanh_test_data): Likewise.
20352         (tgamma_test_data): Likewise.
20353         (trunc_test_data): Likewise.
20354         (y0_test_data): Likewise.
20355         (y1_test_data): Likewise.
20356         (yn_test_data): Likewise.
20358         * math/libm-test.inc: Update comment about NaN testing.
20359         (TEST_SNAN): New macro.
20360         (snan_value): Likewise.
20361         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
20362         (fpclassify_test_data): Add sNaN tests.
20363         (isfinite_test_data): Likewise.
20364         (isinf_test_data): Likewise.
20365         (isnan_test_data): Likewise.
20366         (isnormal_test_data): Likewise.
20367         (issignaling_test_data): Likewise.
20368         (signbit_test_data): Likewise.
20369         * math/gen-libm-test.pl (%beautify): Add snan_value.
20370         (show_exceptions): Add argument $test_snan.
20371         (parse_args): Handle snan_value as non-finite.  Update call to
20372         show_exceptions.
20373         * math/Makefile (libm-test-no-inline-cflags): Add
20374         -fsignaling-nans.
20376 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20378         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
20379         (CFLAGS-oldsendmsg.c): Add rule.
20380         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20381         Correct recvmsg symbol name.
20382         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
20383         Likewise.
20385 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20387         * sysdeps/unix/sysv/linux/Makefile
20388         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
20389         oldsendmmsg.
20390         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
20391         sendmmsg.
20392         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20393         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20394         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20395         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20397         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20398         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20400         Likewise.
20401         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20402         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
20403         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20404         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
20405         iovlen and controllen fields to adjust to POSIX specification.
20406         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20408         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
20409         and change to correct expected type.
20410         (msghdr.msg_controllen): Likewise.
20411         (cmsghdr.cmsg_len): Likewise.
20412         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
20413         expected POSIX assumption about the size.
20414         (msghdr.msg_controllen): Likewise.
20415         (msghdr.__glibc_reserved1): Likewise.
20416         (msghdr.__glibc_reserved2): Likewise.
20417         (cmsghdr.cmsg_len): Likewise.
20418         (cmsghdr.__glibc_reserved1): Likewise.
20419         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
20420         Add ptw-oldrecvmsg and ptw-oldsendmsg.
20421         (CFLAGS-sendmsg.c): Remove rule.
20422         (CFLAGS-recvmsg.c): Likewise.
20423         (CFLAGS-oldsendmsg.c): Add rule.
20424         (CFLAGS-oldrecvmsg.c): Likewise.
20425         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
20426         recvmsg and sendmsg.
20427         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
20428         Likewise.
20429         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
20430         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
20431         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20432         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
20433         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20434         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20435         Likewise.
20436         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20437         Likewise.
20438         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
20439         Likewise.
20440         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
20441         Likewise.
20442         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20443         Likewise.
20444         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20445         Likewise.
20446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
20447         (GLIBC_2.24): Likewise.
20448         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20449         Likewise.
20450         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20451         Likewise.
20452         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20453         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20454         Likewise.
20455         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20456         Likewise.
20457         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20458         Likewise.
20459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
20460         (GLIBC_2.24): Likewise.
20461         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
20462         Likewise.
20463         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
20464         Likewise.
20465         * sysdeps/unix/sysv/linux/Makefile
20466         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
20467         (CFLAGS-sendmsg.c): Add rule.
20468         (CFLAGS-recvmsg.c): Likewise.
20469         (CFLAGS-oldsendmsg.c): Likewise.
20470         (CFLAGS-oldrecvmsg.c): Likewise.
20471         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
20472         initialization.
20473         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20474         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20475         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
20476         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20477         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
20478         iovlen and controllen fields to adjust to POSIX specification.
20479         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
20480         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
20481         added recvmsg and sendmsg.
20482         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20483         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20484         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20485         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20486         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20487         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20488         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20489         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20490         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20491         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20492         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20493         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20495         Likewise.
20496         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
20497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20498         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20499         Likewise.
20500         Likewise.
20501         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20502         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20503         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20504         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20505         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20506         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20508         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20510         Likewise.
20511         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20512         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20514         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
20515         from auto-generation.
20516         (sendmsg): Likewise.
20517         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
20518         (sendmsg): Likewise.
20519         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
20520         (sendmsg): Likewise.
20521         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
20522         (sendmsg): Likewise.
20523         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
20524         (sendmsg): Likewise.
20525         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
20526         (sendmsg): Likewise.
20527         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
20528         Likewise.
20529         (sendmsg): Likewise.
20530         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
20531         (sendmsg): Likewise.
20532         * sysdeps/unix/sysv/linux/i386/kernel-features.h
20533         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20534         Remove.
20535         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20536         Likewise.
20537         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20538         Undefine.
20539         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20540         Likewise.
20541         * sysdeps/unix/sysv/linux/kernel-features.h
20542         (__ASSUME_SENDMSG_SYSCALL): Define.
20543         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20544         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20545         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20546         Remove.
20547         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20548         Likewise.
20549         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20550         Undefine.
20551         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20552         Likewise.
20553         * sysdeps/unix/sysv/linux/s390/kernel-features.h
20554         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20555         Remove.
20556         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20557         Likewise.
20558         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20559         Undefine.
20560         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20561         Likewise.
20562         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20563         (__ASSUME_SENDMSG_SYSCALL): Undefine.
20564         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20565         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20566         (__ASSUME_SENDMSG_SYSCALL): Likewise.
20567         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20568         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20569         (__ASSUME_SENDMSG_SYSCALL): Likewise.
20570         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20572 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20574         * stdlib/gen-tst-strtod-round.c: Add backslash to
20575         compile command in comment.
20576         (printfp): Remove the literal suffix, and define an infinite
20577         value as INF to avoid expansion clash with INFINITY.
20578         (round_str): Remove the literal suffix.
20579         (round_for_all): Likewise, remove the now duplicate ldbl-64
20580         entry, and remove some magic constants.
20582         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
20583         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
20584         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
20585         (_CONCAT): New macro.
20586         (CONCAT): Likewise.
20587         (CHOOSE_ld): Likewise.
20588         (CHOOSE_f): Likewise.
20589         (CHOOSE_d): Likewise.
20590         (FTYPE_MEMBER): Likewise.
20591         (BOOL_MEMBER): Likewise.
20592         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
20593         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
20594         (_XNTRY): Likewise.
20595         (XNTRY): Likewise.
20596         (_ENTRY): Likewise.
20597         (ENTRY): Likewise.
20598         (test_exactness): Generate members via macro.
20599         (test_results): Likewise.
20600         (test): Update members.
20601         (TEST): Redefine using new macros.
20602         (INF): New macro.
20603         (fetestmodes): New structure.
20604         (do_test): Refactor to be type generic.
20605         (test_in_one_mode): Refactor duplicate code into
20606         (GEN_ONE_TEST): New macro.
20608         * stdlib/tst-strtod-round-data.h: Regenerate.
20610         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
20611         Extend to pass additional arbitrary parameters to
20612         generators.
20614 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
20616         [BZ #15479]
20617         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
20618         floating-point state after first floating-point operation on
20619         input.  Restore full floating-point state instead of just rounding
20620         mode.
20621         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20622         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20623         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20624         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20625         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20627         [BZ #15479]
20628         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
20629         floating-point state after first floating-point operation on
20630         input.  Restore full floating-point state instead of just rounding
20631         mode.
20632         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20633         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20634         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20635         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20636         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20638 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20640         [BZ #19727]
20641         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
20642         valid high surrogate.
20643         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
20644         of an utf16 surrogate.
20645         * iconv/gconv_simple.c (BODY): Likewise.
20646         * iconvdata/bug-iconv12.c: New file.
20647         * iconvdata/Makefile (tests): Add bug-iconv12.
20649 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20651         [BZ #19726]
20652         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
20653         outptrp in case of an illegal input.
20654         * iconv/tst-iconv6.c: New file.
20655         * iconv/Makefile (tests): Add tst-iconv6.
20657 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20659         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
20660         an error in case of a value in range of an utf16 low surrogate.
20662 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20664         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
20665         an error in case of a value in range of an utf16 low surrogate.
20667 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20669         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
20670         Move to ...
20671         * sysdeps/s390/Makefile: ... here.
20672         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
20673         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
20674         (BRANCH_ON_COUNT): New define.
20675         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
20676         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
20677         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
20678         run on s390-32, too.
20679         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
20680         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
20681         run on s390-32, too.
20682         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
20683         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
20684         run on s390-32, too.
20686 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20688         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
20689         etf3eh or new vector loop-variant.
20691 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20693         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
20694         etf3eh or new vector loop-variant.
20696 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20698         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
20699         or new vector loop-variant.
20701 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20703         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
20704         Rename to TR_LOOP and usage of tr instead of troo instruction.
20706 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20708         * sysdeps/s390/multiarch/gconv_simple.c: New File.
20709         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
20711 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20713         * sysdeps/s390/multiarch/8bit-generic.c: New File.
20714         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
20715         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
20716         New override define.
20717         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
20719 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20721         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
20722         * sysdeps/s390/configure.ac: Add test for S390 vector register
20723         support in gcc.
20724         * sysdeps/s390/configure: Regenerated.
20726 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20728         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
20729         Install file from $(objpfx)gconv-modules.
20730         ($(objpfx)gconv-modules): Concatenate architecture specific file
20731         in variable sysdeps-gconv-modules and gconv-modules in src dir.
20732         * sysdeps/s390/gconv-modules: New file.
20733         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
20734         Deleted.
20735         ($(objpfx)gconv-modules-s390): Deleted.
20736         (sysdeps-gconv-modules): New variable.
20738 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
20740         [BZ #15479]
20741         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
20742         of immediate operand to rounding instruction.
20743         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
20744         Likewise.
20745         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
20746         Likewise.
20747         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
20748         Likewise.
20750 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20752         * math/libm-test.inc (MIN_EXP): Directly define as
20753         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
20755 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20757         * math/libm-test.inc (MANT_DIG): Directly define as
20758         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
20760 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20762         * stdlib/gen-tst-strtod-round.c (main):
20763           Change usage to more closely match the generated
20764           output.  Add usage and compilation instructions.
20765           (string_to_fp): Add and use FILE* parameter as
20766           output target.
20767           (print_fp): Likewise.
20768           (round_str): Likewise.
20769           (round_for_all): Likewise.
20770         * stdlib/tst-strtod-round.c (tests): Move into
20771         * stdlib/tst-strtod-round-data.h: New file.
20773 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
20775         [BZ #15479]
20776         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
20777         (__round): Do not force "inexact" exception.
20778         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
20779         variable.
20780         (__round): Do not force "inexact" exception.
20781         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
20782         (__roundf): Do not force "inexact" exception.
20783         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
20784         (__roundl): Do not force "inexact" exception.
20785         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
20786         (__roundl): Do not force "inexact" exception.
20787         * math/libm-test.inc (round_test_data): Do not allow spurious
20788         "inexact" exceptions.
20790         [BZ #15479]
20791         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
20792         exception in comment.
20793         (huge): Remove variable.
20794         (__floor): Do not force "inexact" exception.
20795         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
20796         "inexact" exception in comment.
20797         (huge): Remove variable.
20798         (__floor): Do not force "inexact" exception.
20799         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
20800         exception in comment.
20801         (huge): Remove variable.
20802         (__floorf): Do not force "inexact" exception.
20803         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
20804         exception in comment.
20805         (huge): Remove variable.
20806         (__floorl): Do not force "inexact" exception.
20808         [BZ #15479]
20809         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
20810         exception in comment.
20811         (huge): Remove variable.
20812         (__ceil): Do not force "inexact" exception.
20813         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
20814         "inexact" exception in comment.
20815         (huge): Remove variable.
20816         (__ceil): Do not force "inexact" exception.
20817         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
20818         (__ceilf): Do not force "inexact" exception.
20819         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
20820         exception in comment.
20821         (huge): Remove variable.
20822         (__ceill): Do not force "inexact" exception.
20824 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20826         * config.h.in (BIND_NOW): New.
20827         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
20828         * configure: Regenerated.
20829         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
20830         indirect branch via the GOT slot.
20832 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20834         [BZ #19765]
20835         * sysdeps/s390/mempcpy.S: New File.
20836         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
20837         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
20838         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20839         Add mempcpy variants.
20840         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
20841         (memcpy): Adjust to be usable from mempcpy entry point.
20842         (__memcpy_mvcle): Likewise.
20843         * sysdeps/s390/s390-64/memcpy.S: Likewise.
20844         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
20845         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
20846         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
20847         (__memcpy_z10): Likewise.
20848         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
20850 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20852         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
20853         Remove __GI_ symbol.
20854         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
20855         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
20856         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
20857         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
20858         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
20859         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
20861 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20863         * sysdeps/s390/s390-64/memcpy.S (memcpy):
20864         Use cghi instead of chi to compare 64bit value.
20866 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20868         * sysdeps/s390/s390-32/memcpy.S (memcpy):
20869         Jump to 1MB check before executing mvc-loop.
20871 2016-05-24  Florian Weimer  <fweimer@redhat.com>
20873         [BZ #6527]
20874         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
20875         unconditionally.
20876         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
20878 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20880         * stdlib/tst-strtod6.c (do_test): Use new type generic
20881         invocation of the test function.
20882         (test): Refactor into ...
20883         (TEST_STRTOD): New macro base function.
20885 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20887         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
20888         (TEST_STRTOD): New macro.
20889         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
20891 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20893         * stdlib/tst-strtod6.c (do_test): Use new type generic
20894         invocation of the test function.
20895         (test): Refactor into ...
20896         (TEST_STRTOD): New macro base function.
20898 2016-05-23  Florian Weimer  <fweimer@redhat.com>
20900         CVE-2016-4429
20901         [BZ #20112]
20902         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
20903         payload.
20905 2016-05-23  Florian Weimer  <fweimer@redhat.com>
20907         [BZ #20111]
20908         * bits/sockaddr.h (_SS_SIZE): Define.
20909         * bits/socket.h (_SS_SIZE): Remove.
20910         (_SS_PADSIZE): Adjust to account for all padding.
20911         (struct sockaddr_storage): Update comment.  Avoid implicit
20912         padding.
20913         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
20914         (_SS_PADSIZE): Adjust to account for all padding.
20915         (struct sockaddr_storage): Update comment.  Avoid implicit
20916         padding.
20917         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
20918         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
20919         (_SS_PADSIZE): Adjust to account for all padding.
20920         (struct sockaddr_storage): Update comment.  Avoid implicit
20921         padding.
20922         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
20923         __SS_SIZE is 126 in this version.
20924         * inet/tst-sockaddr.c: New file.
20925         * inet/Makefile (tests): Add tst-sockaddr.c
20926         (tst-sockaddr.c): Compile with non-strict aliasing.
20928 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
20930         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
20931         [XPG3 || XPG4].
20932         (NL_ARGMAX): Also expect for [XPG3].
20933         (NL_LANGMAX): Likewise.
20934         (NL_MSGMAX): Likewise.
20935         (NL_NMAX): Likewise.
20936         (NL_SETMAX): Likewise.
20937         (NL_TEXTMAX): Likewise.
20938         (NZERO): Likewise.
20939         (TMP_MAX): Likewise.
20940         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
20941         variable.
20943         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
20944         (PF_MAX): Update value.
20945         (AF_KCM): New macro.
20946         (SOL_NETBEUI): Likewise.
20947         (SOL_LLC): Likewise.
20948         (SOL_DCCP): Likewise.
20949         (SOL_NETLINK): Likewise.
20950         (SOL_TIPC): Likewise.
20951         (SOL_RXRPC): Likewise.
20952         (SOL_PPPOL2TP): Likewise.
20953         (SOL_BLUETOOTH): Likewise.
20954         (SOL_PNPIPE): Likewise.
20955         (SOL_RDS): Likewise.
20956         (SOL_IUCV): Likewise.
20957         (SOL_CAIF): Likewise.
20958         (SOL_ALG): Likewise.
20959         (SOL_NFC): Likewise.
20960         (SOL_KCM): Likewise.
20961         (MSG_BATCH): New enum value and macro.
20963 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
20965         [BZ #18185]
20966         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
20967         sharing L2 cache to 2 for Knights Landing.
20969 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
20971         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
20972         (FTW_DP): Do not expect for [XPG3 || XPG4].
20973         (FTW_SL): Do not expect for [XPG3].
20974         (FTW_SLN): Likewise.
20975         (FTW_PHYS): Likewise.
20976         (FTW_MOUNT): Likewise.
20977         (FTW_DEPTH): Likewise.
20978         (FTW_CHDIR): Likewise.
20979         (nftw): Likewise.
20980         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
20981         variable.
20983 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
20985         * manual/errno.texi: Fix various typos & grammar errors.
20987 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
20989         * manual/intro.texi: Fix duplicated typo.
20991 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
20993         [BZ #13304]
20994         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
20995         <float.h>, <math_private.h> and <stdlib.h>.
20996         (add_split): New function.
20997         (mul_split): Likewise.
20998         (ext_val): New typedef.
20999         (store_ext_val): New function.
21000         (mul_ext_val): New function.
21001         (compare): New function.
21002         (add_split_ext): New function.
21003         (__fmal): After checking for Inf, NaN and zero, compute result as
21004         an exact sum of scaled double values in round-to-nearest before
21005         adding those up and adjusting for other rounding modes.
21006         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21007         tests of fma.
21008         * math/auto-libm-test-out: Regenerated.
21010 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21012         [BZ #20119]
21013         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21014         processor level type mask for CPUID with EAX == 11.
21016 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21018         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21019         logical threads if the HTT bit is 0.
21020         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21021         (index_cpu_HTT): Likewise.
21022         (reg_HTT): Likewise.
21024 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21026         [BZ #20115]
21027         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21028         Remove alignments on jump targets.
21030 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21032         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21033         (getpwent): Likewise.
21034         (setpwent): Likewise.
21035         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21036         variable.
21038         * conform/data/search.h-data (insque): Do not expect for [XPG3].
21039         (remque): Likewise.
21040         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21041         variable.
21043 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21045         * math/libm-test.inc: Update comment not to refer to signs of NaNs
21046         not being tested.
21048 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21050         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21051         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
21052         call.
21053         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21054         (__condvar_cleanup1): Likewise.
21056 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21058         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21059         New
21060         (__pthread_unwind): Renamed to ...
21061         (PTHREAD_UNWIND): This.
21062         (__pthread_enable_asynccancel): Replace
21063         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21065 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21067         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21068         (CLONE_NEWCGROUP): New macro.
21070         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21071         (Q_GETNEXTQUOTA): New macro.
21073 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21075         [BZ #19907]
21076         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21077         buffer updated by the previous run.
21078         * string/test-memcpy.c (do_one_test): Likewise.
21079         * benchtests/bench-memmove.c (do_one_test): Add a comment.
21080         * string/test-memmove.c (do_one_test): Likewise.
21082 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
21084         [BZ #20094]
21085         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21086         not [__USE_XOPEN].
21087         (unlockpt): Likewise.
21088         (ptsname): Likewise.
21089         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21090         variable.
21092         [BZ #20076]
21093         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21094         instead of [__USE_UNIX98].
21095         (S_ISSOCK): Likewise.
21096         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21097         variable.
21099         [BZ #20074]
21100         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
21101         [__USE_POSIX].
21102         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
21103         variable.
21105         [BZ #20051]
21106         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
21107         (ttyslot): Do not declare.
21108         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
21109         (ttyslot): New prototype.
21110         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
21111         variable.
21112         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21114 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21116         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
21118 2016-05-13  Florian Weimer  <fweimer@redhat.com>
21120         Fix race condition in tst-mallocfork2, use fewer resources.
21121         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
21122         to current process group.
21123         (signal_sender): Yield in the non-sleeping case.
21125 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
21127         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
21128         (ecvt): Likewise.
21129         (fcvt): Likewise.
21130         (gcvt): Likewise.
21131         (getsubopt): Likewise.
21132         (grantpt): Likewise.
21133         (initstate): Likewise.
21134         (l64a): Likewise.
21135         (mktemp): Likewise.
21136         (mkstemp): Likewise.
21137         (ptsname): Likewise.
21138         (random): Likewise.
21139         (realpath): Likewise.
21140         (setstate): Likewise.
21141         (srandom): Likewise.
21142         (ttyslot): Likewise.
21143         (unlockpt): Likewise.
21144         (valloc): Likewise.
21146         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
21147         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
21148         variable.
21150 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21152         [BZ #20072]
21153         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
21154         init_cpu_features only if SHARED is defined.
21155         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
21157 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21159         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
21160         non-inclusive caches on Intel processors.
21162 2016-05-13  Florian Weimer  <fweimer@redhat.com>
21164         * malloc/malloc.c (dumped_main_arena_start)
21165         (dumped_main_arena_end): New variables.
21166         (DUMPED_MAIN_ARENA_CHUNK): New macro.
21167         (do_check_chunk): Skip dumped fake mmapped chunks.
21168         (munmap_chunk): Likewise.
21169         (__libc_free): Do not adjust statistics for fake mmapped chunks.
21170         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
21171         mmapped chunks.
21172         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
21173         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
21174         and dumped_main_arena_end to cover the dumped heap.
21176 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
21178         * conform/data/time.h-data (getdate_err): Do not expect for
21179         [XPG3].
21180         (getdate): Likewise.
21181         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
21182         variable.
21184         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
21185         (F_ULOCK): Likewise.
21186         (F_TEST): Likewise.
21187         (F_TLOCK): Likewise.
21188         (useconds_t): Likewise.
21189         (intptr_t): Do not expect for [XPG3] or [XPG4].
21190         (brk): Do not expect for [XPG3]
21191         (fchown): Likewise.
21192         (fchdir): Likewise.
21193         (ftruncate): Likewise.
21194         (getdtablesize): Likewise.
21195         (gethostid): Likewise.
21196         (getpagesize): Likewise.
21197         (getpgid): Likewise.
21198         (getsid): Likewise.
21199         (getwd): Likewise.
21200         (lchown): Likewise.
21201         (lockf): Likewise.
21202         (readlink): Likewise.
21203         (sbrk): Likewise.
21204         (setpgrp): Likewise.
21205         (setregid): Likewise.
21206         (setreuid): Likewise.
21207         (symlink): Likewise.
21208         (sync): Likewise.
21209         (truncate): Likewise.
21210         (ualarm): Likewise.
21211         (usleep): Likewise.
21212         (vfork): Likewise.
21213         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
21214         variable.
21216         [BZ #20054]
21217         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
21218         not [__USE_UNIX98].
21219         * conform/data/unistd.h-data (gethostname): Do not expect for
21220         [XPG3].
21222         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
21223         [!POSIX] (S_IFBLK): Likewise.
21224         [!POSIX] (S_IFCHR): Likewise.
21225         [!POSIX] (S_IFIFO): Likewise.
21226         [!POSIX] (S_IFREG): Likewise.
21227         [!POSIX] (S_IFDIR): Likewise.
21228         [!POSIX] (S_IFLNK): Likewise.
21229         [!POSIX] (S_IFSOCK): Likewise.
21230         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
21231         variable.
21232         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21234 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
21236         * sysdeps/aarch64/memset.S (__memset):
21237         Rewrite of optimized memset.
21239 2016-05-12  Florian Weimer  <fweimer@redhat.com>
21241         [BZ #19703]
21242         Partially async-signal-safe fork for single-threaded processes.
21243         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
21244         variable.  Do not acquire and reset/release malloc and libio locks
21245         in single-threaded processes.
21246         * malloc/tst-mallocfork2.c: New file.
21247         * malloc/Makefile (tests): Add it.
21249 2016-05-12  Florian Weimer  <fweimer@redhat.com>
21251         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
21252         argument.  Use scratch buffer instead of extend_alloca.
21253         (gethosts): Use scratch buffer instead of extend_alloca.
21254         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
21255         extend_alloca.
21256         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
21258 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
21260         [BZ #20055]
21261         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
21262         instead of [__USE_UNIX98].
21263         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
21264         [__USE_UNIX98].
21265         * conform/data/termios.h-data (tcgetsid): Do not expect for
21266         [XPG3].
21267         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
21268         variable.
21269         (test-xfail-XPG4/termios.h/conform): Likewise.
21271 2016-05-11  Florian Weimer  <fweimer@redhat.com>
21273         Do not use mcheck in localedef.
21274         * locale/programs/localedef.c (turn_on_mcheck)
21275         (__malloc_initialize_hook): Remove.
21277 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21279         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
21280         * sysdeps/s390/s390-64/Makefile: Likewise.
21282 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21284         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
21285         Remove ifunc-defines.sym.
21286         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
21287         Likewise.
21288         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
21289         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21290         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
21291         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
21292         rtld-global-offsets.sym.
21293         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
21294         * sysdeps/x86/cpu-features-offsets.sym: This.
21295         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
21296         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
21298 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
21300         [BZ #20073]
21301         * io/sys/stat.h (fchmod): Declare for
21302         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
21303         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
21304         variable.
21306         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
21307         [XPG3] (S_IFSOCK): Likewise.
21308         [XPG3] (S_ISVTX): Likewise.
21309         [XPG3] (S_ISLNK): Likewise.
21310         [XPG3] (S_ISSOCK): Likewise.
21311         [XPG3] (fchmod): Likewise.
21312         [XPG3] (lstat): Likewise.
21313         [XPG3] (mknod): Likewise.
21315         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
21316         [XPG3].  Expect type long and XFAIL for [XPG4].
21317         (st_blocks): Likewise.
21319         [BZ #20044]
21320         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
21321         (pthread_atfork): New prototype.
21322         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
21323         variable.
21325         [BZ #20043]
21326         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
21327         prototype.
21329 2016-05-10  Florian Weimer  <fweimer@redhat.com>
21331         [BZ #20017]
21332         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
21333         gmtime.
21335 2016-05-10  Florian Weimer  <fweimer@redhat.com>
21337         [BZ #19994]
21338         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
21339         flag in _res.options.
21341 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
21343         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
21344         [XPG3 || XPG4].
21345         (blksize_t): Likewise.
21346         (clockid_t): Likewise.
21347         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
21348         variable.
21349         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21351 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
21353         * sysdeps/unix/sysv/linux/s390/init-first.c:
21354         Add VDSO_SYMBOL(getcpu).
21355         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
21356         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
21357         Add VDSO_SYMBOL(getcpu).
21358         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
21359         New define HAVE_GETCPU_VSYSCALL.
21360         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21362 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
21364         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
21365         instead of <sysdeps/x86_64/cacheinfo.c>.
21366         * sysdeps/x86_64/cacheinfo.c: Moved to ...
21367         * sysdeps/x86/cacheinfo.c: Here.
21369 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21371         * malloc/malloc-internal.h: Adjust header file guard.
21373 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21375         [BZ #19787]
21376         * inet/getnameinfo.c (check_sprintf_result): New function.
21377         (CHECKED_SNPRINTF): New macro.
21378         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
21379         to the host buffer.
21380         (gni_host_local): Use checked_copy to copy the host name.
21381         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
21382         (gni_serv_local): Use checked_copy to copy the service name.
21383         (getnameinfo): Remove unnecessary truncation of result buffers.
21385 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21387         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
21388         in case of inet_ntop failure.
21390 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21392         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
21393         avoid long lines.
21394         (gni_host_inet_numeric): Likewise.  Reduce scope of local
21395         variables.
21396         (gni_host_inet, gni_host_local): Add comment.
21397         (gni_host): Add comment.  Use temporary to avoid long lines.
21399 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21401         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
21402         registers specifiers where general purpose registers specifiers should
21403         have been used.
21405 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21407         [BZ #19779]
21408         CVE-2016-1234
21409         Avoid copying names of directory entries.
21410         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
21411         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
21412         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
21413         (struct readdir_result): New type.
21414         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
21415         (GL_READDIR): New macros.
21416         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
21417         (convert_dirent, convert_dirent64): New functions.
21418         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
21419         convert_dirent64.  Adjust references to the readdir result.
21420         * sysdeps/unix/sysv/linux/i386/glob64.c:
21421         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
21422         * posix/bug-glob2.c (LONG_NAME): Define.
21423         (filesystem): Add LONG_NAME.
21424         (my_DIR): Increase the size of room_for_dirent.
21426 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
21428         [BZ #20041]
21429         * misc/sys/select.h (__need_timespec): Only define if
21430         [__USE_XOPEN2K].
21431         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
21432         variable.
21433         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21434         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21435         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21437 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21438             Segher Boessenkool  <segher@gcc.gnu.org>
21440         [BZ #20004]
21441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
21442         (__novec_swapcontext): Add missing load.
21444 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
21446         [BZ #20023]
21447         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
21448         <time.h>.
21449         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
21450         variable.
21451         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21453 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
21456         flags CLONE_VM compare.
21458 2016-05-02  Florian Weimer  <fweimer@redhat.com>
21460         [BZ #20031]
21461         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
21462         completely empty.
21464 2016-05-02  Florian Weimer  <fweimer@redhat.com>
21466         [BZ #19573]
21467         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
21468         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
21469         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
21470         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
21471         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
21472         (hesiod_free_list): Mark as hidden.
21473         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
21474         res_set, res_get.
21475         * hesiod/hesiod.c: Remove unnecessary forward declarations.
21476         (init, __hesiod_res_get, __hesiod_res_set): Remove.
21477         (hesiod_init): Remove obsolete res_ninit call.
21478         (hesiod_end): Do not free resolver state.  Do not invoke callback.
21479         (hesiod_bind): Do not call init.
21480         (get_txt_records): Use res_mkquery, res_send instead of
21481         res_nmkquery, res_nsend.
21482         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
21483         instead of _nss_hesiod_init.
21484         (_nss_hesiod_initgroups_dyn): Likewise.
21485         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
21486         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
21487         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
21489 2016-05-02  Florian Weimer  <fweimer@redhat.com>
21491         * hesiod/hesiod_p.h (DEF_RHS): Remove.
21492         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
21494 2016-05-02  Florian Weimer  <fweimer@redhat.com>
21496         * hesiod/hesiod.h: Remove RCS keyword.
21497         * hesiod/hesiod_p.h: Likewise.
21499         * hesiod/hesiod.c: Likewise.
21501 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
21503         [BZ #12450]
21504         * locale/iso-639.def: Add Samogitian/sgs.
21506 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
21508         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
21510         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
21512 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
21513             Carlos O'Donell  <carlos@redhat.com>
21515         [BZ #19072]
21516         * grp/Makefile (headers): Add grp-merge.h
21517         (routines): Add grp-merge.
21518         * grp/getgrgid_r.c: Include grp-merge.h.
21519         (DEEPCOPY_FN): Define.
21520         (MERGE_FN): Define.
21521         * grp/getgrname_r.c: Include grp-merge.h.
21522         (DEEPCOPY_FN): Define.
21523         (MERGE_FN): Define.
21524         * grp/grp-merge.c: New file.
21525         * grp/grp-merge.h: New file.
21526         * include/grp-merge.h: New file.
21527         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
21528         __copy_grp@GLIBC_PRIVATE.
21529         * manual/nss.texi (Actions in the NSS configuration): Describe
21530         return, continue, and merge.
21531         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
21532         (DEEPCOPY_FN): Define.
21533         (MERGE_FN): Define.
21534         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
21535         (DEEPCOPY_FN): Define.
21536         (MERGE_FN): Define.
21537         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
21538         [!MERGE_FN]: Define __merge_einval.
21539         (CHECK_MERGE): Define.
21540         (REENTRANT_NAME): Process merge if do_merge is true.
21541         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
21542         (__nss_getent_r): Likewise.
21543         * nss/nsswitch.c (nss_parse_service_list): Likewise.
21544         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
21546 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21548         [BZ #20012]
21549         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
21550         length to calculate the buffer to read.
21551         (fmemopen_write): Set the buffer position based on bytes written.
21552         (fmemopen_seek): Return EINVAL for invalid whence modes.
21554         [BZ #19957]
21555         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
21556         tst-getpid2.
21557         (test): Add tst-clone2.
21558         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
21559         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
21560         pid/tid fields for CLONE_VM.
21561         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
21562         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
21563         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
21564         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
21565         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
21566         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
21567         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
21568         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
21569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
21570         Likewise.
21571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21572         Likewise.
21573         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
21574         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
21575         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
21576         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
21577         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
21578         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
21579         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
21580         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
21582 2016-04-29  Florian Weimer  <fweimer@redhat.com>
21584         [BZ #19642]
21585         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
21586         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
21587         (gni_serv_local, gni_serv): New functions extracted from
21588         getnameinfo.
21589         (getnameinfo): Call gni_host and gni_serv to perform the
21590         processing.  Always free scratch buffer.
21592 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21594         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
21595         remaining bytes in the dest string, with zeros.
21597 2016-04-29  Florian Weimer  <fweimer@redhat.com>
21599         [BZ #20010]
21600         CVE-2016-3706
21601         * sysdeps/posix/getaddrinfo.c
21602         (convert_hostent_to_gaih_addrtuple): New function.
21603         (gethosts): Call convert_hostent_to_gaih_addrtuple.
21604         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
21605         AF_INET data.
21607 2016-04-29  Florian Weimer  <fweimer@redhat.com>
21609         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
21610         callback function gl_readdir.
21611         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
21612         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
21613         (glob_in_dir): Remove len.  Use strdup instead of malloc and
21614         memcpy to copy the name.
21615         * manual/pattern.texi (Calling Glob): Document requirements for
21616         implementations of the gl_readdir callback function.
21617         * manual/examples/mkdirent.c: New example.
21618         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
21619         per the manual guidance.
21620         * posix/tst-gnuglob.c (my_readdir): Likewise.
21622 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
21624         [BZ #20014]
21625         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
21626         not [__USE_POSIX].
21627         (getchar_unlocked): Likewise.
21628         (putc_unlocked): Likewise.
21629         (putchar_unlocked): Likewise.
21630         (flockfile): Likewise.
21631         (ftrylockfile): Likewise.
21632         (funlockfile): Likewise.
21633         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
21634         variable.
21635         (test-xfail-XPG4/stdio.h/conform): Likewise.
21637         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
21638         Expect constant.
21639         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
21640         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
21641         variable.
21642         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21643         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21645         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
21646         [__USE_LARGEFILE64] (off64_t): Likewise.
21647         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
21648         variable.
21650 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21652         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
21654 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21656         * resolv/inet_addr.c: Reindent preprocessor conditionals.
21657         * resolv/res_init.c: Likewise.
21658         * resolv/res_mkquery.c: Likewise.
21660 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21662         * resolv/res_init.c (isascii): Do not define.  Use definition in
21663         <ctype.h>.
21664         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
21665         (LOG_AUTH): Remove.
21666         (SPRINTF): Remove, adjust caller.
21667         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
21669 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21671         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
21672         SUNSECURITY conditional.
21673         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
21675 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21677         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
21678         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
21679         Remove BSD-related preprocessor conditionals.
21680         * conf/portability.h: Remove.
21682 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21684         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
21685         * resolv/res_data.c: Likewise.
21687 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21689         * resolv/res_comp.c: Remove code conditional on __ultrix__.
21690         * resolv/res_data.c: Remove code conditional on ultrix.
21692 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21694         * resolv/res_init.c (RFC1535): Do not define.  Remove
21695         RFC1535 preprocessor conditionals.
21696         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
21697         because there configuration options which make the resolver
21698         behavior different.
21700 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21702         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
21703         RESOLVSORT preprocessor conditionals.
21704         * resolv/nss_dns/dns-host.c: Likewise.
21705         * resolv/res_init.c: Likewise.
21707 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21709         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
21710         is never defined.
21712 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21714         * inet/inet_lnaof.c: Remove SCSS keyword.
21715         * inet/inet_mkadr.c: Likewise.
21716         * inet/inet_net.c: Likewise.
21717         * inet/inet_netof.c: Likewise.
21718         * inet/rcmd.c: Likewise.
21719         * inet/rexec.c: Likewise.
21720         * inet/ruserpass.c: Likewise.
21722 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21724         * resolv/inet_addr.c: Remove _LIBC conditionals.
21725         * resolv/res_data.c: Likewise.
21726         * resolv/res_init.c: Likewise.
21727         * resolv/res_mkquery.c: Likewise.
21728         * resolv/res_libc.c: Update comment.
21729         * resolv/README: Update.
21731 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21733         * resolv/gethnamaddr.c: Remove SCSS keyword.
21734         * resolv/herror.c: Likewise.
21735         * resolv/inet_addr.c: Likewise.
21736         * resolv/inet_net_ntop.c: Likewise.
21737         * resolv/inet_net_pton.c: Likewise.
21738         * resolv/inet_neta.c: Likewise.
21739         * resolv/inet_ntop.c: Likewise.
21740         * resolv/inet_pton.c: Likewise.
21741         * resolv/ns_date.c: Remove RCS keyword.
21742         * resolv/ns_name.c: Likewise.
21743         * resolv/ns_netint.c: Likewise.
21744         * resolv/ns_parse.c: Likewise.
21745         * resolv/ns_print.c: Likewise.
21746         * resolv/ns_samedomain.c: Likewise.
21747         * resolv/ns_ttl.c: Likewise.
21748         * resolv/nsap_addr.c: Likewise.
21749         * resolv/res_comp.c: Remove SCSS and RCS keyword.
21750         * resolv/res_data.c: Remove RCS keyword.
21751         * resolv/res_debug.c: Remove SCSS and RCS keyword.
21752         * resolv/res_init.c: Likewise.
21753         * resolv/res_mkquery.c: Likewise.
21754         * resolv/res_query.c: Likewise.
21755         * resolv/res_send.c: Likewise.
21757 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
21759         * conform/data/stdio.h-data (fdopen): Expect also for
21760         [XPG3 || XPG4].
21762         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
21763         (fseeko): Likewise.
21764         (ftello): Likewise.
21765         (ftrylockfile): Likewise.
21766         (funlockfile): Likewise.
21767         (getc_unlocked): Likewise.
21768         (getchar_unlocked): Likewise.
21769         (putc_unlocked): Likewise.
21770         (putchar_unlocked): Likewise.
21772 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21774         [BZ #19868]
21775         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
21776         DNS packet syntax checks (which were not needed before).  Skip
21777         over non-PTR records.
21779 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21781         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
21782         definition.  Include <stddef.h> instead.
21784 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21786         [BZ #19831]
21787         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
21788         function.
21789         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
21790         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
21792 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21794         [BZ #19862]
21795         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
21796         (getanswer_r): Do not call syslog.
21797         (gaih_getanswer_slice): Likewise.
21798         * resolv/gethnamaddr.c (AskedForGot): Remove.
21799         (getanswer): Do not call syslog.
21800         (gethostbyaddr): Likewise.
21802 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
21804         * conform/data/signal.h-data (union sigval): Expect also if
21805         [XOPEN2K].
21806         (struct sigevent): Likewise.
21807         (SIGEV_NONE): Likewise.
21808         (SIGEV_SIGNAL): Likewise.
21809         (SIGEV_THREAD): Likewise.
21810         (SIGRTMIN): Likewise.
21811         (SIGRTMAX): Likewise.
21812         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
21813         variable.
21814         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21816 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21818         [BZ #19830]
21819         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
21820         (gaih_getanswer_slice): Likewise.
21821         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
21822         Also check for availability of RR metadata.
21824 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21826         [BZ #19825]
21827         * resolv/res_send.c (send_vc): Remove early *resplen2
21828         initialization.  Set *resplen2 on socket error.  Call
21829         close_and_return_error for other errors.
21831 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
21833         * sysdeps/unix/sysv/linux/netiucv/iucv.h
21834         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
21835         (SCM_IUCV_TRGCLS): New define.
21837 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21839         [BZ #20005]
21840         * libio/fmemopen.c (fmemopen_write): Update internal position after
21841         write.
21842         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
21843         * stdio-common/tst-fmemopen4.c: New file..
21845 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
21847         [BZ #19996]
21848         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
21849         not [__USE_XOPEN2K].
21850         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
21851         variable.
21853         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
21854         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
21855         variable.
21857         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
21858         [__USE_XOPEN2K8].
21859         [__USE_LARGEFILE64] (off64_t): Likewise.
21860         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
21861         variable.
21863 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
21865         [BZ #19989]
21866         * libio/stdio.h (cuserid): Do not declare if
21867         [__USE_XOPEN2K && !__USE_GNU].
21868         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
21869         variable.
21871 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21873         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21874         (sysdep_routines): Add P8 and PPC64 strcspn targets.
21875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21876         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
21877         ifunc'ed strcspn.
21878         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
21879         [EALIGN]: Removed.
21880         [END]: Likewise
21881         [STRSPN]: Define instead of the above to control symbol name.
21882         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
21883         New file.
21884         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
21885         Likewise.
21886         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
21887         Likewise.
21888         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
21889         Likewise.
21890         * sysdeps/powerpc/powerpc64/power8/strspn.S:
21891         [INITIAL_MASK]: New macro.
21892         [STRCSPN]: Likewise.
21893         [UPDATE_MASK]: Likewise.
21894         [USE_AS_STRCSPN]: Likewise.
21896 2016-04-25  Florian Weimer  <fweimer@redhat.com>
21898         [BZ #19931]
21899         * stdio-common/tst-vfprintf-width-prec.c: New file.
21900         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
21901         (tests-special): Add tst-vfprintf-width-prec-mem.out.
21902         (generated): Add mtrace-related files.
21903         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
21904         (tst-%-mem.out): New pattern rule, replaces
21905         tst-printf-bz18872-mem.out.
21906         * stdio-common/vfprintf.c (vfprintf): When handling a precision
21907         specifier, deallocate any previously allocated work buffer.
21909 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
21911         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
21912         Add nop before __startcontext, add explaining comments.
21914 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
21916         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
21917         any more. Notably since IPV6_PKTINFO has been reintroduced with a
21918         completely different API.
21920         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
21921         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
21922         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
21923         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
21924         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
21925         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
21926         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
21927         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
21928         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
21929         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
21931 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
21933         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
21935 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
21937         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
21938         when it is the default of 0.
21940 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21942         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
21943         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21944         (sysdep_routines): Add new strcasestr targets.
21945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21946         (__libc_ifunc_impl_list): Likewise.
21947         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
21948         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
21949         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
21950         * sysdeps/powerpc/powerpc64/power8/Makefile:
21951         New file to add strcasestr-ppc64 to sysdep_routines.
21952         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
21953         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
21955 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
21957         * benchtests/Makefile (wcsmbs-benchset): Include only for
21958         native builds and runs.
21959         (LOCALES): Likewise.
21960         (bench-build): Build timing-type here instead of the bench
21961         target.  Generate locale only for native builds.
21962         * benchtests/README: Add note for cross-building.
21964         * benchtests/Makefile (bench-clean): Clean up extra-objs.
21966         * benchtests/README: Update README to include instructions on
21967         using bench-build.
21969         * Makefile.in (bench-build): New target.
21970         * Rules (PHONY): Add bench-build target.
21971         * benchtests/Makefile (bench): Depend on bench-build.
21972         (bench-build): New target.
21974 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21976         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
21977         profil_reply_port.
21978         (profile_waiter): Do not initialize profil_reply_port.
21979         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
21980         frequency instead of tick length in us.
21982 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
21984         [BZ #18712]
21985         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
21986         (__old_mempcpy_small): Likewise.
21987         (__old_strcpy_small): Likewise.
21988         (__old_stpcpy_small): Likewise.
21989         (__old_strpbrk_c2): Fix compat symbol name.
21990         (__old_strpbrk_c3): Likewise.
21991         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
21992         (__mempcpy_small): Remove.
21993         (__strcpy_small): Remove.
21994         (__stpcpy_small): Remove.
21996 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
21998         [BZ #19400]
21999         * locale/iso-639.def: Add the Talossan/tzl language.
22001 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22003         [BZ #16983]
22004         * locale/programs/ld-address.c (address_finish): Update postal_fmt
22005         comment.  Add "ln" to strchr check on postal_fmt.
22007 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22009         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22010         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
22011         tel_dom_fmt.
22013 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22015         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22016         (sysdep_routines): Added __strlen_power8.
22017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22018         __strlen_power8 entry.
22019         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22020         Implementation for POWER8.
22021         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22022         for __strlen_power8.
22023         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22024         Implementation for POWER8.
22026 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
22028         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22030 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
22032         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22033         Goldmont and Airmont processors.
22035 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
22037         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22038         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22039         (__STRING2_SMALL_GET32): Remove.
22040         (memset): Remove.
22041         (__memset_1): Remove.
22042         (__memset_gc): Remove.
22043         (__mempcpy): Remove.
22044         (mempcpy): Remove.
22045         (__mempcpy_args): Remove.
22046         (strchr): Remove.
22047         (strcpy): Remove.
22048         (strcpy_args): Remove.
22049         (__stpcpy_args): Remove.
22050         (__strcmp_cc): Remove.
22051         (__strcmp_gc): Remove.
22052         (strstr): Remove.
22054 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
22056         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22057         * nis/nis_call.c (nis_server_cache_add): Likewise.
22059 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22061         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22063 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22065         * malloc/arena.c (__malloc_fork_lock_parent)
22066         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22067         internal_function attribute.
22069 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
22071         * stdio-common/printf_fp.c (__printf_fp_l):
22072         Rename ___printf_fp_l to __printf_fp_l and
22073         remove strong alias. Use libc_hidden_def instead
22074         of ldbl_hidden_def macro.
22076 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22078         Remove malloc hooks from fork handler.  They are no longer needed
22079         because malloc runs right before fork, and no malloc calls from
22080         other fork handlers are not possible anymore.
22081         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22082         declarations.
22083         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22084         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22085         (atfork_recursive_cntr): Remove.
22086         (__malloc_fork_lock_parent): Do not override malloc hooks and
22087         thread_arena.
22088         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22089         thread_arena.
22090         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
22091         thread_arena instead of save_arena.
22093 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22095         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22096         (thread_atfork, thread_atfork_static): Remove.
22097         * sysdeps/mach/hurd/malloc-machine.h:
22098         (thread_atfork, thread_atfork_static): Remove.
22100 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22102         [BZ #19431]
22103         Run the malloc fork handler as late as possible to avoid deadlocks.
22104         * malloc/malloc-internal.h: New file.
22105         * malloc/malloc.c: Include it.
22106         * malloc/arena.c (ATFORK_MEM): Remove.
22107         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
22108         Update comment.
22109         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
22110         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
22111         Remove outdated comment.
22112         (ptmalloc_init): Do not call thread_atfork.  Remove
22113         thread_atfork_static.
22114         * malloc/tst-malloc-fork-deadlock.c: New file.
22115         * Makefile (tests): Add tst-malloc-fork-deadlock.
22116         (tst-malloc-fork-deadlock): Link against libpthread.
22117         * manual/memory.texi (Aligned Memory Blocks): Update safety
22118         annotation comments.
22119         * sysdeps/nptl/fork.c (__libc_fork): Call
22120         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
22121         __malloc_fork_unlock_child.
22122         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
22124 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22126         [BZ #19613]
22127         Remove union wait.
22128         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
22129         (w_stopsig, w_stopval): Remove.
22130         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
22131         stat_loc argument.
22132         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
22133         (__WAIT_STATUS_DEFN): Remove.
22134         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22135         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
22136         (wait, wait3, wait4): Use int * for the stat_loc argument.
22137         * posix/wait.c (__wait): Likewise.
22138         * posix/wait3.c (__wait3): Likewise.
22139         * posix/wait4.c (__wait4): Likewise.
22140         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
22141         (__WAIT_STATUS_DEFN): Remove.
22142         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22143         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
22144         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
22145         argument.
22146         * sysdeps/posix/wait.c (__libc_wait): Likewise.
22147         * sysdeps/posix/wait3.c (__wait3): Likewise.
22148         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
22149         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22150         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
22151         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
22152         stat_loc argument.
22153         * manual/process.texi (BSD Wait Functions): Remove union wait.
22155 2016-04-13  Andreas Schwab  <schwab@suse.de>
22157         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
22158         (test-extras): Add tst-tlsalign-vars.
22159         * math/Makefile: Wrap long lines.
22160         (libm-vec-test-wrappers): Define.
22161         (test-extras): Add $(libm-vec-test-wrappers).
22162         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
22163         * nss/Makefile (extra-test-objs): Add nss_test1.os.
22164         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
22165         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
22166         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
22167         (extra-test-objs): Add corresponding objects.
22169 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
22171         [BZ #19928]
22172         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
22173         New.
22174         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
22175         times of shared cache size.
22176         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
22177         (VMOVNT): New.
22178         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
22179         (VMOVNT): Likewise.
22180         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
22181         (VMOVNT): Likewise.
22182         (VMOVU): Changed to movups for smaller code sizes.
22183         (VMOVA): Changed to movaps for smaller code sizes.
22184         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
22185         comments.
22186         (PREFETCH): New.
22187         (PREFETCH_SIZE): Likewise.
22188         (PREFETCHED_LOAD_SIZE): Likewise.
22189         (PREFETCH_ONE_SET): Likewise.
22190         Rewrite to use forward and backward loops, which move 4 vector
22191         registers at a time, to support overlapping addresses and use
22192         non temporal store if size is above the threshold and there is
22193         no overlap between destination and source.
22195 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
22197         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
22198         Include dl-vdso.
22199         * sysdeps/unix/sysv/linux/mips/Versions: Add
22200         __vdso_clock_gettime.
22201         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
22202         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
22203         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
22204         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
22205         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
22206         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
22207         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22208         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22209         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22211 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22213         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
22214         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
22215         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22216         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22217         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22218         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22221         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
22222         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
22223         syscalls generation.
22224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22225         [__NR_pwrite64] (__NR_write): Remove define.
22226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22227         [__NR_pwrite64] (__NR_write): Remove define.
22228         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
22229         Remove define.
22230         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
22231         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
22232         Remove define.
22233         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
22234         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
22235         Linux implementation as base.
22236         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22238         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
22239         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
22240         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22241         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
22243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22244         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
22245         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
22246         syscall generation.
22247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22248         [__NR_pread64] (__NR_pread): Remove define.
22249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22250         [__NR_pread64] (__NR_pread): Likewise.
22251         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
22252         define.
22253         (__libc_pread): Use SYSCALL_LL macro on offset argument.
22254         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
22255         Remove define.
22256         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
22257         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
22258         Linux implementation as base.
22259         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22260         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22261         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22263         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
22264         definition.
22265         (__ALIGNMENT_COUNT): Likewise.
22266         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
22267         (__ALIGNMENT_COUNT): Likewise.
22268         (SYSCALL_LL): New define.
22269         (SYSCALL_LL64): Likewise.
22270         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
22271         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
22272         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
22273         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
22275         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22276         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
22277         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22278         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22279         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22280         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22282 2016-04-11  Florian Weimer  <fweimer@redhat.com>
22284         [BZ #19865]
22285         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
22286         original buffer before retry.
22288 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22290         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
22291         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
22292         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
22293         GLRO(dl_auxv) list.
22294         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
22295         including <ldsodefs.h>.
22296         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
22298 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
22300         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
22301         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
22302         $(CPPFLAGS).
22304 2016-04-09  Khem Raj  <raj.khem@gmail.com>
22306         [BZ #17950]
22307         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
22308         Add -mfpmath=387.
22310 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
22312         * sysdeps/i386/configure.ac: Change == to = when calling test.
22313         * sysdeps/x86_64/configure.ac: Likewise.
22314         * sysdeps/i386/configure: Regenerated.
22315         * sysdeps/x86_64/configure: Likewise.
22317 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
22319         [BZ #16137]
22320         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
22321         * benchtests/bench-strcoll.c (input_files): Likewise.
22322         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22323         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
22324         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
22326 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
22328         [BZ #19929]
22329         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
22330         [__USE_XOPEN2K8 && !__USE_GNU].
22331         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
22332         variable.
22334         [BZ #19925]
22335         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
22336         define if [!__USE_MISC && __USE_XOPEN2K].
22337         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
22338         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
22339         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
22340         Likewise.
22341         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
22342         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
22343         variable.
22344         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22346 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22348         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22349         (sysdep_routines): Add new strspn targets.
22350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22351         (__libc_ifunc_impl_list): Add strspn.
22352         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22353         New file.
22354         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
22355         Likewise.
22356         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
22357         Likewise.
22358         * sysdeps/powerpc/powerpc64/power8/strspn.S:
22359         Likewise.
22361 2016-04-07  Florian Weimer  <fweimer@redhat.com>
22363         * misc/hsearch_r.c: Include <limits.h>.
22365 2016-04-07  Florian Weimer  <fweimer@redhat.com>
22367         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
22369 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
22371         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
22372         (MEMCPY_SYMBOL): New.
22373         (MEMPCPY_SYMBOL): Likewise.
22374         (MEMMOVE_CHK_SYMBOL): Likewise.
22375         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
22376         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
22377         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
22378         Provide alias for memcpy in libc.a and ld.so.
22380 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
22382         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
22383         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
22384         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
22385         Disabled fro now.
22386         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
22387         symbols.  Properly check USE_MULTIARCH on __memset symbols.
22389 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
22391         * benchtests/Makefile (string-benchset): Add memcpy-large,
22392         memmove-large and memset-large.
22393         * benchtests/bench-memcpy-large.c: New file.
22394         * benchtests/bench-memmove-large.c: Likewise.
22395         * benchtests/bench-memmove-large.c: Likewise.
22396         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
22398 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
22400         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
22401         32-bit displacement to avoid long nop between instructions.
22403 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
22405         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
22406         a comment on VMOVU and VMOVA.
22408 2016-04-04  Florian Weimer  <fweimer@redhat.com>
22410         [BZ #19633]
22411         Use specified locale for number formatting in strfmon_l.
22412         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
22413         (__nl_lookup_word): New inline functions.
22414         * include/printf.h (__print_fp_l): Declare.
22415         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
22416         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
22417         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
22418         (___printf_fp): New function.
22419         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
22420         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
22421         * stdlib/tst-strfmon_l.c (do_test): New test.
22422         * stdlib/Makefile (tests): Add kt.
22423         (LOCALES): Build additional locales.
22424         (tst-strfmon_l.out): Require locales.
22426 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
22428         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
22429         if not in libc.
22430         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
22431         Likewise.
22432         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
22433         Likewise.
22434         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22435         Likewise.
22437 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
22439         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
22440         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
22441         with unaligned_erms.
22442         (__memmove_erms): Skip if source == destination.
22443         (__memmove_unaligned_erms): Don't check source == destination
22444         first.
22446 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
22448         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
22449         bit_arch_Fast_Copy_Backward for Intel Core proessors.
22451 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22453         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
22454         * string/strspn.c (strspn): Likewise.
22456 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
22458         * benchtests/bench-memset.c (do_test): Support 64-byte
22459         alignment.
22460         (test_main): Test 64-byte alignment.
22462 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
22464         * benchtests/bench-memmove.c (test_main): Test 64-byte
22465         alignment.
22467 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
22469         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
22471 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22473         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
22474         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
22475         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
22477         * string/strpbrk.c (strpbrk): Rewrite function.
22478         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
22479         (__strpbrk_c2): Likewise.
22480         (__strpbrk_c3): Likewise.
22481         * string/string-inlines.c
22482         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
22483         Likewise.
22484         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
22485         Likewise.
22487         * string/strspn.c (strcspn): Rewrite function.
22488         * string/bits/string2.h (strspn): Use __builtin_strcspn.
22489         (__strspn_c1): Remove inline function.
22490         (__strspn_c2): Likewise.
22491         (__strspn_c3): Likewise.
22492         * string/string-inlines.c
22493         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
22494         compatibility symbol.
22495         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
22496         Likewise.
22497         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
22498         Likewise.
22499         * string/string-inlines.c: Include generic version.
22501 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
22502             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22504         * string/Version (libc): Add GLIBC_2.24.
22505         * string/strcspn.c (strcspn): Rewrite function.
22506         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
22507         (__strcspn_c1): Remove inline function.
22508         (__strcspn_c2): Likewise.
22509         (__strcspn_c3): Likewise.
22510         * string/string-inline.c
22511         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
22512         compatibility symbol.
22513         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
22514         Likewise.
22515         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
22516         Likewise.
22517         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
22519 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22521         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22522         Use ahi instead of aghi to adjust stack pointer.
22524 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22526         [BZ #19853]
22527         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
22528         TEST to take significant digits as second parameter.
22529         [TEST]: Redefine in terms of TEST_N taking 30
22530         significant digits.
22531         (do_test): Add test case to demonstrate precision
22532         failure in the ldbl-128ibm printf.
22533         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
22534         (__mpn_extract_long_double): Carry 7 extra intermediate
22535         bits of precision to aide computing difference when
22536         signs differ.
22538 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
22540         [BZ #19881]
22541         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22542         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
22543         memset-avx512-unaligned-erms.
22544         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22545         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
22546         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
22547         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
22548         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
22549         __memset_sse2_unaligned_erms, __memset_erms,
22550         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
22551         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
22552         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
22553         file.
22554         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22555         Likewise.
22556         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
22557         Likewise.
22558         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
22559         Likewise.
22561 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
22563         [BZ #19776]
22564         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22565         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
22566         memmove-avx512-unaligned-erms.
22567         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22568         (__libc_ifunc_impl_list): Test
22569         __memmove_chk_avx512_unaligned_2,
22570         __memmove_chk_avx512_unaligned_erms,
22571         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
22572         __memmove_chk_sse2_unaligned_2,
22573         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
22574         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
22575         __memmove_avx512_unaligned_erms, __memmove_erms,
22576         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
22577         __memcpy_chk_avx512_unaligned_2,
22578         __memcpy_chk_avx512_unaligned_erms,
22579         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
22580         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
22581         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
22582         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
22583         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
22584         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
22585         __mempcpy_chk_avx512_unaligned_erms,
22586         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
22587         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
22588         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
22589         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
22590         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
22591         __mempcpy_erms.
22592         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
22593         file.
22594         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
22595         Likewise.
22596         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
22597         Likewise.
22598         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
22599         Likewise.
22601 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22603         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
22604         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
22605         (La_s390_64_regs): Likewise.
22606         (La_s390_32_retval): Append vector register lrv_v24.
22607         (La_s390_64_retval): Likeweise.
22608         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
22609         Handle extended structs La_s390_32_regs and La_s390_32_retval.
22610         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
22611         Handle extended structs La_s390_64_regs and La_s390_64_retval.
22613 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22615         [BZ #19916]
22616         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
22617         to create a non-vector/vector version for _dl_runtime_resolve and
22618         _dl_runtime_profile. Move implementation to ...
22619         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
22620         (_dl_runtime_resolve) Save and restore fpr/vrs.
22621         (_dl_runtime_profile) Save and restore vrs and fix some issues
22622         if _dl_call_pltexit is called.
22623         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
22624         Choose the correct resolver function if running on a machine with vx.
22625         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
22626         to create a non-vector/vector version for _dl_runtime_resolve and
22627         _dl_runtime_profile. Move implementation to ...
22628         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
22629         (_dl_runtime_resolve) Save and restore fpr/vrs.
22630         (_dl_runtime_profile) Save and restore vrs and fix some issues
22631         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
22632         Choose the correct resolver function if running on a machine with vx.
22634 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22636         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
22638 2016-03-31  Florian Weimer  <fweimer@redhat.com>
22640         [BZ #19509]
22641         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
22642         skip_map != NULL.
22643         * elf/tst-dlsym-error.c: New file.
22644         * elf/Makefile (tests): Add tst-dlsym-error.
22645         (tst-dlsym-error): Link against libdl.
22647 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
22649         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22650         (__ASSUME_FUTIMESAT): Remove macro.
22651         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
22653 2016-03-29  Florian Weimer  <fweimer@redhat.com>
22655         [BZ #19879]
22656         CVE-2016-3075
22657         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
22658         copy name.
22660 2016-03-29  Florian Weimer  <fweimer@redhat.com>
22662         [BZ #19837]
22663         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
22664         error if parse_line fails.
22666 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
22668         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
22669         (index_cpu_ERMS): Likewise.
22670         (reg_ERMS): Likewise.
22672 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
22674         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
22675         PER_LINUX_FDPIC): Add.
22677 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
22679         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22680         memcpy-avx512-no-vzeroupper.
22681         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
22682         to ...
22683         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
22684         (MEMCPY): Don't define.
22685         (MEMCPY_CHK): Likewise.
22686         (MEMPCPY): Likewise.
22687         (MEMPCPY_CHK): Likewise.
22688         (MEMPCPY_CHK): Renamed to ...
22689         (__mempcpy_chk_avx512_no_vzeroupper): This.
22690         (MEMPCPY_CHK): Renamed to ...
22691         (__mempcpy_chk_avx512_no_vzeroupper): This.
22692         (MEMCPY_CHK): Renamed to ...
22693         (__memmove_chk_avx512_no_vzeroupper): This.
22694         (MEMCPY): Renamed to ...
22695         (__memmove_avx512_no_vzeroupper): This.
22696         (__memcpy_avx512_no_vzeroupper): New alias.
22697         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
22699 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
22701         [BZ #18858]
22702         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22703         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
22704         and mempcpy-avx512-no-vzeroupper.
22705         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
22706         New.
22707         (MEMPCPY): Likewise.
22708         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
22709         (MEMPCPY_CHK): New.
22710         (MEMPCPY): Likewise.
22711         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
22712         (MEMPCPY): Likewise.
22713         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
22714         (MEMPCPY): Likewise.
22715         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
22716         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
22717         Likewise.
22718         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
22719         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
22721 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
22722              Amit Pawar  <Amit.Pawar@amd.com>
22724         [BZ #19583]
22725         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
22726         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
22727         processors.  Set Fast_Copy_Backward for AMD Excavator
22728         processors.
22729         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
22730         New.
22731         (index_arch_Fast_Unaligned_Copy): Likewise.
22732         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
22733         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
22735 2016-03-25  Florian Weimer  <fweimer@redhat.com>
22737         [BZ #19791]
22738         * resolv/res_send.c (close_and_return_error): New function.
22739         (send_dg): Initialize *resplen2 after reopen failure.  Call
22740         close_and_return_error for error returns.  On error paths without
22741         __res_iclose, initialze *resplen2 explicitly.  Update comment for
22742         successful return.
22744 2016-03-25  Florian Weimer  <fweimer@redhat.com>
22746         [BZ #19860]
22747         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
22748         zero if the compiler does not provide the AVX512F bit.
22750 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
22752         [BZ #19848]
22753         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
22754         from 8 to 4.
22755         (__ieee754_powl): Compare integer exponent against 4 not 8.
22756         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
22757         from 8 to 4.
22758         (__ieee754_powl): Compare integer exponent against 4 not 8.
22759         * math/auto-libm-test-in: Add more tests of pow.
22760         * math/auto-libm-test-out: Regenerated.
22761         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
22762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22764 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
22766         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
22767         Make code unconditional.
22768         [!__NR_utimensat]: Remove conditional code.
22769         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
22770         Make code unconditional.
22771         [!__NR_utimensat]: Remove conditional code.
22772         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
22773         Make code unconditional.
22774         [!__NR_utimensat]: Remove conditional code.
22776 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
22778         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
22779         Make code unconditional.
22781 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
22783         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
22784         call-clobbered %eax on retry path.
22785         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
22787 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22789         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
22790         Don't set %rcx twice before "rep movsb".
22792 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22794         [BZ #19583]
22795         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
22796         inline.  Check family before setting family, model and
22797         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
22798         bits here.
22799         (init_cpu_features): Replace HAS_CPU_FEATURE and
22800         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
22801         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
22802         for Intel processors with usable AVX2.  Call get_common_indeces
22803         for other processors with family == NULL.
22804         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
22805         (CPU_FEATURES_ARCH_P): Likewise.
22806         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
22807         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
22809 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22811         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
22812         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
22813         $(shared-thread-library) instead of hardcoding the path to libpthread.
22815 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
22817         * sysdeps/unix/sysv/linux/kernel-features.h
22818         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
22819         * sysdeps/unix/sysv/linux/getdents.c
22820         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
22821         [!have_no_getdents64_defined]: Likewise.
22822         (__GETDENTS): Remove __have_no_getdents64 conditional.
22824 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
22826         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
22827         Remove macro.
22828         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
22829         <kernel-features.h>.
22830         (signalfd) [__NR_signalfd4]: Make code unconditional.
22831         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
22833 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22835         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
22836         style.
22838 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22840         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
22841         (__pthread_enable_asynccancel): Use JUMPTARGET to call
22842         __pthread_unwind.
22843         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
22844         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
22845         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
22846         (__condvar_cleanup1): Likewise.
22848 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
22850         [BZ #19822]
22851         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
22852         move it to the final $@ location.
22854 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22856         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
22857         access where posix_spawn success and pid argument is null.
22858         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
22859         success case.
22861 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
22863         * sysdeps/mach/hurd/i386/c++-types.data: New file.
22865         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
22867         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
22868         and __fcntl.
22869         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
22870         __fcntl only.
22871         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
22872         adding attribute_hidden to __open and __fcntl.
22874         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
22875         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
22876         depend on libc-modules.h,
22877         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
22879 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
22881         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
22882         Remove macro.
22883         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
22884         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
22885         entry.
22887         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
22888         Remove macro.
22889         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
22890         include <kernel-features.h>.
22891         [!__ASSUME_FALLOCATE]: Remove conditional code.
22892         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
22894 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22896         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
22897         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
22898         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
22899         (_ZGVdN4v_cos_avx2): Likewise.
22900         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
22901         (_ZGVdN4v_cos): Likewise.
22902         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
22903         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
22904         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
22905         (_ZGVdN4v_exp_avx2): Likewise.
22906         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
22907         (_ZGVdN4v_exp): Likewise.
22908         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
22909         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
22910         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
22911         (_ZGVdN4v_log_avx2): Likewise.
22912         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
22913         (_ZGVdN4v_log): Likewise.
22914         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
22915         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
22916         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
22917         (_ZGVdN4vv_pow_avx2): Likewise.
22918         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
22919         (_ZGVdN4vv_pow): Likewise.
22920         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
22921         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
22922         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
22923         (_ZGVdN4v_sin_avx2): Likewise.
22924         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
22925         (_ZGVdN4v_sin): Likewise.
22926         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
22927         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
22928         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
22929         (_ZGVdN4vvv_sincos_avx2): Likewise.
22930         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
22931         (_ZGVdN4vvv_sincos): Likewise.
22932         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
22933         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
22934         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
22935         (_ZGVbN4v_cosf_sse4): Likewise.
22936         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
22937         (_ZGVdN8v_cosf_avx2): Likewise.
22938         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
22939         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
22940         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
22941         (_ZGVbN4v_expf_sse4): Likewise.
22942         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
22943         (_ZGVdN8v_expf_avx2): Likewise.
22944         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
22945         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
22946         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
22947         (_ZGVbN4v_logf_sse4): Likewise.
22948         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
22949         (_ZGVdN8v_logf_avx2): Likewise.
22950         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
22951         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
22952         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
22953         (_ZGVbN4vv_powf_sse4): Likewise.
22954         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
22955         (_ZGVdN8vv_powf_avx2): Likewise.
22956         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22957         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
22958         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22959         (_ZGVbN4vvv_sincosf_sse4): Likewise.
22960         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22961         (_ZGVdN8vvv_sincosf_avx2): Likewise.
22962         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
22963         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
22964         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
22965         (_ZGVbN4v_sinf_sse4): Likewise.
22966         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
22967         (_ZGVdN8v_sinf_avx2): Likewise.
22968         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
22969         Use JUMPTARGET to call callee.
22970         (WRAPPER_IMPL_SSE2_ff): Likewise.
22971         (WRAPPER_IMPL_SSE2_fFF): Likewise.
22972         (WRAPPER_IMPL_AVX): Likewise.
22973         (WRAPPER_IMPL_AVX_ff): Likewise.
22974         (WRAPPER_IMPL_AVX_fFF): Likewise.
22975         (WRAPPER_IMPL_AVX512): Likewise.
22976         (WRAPPER_IMPL_AVX512_ff): Likewise.
22977         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
22978         Likewise.
22979         (WRAPPER_IMPL_SSE2_ff): Likewise.
22980         (WRAPPER_IMPL_SSE2_fFF): Likewise.
22981         (WRAPPER_IMPL_AVX): Likewise.
22982         (WRAPPER_IMPL_AVX_ff): Likewise.
22983         (WRAPPER_IMPL_AVX_fFF): Likewise.
22984         (WRAPPER_IMPL_AVX512): Likewise.
22985         (WRAPPER_IMPL_AVX512_ff): Likewise.
22986         (WRAPPER_IMPL_AVX512_fFF): Likewise.
22988 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22990         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
22991         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
22992         qualifier.
22993         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
22994         internal_function qualifiers.
22996 2016-03-15  Carlos O'Donell <carlos@redhat.com>
22998         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
22999         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23000         * math/atest-exp.c (exp_mpn): Mark chk unused.
23001         * math/atest-exp2.c (exp_mpn): Likewise.
23002         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23003         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23005 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
23007         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23008         Remove macro.
23009         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23010         <kernel-features.h>.
23011         [__NR_ppoll]: Make code unconditional.
23012         [!__ASSUME_PPOLL]: Remove conditional code.
23014         * sysdeps/unix/sysv/linux/kernel-features.h
23015         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23016         (__ASSUME_ACCEPT4): Likewise.
23017         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23018         Define.
23019         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23020         Likewise.
23021         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23022         Likewise.
23023         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23024         Likewise.
23025         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23026         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23027         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23028         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23029         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23030         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23031         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23032         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23033         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23034         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23035         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23036         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23037         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23038         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23039         * sysdeps/unix/sysv/linux/i386/kernel-features.h
23040         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23041         Likewise.
23042         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23043         Likewise.
23044         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23045         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23046         0x040300].
23047         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23048         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23049         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23050         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23051         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23052         0x030300].
23053         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23054         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23055         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23056         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23057         0x040300].
23058         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23059         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23060         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23061         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23062         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23063         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23064         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23065         0x030300].
23066         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23067         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23068         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23069         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23070         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23071         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23072         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23073         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23074         * sysdeps/unix/sysv/linux/s390/kernel-features.h
23075         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23076         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23077         0x040300].
23078         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23079         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23080         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23081         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23082         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23083         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23084         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23085         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23086         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23087         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23088         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23089         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23090         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23091         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23092         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23093         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23094         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23095         Likewise.
23096         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23097         Likewise.
23099 2016-03-15  Andreas Schwab  <schwab@suse.de>
23101         [BZ #19257]
23102         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
23103         statp->_u._ext.nscount as loop count.
23105 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23107         * math/test-signgam-finite-c99.c: Also #undef
23108         __LIBC_INTERNAL_MATH_INLINES.
23109         * math/test-signgam-main.c: Likewise.
23111 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
23113         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
23114         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
23115         (MADV_FREE): Likewise.
23116         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
23117         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
23118         EPOLLEXCLUSIVE.
23120 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
23122         * timezone/README: Remove mention of checktab.awk. Mention wiki
23123         SharedSourceFiles.
23125 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
23127         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
23128         WUNTRACED.
23130 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23132         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23133         order to match the type of p when calling atomic_exchange_acq().
23135 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23137         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
23138         cfi_offset calls.
23139         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
23140         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
23141         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
23142         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
23143         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
23145 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
23147         * timezone/checktab.awk: Removed.
23149 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
23151         * manual/math.texi (Errors in Math Functions): Document relaxed
23152         accuracy goals for IBM long double.
23153         * math/libm-test.inc (test_exceptions): Always allow spurious
23154         "underflow" and "inexact" exceptions for IBM long double.
23156 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
23158         [BZ #19762]
23159         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23160         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
23161         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
23162         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
23163         (bit_arch_*): This for feature array.
23164         (bit_*): Renamed to ...
23165         (bit_cpu_*): This for cpu array.
23166         (index_*): Renamed to ...
23167         (index_arch_*): This for feature array.
23168         (index_*): Renamed to ...
23169         (index_cpu_*): This for cpu array.
23170         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
23171         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
23172         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
23173         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
23174         bit_##name with index_cpu_##name and bit_cpu_##name.
23175         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
23176         bit_##name with index_arch_##name and bit_arch_##name.
23178 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
23180         [BZ #19792]
23181         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
23182         Terminate FDE before return label.
23184 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
23186         [BZ #19790]
23187         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
23188         (rintl): Define as macro.
23189         [USE_AS_NEARBYINTL] (__rintl): Likewise.
23190         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
23191         of fesetround.  Ensure results are evaluated before end of scope.
23192         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
23193         USE_AS_NEARBYINTL and include s_rintl.c.
23194         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
23195         Disable exception traps in new environment.
23196         (libc_feholdsetround_ppc_ctx): Likewise.
23198 2016-03-08  Roland McGrath  <roland@hack.frob.com>
23200         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
23201         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
23202         (tst_audit10_aux) [__AVX512F__]: ... here.
23204 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
23206         * include/sys/auxv.h: New file.
23208 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
23210         [BZ #19759]
23211         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
23213 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23215         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
23216         operand modifier.
23217         (feclearexcept): Likewise.
23219 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23221         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
23222         to reflect the entire 32-bit HWCAP.
23223         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
23224         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
23226 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
23228         [BZ #19783]
23229         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
23230         $(test-via-rtld-prefix).
23231         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
23233 2016-03-08  Florian Weimer  <fweimer@redhat.com>
23235         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
23236         union wait.  Report any non-zero exit status as error.
23238 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23240         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
23241         configured with --enable-hardcoded-path-in-tests.
23243 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
23245         [BZ #19677]
23246         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23247         (__ieee754_remainderl): Put zero low parts in canonical form.
23248         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
23249         file.  Based on
23250         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
23251         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
23252         with wrapper round test-fmodrem-ldbl-128ibm.c.
23253         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
23254         file.
23255         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
23256         Likewise.
23257         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
23258         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
23260 2016-03-07  Florian Weimer  <fweimer@redhat.com>
23262         [BZ #19610]
23263         * elf/ldconfig.c (opt_link): Update comment.
23264         (options): Update help string for option -X.
23265         (search_dir): Unlink stale symbolic link only if updating symbolic
23266         links.
23267         * elf/tst-ldconfig-X.sh: New file.
23268         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
23269         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
23271 2016-03-07  Andreas Schwab  <schwab@suse.de>
23273         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
23274         needed arguments.
23276 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
23278         [BZ #15333]
23279         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
23280         to lstat64.
23282 2016-03-07  Florian Weimer  <fweimer@redhat.com>
23284         * libio/filedoalloc.c (isatty): Remove.
23285         (local_isatty): Add comment.  Call __isatty directly.
23286         (_IO_file_doallocate): Update comment.  Assume _LIBC.
23287         * libio/wfiledoalloc.c (isatty): Remove.
23288         (_IO_wfile_doallocate): Update comment.
23290 2016-03-07  Florian Weimer  <fweimer@redhat.com>
23292         [BZ #19269]
23293         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
23294         tst-audit4-aux.o.
23295         (tst-audit10): Depend on tst-audit10-aux.o.
23296         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
23297         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
23298         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
23299         instead of inline AVX code.
23300         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
23301         instead of inline AVX512 code.
23302         * sysdeps/x86_64/tst-audit4-aux.c: New file
23303         * sysdeps/x86_64/tst-audit10-aux.c: New file
23305         [BZ #19648]
23306         * test-skeleton.c (main): Do not set RLIMIT_DATA.
23308 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23310         [BZ #14750]
23311         [BZ #10354]
23312         [BZ #18433]
23313         * include/sched.h (__clone): Add hidden prototype.
23314         (__clone2): Likewise.
23315         * include/unistd.h (__dup): Likewise.
23316         * posix/Makefile (tests): Add tst-spawn2.
23317         * posix/tst-spawn2.c: New file.
23318         * sysdeps/posix/dup.c (__dup): Add hidden definition.
23319         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
23320         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
23321         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
23322         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
23323         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
23324         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
23325         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
23326         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
23327         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
23328         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
23329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
23330         Likewise.
23331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23332         Likewise.
23333         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
23334         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
23335         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
23336         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
23337         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
23338         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
23339         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
23340         * sysdeps/unix/sysv/linux/nptl-signals.h
23341         (____nptl_is_internal_signal): New function.
23342         * sysdeps/unix/sysv/linux/spawni.c: New file.
23344         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
23345         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
23346         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
23347         * posix/tst-execvp2.c (do_test): Likewise.
23348         * posix/tst-execvp3.c (do_test): Likewise.
23349         * posix/tst-execvp4.c (do_test): Likewise.
23350         * posix/tst-execvpe1.c: New file.
23351         * posix/tst-execvpe2.c: Likewise.
23352         * posix/tst-execvpe3.c: Likewise.
23353         * posix/tst-execvpe4.c: Likewise.
23354         * posix/tst-execvpe5.c: Likewise.
23355         * posix/tst-execvpe6.c: Likewise.
23357         [BZ #19534]
23358         * posix/execl.c (execl): Remove dynamic memory allocation.
23359         * posix/execle.c (execle): Likewise.
23360         * posix/execlp.c (execlp): Likewise.
23362 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23364         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
23365         Replace .text with .text.avx512.
23366         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
23367         Likewise.
23369 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
23371         * sysdeps/generic/libnsl.abilist: New file.
23372         * sysdeps/generic/libutil.abilist: New file.
23374 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23376         [BZ #19762]
23377         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
23378         HAS_ARCH_FEATURE with Fast_Rep_String.
23379         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
23380         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
23381         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
23382         Likewise.
23383         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
23384         Likewise.
23385         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
23386         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
23387         Likewise.
23388         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
23389         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
23390         Likewise.
23392 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
23394         [BZ #19745]
23395         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
23396         with *%rax in call.
23398 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
23400         [BZ #19745]
23401         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
23402         with *__libc_start_main@GOTPCREL(%rip) in call.
23404 2016-03-04  Roland McGrath  <roland@hack.frob.com>
23406         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
23407         inside conditional for nonempty $(CXX).
23409         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
23410         nonempty.
23412         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
23413         to test for empty $(CXX) rather than $(CXX) of "no".
23415 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
23417         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
23419 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
23420             H.J. Lu  <hongjiu.lu@intel.com>
23422         [BZ #18880]
23423         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
23424         instead of Slow_BSF, and also check for Fast_Copy_Backward to
23425         enable __memcpy_ssse3_back.
23427 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
23429         [BZ #19758]
23430         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23431         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
23433 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
23435         [BZ #19490]
23436         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
23437         (__fentry__): Likewise.
23439 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
23441         * gmon/Makefile (noprof): Add $(sysdep_noprof).
23442         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
23444 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
23446         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
23447         __mcount_internal directly.
23448         (C_LABEL(__fentry__)): Likewise.
23449         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
23450         directly.
23452 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
23454         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23455         (__start_context): Call __setcontext directly.
23457 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
23459         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23460         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23461         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
23462         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
23463         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23464         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23465         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
23466         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23467         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23468         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
23469         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
23470         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
23471         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23472         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23473         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23474         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23475         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
23476         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23477         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23478         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
23479         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
23480         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23481         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23482         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
23483         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
23484         Remove conditional code.
23485         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23486         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
23487         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23488         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23489         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
23490         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23491         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
23492         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23493         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23494         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23495         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23496         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23498 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
23500         * NEWS (2.23): Fix typo in bug 19048 text.
23502 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
23504         [BZ #14259]
23505         * Makeconfig: Rename msgcatdir to localedir.
23506         Rename inst_msgcatdir to inst_localedir.
23507         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
23508         * config.make.in: Add localedir.
23509         * elf/Makefile ($(objpfx)sotruss): Use localedir.
23510         (ldd-rewrite): Likewise.
23511         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
23512         (install-others): Use inst_localedir.
23513         (CPPFLAGS): Use localedir.
23514         * locale/Makefile (locale-CPPFLAGS): Likewise.
23515         * po/Makefile (mo-installed): Use inst_localedir.
23517         [BZ #19575]
23518         * localedata/charmaps/GB18030: Update comments regarding PAU to
23519         non-PUA mappings.
23521 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
23523         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
23524         test for header.
23525         * sysdeps/unix/sysv/linux/configure: Regenerated.
23526         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
23527         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
23528         Remove conditional code.
23529         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
23531         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23532         Define to 3.2.0.
23533         (arch_minimum_kernel): Likewise.
23534         * sysdeps/unix/sysv/linux/configure: Regenerated.
23535         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
23536         Define to 2.6.32.
23537         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
23538         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
23539         (arch_minimum_kernel): Define to 2.6.32.
23540         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
23541         * README: Document Linux 3.2 requirement.
23542         * manual/install.texi (Linux): Document Linux 3.2 headers
23543         requirement.
23544         * INSTALL: Regenerated.
23546 2016-02-24  Andreas Schwab  <schwab@suse.de>
23548         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
23549         if !NO_LONG_DOUBLE.
23551 2016-02-22  Roland McGrath  <roland@hack.frob.com>
23553         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
23554         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
23556 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
23558         [BZ #19512]
23559         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
23561 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
23563         * posix/tst-dir.c: Include libc-internal.h.
23565 2016-02-20  Florian Weimer  <fweimer@redhat.com>
23567         [BZ #19056]
23568         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
23569         * manual/filesys.texi (Reading/Closing Directory): Mention
23570         deprecaion.
23571         * posix/tst-dir.c (main): Disable deprecation warning in test.
23573 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
23575         [BZ #19679]
23576         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
23577         Renamed to ...
23578         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
23579         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23580         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
23581         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23582         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
23583         * sysdeps/x86_64/dl-trampoline.h
23584         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23585         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
23587 2016-02-19  Mark Wielaard  <mjw@redhat.com>
23589         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
23591 2016-02-19  Mark Wielaard  <mjw@redhat.com>
23593         * elf/elf.h (R_386_GOT32X): New.
23594         (R_386_NUM): Update.
23595         (R_X86_64_GOTPCRELX: New.
23596         (R_X86_64_REX_GOTPCRELX): New.
23597         (R_X86_64_NUM): Update.
23599 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
23601         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
23603 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
23605         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
23606         assign attr->stackaddr to it, and adjust it down when
23607         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
23608         [_STACK_GROWS_UP]: Delete assert.
23609         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
23610         Implement stack grows up logic.
23611         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
23612         stack grows up logic.
23614 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23616         * NEWS: Update with 2.24 template.
23618 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
23620         [BZ #19678]
23621         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23622         Ensure +0.0 is returned when taking the next value below the least
23623         positive value.
23625 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23627         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
23628         available.  Do not define NO_THREADS.
23629         * malloc/malloc.c: Do not check NO_THREADS.
23630         * malloc/arena.c: Likewise.
23632 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23634         * malloc/malloc.c (__libc_mallinfo): Update comment.
23635         (struct malloc_par): Remove max_total_mem member, it was always 0.
23636         (int_mallinfo): Store 0 into usmblks (no functional change).
23637         * malloc/hooks.c (struct malloc_state): Document that
23638         max_total_mem is always 0.
23639         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
23640         always 0.
23641         * manual/memory.texi (Statistics of Malloc): Likewise.
23643 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23645         * malloc/malloc.c (sysmalloc): Do not update arena_max.
23646         * malloc/arena.c (arena_max): Remove.
23647         (heap_trim, _int_new_arena): Do not update arena_max.
23649 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23651         * resolv/res_init.c (res_ninit): Update comment.
23653 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23655         [BZ #19505]
23656         * posix/spawn_int.h: Add headers and include guard.
23657         (__spawn_valid_fd): New function.
23658         * posix/spawn_faction_addopen.c
23659         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
23660         * posix/spawn_faction_addclose.c
23661         (posix_spawn_file_actions_addclose): Likewise.
23662         * posix/spawn_faction_adddup2.c
23663         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
23664         second file descriptor.
23665         * posix/spawn_valid_fd.c: New file.
23666         * posix/tst-posix_spawn-fd.c: New file.
23667         * posix/Makefile (routines): Add spawn_valid_fd.
23668         (tests): Add tst-posix_spawn-fd.
23670 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23672         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
23673         (do_test): Limit the number of arenas, so that we can use fewer
23674         outer threads.  Limit timeout to 3 seconds, in preparation for a
23675         larger TIMEOUT value.
23677 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
23679         [BZ #19674]
23680         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
23681         sign in overflowing and underflowing results when overflow or
23682         underflow is detected early.  Include sign in result before rather
23683         than after scaling.
23685         [BZ #19603]
23686         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23687         (__ieee754_remainderl): Adjust sign of integer version of low part
23688         when taking absolute value of high part.
23689         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23690         * math/libm-test.inc (remainder_test_data): Add another test.
23691         (remquo_test_data): Likewise.
23693 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
23695         [BZ #19602]
23696         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
23697         equal high parts and both low parts zero specially.
23698         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
23699         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
23700         Add test-fmodl-ldbl-128ibm.
23702         [BZ #19595]
23703         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
23704         common logic for all cases of shifting subnormal results.  Do not
23705         insert sign bit in shifted mantissa.  Always pass -1023 as biased
23706         exponent to ldbl_insert_mantissa in subnormal case.
23708         [BZ #19594]
23709         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
23710         on high and low parts then adjust result and use
23711         ldbl_canonicalize_int if needed.
23713         [BZ #19593]
23714         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
23715         on high part and __floor or __ceil on low part then use
23716         ldbl_canonicalize_int if needed.
23718         [BZ #19592]
23719         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
23720         high and low parts then use ldbl_canonicalize_int if needed.
23722         [BZ #17899]
23723         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
23724         New function.
23725         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
23726         on high and low parts then use ldbl_canonicalize_int if needed.
23728 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23730         * configure: Regenerated.
23732         * po/libc.pot: Regenerated.
23734         * po/be.po: Updated translation.
23735         * po/bg.po: Likewise.
23736         * po/ca.po: Likewise.
23737         * po/cs.po: Likewise.
23738         * po/da.po: Likewise.
23739         * po/el.po: Likewise.
23740         * po/eo.po: Likewise.
23741         * po/es.po: Likewise.
23742         * po/fi.po: Likewise.
23743         * po/fr.po: Likewise.
23744         * po/gl.po: Likewise.
23745         * po/hr.po: Likewise.
23746         * po/hu.po: Likewise.
23747         * po/ia.po: Likewise.
23748         * po/id.po: Likewise.
23749         * po/it.po: Likewise.
23750         * po/ja.po: Likewise.
23751         * po/lt.po: Likewise.
23752         * po/nb.po: Likewise.
23753         * po/nl.po: Likewise.
23754         * po/pt_BR.po: Likewise.
23755         * po/rw.po: Likewise.
23756         * po/sk.po: Likewise.
23757         * po/sl.po: Likewise.
23758         * po/sv.po: Likewise.
23759         * po/tr.po: Likewise.
23760         * po/zh_CN.po: Likewise.
23761         * po/zh_TW.po: Likewise.
23763         * version.h (RELEAES): Set to "development".
23764         (VERSION): Set to 2.23.90.
23766         * version.h (RELEASE): Set to "stable".
23767         (VERSION): Set to 2.23.
23768         * include/feature.h (__GLIBC_MINOR__): Set to 23.
23770         * NEWS: Updated fixed bugs.
23772 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
23773             Wilco Dijkstra  <wdijkstr@arm.com>
23775         [BZ #19462]
23776         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
23777         (_STRING_INLINE_unaligned): This.
23778         * include/string.h: Include <string_private.h>.
23779         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
23780         _STRING_INLINE_unaligned.
23781         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
23782         (_STRING_INLINE_unaligned): New.
23783         * sysdeps/aarch64/string_private.h: New file.
23784         * sysdeps/generic/string_private.h: Likewise.
23785         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
23786         * sysdeps/s390/string_private.h: Likewise.
23787         * sysdeps/x86/string_private.h: Likewise.
23788         * sysdeps/m68k/m680x0/m68020/bits/string.h
23789         (_STRING_ARCH_unaligned): Renamed to ...
23790         (_STRING_INLINE_unaligned): This.
23791         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
23792         to ...
23793         (_STRING_INLINE_unaligned): This.
23794         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
23795         to ...
23796         (_STRING_INLINE_unaligned): This.
23797         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
23798         to ...
23799         (_STRING_INLINE_unaligned): This.
23801 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
23802             H.J. Lu  <hongjiu.lu@intel.com>
23804         [BZ #19590]
23805         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
23806         relocation.
23808 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
23810         [BZ #18665]
23811         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
23812         *herrno_p.
23813         (gaih_getanswer): Document functional behviour. Return tryagain
23814         if any result is tryagain.
23815         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
23816         when freed.
23817         * resolv/res_send.c: Add copyright text.
23818         (__libc_res_nsend): Document that MAXPACKET is expected.
23819         (send_vc): Document. Remove buffer reuse.
23820         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
23821         size of the buffer. Add Dprint for truncated UDP buffer.
23823 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
23825         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
23826         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
23827         * INSTALL: Regenerate.
23829 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
23830             Jonathan Wakely  <jwakely@redhat.com>
23831             Carlos O'Donell  <carlos@redhat.com>
23833         [BZ 19439]
23834         * math/Makefile (tests): Add test-math-isinff.
23835         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
23836         * math/bits/mathcalls.h [__USE_MISC]: Use
23837         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
23838         functions not in C++11 and which don't conflict e.g. isinff,
23839         isinfl etc.
23840         * math/test-math-isinff.cc: New file.
23842 2016-02-12  Florian Weimer  <fweimer@redhat.com>
23844         * misc/bug18240.c (do_test): Set RLIMIT_AS.
23846 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23848         [BZ #19529]
23849         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
23851 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23853         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
23855 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
23857         [BZ #19550]
23858         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
23859         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
23860         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
23861         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
23862         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
23863         New syscall entry.
23864         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
23865         New syscall entry.
23866         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
23867         syscall entry.
23869 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
23871         [BZ #18240]
23872         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
23873         unsigned int wraparound.
23875 2016-01-27  Florian Weimer  <fweimer@redhat.com>
23877         [BZ #18240]
23878         * misc/bug18240.c: New test.
23879         * misc/Makefile (tests): Add it.
23881 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
23882             Joseph Myers  <joseph@codesourcery.com>
23884         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
23885         load in branch delay slot when less than a word of input left.
23887 2016-01-27  Andreas Schwab  <schwab@suse.de>
23889         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
23890         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
23891         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
23892         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
23894 2016-01-26  David S. Miller  <davem@davemloft.net>
23896         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
23898 2016-01-25  David S. Miller  <davem@davemloft.net>
23900         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
23901         __sqrtl_finite.
23902         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
23903         instead using versioned_symbol.
23904         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
23905         of entries.
23907         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
23908         __sqrtl_finite to GLIBC_2.23
23910 2016-01-25  Ricchard Henderson  <rth@redhat.com>
23912         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23914 2016-01-25  Andreas Schwab  <schwab@suse.de>
23916         [BZ #17514]
23917         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
23918         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
23919         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
23920         * nptl/tst-mutex-errorcheck.c: New file.
23922 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23924         [BZ #18560]
23925         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
23926         (IPCOP_semop): Likewise.
23927         (IPCOP_semget): Likewise.
23928         (IPCOP_semctl): Likewise.
23929         (IPCOP_msgsnd): Likewise.
23930         (IPCOP_msgrcv): Likewise.
23931         (IPCOP_msgget): Likewise.
23932         (IPCOP_msgctl): Likewise.
23933         (IPCOP_shmat): Likewise.
23934         (IPCOP_shmdt): Likewise.
23935         (IPCOP_shmget): Likewise.
23936         (IPCOP_shmctl): Likewise.
23938 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
23940         * string/tst-endian.c: Include <libc-internal.h>.
23941         (do_test): Ignore tautological-compare warnings around
23942         "htobeXX (beXXtoh (i)) != i" and
23943         "htoleXX (leXXtoh (i)) != i" if-statements.
23945 2016-01-24  David S. Miller  <davem@davemloft.net>
23947         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
23948         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
23949         alias.
23950         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
23951         __sqrtl_finite.
23953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23955 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
23957         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
23958         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
23959         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23961 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23963         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
23964         (thread_func): Use new function to simplify barrier check.
23965         (do_test): Use new function to simplify checking barrier exit
23966         code, and actually join the child thread.
23968 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23970         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
23971         semicolon.
23972         (__libc_tend): Likewise.
23973         (__libc_tabort): Likewise.
23975 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
23977         * sysdeps/nios2/libm-test-ulps: Update.
23978         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
23979         (__gtsf2): Likewise.
23980         (__unorddf2): Likewise.
23981         (__unordsf2): Likewise.
23982         (__ledf2): Likewise.
23984 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
23986         * nis/nis_table.c (__follow_path): Disable diagnostic for
23987         uninitialized variable that is a false positive for gcc 4.7.
23988         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
23990 2016-01-20  Roland McGrath  <roland@hack.frob.com>
23992         * sysdeps/nacl/lowlevellock-futex.h
23993         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
23994         Always evaluate PRIVATE argument.
23996 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
23998         [BZ #19490]
23999         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24000         (pthread_cond_broadcast): Use ENTRY/END
24001         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24002         (pthread_cond_signal): Likewise.
24003         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24004         Likewise.
24005         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24006         Likewise.
24007         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24008         Likewise.
24010 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
24012         * sysdeps/ieee754/dbl-64/s_finite.c
24013         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24014         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24015         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24016         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24017         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24020         (__gtsf2): Add as optional for libc.so.
24021         (__unordsf2): Likewise.
24022         (__signbit): Remove for libc.so.
24023         (__signbitl): Likewise.
24025 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24027         * iconvdata/bug-iconv11.c (test_ibm93x):
24028         Use %zu printf format specifier for size_t argument.
24030 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
24032         * math/gen-libm-test.pl (parse_ulps): Do not reduce
24033         already-recorded ulps.
24034         * sysdeps/arm/libm-test-ulps: Regenerated.
24035         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24036         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24037         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24039 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24040             Paul Pluzhnikov  <ppluzhnikov@google.com>
24042         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24043         assembler not supporting AVX-512.
24045 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
24047         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24049 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
24051         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24052         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24054         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24056         * sysdeps/arm/libm-test-ulps: Regenerated.
24058 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
24060         [BZ #19451]
24061         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24063 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
24065         [BZ #19486]
24066         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24067         * sysdeps/generic/fix-fp-int-convert-overflow.h
24068         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24069         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24070         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24071         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24072         Likewise.
24073         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24074         Avoid conversions to long int where inexact exceptions
24075         could be raised.
24076         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24077         Likewise.
24078         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24079         Avoid conversions to long long int where inexact exceptions
24080         could be raised.
24081         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24082         Likewise.
24084 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
24086         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24087         * configure: Regenerated.
24089 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
24091         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24093 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
24095         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24096         outside of comment.
24098 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24100         * nptl/tst-barrier1.c: Add description on first line.
24101         * nptl/tst-barrier2.c: Likewise.
24102         * nptl/tst-barrier3.c: Likewise.
24103         * nptl/tst-barrier4.c: Likewise.
24104         * nptl/tst-barrier5.c: Likewise.
24106 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24108         [BZ #18868]
24109         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
24111 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
24113         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
24114         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24115         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
24116         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
24117         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
24118         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
24119         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24120         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24121         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24122         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24123         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24125 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24127         [BZ #13065]
24128         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
24129         new implementation.
24130         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
24131         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
24132         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
24133         (BARRIER_IN_THRESHOLD): New macro.
24134         * nptl/pthread_barrierattr_setpshared.c
24135         (pthread_barrierattr_setpshared): Clean up.
24136         * nptl/tst-barrier4.c: Correct comment.
24137         * nptl/tst-barrier5.c: New file.
24138         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
24139         (gen-as-const-headers): Remove lowlevelbarrier.sym.
24140         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
24141         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
24142         * nptl/lowlevelbarrier.sym: Remove.
24143         * nptl/DESIGN-barrier.txt: Remove.
24144         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
24145         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
24146         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
24147         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
24148         error.
24149         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
24150         implementation.
24152 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24154         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
24155         (do_child): Mask SIGRTMIN while thr is running.
24157 2016-01-15  Martin Sebor  <msebor@redhat.com>
24159         [BZ #19432]
24160         * iconvdata/Makefile: Add bug-iconv11.
24161         * iconvdata/bug-iconv11.c: New test.
24162         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
24163         * iconvdata/ibm933.c: Same.
24164         * iconvdata/ibm935.c: Same.
24165         * iconvdata/ibm937.c: Same.
24166         * iconvdata/ibm939.c: Same.
24168 2016-01-15  Martin Sebor  <msebor@redhat.com>
24170         [BZ #19443]
24171         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
24172         [DEBUG] (_ufc_set_bits): Declare used.
24173         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
24174         [DEBUG] (print_all): Declare used.
24175         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
24176         operands of the ternary ?: expression to target type.
24177         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
24178         calling the undeclared abort.
24179         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
24181 2016-01-15  Martin Sebor  <msebor@redhat.com>
24183         [BZ #18755]
24184         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
24185         warnings.
24186         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
24187         (__gai_create_helper_thread): Same.
24188         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
24189         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
24190         to suppress -Wmaybe-uninitialized warnings.
24192 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
24194         [BZ #19465]
24195         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
24196         inside if.
24197         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24198         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24199         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24201 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
24203         [BZ #19466]
24204         * time/tst-mktime2.c (time_t_max): Removed.
24205         (time_t_min): Likewise.
24206         (TYPE_SIGNED): New.
24207         (TYPE_MINIMUM): Likewise.
24208         (TYPE_MAXIMUM): Likewise.
24209         (TIME_T_MIN): Likewise.
24210         (TIME_T_MAX): Likewise.
24211         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
24212         and TIME_T_MIN.
24213         (do_test): Likewise.
24215 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
24217         [BZ #19467]
24218         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
24219         index_Fast_Unaligned_Load flag for Excavator family CPUs.
24221 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
24223         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
24225 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
24227         * benchtests/Makefile (PYTHON): Define.
24228         (bench-func): Use $(PYTHON) to run python scripts.
24229         ($(objpfx)bench-%.c): Likewise.
24231 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
24233         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
24234         leading slash when `file_name' is "/".
24236 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
24238         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
24239         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
24240         Likewise.
24241         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
24242         Likewise.
24243         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
24244         Likewise.
24245         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
24246         enum constant and macro.
24247         (PTRACE_SETSIGMASK): Likewise.
24248         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24249         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24250         (PTRACE_GETSIGMASK): Likewise.
24251         (PTRACE_SETSIGMASK): Likewise.
24252         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24253         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
24254         Likewise.
24255         (PTRACE_SETSIGMASK): Likewise.
24256         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24257         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24258         (PTRACE_GETSIGMASK): Likewise.
24259         (PTRACE_SETSIGMASK): Likewise.
24260         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24261         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
24262         Likewise.
24263         (PTRACE_SETSIGMASK): Likewise.
24264         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24265         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
24266         Likewise.
24267         (PTRACE_SETSIGMASK): Likewise.
24268         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24269         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
24270         Likewise.
24271         (PTRACE_SETSIGMASK): Likewise.
24272         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24274 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
24275             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24277         [BZ #19439]
24278         * math/bits/mathcalls.h
24279         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
24280         prototype.
24281         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
24283 2016-01-11  Andreas Schwab  <schwab@suse.de>
24285         [BZ #19253]
24286         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
24287         cache when TZDEFRULES was used.
24288         * time/tst-tzname.c: New file.
24289         * time/Makefile (test): Add tst-tzname.
24290         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
24291         * timezone/Makefile (test-zones): Add $(posixrules-file).
24292         ($(testdata)/$(posixrules-file)): New rule.
24294 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
24296         Fix doc quoting problems with Texinfo 5
24297         Without this change, in the info file output, Texinfo 5 quotes code
24298         in text with undirected single quotes 'like this' and generates
24299         code examples that with many PDF readers cannot be cut out of PDFs
24300         and pasted into code.
24301         * manual/libc.texinfo: Configure the libc manual like the GNU
24302         Emacs manual, by using @documentencoding and setting
24303         txicodequoteundirected and txicodequotebacktick.  This way,
24304         Texinfo 5 quotes code in text with directed single quotes ‘like
24305         this’ and produces examples that can be cut out of PDFs.  This
24306         change causes Texinfo 5 to generate info files that contain UTF-8
24307         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
24308         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
24310 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24312         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
24313         __libc_tabort, __libc_tend): New wrappers that enforce compiler
24314         barriers to their respective compiler built-ins.
24315         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
24316         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
24317         * sysdeps/powerpc/sysdep.h: Likewise.
24318         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
24319         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
24320         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
24322 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
24324         * scripts/config.guess: Revert previous shebang change.
24325         * scripts/config.sub: Likewise.
24326         * scripts/mkinstalldirs: Likewise.
24328 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24330         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
24331         PPC_FEATURE2_HAS_IEEE128.
24332         * sysdeps/powerpc/dl-procinfo.c:
24333         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
24335 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
24337         [BZ #19415]
24338         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
24339         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
24340         (_dl_lookup_address): Rewrite using function resolver trampoline.
24341         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
24342         two bits in address.
24344 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
24346         * longlong.h: Change !__SHMEDIA__ to
24347         (!defined (__SHMEDIA__) || !__SHMEDIA__).
24348         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
24350 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
24351             Joseph Myers  <joseph@codesourcery.com>
24352             Mark Shinwell  <shinwell@codesourcery.com>
24353             Andrew Stubbs  <ams@codesourcery.com>
24354             Rich Felker <dalias@libc.org>
24356         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
24358 2016-01-07  Richard Henderson  <rth@redhat.com>
24360         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
24362 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
24364         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
24365         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
24366         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24367         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24368         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
24370 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
24371             Joseph Myers  <joseph@codesourcery.com>
24373         * timezone/private.h: Update from tzcode 2015g.
24374         * timezone/tzfile.h: Likewise.
24375         * timezone/tzselect.ksh: Likewise.
24376         * timezone/zdump.c: Likewise.
24377         * timezone/zic.c: Likewise.
24378         * timezone/ialloc.c: Remove file.
24379         * timezone/scheck.c: Likewise.
24380         * timezone/Makefile (extra-objs): Remove variable.
24381         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
24382         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
24383         -Wno-maybe-uninitialized.
24384         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
24385         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
24386         (CFLAGS-ialloc.c): Remove variable.
24387         (CFLAGS-scheck.c): Likewise.
24388         * timezone/README: Update list of files from tzcode.
24390 2016-01-07  Khem Raj  <raj.khem@gmail.com>
24392         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
24393         instead of __fxprintf when _LIBC is undefined.
24395 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
24397         * catgets/test-gencat.sh: Remove space after shebang.
24398         * conform/GlibcConform.pm: Likewise.
24399         * conform/check-header-lists.sh: Likewise.
24400         * conform/conformtest.pl: Likewise.
24401         * conform/linknamespace.pl: Likewise.
24402         * conform/list-header-symbols.pl: Likewise.
24403         * debug/catchsegv.sh: Likewise.
24404         * elf/genrtldtbl.awk: Likewise.
24405         * elf/tst-pathopt.sh: Likewise.
24406         * elf/tst-rtld-load-self.sh: Likewise.
24407         * grp/tst_fgetgrent.sh: Likewise.
24408         * iconvdata/gen-8bit-gap-1.sh: Likewise.
24409         * iconvdata/gen-8bit-gap.sh: Likewise.
24410         * iconvdata/gen-8bit.sh: Likewise.
24411         * iconvdata/run-iconv-test.sh: Likewise.
24412         * intl/tst-gettext.sh: Likewise.
24413         * intl/tst-gettext2.sh: Likewise.
24414         * intl/tst-gettext4.sh: Likewise.
24415         * intl/tst-gettext6.sh: Likewise.
24416         * intl/tst-translit.sh: Likewise.
24417         * io/ftwtest-sh: Likewise.
24418         * libio/test-freopen.sh: Likewise.
24419         * locale/gen-translit.pl: Likewise.
24420         * malloc/tst-mtrace.sh: Likewise.
24421         * manual/check-safety.sh: Likewise.
24422         * manual/libc-texinfo.sh: Likewise.
24423         * manual/tsort.awk: Likewise.
24424         * manual/xtract-typefun.awk: Likewise.
24425         * nptl/tst-cancel-wrappers.sh: Likewise.
24426         * nptl/tst-tls6.sh: Likewise.
24427         * posix/globtest.sh: Likewise.
24428         * posix/tst-getconf.sh: Likewise.
24429         * posix/wordexp-tst.sh: Likewise.
24430         * scripts/check-c++-types.sh: Likewise.
24431         * scripts/check-local-headers.sh: Likewise.
24432         * scripts/config.guess: Likewise.
24433         * scripts/config.sub: Likewise.
24434         * scripts/cpp: Likewise.
24435         * scripts/cross-test-ssh.sh: Likewise.
24436         * scripts/documented.sh: Likewise.
24437         * scripts/evaluate-test.sh: Likewise.
24438         * scripts/gen-libc-abis: Likewise.
24439         * scripts/gen-sorted.awk: Likewise.
24440         * scripts/list-fixed-bugs.py: Likewise.
24441         * scripts/merge-test-results.sh: Likewise.
24442         * scripts/mkinstalldirs: Likewise.
24443         * scripts/rellns-sh: Likewise.
24444         * scripts/test-installation.pl: Likewise.
24445         * scripts/update-copyrights: Likewise.
24446         * stdio-common/tst-printf.sh: Likewise.
24447         * stdio-common/tst-unbputc.sh: Likewise.
24448         * stdlib/tst-fmtmsg.sh: Likewise.
24449         * stdlib/tst-setcontext3.sh: Likewise.
24450         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
24451         * sysdeps/unix/make-syscalls.sh: Likewise.
24453 2016-01-06  John David Anglin  <dave.anglin@bell.net>
24455         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
24456         asm stw with atomic_exchange_rel.  Add explanatory comment.
24457         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
24458         Likewise.
24460 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
24462         [BZ #19122]
24463         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
24464         * sysdeps/generic/dl-unistd.h: New file.
24465         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
24467 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
24469          [BZ #19122]
24470          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
24471          * sysdeps/generic/dl-mman.h: New file.
24472          * sysdeps/mach/hurd/dl-mman.h: Likewise.
24474 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
24476         * manual/texinfo.tex: Update to version 2016-01-04.21 with
24477         trailing whitespace removed.
24478         * scripts/config.guess: Update to version 2016-01-01.
24479         * scripts/config.sub: Update to version 2016-01-01.
24480         * scripts/move-if-change: Update from gnulib.
24482 2016-01-04  Anton Blanchard  <anton@samba.org>
24484         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
24485         for array indices.
24486         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
24488 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
24490         * NEWS: Update copyright dates.
24491         * catgets/gencat.c (print_version): Likewise.
24492         * csu/version.c (banner): Likewise.
24493         * debug/catchsegv.sh: Likewise.
24494         * debug/pcprofiledump.c (print_version): Likewise.
24495         * debug/xtrace.sh (do_version): Likewise.
24496         * elf/ldconfig.c (print_version): Likewise.
24497         * elf/ldd.bash.in: Likewise.
24498         * elf/pldd.c (print_version): Likewise.
24499         * elf/sotruss.sh: Likewise.
24500         * elf/sprof.c (print_version): Likewise.
24501         * iconv/iconv_prog.c (print_version): Likewise.
24502         * iconv/iconvconfig.c (print_version): Likewise.
24503         * locale/programs/locale.c (print_version): Likewise.
24504         * locale/programs/localedef.c (print_version): Likewise.
24505         * login/programs/pt_chown.c (print_version): Likewise.
24506         * malloc/memusage.sh (do_version): Likewise.
24507         * malloc/memusagestat.c (print_version): Likewise.
24508         * malloc/mtrace.pl: Likewise.
24509         * manual/libc.texinfo: Likewise.
24510         * nptl/version.c (banner): Likewise.
24511         * nscd/nscd.c (print_version): Likewise.
24512         * nss/getent.c (print_version): Likewise.
24513         * nss/makedb.c (print_version): Likewise.
24514         * posix/getconf.c (main): Likewise.
24515         * scripts/test-installation.pl: Likewise.
24516         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24518         * All files with FSF copyright notices: Update copyright dates
24519         using scripts/update-copyrights.
24520         * intl/plural.c: Regenerated.
24521         * locale/programs/charmap-kw.h: Likewise.
24522         * locale/programs/locfile-kw.h: Likewise.
24524 2016-01-02  Helge Deller  <deller@gmx.de>
24526         [BZ #19285]
24527         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
24528         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
24529         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
24530         (MADV_xxK_PAGES): Remove.
24532 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
24534         [BZ #15421]
24535         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
24536         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
24537         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
24538         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
24540 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
24542         [BZ #19408]
24543         * sysdeps/unix/sysv/linux/personality.c: New file.
24544         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
24545         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
24546         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
24547         (sysdep_routines): Add personality.
24548         (tests): Add tst-personality.
24549         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
24550         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
24551         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
24552         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
24553         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
24554         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
24555         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
24556         Likewise.
24557         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
24558         Likewise.
24559         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
24560         Likewise.
24561         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
24562         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
24563         Likewise.
24565 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
24567         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
24568         (PATH_ARM_SYSTYPE): Remove.
24569         (PATH_CPUINFO): Likewise.
24570         (IO_BASE_FOOTBRIDGE): Likewise.
24571         (IO_SHIFT_FOOTBRIDGE): Likewise.
24572         (struct platform): Likewise.
24573         (init_iosys): Remove compatibility code for 2.4 kernels.
24574         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
24576 2015-12-29  Florian Weimer  <fweimer@redhat.com>
24578         * malloc/tst-malloc-thread-fail.c: New file.
24579         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
24580         (tst-malloc-thread-fail): Link against libpthread.
24582 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
24584         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
24585         (get_parser): New function.
24586         (main): New function.
24588 2015-12-29  Rob Wu  <rob@robwu.nl>
24590         [BZ #19369]
24591         * resolv/res_init.c (__res_vinit): Reset defdname before use.
24593 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
24595         [BZ #19270]
24596         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
24598 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
24600         [BZ #15421]
24601         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
24603 2015-12-23  Torvald Riegel  <triegel@redhat.com>
24605         [BZ #13690]
24606         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
24607         after releasing it.
24608         (__lll_robust_unlock): Likewise.
24609         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
24610         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
24611         (lll_robust_unlock): Likewise.
24612         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
24613         Prevent warnings in callers.
24615 2015-12-23  Florian Weimer  <fweimer@redhat.com>
24617         * malloc/arena.c (list_lock): Update comment.
24619 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24621         * sysdeps/powerpc/hwcapinfo.c: Export symbol
24622         __parse_hwcap_and_convert_at_platform to libc.a.
24624 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24626         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
24627         platform and feature support for POWER9.
24628         * sysdeps/powerpc/dl-procinfo.h: Likewise.
24629         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
24630         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
24631         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
24632         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
24633         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
24634         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
24635         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
24637 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24639         Harmonize generic stdio-lock support with nptl
24641         This fixes build when _IO_funlockfile is a macro, fixes build where
24642         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
24643         stack unwind.
24645         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
24646         _IO_release_lock ): Use cleanup attribute on new
24647         _IO_acquire_lock_file variable instead of assuming that
24648         _IO_release_lock will be called.
24649         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
24650         _IO_acquire_lock_needs_exceptions_enabled.
24651         (_IO_acquire_lock_clear_flags2): New macro.
24653 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24655         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24657 2015-12-21  Florian Weimer  <fweimer@redhat.com>
24659         [BZ #19182]
24660         * malloc/arena.c (list_lock): Document lock ordering requirements.
24661         (free_list_lock): New lock.
24662         (ptmalloc_lock_all): Comment on free_list_lock.
24663         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
24664         (detach_arena): Update comment.  free_list_lock is now needed.
24665         (_int_new_arena): Use free_list_lock around detach_arena call.
24666         Acquire arena lock after list_lock.  Add comment, including FIXME
24667         about incorrect synchronization.
24668         (get_free_list): Switch to free_list_lock.
24669         (reused_arena): Acquire free_list_lock around detach_arena call
24670         and attached threads counter update.  Add two FIXMEs about
24671         incorrect synchronization.
24672         (arena_thread_freeres): Switch to free_list_lock.
24673         * malloc/malloc.c (struct malloc_state): Update comments to
24674         mention free_list_lock.
24676 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
24678         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
24679         Remove functions.
24680         (sloww, sloww1): Accept argument to offset quadrant.
24681         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
24682         quadrant.
24683         (__sin, __cos): Consolidate common code into new functions.
24684         (reduce_sincos_1, do_sincos_1): New functions.
24685         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
24687         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
24688         code to new functions.
24689         (reduce_sincos_2, do_sincos_2): New functions.
24690         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
24692         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
24693         common code for sincos.
24694         (__cos) [!IN_SINCOS]: Likewise.
24695         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
24696         New function.
24697         (__sincos): Use it.
24699 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
24701         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
24702         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
24703         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24705 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24707         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
24708         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
24709         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24710         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
24711         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24712         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
24713         index_Prefer_No_VZEROUPPER): New feature.
24714         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
24715         Prefer_No_VZEROUPPER for Knights Landing.
24717 015-12-18  Torvald Riegel  <triegel@redhat.com>
24719         * math/atest-exp2.c (mp_exp_m1): Remove.
24721 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24723         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
24724         syscalls.
24725         (__SYSCALL0): New macro.
24726         (__SYSCALL1): Likewise.
24727         (__SYSCALL2): Likewise.
24728         (__SYSCALL3): Likewise.
24729         (__SYSCALL4): Likewise.
24730         (__SYSCALL5): Likewise.
24731         (__SYSCALL6): Likewise.
24732         (__SYSCALL_CONCAT_X): Likewise.
24733         (__SYSCALL_CONCAT): Likewise.
24734         (__SYSCALL_DIST): Likewise.
24735         (__SYSCALL_CALL): Likewise.
24737 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
24739         [BZ #19363]
24740         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
24742 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24744         [BZ #19375]
24745         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
24746         negative subnormals.
24748 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
24750         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
24751         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
24752         (INTERNAL_SYSCALL_NCS): Use it.
24753         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24755 2015-12-16  Florian Weimer  <fweimer@redhat.com>
24757         [BZ #19243]
24758         * malloc/arena.c (get_free_list): Remove assert and adjust
24759         reference count handling.  Add comment about reused_arena
24760         interaction.
24761         (reused_arena): Add comments abount get_free_list interaction.
24762         * malloc/tst-malloc-thread-exit.c: New file.
24763         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
24764         (tst-malloc-thread-exit): Link against libpthread.
24766 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
24768         [BZ #19367]
24769         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
24770         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
24771         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
24772         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
24773         (index_Prefer_MAP_32BIT_EXEC): Likewise.
24775 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
24777         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
24778         Silvermont optimizations for Knights Landing.
24780 2015-12-15  Andreas Schwab  <schwab@suse.de>
24782         [BZ #17197]
24783         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
24784         immediately after emitting SI.
24785         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
24786         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
24787         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
24788         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
24789         * iconvdata/bug-iconv10.c: New file.
24790         * iconvdata/Makefile (tests): Add bug-iconv10.
24791         ($(objpfx)bug-iconv10.out): New rule.
24793 2015-12-15  Florian Weimer  <fweimer@redhat.com>
24795         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
24796         aliasing violation.
24798 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
24800         [BZ #18472]
24801         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
24802         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
24803         conditionals for them.
24804         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
24805         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
24806         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
24807         sys/kdaemon.h.
24808         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
24809         compat-only syscall, obsoleted in glibc 2.23.
24810         (create_module): Likewise.
24811         (get_kernel_syms): Likewise.
24812         (query_module): Likewise.
24813         (uselib): Likewise.
24814         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
24816 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
24818         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
24819         <linux/version.h>.
24820         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
24821         conditional code.
24822         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
24823         and ioshift_name initialization.
24825 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
24827         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
24828         Fix indentation.
24830 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
24832         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
24834 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
24836         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
24838 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
24839             Jakub Wilk  <jwilk@debian.org>
24841         [BZ #19347]
24842         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
24843         to change the group of the device to the tty group.
24845 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
24847         Split large string section; add truncation advice
24848         * manual/examples/strncat.c: Remove.
24849         This example was misleading, as the code would have undefined
24850         behavior if "hello" was longer than SIZE.  Anyway, the manual
24851         shouldn't encourage strncpy+strncat for this sort of thing.
24852         * manual/string.texi (Copying Strings and Arrays): Split into
24853         three sections Copying Strings and Arrays, Concatenating Strings,
24854         and Truncating Strings, as this section was way too long.  All
24855         cross-referenced changed.  Add advice about string-truncation
24856         functions.  Remove misleading strncat example.
24858 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
24860         * manual/nss.texi (NSS Modules Interface): Document
24861         NSS_STATUS_NOTFOUND and SUCCESS.
24863 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
24865         [BZ 18568]
24866         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24867         201505L, for Unicode 8.
24869 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
24871         * locale/C-translit.h: Regenerate.
24873 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
24875         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
24876         and U+0153.
24878 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
24880         [BZ #19351]
24881         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
24882         expanding log(1+z), compare z rather than its square with epsilon
24883         to determine when to avoid evaluating the expansion.
24885         [BZ #19350]
24886         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24887         Increase overflow threshold.
24889         [BZ #19349]
24890         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
24891         when small.
24893         * sysdeps/unix/sysv/linux/i386/kernel-features.h
24894         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
24895         New macro.
24896         [__LINUX_KERNEL_VERSION >= 0x040300]
24897         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24898         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
24899         Likewise.
24900         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
24901         Likewise.
24902         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
24903         Likewise.
24904         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
24905         Likewise.
24906         [__LINUX_KERNEL_VERSION >= 0x040300]
24907         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
24908         [__LINUX_KERNEL_VERSION >= 0x040300]
24909         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24910         [__LINUX_KERNEL_VERSION >= 0x040300]
24911         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24912         [__LINUX_KERNEL_VERSION >= 0x040300]
24913         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24914         [__LINUX_KERNEL_VERSION >= 0x040300]
24915         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24916         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
24917         Likewise.
24918         [__LINUX_KERNEL_VERSION >= 0x040300]
24919         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
24920         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
24921         Likewise.
24922         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
24923         Likewise.
24924         [__LINUX_KERNEL_VERSION >= 0x040300]
24925         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
24926         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
24927         Likewise.
24928         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
24929         Likewise.
24930         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24931         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
24932         Likewise.
24933         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
24934         Likewise.
24935         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
24936         Likewise.
24937         [__LINUX_KERNEL_VERSION >= 0x040300]
24938         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24939         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
24940         Likewise.
24941         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
24942         Likewise.
24943         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
24944         Likewise.
24945         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
24946         Likewise.
24947         [__LINUX_KERNEL_VERSION >= 0x040300]
24948         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
24949         [__LINUX_KERNEL_VERSION >= 0x040300]
24950         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24951         [__LINUX_KERNEL_VERSION >= 0x040300]
24952         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24953         [__LINUX_KERNEL_VERSION >= 0x040300]
24954         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24955         [__LINUX_KERNEL_VERSION >= 0x040300]
24956         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24957         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
24958         Likewise.
24959         [__LINUX_KERNEL_VERSION >= 0x040300]
24960         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
24961         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
24962         Likewise.
24963         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
24964         Likewise.
24965         [__LINUX_KERNEL_VERSION >= 0x040300]
24966         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
24967         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
24968         Likewise.
24969         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
24970         Likewise.
24971         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24972         (__ASSUME_SOCKET_SYSCALL): Likewise.
24973         (__ASSUME_BIND_SYSCALL): Likewise.
24974         (__ASSUME_CONNECT_SYSCALL): Likewise.
24975         (__ASSUME_LISTEN_SYSCALL): Likewise.
24976         (__ASSUME_ACCEPT_SYSCALL): Likewise.
24977         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24978         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24979         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24980         (__ASSUME_SEND_SYSCALL): Likewise.
24981         (__ASSUME_SENDTO_SYSCALL): Likewise.
24982         (__ASSUME_RECV_SYSCALL): Likewise.
24983         (__ASSUME_RECVFROM_SYSCALL): Likewise.
24984         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
24985         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24986         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24987         (__ASSUME_SENDMSG_SYSCALL): Likewise.
24988         (__ASSUME_RECVMSG_SYSCALL): Likewise.
24989         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24990         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
24991         Likewise.
24992         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
24993         Likewise.
24994         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
24995         Likewise.
24996         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
24997         Likewise.
24998         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
24999         Likewise.
25000         [__LINUX_KERNEL_VERSION >= 0x020625]
25001         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25002         [__LINUX_KERNEL_VERSION >= 0x020625]
25003         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25004         [__LINUX_KERNEL_VERSION >= 0x020625]
25005         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25006         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25007         Likewise.
25008         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25009         Likewise.
25010         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25011         Likewise.
25012         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25013         Likewise.
25014         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25015         Likewise.
25016         [__LINUX_KERNEL_VERSION >= 0x020625]
25017         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25018         [__LINUX_KERNEL_VERSION >= 0x020625]
25019         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25020         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25021         Likewise.
25022         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25023         Likewise.
25025 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25027         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25028         record the current if the current ABI and CPU support the FP64
25029         extension.
25030         (has-modd-spreg): Define to record the current if the current ABI and
25031         CPU support 32-bit floating point values in odd FPU registers.
25032         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25033         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25034         $(has-modd-spreg) equals yes.
25035         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25036         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25037         $(has-modd-spreg) equal yes.
25039 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25041         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25042         basename.
25044 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
25046         * benchtests/Makefile (bench-math): Move ffs and ffsll...
25047         (bench-string): ... here.
25048         (bench): Add bench-string.
25049         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25050         to *-benchset to reflect what they are.
25051         (benchset): Adjust.
25053         * benchtests/sincos-inputs: Add inputs from sin-inputs and
25054         cos-inputs.
25056 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
25058         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25059         __attribute__ ((__simd__)) for vector math function declarations.
25061 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25063         Fix typo in strncat, wcsncat manual entries
25064         * manual/string.texi (Copying and Concatenation): Fix typos in
25065         sample implementations of strncat and wcsncat, by having them use
25066         the old value of the destination length, not the new one.
25068 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
25070         [BZ #16961]
25071         [BZ #16962]
25072         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25073         string on the stack for strtod.
25074         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25075         a string on the stack for strtof.
25076         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25077         constructing a string on the stack for strtold.
25078         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25079         __strtold_nan to GLIBC_PRIVATE.
25080         * math/test-nan-overflow.c: New file.
25081         * math/test-nan-payload.c: Likewise.
25082         * math/Makefile (tests): Add test-nan-overflow and
25083         test-nan-payload.
25085 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25087         Consistency about byte vs character in string.texi
25088         * manual/string.texi (String and Array Utilities):
25089         Distinguish more carefully among bytes, multibyte characters,
25090         and wide characters.  Use "byte" when talking about C 'char',
25091         to distinguish it more clearly from multibyte characters.
25092         Say "wide character" or "multibyte character" instead of
25093         "character", when a wide or multibyte character is intended.
25094         Similarly for "multibyte string" versus "string".
25095         Define these terms more carefully.
25097 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
25099         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
25100         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
25101         Likewise.
25102         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25103         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25104         * sysdeps/sh/math_private.h: New file.
25105         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
25106         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
25107         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
25108         long double function name.
25109         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25110         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25111         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25112         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25113         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25115         Remove __finitel, __isinfl, and __isnanl.
25116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25117         Likewise.
25118         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25120         Remove __finitel.
25121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25122         Likewise.
25123         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25125 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
25127         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
25128         installed libmvec_nonshared.a.
25130 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25132         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
25133         (sysdep_routines): Likewise.
25134         (sysdep-rtld-routines): Likewise.
25135         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
25136         [$(subdir) = nptl](tests-static): test-get_hwcap-static
25137         * sysdeps/powerpc/Versions: Added new
25138         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
25139         * sysdeps/powerpc/hwcapinfo.c: New file.
25140         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
25141         and parse hwcap, hwcap2 and platform number information.
25142         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
25143         to store HWCAP+HWCAP2 and platform number.
25144         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
25145         for HWCAP+HWCAP2 and platform number in the TCB.
25146         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
25147         the HWCAP, HWCAP2 and platform number in the TCB.
25148         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25149         (TLS_INIT_TP): Included calls to add the hwcap and
25150         at_platform values in the TCB in TP initialization.
25151         (TLS_DEFINE_INIT_TP): Likewise.
25152         (THREAD_GET_HWCAP): New macro.
25153         (THREAD_SET_HWCAP): Likewise.
25154         (THREAD_GET_AT_PLATFORM): Likewise.
25155         (THREAD_SET_AT_PLATFORM): Likewise.
25156         * sysdeps/powerpc/powerpc32/dl-machine.h:
25157         (dl_platform_init): New function that calls
25158         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
25159         powerpc32.
25160         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
25161         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
25162         this functionality, static linking case.
25163         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
25164         linking case.
25165         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
25166         __parse_hwcap_and_convert_at_platform for the static linking case.
25167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
25168         Included the new __parse_hwcap_and_convert_at_platform symbol in the
25169         ABI list for GLIBC 2.23.
25170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
25171         Likewise.
25172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
25173         Likewise.
25175 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
25177         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
25178         * configure: Regenerate.
25179         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
25180         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
25182 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
25184         * iconvdata/ibm930.c: Add comment explaining encoding uses.
25185         * iconvdata/ibm933.c: Likewise.
25186         * iconvdata/ibm935.c: Likewise.
25187         * iconvdata/ibm937.c: Likewise.
25188         * iconvdata/ibm939.c: Likewise.
25190 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25192         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
25193         pthread_join.
25194         * nptl/tst-cancel21.c (tf): Likewise.
25196 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
25198         [BZ #19313]
25199         * bits/typesizes.h (__CPU_MASK_TYPE): New.
25200         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25201         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25202         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
25203         Likewise.
25204         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
25205         Likewise.
25206         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
25207         Likewise.
25208         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
25209         Likewise.
25210         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
25211         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
25212         unsigned long int with __CPU_MASK_TYPE.
25214 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25216         * sysdeps/aarch64/libm-test-ulps: Regenerated.
25218 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
25220         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
25221         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
25222         t512.x.
25223         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
25225 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
25227         [BZ #19214]
25228         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
25229         argument to return extended model.  Update family and model
25230         with extended family and model when family == 0x0f.
25231         (init_cpu_features): Updated.
25233 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25235         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
25236         signed off_t, so 32bit bigger than 2GiB values are fine actually.
25238         * sysdeps/mach/hurd/mmap64.c: New file.
25240 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
25242         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
25243         rights for its main user thread in NEWTASK.
25245 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
25247         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
25248         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
25250 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
25252         [BZ #14259]
25253         * Makeconfig: Rename localedir to complocaledir.
25254         Rename inst_localedir to inst_complocaledir.
25255         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
25256         * config.make.in: Use complocaledir and libc_cv_complocaledir.
25257         * configure.ac: Use libc_cv_complocaledir.
25258         * configure: Regenerate.
25259         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
25260         -DCOMPLOCALEDIR.
25261         * locale/findlocale.c: Use COMPLOCALEDIR.
25262         * locale/loadarchive.c: Likewise.
25263         * locale/programs/locale.c: Likewise.
25264         * locale/programs/localedef.c: Likewise.
25265         * locale/programs/locarchive.c: Likewise.
25266         * localedata/Makefile: Use inst_complocaledir.
25267         * sysdeps/gnu/configure: Regenerate.
25268         * sysdeps/hppa/configure: Regenerate.
25269         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
25270         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25272         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
25273         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
25274         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
25275         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
25277 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
25279         [BZ #19058]
25280         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
25281         AS_NEEDED.
25282         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
25283         workaround.
25284         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
25285         libmvec-static-only-routines): Added new file.
25286         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
25288 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25290         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
25291         of interrupted RPC instead of restoring it.
25293         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
25294         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
25295         libc_hidden_def.
25296         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
25297         into initialized data instead of common. Define rtld_hidden_data_def.
25298         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
25299         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
25300         libc_hidden_def.
25301         (if_freenameindex): Add libc_hidden_weak.
25302         (if_nameindex): Add libc_hidden_weak.
25303         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
25304         __open64.
25305         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
25306         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
25307         * sysdeps/mach/nanosleep.c: Include <time.h>
25308         (__nanosleep): Rename to __libc_nanosleep.
25309         (__nanosleep): Add weak_alias.
25310         (nanosleep): Update alias.
25312 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
25314         * stdlib/strtod_nan.c: New file.
25315         * stdlib/strtod_nan_double.h: Likewise.
25316         * stdlib/strtod_nan_float.h: Likewise.
25317         * stdlib/strtod_nan_main.c: Likewise.
25318         * stdlib/strtod_nan_narrow.h: Likewise.
25319         * stdlib/strtod_nan_wide.h: Likewise.
25320         * stdlib/strtof_nan.c: Likewise.
25321         * stdlib/strtold_nan.c: Likewise.
25322         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
25323         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
25324         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
25325         * wcsmbs/wcstod_nan.c: Likewise.
25326         * wcsmbs/wcstof_nan.c: Likewise.
25327         * wcsmbs/wcstold_nan.c: Likewise.
25328         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
25329         strtold_nan.
25330         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
25331         wcstof_nan.
25332         * include/stdlib.h (__strtof_nan): Declare and use
25333         libc_hidden_proto.
25334         (__strtod_nan): Likewise.
25335         (__strtold_nan): Likewise.
25336         (__wcstof_nan): Likewise.
25337         (__wcstod_nan): Likewise.
25338         (__wcstold_nan): Likewise.
25339         * include/wchar.h (____wcstoull_l_internal): Declare.
25340         * stdlib/strtod_l.c: Do not include <ieee754.h>.
25341         (____strtoull_l_internal): Remove declaration.
25342         (STRTOF_NAN): Define macro.
25343         (SET_MANTISSA): Remove macro.
25344         (STRTOULL): Likewise.
25345         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
25346         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
25347         (STRTOF_NAN): Define macro.
25348         (SET_MANTISSA): Remove macro.
25349         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
25350         (SET_MANTISSA): Remove macro.
25351         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
25352         macro.
25353         (SET_MANTISSA): Remove macro.
25354         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
25355         macro.
25356         (SET_MANTISSA): Remove macro.
25357         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
25358         (SET_MANTISSA): Remove macro.
25359         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
25360         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
25361         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
25363         [BZ #19266]
25364         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
25365         upper case and lower case letters inside NAN(), not using TOLOWER.
25366         * stdlib/tst-strtod-nan-locale-main.c: New file.
25367         * stdlib/tst-strtod-nan-locale.c: Likewise.
25368         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
25369         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
25370         Depend on $(gen-locales).
25371         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
25372         * wcsmbs/tst-wcstod-nan-locale.c: New file.
25373         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
25374         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
25375         Depend on $(gen-locales).
25376         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
25378 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
25380         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
25382         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
25384         __finitel, __isinfl, and __isnanl.
25385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25386         Likewise.
25387         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
25389         __finitel.
25390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25391         Likewise.
25392         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25394 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25396         * malloc/memusage.c (me): Remove redundant getenv call.
25398 2015-10-24  Florian Weimer  <fweimer@redhat.com>
25400         [BZ #19143]
25401         [BZ #19164]
25402         * nptl/check-cpuset.h: Remove.
25403         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25404         Remove CPU set size check.
25405         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25406         Likewise.
25407         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
25408         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25409         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
25410         (__pthread_setaffinity_new): Remove CPU set size check.
25411         * sysdeps/unix/sysv/linux/sched_setaffinity.c
25412         (__kernel_cpumask_size): Remove.
25413         (__sched_setaffinity_new): Remove CPU set size check.
25414         * manual/threads.texi (Default Thread Attributes): Remove stale
25415         reference to check_cpuset_attr, determine_cpumask_size in comment.
25416         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
25417         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
25418         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
25419         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
25420         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
25421         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
25422         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
25423         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
25424         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
25425         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
25426         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
25427         skeleton test file.
25428         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
25429         tst-affinity-pid.
25431 2015-11-24  Florian Weimer  <fweimer@redhat.com>
25433         * scripts/update-abilist.sh: New file.
25434         * Makefile (+subdir_targets): Add subdir_update-all-abi.
25435         * Makerules (update-all-abi-%, update-all-abi)
25436         (subdir_update-all-abi): New targets.
25437         * elf/Makefile (update-all-abi): New target.
25439 2015-11-24  Florian Weimer  <fweimer@redhat.com>
25441         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
25442         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
25443         (__libc_lock_define_initialized): Use it.
25444         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
25445         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
25446         * malloc/malloc.c (main_arena): Likewise.
25447         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25448         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25450 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
25452         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
25453         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
25454         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25455         (PTRACE_O_MASK): Update value.
25456         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
25457         New value in enum __ptrace_setoptions.
25458         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25459         (PTRACE_O_MASK): Update value.
25460         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
25461         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25462         (PTRACE_O_MASK): Update value.
25463         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
25464         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25465         (PTRACE_O_MASK): Update value.
25466         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
25467         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25468         (PTRACE_O_MASK): Update value.
25469         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
25470         New value in enum __ptrace_setoptions.
25471         (PTRACE_O_MASK): Update value.
25472         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
25473         New value in enum __ptrace_setoptions.
25474         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25475         (PTRACE_O_MASK): Update value.
25477         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
25478         New macro.
25479         (PACKET_AUXDATA): Likewise.
25480         (PACKET_ORIGDEV): Likewise.
25481         (PACKET_VERSION): Likewise.
25482         (PACKET_HDRLEN): Likewise.
25483         (PACKET_RESERVE): Likewise.
25484         (PACKET_TX_RING): Likewise.
25485         (PACKET_LOSS): Likewise.
25486         (PACKET_VNET_HDR): Likewise.
25487         (PACKET_TX_TIMESTAMP): Likewise.
25488         (PACKET_TIMESTAMP): Likewise.
25489         (PACKET_FANOUT): Likewise.
25490         (PACKET_TX_HAS_OFF): Likewise.
25491         (PACKET_QDISC_BYPASS): Likewise.
25492         (PACKET_ROLLOVER_STATS): Likewise.
25493         (PACKET_FANOUT_DATA): Likewise.
25494         (PACKET_MR_UNICAST): Likewise.
25496         [BZ #19242]
25497         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
25498         (TOUPPER): Likewise.
25499         * stdlib/tst-strtol-locale-main.c: New file.
25500         * stdlib/tst-strtol-locale.c: Likewise.
25501         * stdlib/Makefile (tests): Add tst-strtol-locale.
25502         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
25503         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
25504         Depend on $(gen-locales).
25505         * wcsmbs/tst-wcstol-locale.c: New file.
25506         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
25507         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
25508         tr_TR.ISO-8859-9.
25509         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
25510         Depend on $(gen-locales).
25512 2015-11-20  Roland McGrath  <roland@hack.frob.com>
25514         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
25515         __glibc_likely instead of __builtin_expect.  After falling back to
25516         dyncode_create in a non-ET_DYN case, use the allocate_code_data
25517         system interface to register the code pages as occupied.
25519 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
25521         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25522         [!ARM_MATH_PRIVATE_H].
25523         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
25524         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25525         [!HPPA_MATH_PRIVATE_H].
25526         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
25527         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
25528         to [!I386_MATH_PRIVATE_H].
25529         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
25530         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
25531         Change guard to [!M68K_MATH_PRIVATE_H].
25532         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
25533         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
25534         guard to [!MICROBLAZE_MATH_PRIVATE_H].
25535         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
25536         macro.
25537         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25538         [!MIPS_MATH_PRIVATE_H].
25539         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
25540         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25541         [!NIO2_MATH_PRIVATE_H].
25542         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
25543         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25544         [!TILE_MATH_PRIVATE_H].
25545         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
25547         [BZ #15421]
25548         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
25549         initialize with 0 and define as weak alias of __signgam.
25550         * include/math.h [!_ISOMAC] (__signgam): Declare.
25551         * math/Makefile (libm-calls): Add w_lgamma_compat.
25552         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
25553         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
25554         test-signgam-ullong-init.
25555         (tests-static): Add test-signgam-uchar-static,
25556         test-signgam-uchar-init-static, test-signgam-uint-static,
25557         test-signgam-uint-init-static, test-signgam-ullong-static and
25558         test-signgam-ullong-init-static.
25559         (CFLAGS-test-signgam-uchar.c): New variable.
25560         (CFLAGS-test-signgam-uchar-init.c): Likewise.
25561         (CFLAGS-test-signgam-uchar-static.c): Likewise.
25562         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
25563         (CFLAGS-test-signgam-uint.c): Likewise.
25564         (CFLAGS-test-signgam-uint-init.c): Likewise.
25565         (CFLAGS-test-signgam-uint-static.c): Likewise.
25566         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
25567         (CFLAGS-test-signgam-ullong.c): Likewise.
25568         (CFLAGS-test-signgam-ullong-init.c): Likewise.
25569         (CFLAGS-test-signgam-ullong-static.c): Likewise.
25570         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
25571         * math/Versions (libm): Add GLIBC_2.23.
25572         * math/lgamma-compat.h: New file.
25573         * math/test-signgam-main.c: Likewise.
25574         * math/test-signgam-uchar-init-static.c: Likewise.
25575         * math/test-signgam-uchar-init.c: Likewise.
25576         * math/test-signgam-uchar-static.c: Likewise.
25577         * math/test-signgam-uchar.c: Likewise.
25578         * math/test-signgam-uint-init-static.c: Likewise.
25579         * math/test-signgam-uint-init.c: Likewise.
25580         * math/test-signgam-uint-static.c: Likewise.
25581         * math/test-signgam-uint.c: Likewise.
25582         * math/test-signgam-ullong-init-static.c: Likewise.
25583         * math/test-signgam-ullong-init.c: Likewise.
25584         * math/test-signgam-ullong-static.c: Likewise.
25585         * math/test-signgam-ullong.c: Likewise.
25586         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
25587         wrapper of w_lgamma_main.c.
25588         * math/w_lgamma_compat.c: New file.
25589         * math/w_lgamma_compatf.c: Likewise.
25590         * math/w_lgamma_compatl.c: Likewise.
25591         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
25592         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
25593         defining compatibility symbols.
25594         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
25595         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
25596         wrapper of w_lgammaf_main.c.
25597         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
25598         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
25599         defining compatibility symbols.
25600         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
25601         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
25602         wrapper of w_lgammal_main.c.
25603         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
25604         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
25605         defining compatibility symbols.
25606         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
25607         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
25608         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
25609         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
25610         <lgamma-compat.h>.
25611         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
25612         (__ieee754_gamma): Define as alias.
25613         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
25614         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
25615         <lgamma-compat.h>.
25616         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
25617         (__ieee754_gammaf): Define as alias.
25618         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
25619         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
25620         <lgamma-compat.h>.
25621         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
25622         (__ieee754_gammal): Define as alias.
25623         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
25624         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
25625         <math/w_lgamma_compat.c>.
25626         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
25627         Define as alias of __lgamma_compat and use in defining lgammal.
25628         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
25629         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
25630         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
25631         (USE_AS_COMPAT): New macro.
25632         (LGAMMA_OLD_VER): Undefine and redefine.
25633         (lgammal): Do not define here.
25634         (gammal): Only define here if [GAMMA_ALIAS].
25635         * conform/linknamespace.pl (@whitelist): Remove signgam.
25636         * sysdeps/nacl/libm.abilist: Update.
25637         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25638         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25639         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25640         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25641         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25642         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25643         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25644         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25645         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25646         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25647         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25648         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25650         Likewise.
25651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25652         Likewise.
25653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25654         Likewise.
25655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25656         Likewise.
25657         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25658         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25659         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25660         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25661         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25663         Likewise.
25664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25665         Likewise.
25666         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25667         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25668         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25670 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25672         [BZ #16364]
25673         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
25674         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
25676 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25678         * sysdeps/s390/fpu/bits/mathinline.h:
25679         Use __asm__ [__volatile__] instead of asm [volatile].
25680         * sysdeps/s390/abort-instr.h: Likewise.
25681         * sysdeps/s390/atomic-machine.h: Likewise.
25682         * sysdeps/s390/bits/string.h: Likewise.
25683         * sysdeps/s390/dl-tls.h: Likewise.
25684         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25685         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25686         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25687         * sysdeps/s390/fpu/fesetround.c: Likewise.
25688         * sysdeps/s390/fpu/fpu_control.h: Likewise.
25689         * sysdeps/s390/fpu/s_fma.c: Likewise.
25690         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
25691         * sysdeps/s390/memusage.h: Likewise.
25692         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
25693         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
25694         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
25695         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
25696         * sysdeps/s390/nptl/tls.h: Likewise.
25697         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
25698         * sysdeps/s390/s390-32/backtrace.c: Likewise.
25699         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25700         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
25701         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25702         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25703         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
25704         * sysdeps/s390/s390-64/backtrace.c: Likewise.
25705         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25706         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
25707         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
25708         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25709         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25710         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
25711         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25712         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25713         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
25714         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
25715         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
25716         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25717         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
25718         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25719         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
25721 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25722             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25724         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
25725         Add lwarx hint, and use macro for acquire instruction.
25726         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25727         Likewise.
25728         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
25729         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
25730         update to use new atomic macros.
25732 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25734         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
25735         (__lll_trylock_elision): Fix setting of adapt_count.
25736         * sysdeps/unix/sysv/linux/powerpc/htm.h
25737         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
25738         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
25739         (_ABORT_SYSCALL): Renumber, and clarify definition.
25740         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
25742 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25744         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
25745         after system headers to prevent MIN/MAX redefinition.  Define
25746         HAVE_ALLOCA to preserve builtin alloca usage.
25748 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
25750         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
25751         static and don't set or restore rounding.
25752         (__cos)[IN_SINCOS]: Likewise.
25753         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
25754         (__sincos): Set and restore rounding mode.  Remove check for infinite
25755         or NaN input.
25757         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
25759         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
25760         as used.
25762 2015-11-16  Florian Weimer  <fweimer@redhat.com>
25764         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
25766 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25768         * config.make.in (have-glob-dat-reloc): New.
25769         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
25770         target supports GLOB_DAT relocaton. AC_SUBST.
25771         * configure: Regenerated.
25772         * elf/Makefile (tests): Add tst-prelink.
25773         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
25774         (tst-prelink-ENV): New.
25775         ($(objpfx)tst-prelink-conflict.out): Likewise.
25776         ($(objpfx)tst-prelink-cmp.out): Likewise.
25777         * sysdeps/x86/tst-prelink.c: Moved to ...
25778         * elf/tst-prelink.c: Here.
25779         * sysdeps/x86/tst-prelink.exp: Moved to ...
25780         * elf/tst-prelink.exp: Here.
25781         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
25782         (tst-prelink-ENV): Removed.
25783         ($(objpfx)tst-prelink-conflict.out): Likewise.
25784         ($(objpfx)tst-prelink-cmp.out): Likewise.
25785         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
25787 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
25789         [BZ #14551]
25790         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
25791         (__mpn_construct_long_double): If high part overflows to infinity,
25792         set errno and recompute overflowed result of the correct sign.
25793         * sysdeps/ieee754/ldbl-128ibm/Makefile
25794         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
25795         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
25796         $(libm).
25797         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
25799 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
25801         [BZ #15479]
25802         [BZ #19238]
25803         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
25804         floating-point state after first operation on input.  Restore full
25805         state rather than just rounding mode.
25806         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
25807         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
25808         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
25810         [BZ #19235]
25811         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
25812         add 0.5 to integer arguments.
25813         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
25814         Likewise.
25815         (.LC2): New object.
25817 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
25819         * scripts/pylintrc (reports): Set to no.
25821 2015-11-10  Roland McGrath  <roland@hack.frob.com>
25823         * elf/dl-load.c (open_verify): Take new argument FD.
25824         Skip __open call if passed FD is not -1.
25825         (_dl_map_object, open_path): Update callers.
25826         * elf/dl-sysdep-open.h: New file.
25827         * elf/dl-load.c: Include it.
25828         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
25829         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
25830         * sysdeps/nacl/dl-sysdep-open.h: New file.
25831         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
25832         from libc to rtld.
25834 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
25836         [BZ #19228]
25837         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
25838         and restore full floating-point state.
25839         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
25840         Likewise.
25841         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
25842         Likewise.
25843         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
25844         Likewise.
25845         * math/test-nearbyint-except-2.c: New file.
25846         * math/Makefile (tests): Add test-nearbyint-except-2.
25848 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
25850         [BZ #19178]
25851         * sysdeps/x86/Makefile (tests): Add tst-prelink.
25852         (tst-prelink-ENV): New.
25853         ($(objpfx)tst-prelink-conflict.out): Likewise.
25854         ($(objpfx)tst-prelink-cmp.out): Likewise.
25855         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
25856         * sysdeps/x86/tst-prelink.c: New file.
25857         * sysdeps/x86/tst-prelink.exp: Likewise.
25859 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
25861         * math/auto-libm-test-in: Add another test of pow.
25862         * math/auto-libm-test-out: Regenerated.
25863         * math/libm-test.inc (pow_test_data): Add another test.
25865 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25867         [BZ #19219]
25868         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
25869         weak_alias to nearbyintl.
25871 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
25873         * sysdeps/aarch64/bits/string.h: New file.
25874         (_STRING_ARCH_unaligned): Define.
25876 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
25878         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
25879         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25880         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25881         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
25882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
25884 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
25886         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
25887         for original name of the DSO.  Add it to the name list of the DSO
25888         if it is actually given.
25889         (_dl_map_object): Keep track of whether an audit module rewrote
25890         the file name.  If yes, pass the original name to
25891         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
25892         debugging is enabled, log the change of the file name.
25893         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
25894         _dl_map_object_from_fd.
25895         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
25896         * elf/tst-audit11.c: New file
25897         * elf/tst-auditmod11.c: New file.
25898         * elf/tst-audit11mod1.c: New file.
25899         * elf/tst-audit11mod2.c: New file.
25900         * elf/tst-audit11mod2.map: New file.
25901         * elf/tst-audit12.c: New file
25902         * elf/tst-auditmod12.c: New file.
25903         * elf/tst-audit12mod1.c: New file.
25904         * elf/tst-audit12mod2.c: New file.
25905         * elf/tst-audit12mod2.map: New file.
25906         * elf/tst-audit12mod3.c: New file.
25908 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
25910         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
25911         Don't create weak aliases,
25912         because versioned symbols are created later.
25913         * sysdeps/s390/s390-32/setjmp.S
25914         (setjmp, _setjmp): Remove weak and rename to an unique name
25915         in SHARED case due to existing versioned symbols.
25916         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25917         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
25918         (getcontext): Create weak alias only in non SHARED case.
25919         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25921 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
25923         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
25924         (__ASSUME_*_SYSCALL) Define new macros.
25925         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
25926         Remove socketcall syscalls.
25927         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
25928         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
25929         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
25930         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
25931         * sysdeps/unix/sysv/linux/send.c (__libc_send):
25932         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
25934 2015-11-09  Florian Weimer  <fweimer@redhat.com>
25936         [BZ #12926]
25937         Terminate process on invalid netlink response.
25938         * sysdeps/unix/sysv/linux/netlinkaccess.h
25939         (__netlink_assert_response): Declare.
25940         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
25941         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
25942         (sysdep_routines): Add netlink_assert_response.
25943         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
25944         __netlink_assert_response.
25945         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
25946         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
25947         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
25948         __netlink_assert_response.
25950 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25952         [BZ #19178]
25953         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
25954         (RTYPE_CLASS_PLT): Likewise.
25955         (RTYPE_CLASS_COPY): Likewise.
25956         (RTYPE_CLASS_TLS): Likewise.
25957         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
25958         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
25959         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
25960         DL_DEBUG_PRELINK.
25962 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
25964         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
25965         calls with argument -0.5.
25966         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
25968         * configure.ac (libc_cv_z_nodelete): Remove configure test.
25969         (libc_cv_z_nodlopen): Likewise.
25970         (libc_cv_z_initfirst): Likewise.
25971         * configure: Regenerated.
25973 2015-11-06  Florian Weimer  <fweimer@redhat.com>
25975         Simplify abilist format to be line-based.
25976         * scripts/abilist.awk: Collect descriptors in the descs variable.
25977         (emit): Write descs variable and sort it
25978         externally, with sort.
25979         * sysdeps/**/*.abilist: Convert to new format.
25981 2015-11-06  Mark Wielaard  <mjw@redhat.com>
25983         [BZ #11460]
25984         * io/Makefile (routines): Add fts64.
25985         (tests): Add tst-fts and tst-fts-lfs.
25986         (CFLAGS-fts64.c): New.
25987         * io/Versions (GLIBC_2.23): New.
25988         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
25989         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
25990         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
25991         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
25992         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
25993         (FTSENT64): Likewise.
25994         (fts64_children): Likewise.
25995         (fts64_close): Likewise.
25996         (fts64_open): Likewise.
25997         (fts64_read): Likewise.
25998         (fts64_set): Likewise.
25999         * io/fts64.c: New file.
26000         * io/tst-fts.c: New test.
26001         * io/tst-fts-lfs.c: Likewise.
26002         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26003         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26004         fts64_set.
26005         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26006         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26007         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26008         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26009         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26010         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26011         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26012         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26013         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26014         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26015         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26016         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26017         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26019         Likewise.
26020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26021         Likewise.
26022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26024         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26025         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26026         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26027         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26028         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26031         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26032         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26033         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26034         * sysdeps/wordsize-64/fts.c: New file.
26035         * sysdeps/wordsize-64/fts64.c: Likewise.
26036         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26037         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26038         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26039         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26041 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
26043         * math/libm-test.inc (NON_FINITE): New macro.
26044         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26045         * math/gen-libm-test.pl (show_exceptions): Add argument
26046         $non_finite.
26047         (parse_args): Update call to show_exceptions.
26048         * math/test-math-finite.h: New file.
26049         * math/test-math-no-finite.h: Likewise.
26050         * math/test-double-finite.c: Likewise.
26051         * math/test-float-finite.c: Likewise.
26052         * math/test-ldouble-finite.c: Likewise.
26053         * math/test-double.c: Include "test-math-no-finite.h".
26054         * math/test-float.c: Include "test-math-no-finite.h".
26055         * math/test-ldouble.c: Include "test-math-no-finite.h".
26056         * math/test-math-inline.h (TEST_FINITE): New macro.
26057         * math/test-math-vector.h (TEST_FINITE): Likewise.
26058         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26059         (libm-tests): Add test-float-finite and test-double-finite.
26060         ($(objpfx)test-float-finite.o): New dependency on
26061         $(objpfx)libm-test.stmp.
26062         ($(objpfx)test-double-finite.o): Likewise.
26063         ($(objpfx)test-ldouble-finite.o): Likewise.
26064         (libm-test-no-inline-cflags): New variable.
26065         (libm-test-finite-cflags): Likewise.
26066         (CFLAGS-test-float-finite.c): Likewise.
26067         (CFLAGS-test-double-finite.c): Likewise.
26068         (CFLAGS-test-ldouble-finite.c): Likewise.
26069         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26070         (CFLAGS-test-double.c): Likewise.
26071         (CFLAGS-test-ldouble.c): Likewise.
26073 2015-11-05  Roland McGrath  <roland@hack.frob.com>
26075         * io/fcntl.c (__fcntl): Add ... to prototype.
26076         * misc/ioctl.c (__ioctl): Likewise.
26077         * misc/syscall.c (syscall): Likewise.
26079 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
26081         * scripts/list-fixed-bugs.py: New file.
26083         [BZ #19213]
26084         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26085         returned for argument 1.
26086         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26087         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26088         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26089         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26090         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26091         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26093         [BZ #19211]
26094         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26095         __USE_XOPEN], not if [!__USE_ISOC99].
26096         (lgammaf): Likewise.
26097         (lgammal): Likewise.
26098         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26099         (gammaf): Likewise.
26100         (gammal): Likewise.
26101         * math/test-signgam-finite-c11.c: New file.
26102         * math/test-signgam-finite-c99.c: Likewise.
26103         * math/test-signgam-finite.c: Likewise.
26104         * math/Makefile (tests): Add test-signgam-finite,
26105         test-signgam-finite-c99 and test-signgam-finite-c11.
26106         (CFLAGS-test-signgam-finite.c): New variable.
26107         (CFLAGS-test-signgam-finite-c99.c): Likewise.
26108         (CFLAGS-test-signgam-finite-c11.c): Likewise.
26110         [BZ #19212]
26111         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
26112         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
26113         500].
26114         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
26115         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
26116         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
26117         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
26118         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
26119         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
26120         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
26121         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
26122         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
26123         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
26125         [BZ #19209]
26126         * math/bits/math-finite.h (ldexp): Remove declaration.
26127         (ldexpf): Likewise.
26128         (ldexpl): Likewise.
26130         [BZ #19205]
26131         * math/bits/math-finite.h (acosf): Condition declaration on
26132         [__USE_ISOC99].
26133         (acosl): Likewise.
26134         (acoshf): Likewise.
26135         (acoshl): Likewise.
26136         (asinf): Likewise.
26137         (asinl): Likewise.
26138         (atan2f): Likewise.
26139         (atan2l): Likewise.
26140         (atanhf): Likewise.
26141         (atanhl): Likewise.
26142         (coshf): Likewise.
26143         (coshl): Likewise.
26144         (expf): Likewise.
26145         (expl): Likewise.
26146         (fmodf): Likewise.
26147         (fmodl): Likewise.
26148         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
26149         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
26150         (j0l): Likewise.
26151         (y0f): Likewise.
26152         (y0l): Likewise.
26153         (j1f): Likewise.
26154         (j1l): Likewise.
26155         (y1f): Likewise.
26156         (y1l): Likewise.
26157         (jnf): Likewise.
26158         (jnl): Likewise.
26159         (ynf): Likewise.
26160         (ynl): Likewise.
26161         (lgammaf_r): Condition declaration on [__USE_ISOC99].
26162         (lgammal_r): Likewise.
26163         (__lgamma_r_finite): New declaration.
26164         (__lgammaf_r_finite): Likewise.
26165         (__lgammal_r_finite): Likewise.
26166         (lgamma): Use __lgamma_r_finite.
26167         (lgammaf): Condition definition on [__USE_ISOC99].  Use
26168         __lgammaf_r_finite.
26169         (lgammal): Condition definition on [__USE_ISOC99].  Use
26170         __lgammal_r_finite.
26171         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
26172         __lgamma_r_finite.
26173         (gammaf): Condition definition on [__USE_ISOC99].  Use
26174         __lgammaf_r_finite.
26175         (gammal): Condition definition on [__USE_ISOC99].  Use
26176         __lgammal_r_finite.
26177         (logf): Condition declaration on [__USE_ISOC99].
26178         (logl): Likewise.
26179         (log10f): Likewise.
26180         (log10l): Likewise.
26181         (ldexpf): Likewise.
26182         (ldexpl): Likewise.
26183         (powf): Likewise.
26184         (powl): Likewise.
26185         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
26186         __USE_ISOC99].
26187         (remainderf): Condition declaration on [__USE_ISOC99].
26188         (remainderl): Likewise.
26189         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
26190         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
26191         (scalbl): Likewise.
26192         (sinhf): Condition declaration on [__USE_ISOC99].
26193         (sinhl): Likewise.
26194         (sqrtf): Likewise.
26195         (sqrtl): Likewise.
26197 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
26199         * sysdeps/arm/atomic-machine.h
26200         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26201         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26202         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
26203         Remove conditional code.
26204         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26205         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26206         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
26207         Change conditional to [__ASSEMBLER__].
26208         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26209         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
26210         [!__ASSEMBLER__].
26211         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
26212         code.
26213         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
26214         conditional macro definitions.
26215         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
26216         (__arch_compare_and_exchange_val_16_acq): Likewise.
26217         (__arch_compare_and_exchange_val_32_acq): Likewise.
26218         (atomic_exchange_and_add): Likewise.
26219         (atomic_add): Likewise.
26220         (atomic_add_negative): Likewise.
26221         (atomic_add_zero): Likewise.
26222         (atomic_bit_set): Likewise.
26223         (atomic_bit_test_set): Likewise.
26224         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
26225         code unconditional.
26226         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26228         * math/test-math-errno.h: New file.
26229         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
26230         empty.
26231         (TEST_ERRNO): New macro.
26232         (TEST_EXCEPTIONS): Likewise.
26233         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
26234         (TEST_EXCEPTIONS): Likewise.
26235         * math/test-math-vector.h (TEST_ERRNO): Likewise.
26236         * math/test-double.c: Include "test-math-errno.h".
26237         * math/test-float.c: Likewise.
26238         * math/test-ldouble.c: Likewise.
26239         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
26240         code unconditional.
26241         (test_exceptions): Only run code if TEST_EXCEPTIONS.
26242         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
26243         unconditional.
26244         (test_errno): Only run code if TEST_ERRNO.
26245         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
26247 2015-11-04  Florian Weimer  <fweimer@redhat.com>
26249         * nptl/tst-once5.cc: Remove attribution.
26251 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
26253         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
26254         sqrt, tan, tanh, y0, y1 and yn.
26255         * math/auto-libm-test-out: Regenerated.
26256         * math/libm-test.inc (scalb_test_data): Add more tests.
26257         (scalbn_test_data): Likewise.
26258         (scalbln_test_data): Likewise.
26259         (signbit_test_data): Likewise.
26260         (sin_test_data): Likewise.
26261         (sincos_test_data): Likewise.
26262         (sinh_test_data): Likewise.
26263         (sqrt_test_data): Likewise.
26264         (tan_test_data): Likewise.
26265         (tanh_test_data): Likewise.
26266         (tgamma_test_data): Likewise.
26267         (y0_test_data): Likewise.
26268         (y1_test_data): Likewise.
26269         (yn_test_data): Likewise.
26270         (significand_test_data): Likewise.
26271         * sysdeps/i386/fpu/libm-test-ulps: Update.
26273 2015-11-03  David Kastrup  <dak@gnu.org>
26275         [BZ #18604]
26276         * assert/assert.h (assert): Don't macro-expand failed assertion
26277         expression in error message.
26278         * malloc/malloc.c (assert): Likewise.
26280 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
26282         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
26283         test.
26284         * configure: Regenerated.
26286 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
26288         * math/libm-test.inc (modf_test_data): Add more tests.
26289         (nearbyint_test_data): Likewise.
26290         (nextafter_test_data): Likewise.
26291         (nexttoward_test_data): Likewise.
26292         (pow_test_data): Likewise.
26293         (remainder_test_data): Likewise.
26294         (remquo_test_data): Likewise.
26295         (rint_test_data): Likewise.
26297         [BZ #19201]
26298         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26299         Check for zero remainder in case of large exponents and ensure
26300         correct sign of result in that case.
26301         * math/libm-test.inc (remainder_test_data): Add more tests.
26303         [BZ #6799]
26304         * math/s_nextafter.c: Include <errno.h>.
26305         (__nextafter): Set errno on overflow and underflow.
26306         * math/s_nexttowardf.c: Include <errno.h>.
26307         (__nexttowardf): Set errno on overflow and underflow.
26308         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
26309         (__nextafterl): Set errno on overflow and underflow.
26310         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
26311         (__nexttoward): Set errno on overflow and underflow.
26312         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
26313         (__nexttowardf): Set errno on overflow and underflow.
26314         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
26315         (__nextafterf): Set errno on overflow and underflow.
26316         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
26317         (__nextafterl): Set errno on overflow and underflow.
26318         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
26319         (__nexttoward): Set errno on overflow and underflow.
26320         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
26321         (__nexttowardf): Set errno on overflow and underflow.
26322         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
26323         (__nextafterl): Set errno on overflow and underflow.
26324         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
26325         (__nexttoward): Set errno on overflow and underflow.
26326         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
26327         (__nexttowardf): Set errno on overflow and underflow.
26328         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
26329         (__nexttoward): Set errno on overflow and underflow.
26330         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
26331         (__nexttowardf): Set errno on overflow and underflow.
26332         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
26333         (__nldbl_nexttowardf): Set errno on overflow and underflow.
26334         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
26335         (__nextafterl): Set errno on overflow and underflow.
26336         * math/libm-test.inc (nextafter_test_data): Do not allow errno
26337         setting to be missing on overflow.  Add more tests.
26338         (nexttoward_test_data): Likewise.
26340         * configure.ac (libc_cv_initfini_array): Remove configure test.
26341         * configure: Regenerated.
26343 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
26345         [BZ #19189]
26346         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
26347         non-finite argument handle arguments with negative sign.
26349         * math/libm-test.inc (j0_test_data): Do not test sign of zero
26350         result from infinite argument.
26351         (j1_test_data): Likewise.
26352         (jn_test_data): Likewise.
26353         (y0_test_data): Likewise.
26354         (y1_test_data): Likewise.
26355         (yn_test_data): Likewise.
26357         [BZ #16171]
26358         * math/w_remainder.c (drem): Define as weak alias of __remainder.
26359         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
26360         * math/w_remainderf.c (dremf): Define as weak alias of
26361         __remainderf.
26362         * math/w_remainderl.c (dreml): Define as weak alias of
26363         __remainderl.
26364         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
26365         __remainder.
26366         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
26367         __remainderf.
26368         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
26369         __remainderl.
26370         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
26371         weak alias of remainderl.
26372         * sysdeps/ieee754/ldbl-opt/w_remainder.c
26373         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
26374         alias of __remainder.
26375         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
26376         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
26377         strong alias of __remainderl.
26378         (dreml): Use long_double_symbol.
26379         * math/Makefile (libm-calls): Remove w_drem.
26380         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
26381         (CFLAGS-nldbl-drem.c): Remove variable.
26382         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
26383         * math/w_drem.c: Remove file.
26384         * math/w_dremf.c: Likewise.
26385         * math/w_dreml.c: Likewise.
26386         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
26387         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
26388         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
26390         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
26391         * sysdeps/i386/configure: Regenerated.
26392         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
26393         * sysdeps/x86_64/configure: Regenerated.
26395         * configure.ac (libc_cv_asm_protected_directive): Remove configure
26396         test.
26397         (libc_cv_visibility_attribute): Likewise.
26398         (libc_cv_protected_data): Test unconditionally.
26399         (libc_cv_broken_visibility_attribute): Remove configure test.
26400         (libc_cv_have_sdata_section): Test unconditionally.
26401         * configure: Regenerated.
26403         * include/libc-internal.h (libc_max_align_t): Remove typedef.
26404         * include/scratch_buffer.h: Include <stddef.h> instead of
26405         <libc-internal.h>.
26406         (struct scratch_buffer): Use max_align_t instead of
26407         libc_max_align_t.
26409 2015-10-29  Florian Weimer  <fweimer@redhat.com>
26411         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
26412         instead of extend_alloca.  Change control flow to avoid a goto.
26413         Remove assert which is trivially always true.
26415 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
26417         [BZ #16068]
26418         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
26419         (FE_ALL_EXCEPT_X86): New macro.
26420         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26421         FE_ALL_EXCEPT.  Ensure precision control is included in
26422         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26423         handle "denormal operand exception" and clear FZ and DAZ bits.
26424         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
26425         (FE_ALL_EXCEPT_X86): New macro.
26426         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26427         FE_ALL_EXCEPT.  Ensure precision control is included in
26428         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26429         handle "denormal operand exception" and clear FZ and DAZ bits.
26430         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
26431         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
26432         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26433         test-fenv-x87 and test-fenv-sse-2.
26434         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
26436         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
26437         * math/test-double.h (BUILD_COMPLEX): New macro.
26438         * math/test-float.h (BUILD_COMPLEX): Likewise.
26439         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
26441         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
26442         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
26443         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
26444         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
26445         instead of DBL_DENORM_MIN in comment.
26446         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
26447         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26448         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
26449         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
26450         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
26451         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26453 2015-10-28  Florian Weimer  <fweimer@redhat.com>
26455         [BZ #19048]
26456         * malloc/malloc.c (struct malloc_state): Update comment.  Add
26457         attached_threads member.
26458         (main_arena): Initialize attached_threads.
26459         * malloc/arena.c (list_lock): Update comment.
26460         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
26461         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
26462         (deattach_arena): New function.
26463         (_int_new_arena): Initialize arena reference count and deattach
26464         replaced arena.
26465         (get_free_list, reused_arena): Update reference count and deattach
26466         replaced arena.
26467         (arena_thread_freeres): Update arena reference count and only put
26468         unreferenced arenas on the free list.
26470 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
26472         [BZ #19181]
26473         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
26474         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
26475         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
26476         * math/test-fenv-clear-main.c: New file.
26477         * math/test-fenv-clear.c: Likewise.
26478         * math/Makefile (tests): Add test-fenv-clear.
26479         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
26480         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26481         test-fenv-clear-sse.
26482         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
26484         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
26485         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
26486         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
26488 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26490         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
26491         static libc.
26493 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
26495         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
26496         test.
26497         * sysdeps/i386/configure: Regenerated.
26498         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
26499         test.
26500         * sysdeps/x86_64/configure: Regenerated.
26501         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
26502         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26503         memset-avx2 unconditionally instead of conditionally on
26504         [$(config-cflags-avx2) = yes].
26505         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26506         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
26507         unconditional.
26508         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
26509         * sysdeps/x86_64/multiarch/memset_chk.S
26510         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
26511         to [IS_IN (libc) && SHARED].
26513 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
26515         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
26516         configure test.
26517         * sysdeps/arm/configure: Regenerated.
26518         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
26519         Define variable if not already defined.
26521         [BZ #17404]
26522         * sysdeps/mips/atomic-machine.h
26523         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
26524         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
26525         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26527         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
26528         unconditional.
26529         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
26530         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26531         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
26532         unconditional.
26533         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26534         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
26535         unconditional.
26536         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26537         * stdlib/setenv.c
26538         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
26539         code unconditional.
26540         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
26541         Remove conditional code.
26542         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26543         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
26544         unconditional.
26545         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26546         code.
26547         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26548         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
26549         unconditional.
26550         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26551         code.
26552         * sysdeps/ieee754/ldbl-128/k_tanl.c
26553         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26554         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26555         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
26556         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26557         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26558         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
26559         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
26560         unconditional.
26561         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26562         code.
26563         * sysdeps/ieee754/ldbl-96/k_tanl.c
26564         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26565         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26567         * nptl/tst-initializers1-c11.c: New file.
26568         * nptl/tst-initializers1-gnu11.c: Likewise.
26569         * nptl/Makefile (tests): Add these new tests.
26570         (CFLAGS-tst-initializers1-c11.c): New variable.
26571         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
26573         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
26574         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
26575         instead of -std=gnu99.
26576         * configure.ac (systemtap): Test with -std=gnu11 instead of
26577         -std=gnu99.
26578         * configure: Regenerated.
26579         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
26580         in compilation command in comment.
26582         * sysdeps/nptl/configure.ac: Remove file.
26583         * sysdeps/nptl/configure: Remove generated file.
26584         * configure.ac (libc_cv_forced_unwind): Do not substitute.
26585         * configure: Regenerated.
26586         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
26587         * config.make.in (have-forced-unwind): Remove variable.
26588         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
26589         unconditional.
26590         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
26591         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
26592         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
26593         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
26594         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
26595         unconditional.
26597 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26599         [BZ #19174]
26600         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
26601         .skip_lock_out_of_tbegin_retries.
26602         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26603         (__lll_lock_elision): Likewise, and respect a value of
26604         try_tbegin <= 0.
26606 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26608         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
26609         statement.
26611 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
26613         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
26614         variable.
26615         (test-xfail-ISO11/stdalign.h/conform): Likewise.
26616         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
26618         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
26619         of -std=c1x -D_ISOC11_SOURCE.
26621         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
26622         * configure: Regenerated.
26623         * manual/install.texi (Tools for Compilation): Document
26624         requirement for GCC 4.7 or later.
26625         * INSTALL: Regenerated.
26627 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
26629         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
26630         on CNT to a conditional jump to 'puntdata'.
26632 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
26634         * configure.ac (libc_cv_gcc___thread): Remove configure test.
26635         (libc_cv_gcc_tls_model_attr): Likewise.
26636         * configure: Regenerated.
26638         * configure.ac (libc_cv_need_minus_P): Remove configure test.
26639         * configure: Regenerated.
26640         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
26642 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
26644         * configure.ac (old_glibc_headers): Remove configure test.
26645         * configure: Regenerated.
26646         * config.make.in (old-glibc-headers): Remove variable.
26647         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
26648         (install): Remove dependency on remove-old-headers.
26649         (headers2_0): Remove variable.
26650         (remove-old-headers): Remove rule.
26652         * configure.ac (libc_cv_dot_text): Remove configure test.
26653         (libc_cv_asm_set_directive): Use .text instead of
26654         ${libc_cv_dot_text} in configure test.
26655         * configure: Regenerated.
26657 2015-10-26  Florian Weimer  <fweimer@redhat.com>
26659         [BZ #19168]
26660         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26662 2015-10-26  Florian Weimer  <fweimer@redhat.com>
26664         * configure.ac (CXX): Clear the variable if the C++ toolchain does
26665         not support static linking.
26666         * configure: Regenerate.
26668 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
26670         * math/libm-test.inc (check_float_internal): Do not special-case
26671         errors up to 0.5 ulp.
26673         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26674         log2.
26675         * math/auto-libm-test-out: Regenerated.
26676         * math/libm-test.inc (MAX_EXP): New macro.
26677         (ilogb_test_data): Add more tests.
26678         (isfinite_test_data): Likewise.
26679         (isgreater_test_data): Likewise.
26680         (isgreaterequal_test_data): Likewise.
26681         (isinf_test_data): Likewise.
26682         (isless_test_data): Likewise.
26683         (islessequal_test_data): Likewise.
26684         (islessgreater_test_data): Likewise.
26685         (isnan_test_data): Likewise.
26686         (isnormal_test_data): Likewise.
26687         (issignaling_test_data): Likewise.
26688         (isunordered_test_data): Likewise.
26689         (j0_test_data): Likewise.
26690         (j1_test_data): Likewise.
26691         (jn_test_data): Likewise.
26692         (lgamma_test_data): Likewise.
26693         (log_test_data): Likewise.
26694         (log10_test_data): Likewise.
26695         (log1p_test_data): Likewise.
26696         (log2_test_data): Likewise.
26697         (logb_test_data): Likewise.
26698         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26700         [BZ #18611]
26701         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
26702         avoid excess range and precision on underflow.
26703         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26704         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
26705         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26706         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
26707         underflow.
26708         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26709         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26710         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26711         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26712         * math/auto-libm-test-in: Do not allow missing errno setting for
26713         tests of j1 and jn.
26714         * math/auto-libm-test-out: Regenerated.
26716 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
26718         [BZ #15491]
26719         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
26720         floating-point environment instead of clearing all exceptions.
26721         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
26722         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
26723         merging in "invalid" exceptions from frndint.
26724         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
26725         * math/test-nearbyint-except.c: New file.
26726         * math/Makefile (tests): Add test-nearbyint-except.
26728 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
26730         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
26732         * sysdeps/tile/libm-test-ulps: Regenerated.
26734 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
26737         (__NR_sync_file_range2): Assume it is always defined.
26738         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
26739         (__NR_sync_file_range): Assume it is always defined.
26741 2015-10-22  Andreas Schwab  <schwab@suse.de>
26743         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
26744         INTERNAL_SYSCALL_ERRNO.
26745         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26746         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
26747         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26748         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
26749         Likewise.
26750         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26752 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
26754         * io/tst-fcntl.c (fd): New static variable.
26755         (do_prepare): Open temporary file here....
26756         (do_test): ...not here.
26758         * io/ftwtest-sh: Also trap on exit to remove temporary files.
26760 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
26762         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
26763         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
26764         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
26765         Moved before "#ifdef __ASSEMBLER__".
26767 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
26769         [BZ #19156]
26770         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
26771         arguments very close to 0.
26773 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
26775         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
26776         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
26778 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
26780         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
26781         New.  Defined for GCC 5 and above when not compiling for
26782         profiling.
26783         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
26785         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
26786         Renamed to ...
26787         (CFLAGS-epoll_pwait.o): This.
26788         (CFLAGS-mmap.c): Renamed to ...
26789         (CFLAGS-mmap.o): This.
26790         (CFLAGS-mmap64.c): Renamed to ...
26791         (CFLAGS-mmap64.o): This.
26792         (CFLAGS-epoll_pwait.os): New.
26793         (CFLAGS-mmap.os): Likewise.
26794         (CFLAGS-mmap64.os): Likewise.
26795         (CFLAGS-semtimedop.os): Likewise.
26796         (CFLAGS-semtimedop.c): Renamed to ...
26797         (CFLAGS-semtimedop.o): This.
26799 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26801         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
26802         warning message.
26804 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
26806         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
26807         * Makefile ($(objpfx)c++-types-check.out): Filter out
26808         $(+gccwarn-c) instead of -Wstrict-prototypes.
26810         * io/fts.c (fts_open): Convert to prototype-style function
26811         definition.
26812         * malloc/mcheck.c (mcheck): Likewise.
26813         (mcheck_pedantic): Likewise.
26814         * posix/regexec.c (re_search_2_stub): Likewise.  Use
26815         internal_function.
26816         (re_search_internal): Likewise.
26817         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
26818         prototype-style function definition.
26819         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26820         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
26821         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
26822         (xdr_utmpptr): Likewise.
26823         (xdr_utmparr): Likewise.
26824         (xdr_utmpidle): Likewise.
26825         (xdr_utmpidleptr): Likewise.
26826         (xdr_utmpidlearr): Likewise.
26828         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
26829         log, log10 and log2.
26830         * math/auto-libm-test-out: Regenerated.
26831         * math/libm-test.inc (fmod_test_data): Add more tests.
26832         (fpclassify_test_data): Likewise.
26833         (frexp_test_data): Likewise.
26834         (hypot_test_data): Likewise.
26835         (ilogb_test_data): Likewise.
26837 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
26839         * debug/fortify_fail.c (__fortify_fail): Convert to
26840         prototype-style function definition.  Use internal_function.
26841         * libio/genops.c (save_for_backup): Convert to prototype-style
26842         function definition.
26843         * libio/wgenops.c (save_for_wbackup): Likewise.
26844         * login/grantpt.c (grantpt): Likewise.
26845         * login/ptsname.c (ptsname): Likewise.
26846         (__ptsname_r): Likewise.
26847         * login/unlockpt.c (unlockpt): Likewise.
26848         * mach/msgserver.c (__mach_msg_server): Likewise.
26849         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
26850         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
26851         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
26852         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
26853         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
26854         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
26855         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
26856         Likewise.
26857         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
26858         internal_function.
26859         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
26860         prototype-style function definition.
26861         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
26862         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
26863         (__pthread_create_2_0): Likewise.
26864         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
26865         * nptl/register-atfork.c (__register_atfork): Likewise.
26866         * posix/glob.c (glob): Likewise.
26867         * posix/regcomp.c (re_comp): Likewise.
26868         * posix/regexec.c (re_exec): Likewise.
26869         * stdlib/add_n.c [__STDC__]: Make code unconditional.
26870         [!__STDC__]: Remove conditional code.
26871         * stdlib/cmp.c [__STDC__]: Make code unconditional.
26872         [!__STDC__]: Remove conditional code.
26873         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
26874         [!__STDC__]: Remove conditional code.
26875         * stdlib/divrem.c [__STDC__]: Make code unconditional.
26876         [!__STDC__]: Remove conditional code.
26877         * stdlib/lshift.c [__STDC__]: Make code unconditional.
26878         [!__STDC__]: Remove conditional code.
26879         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
26880         [!__STDC__]: Remove conditional code.
26881         * stdlib/mul.c [__STDC__]: Make code unconditional.
26882         [!__STDC__]: Remove conditional code.
26883         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
26884         [!__STDC__]: Remove conditional code.
26885         * stdlib/rshift.c [__STDC__]: Make code unconditional.
26886         [!__STDC__]: Remove conditional code.
26887         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
26888         function definition.
26889         (STRTOF): Likewise.
26890         * stdlib/strtod_l.c (__STRTOF): Likewise.
26891         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
26892         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
26893         (__strtol_l): Likewise.
26894         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
26895         [!__STDC__]: Remove conditional code.
26896         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
26897         definition.
26898         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
26899         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26900         type.
26901         (__strcasecmp): Convert to prototype-style function definition.
26902         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
26903         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26904         type.
26905         (__strncasecmp): Convert to prototype-style function definition.
26906         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
26907         * sunrpc/xdr.c (xdr_union): Likewise.
26908         * sunrpc/xdr_array.c (xdr_array): Likewise.
26909         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
26910         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
26911         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
26912         Likewise.
26913         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
26914         Likewise.
26915         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
26916         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26917         Likewise.
26918         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
26919         (LOCALE_PARAM_PROTO): Likewise.
26920         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
26921         argument type.
26922         (ut_argument_spec): Remove macro.
26923         (ut_argument_spec_iso): Rename to ut_argument_spec.
26924         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
26925         prototype-style function definition.
26926         (memcpy_uppcase): Likewise.
26927         (__strftime_internal): Likewise.
26928         (my_strftime): Likewise.
26929         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
26930         (LOCALE_PARAM_DECL): Likewise.
26931         [_LIBC] (LOCALE_PARAM): Include argument type.
26932         (__strptime_internal): Convert to prototype-style function
26933         definition.
26934         (strptime): Likewise.
26935         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
26936         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26937         type.
26938         (__wcscasecmp): Convert to prototype-style function definition.
26939         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
26940         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26941         type.
26942         (__wcsncasecmp): Convert to prototype-style function definition.
26944         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
26945         function definition.
26946         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26947         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26948         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
26949         * elf/dl-minimal.c (_itoa): Likewise.
26950         * hurd/hurdmalloc.c (malloc): Likewise.
26951         (free): Likewise.
26952         (realloc): Likewise.
26953         * inet/inet6_option.c (inet6_option_space): Likewise.
26954         (inet6_option_init): Likewise.
26955         (inet6_option_append): Likewise.
26956         (inet6_option_alloc): Likewise.
26957         (inet6_option_next): Likewise.
26958         (inet6_option_find): Likewise.
26959         * io/ftw.c (FTW_NAME): Likewise.
26960         (NFTW_NAME): Likewise.
26961         (NFTW_NEW_NAME): Likewise.
26962         (NFTW_OLD_NAME): Likewise.
26963         * libio/iofwide.c (_IO_fwide): Likewise.
26964         * libio/strops.c (_IO_str_init_static_internal): Likewise.
26965         (_IO_str_init_static): Likewise.
26966         (_IO_str_init_readonly): Likewise.
26967         (_IO_str_overflow): Likewise.
26968         (_IO_str_underflow): Likewise.
26969         (_IO_str_count): Likewise.
26970         (_IO_str_seekoff): Likewise.
26971         (_IO_str_pbackfail): Likewise.
26972         (_IO_str_finish): Likewise.
26973         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
26974         (_IO_wstr_overflow): Likewise.
26975         (_IO_wstr_underflow): Likewise.
26976         (_IO_wstr_count): Likewise.
26977         (_IO_wstr_seekoff): Likewise.
26978         (_IO_wstr_pbackfail): Likewise.
26979         (_IO_wstr_finish): Likewise.
26980         * locale/programs/localedef.c (normalize_codeset): Likewise.
26981         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26982         (add_locales_to_archive): Likewise.
26983         (delete_locales_from_archive): Likewise.
26984         * malloc/malloc.c (__libc_mallinfo): Likewise.
26985         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
26986         * misc/tsearch.c (__tfind): Likewise.
26987         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
26988         * nptl/pthread_attr_getdetachstate.c
26989         (__pthread_attr_getdetachstate): Likewise.
26990         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26991         Likewise.
26992         * nptl/pthread_attr_getinheritsched.c
26993         (__pthread_attr_getinheritsched): Likewise.
26994         * nptl/pthread_attr_getschedparam.c
26995         (__pthread_attr_getschedparam): Likewise.
26996         * nptl/pthread_attr_getschedpolicy.c
26997         (__pthread_attr_getschedpolicy): Likewise.
26998         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
26999         Likewise.
27000         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27001         Likewise.
27002         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27003         Likewise.
27004         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27005         Likewise.
27006         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27007         (__pthread_attr_init_2_0): Likewise.
27008         * nptl/pthread_attr_setdetachstate.c
27009         (__pthread_attr_setdetachstate): Likewise.
27010         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27011         Likewise.
27012         * nptl/pthread_attr_setinheritsched.c
27013         (__pthread_attr_setinheritsched): Likewise.
27014         * nptl/pthread_attr_setschedparam.c
27015         (__pthread_attr_setschedparam): Likewise.
27016         * nptl/pthread_attr_setschedpolicy.c
27017         (__pthread_attr_setschedpolicy): Likewise.
27018         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27019         Likewise.
27020         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27021         Likewise.
27022         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27023         Likewise.
27024         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27025         Likewise.
27026         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27027         Likewise.
27028         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27029         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27030         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27031         use internal_function.
27032         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27033         prototype-style function definition.
27034         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27035         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
27036         internal_function.
27037         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27038         Convert to prototype-style function definition.
27039         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27040         Likewise.
27041         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27042         Likewise.
27043         (__pthread_mutex_unlock): Likewise.
27044         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27045         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27046         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27047         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27048         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27049         * nss/makedb.c (process_input): Likewise.
27050         * posix/fnmatch.c (__strchrnul): Likewise.
27051         (__wcschrnul): Likewise.
27052         (fnmatch): Likewise.
27053         * posix/fnmatch_loop.c (FCT): Likewise.
27054         * posix/glob.c (globfree): Likewise.
27055         (__glob_pattern_type): Likewise.
27056         (__glob_pattern_p): Likewise.
27057         * posix/regcomp.c (re_compile_pattern): Likewise.
27058         (re_set_syntax): Likewise.
27059         (re_compile_fastmap): Likewise.
27060         (regcomp): Likewise.
27061         (regerror): Likewise.
27062         (regfree): Likewise.
27063         * posix/regexec.c (regexec): Likewise.
27064         (re_match): Likewise.
27065         (re_search): Likewise.
27066         (re_match_2): Likewise.
27067         (re_search_2): Likewise.
27068         (re_search_stub): Likewise.  Use internal_function
27069         (re_copy_regs): Likewise.
27070         (re_set_registers): Convert to prototype-style function
27071         definition.
27072         (prune_impossible_nodes): Likewise.  Use internal_function.
27073         * resolv/inet_net_pton.c (inet_net_pton): Convert to
27074         prototype-style function definition.
27075         (inet_net_pton_ipv4): Likewise.
27076         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27077         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27078         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27079         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27080         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27081         Make variadic.
27082         * time/strptime_l.c (localtime_r): Convert to prototype-style
27083         function definition.
27084         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27085         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27086         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27087         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27089         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27090         definition.
27091         (_ufc_doit_r): Likewise.
27092         * crypt/crypt_util.c (_ufc_copymem): Likewise.
27093         (_ufc_output_conversion_r): Likewise.
27094         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27095         * inet/rcmd.c (rcmd_af): Likewise.
27096         (rcmd): Likewise.
27097         (ruserok_af): Likewise.
27098         (ruserok): Likewise.
27099         (ruserok2_sa): Likewise.
27100         (ruserok_sa): Likewise.
27101         (iruserok_af): Likewise.
27102         (iruserok): Likewise.
27103         (__ivaliduser): Likewise.
27104         (__validuser2_sa): Likewise.
27105         * inet/rexec.c (rexec_af): Likewise.
27106         (rexec): Likewise.
27107         * inet/ruserpass.c (ruserpass): Likewise.
27108         * locale/programs/xmalloc.c (xcalloc): Likewise.
27109         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
27110         * math/w_drem.c (__drem): Likewise.
27111         * math/w_dremf.c (__dremf): Likewise.
27112         * math/w_dreml.c (__dreml): Likewise.
27113         * misc/daemon.c (daemon): Likewise.
27114         * resolv/res_debug.c (p_fqnname): Likewise.
27115         * stdlib/div.c (div): Likewise.
27116         * string/memcmp.c (memcmp_bytes): Likewise.
27117         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
27118         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
27120         * crypt/cert.c (main): Convert to prototype-style function
27121         definition.
27122         * io/pipe.c (__pipe): Likewise.
27123         * io/pipe2.c (__pipe2): Likewise.
27124         * misc/futimesat.c (futimesat): Likewise.
27125         * misc/utimes.c (__utimes): Likewise.
27126         * posix/execve.c (__execve): Likewise.
27127         * posix/execvp.c (execvp): Likewise.
27128         * posix/execvpe.c (__execvpe): Likewise.
27129         * posix/fexecve.c (fexecve): Likewise.
27130         * socket/socketpair.c (socketpair): Likewise.
27131         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27132         * stdlib/erand48.c (erand48): Likewise.
27133         * stdlib/erand48_r.c (__erand48_r): Likewise.
27134         * stdlib/jrand48.c (jrand48): Likewise.
27135         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
27136         * stdlib/lcong48.c (lcong48): Likewise.
27137         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
27138         * stdlib/nrand48.c (nrand48): Likewise.
27139         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
27140         * stdlib/seed48.c (seed48): Likewise.
27141         * stdlib/seed48_r.c (__seed48_r): Likewise.
27142         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
27143         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27144         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
27146 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
27148         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
27149         * configure: Regenerated.
27150         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
27151         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
27152         unconditional.
27153         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27154         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27155         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27156         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
27157         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
27158         unconditional.
27159         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27161         * posix/Makefile (CFLAGS-regex.c): Remove variable.
27162         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
27164         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
27165         function definition.
27166         * crypt/crypt_util.c (__encrypt_r): Likewise.
27167         * libio/genops.c (_IO_no_init): Likewise.
27168         * libio/iofopncook.c (_IO_fopencookie): Likewise.
27169         (_IO_old_fopencookie): Likewise.
27170         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27171         * libio/iogetline.c (_IO_getline): Likewise.
27172         (_IO_getline_info): Likewise.
27173         * libio/iogetwline.c (_IO_getwline): Likewise.
27174         (_IO_getwline_info): Likewise.
27175         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
27176         * libio/vswprintf.c (_IO_vswprintf): Likewise.
27177         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
27178         (find_entry): Likewise.
27179         (iterate_table): Likewise.
27180         (lookup): Likewise.
27181         * login/forkpty.c (forkpty): Likewise.
27182         * misc/hsearch_r.c (__hsearch_r): Likewise.
27183         * misc/select.c (__select): Likewise.
27184         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
27185         Likewise.
27186         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
27187         Likewise.
27188         * nptl/old_pthread_cond_timedwait.c
27189         (__pthread_cond_timedwait_2_0): Likewise.
27190         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27191         * nptl/pthread_barrierattr_getpshared.c
27192         (pthread_barrierattr_getpshared): Likewise.
27193         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
27194         Likewise.
27195         * nptl/pthread_mutex_setprioceiling.c
27196         (pthread_mutex_setprioceiling): Likewise.
27197         * nptl/pthread_mutexattr_getprioceiling.c
27198         (pthread_mutexattr_getprioceiling): Likewise.
27199         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27200         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27201         Likewise.
27202         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27203         Likewise.
27204         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
27205         Likewise.
27206         * socket/recvfrom.c (__recvfrom): Likewise.
27207         * socket/sendto.c (__sendto): Likewise.
27208         * socket/setsockopt.c (__setsockopt): Likewise.
27209         * stdio-common/_itoa.c (_itoa): Likewise.
27210         * stdio-common/_itowa.c (_itowa): Likewise.
27211         * stdio-common/reg-printf.c (__register_printf_specifier):
27212         Likewise.
27213         (__register_printf_function): Likewise.
27214         * stdio-common/tempname.c (__path_search): Likewise.
27215         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
27216         * stdlib/mul_1.c (mpn_mul_1): Likewise.
27217         * stdlib/random_r.c (__initstate_r): Likewise.
27218         * stdlib/setenv.c (__add_to_environ): Likewise.
27219         * stdlib/submul_1.c (mpn_submul_1): Likewise.
27220         * streams/getpmsg.c (getpmsg): Likewise.
27221         * streams/putmsg.c (putmsg): Likewise.
27222         * streams/putpmsg.c (putpmsg): Likewise.
27223         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
27224         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
27225         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
27226         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27227         * sunrpc/pm_getport.c (pmap_getport): Likewise.
27228         * sunrpc/svc_udp.c (cache_get): Likewise.
27229         * sunrpc/xdr_array.c (xdr_vector): Likewise.
27230         * sysdeps/mach/hurd/getcwd.c
27231         (__canonicalize_directory_name_internal): Likewise.
27232         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
27233         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
27234         * sysdeps/mach/hurd/select.c (__select): Likewise.
27235         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27236         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
27237         * sysdeps/sparc/nptl/pthread_barrier_init.c
27238         (__pthread_barrier_init): Likewise.
27239         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
27240         (__pthread_cond_timedwait): Likewise.
27241         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
27242         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
27243         Likewise.
27244         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
27245         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
27246         Likewise.
27247         * sysvipc/semtimedop.c (semtimedop): Likewise.
27248         * time/setitimer.c (__setitimer): Likewise.
27249         * time/strftime_l.c (emacs_strftime): Likewise.
27251 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
27253         * config.make.in (have-ssp): Delete.
27254         (stack-protector): New variable.
27255         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
27256         cache test for -fstack-protector-strong.  Export stack_protector to
27257         the best ssp flag.
27258         * configure: Regenerated.
27259         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
27260         * nscd/Makefile (CFLAGS-nscd): Likewise.
27261         * resolv/Makefile (CFLAGS-libresolv): Likewise.
27263 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
27265         [BZ #19122]
27266         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
27267         attribute_hidden.
27269 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27271         [BZ #18743]
27272         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
27273         code to...
27274         (ELIDE_LOCK): ...here.
27275         (__get_new_count): New function with part of the code from
27276         __elide_lock that updates the value of adapt_count after a
27277         transaction abort.
27278         (__elided_trylock): Moved this code to...
27279         (ELIDE_TRYLOCK): ...here.
27281 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
27283         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
27284         * configure: Regenerate.
27285         * INSTALL: Regenerate.
27286         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
27287         and tweak grammar.
27289 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
27291         * login/programs/pt_chown.c: Include signal.h
27292         (main): Clear any signal mask from the parent process.
27294 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
27296         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
27297         * configure: Regenerated.
27298         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
27299         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
27300         $(gnu89-inline-CFLAGS).
27302         * configure.ac (libc_cv_asm_weak_directive): Remove configure
27303         test.
27304         (libc_cv_asm_weakext_directive): Likewise.
27305         * configure: Regenerated.
27306         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
27307         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
27308         * include/libc-symbols.h
27309         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
27310         #error.
27311         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
27312         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
27314         * sysdeps/arm/backtrace.c (__backtrace): Convert to
27315         prototype-style function definition.
27316         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27317         * sysdeps/i386/ffs.c (__ffs): Likewise.
27318         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27319         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
27320         Likewise.
27321         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27322         Likewise.
27323         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27324         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27325         Likewise.
27326         * sysdeps/m68k/ffs.c (__ffs): Likewise.
27327         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
27328         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
27329         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
27330         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
27331         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
27332         * sysdeps/mach/hurd/access.c (__access): Likewise.
27333         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
27334         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
27335         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27336         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
27337         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
27338         (cthread_getspecific): Likewise.
27339         (cthread_setspecific): Likewise.
27340         (__libc_getspecific): Likewise.
27341         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
27342         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
27343         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
27344         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
27345         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
27346         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
27347         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
27348         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
27349         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
27350         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
27351         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
27352         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
27353         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
27354         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
27355         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
27356         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
27357         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
27358         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
27359         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
27360         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
27361         * sysdeps/mach/hurd/link.c (__link): Likewise.
27362         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
27363         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
27364         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27365         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
27366         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
27367         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
27368         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
27369         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
27370         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27371         * sysdeps/mach/hurd/rename.c (rename): Likewise.
27372         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
27373         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27374         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
27375         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
27376         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
27377         * sysdeps/mach/hurd/send.c (__send): Likewise.
27378         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
27379         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
27380         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
27381         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
27382         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
27383         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
27384         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
27385         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
27386         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
27387         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
27388         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
27389         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
27390         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
27391         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
27392         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
27393         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27394         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
27395         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27396         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
27397         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27398         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
27399         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
27400         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
27401         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
27402         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
27403         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
27404         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
27405         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
27406         * sysdeps/posix/alarm.c (alarm): Likewise.
27407         * sysdeps/posix/cuserid.c (cuserid): Likewise.
27408         * sysdeps/posix/dirfd.c (dirfd): Likewise.
27409         * sysdeps/posix/dup.c (__dup): Likewise.
27410         * sysdeps/posix/dup2.c (__dup2): Likewise.
27411         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
27412         (main): Likewise.
27413         * sysdeps/posix/flock.c (__flock): Likewise.
27414         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
27415         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27416         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
27417         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
27418         * sysdeps/posix/isatty.c (__isatty): Likewise.
27419         * sysdeps/posix/killpg.c (killpg): Likewise.
27420         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27421         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
27422         * sysdeps/posix/raise.c (raise): Likewise.
27423         * sysdeps/posix/remove.c (remove): Likewise.
27424         * sysdeps/posix/rename.c (rename): Likewise.
27425         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
27426         * sysdeps/posix/seekdir.c (seekdir): Likewise.
27427         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27428         * sysdeps/posix/sigignore.c (sigignore): Likewise.
27429         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
27430         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
27431         * sysdeps/posix/sigset.c (sigset): Likewise.
27432         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
27433         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
27434         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
27435         * sysdeps/posix/time.c (time): Likewise.
27436         * sysdeps/posix/ttyname.c (getttyname): Likewise.
27437         (ttyname): Likewise.
27438         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
27439         * sysdeps/posix/utime.c (utime): Likewise.
27440         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
27441         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
27442         Likewise.
27443         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
27444         (pthread_spin_trylock): Likewise.
27445         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
27446         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
27447         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
27448         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
27449         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
27450         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
27451         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
27452         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
27453         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
27454         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
27455         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
27456         * sysdeps/s390/ffs.c (__ffs): Likewise.
27457         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
27458         Likewise.
27459         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27460         Likewise.
27461         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
27462         Likewise.
27463         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
27464         (pthread_barrier_destroy): Likewise.
27465         * sysdeps/sparc/nptl/pthread_barrier_wait.c
27466         (__pthread_barrier_wait): Likewise.
27467         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
27468         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
27469         (__pthread_barrier_wait): Likewise.
27470         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
27471         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
27472         (memcmp_not_common_alignment): Likewise.
27473         (MEMCMP): Likewise.
27474         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
27475         (_wordcopy_fwd_dest_aligned): Likewise.
27476         (_wordcopy_bwd_aligned): Likewise.
27477         (_wordcopy_bwd_dest_aligned): Likewise.
27478         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
27479         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
27480         * sysdeps/unix/bsd/stty.c (stty): Likewise.
27481         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
27482         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
27483         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
27484         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
27485         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
27486         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
27487         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
27488         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
27489         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
27490         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
27491         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
27492         * sysdeps/unix/stime.c (stime): Likewise.
27493         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
27494         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
27495         Likewise.  Use internal_function.
27496         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
27497         Convert to prototype-style function definition.
27498         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27499         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27500         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
27501         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27502         Likewise.  Use internal_function.
27503         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
27504         prototype-style function definition
27505         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27506         Likewise.
27507         (__getlogin_r): Likewise.
27508         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
27509         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
27510         (__pthread_cond_broadcast): Likewise.
27511         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
27512         (__pthread_cond_destroy): Likewise.
27513         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
27514         (__pthread_cond_init): Likewise.
27515         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
27516         (__pthread_cond_signal): Likewise.
27517         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
27518         (__pthread_cond_wait): Likewise.
27519         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
27520         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
27521         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
27522         Likewise.
27523         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
27524         Likewise.
27525         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27526         Likewise.
27527         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
27528         Likewise.
27529         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
27530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
27531         (__ftruncate64): Likewise.
27532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
27533         (truncate64): Likewise.
27534         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
27535         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
27536         (pthread_getcpuclockid): Likewise.
27537         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27538         Likewise.
27539         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27540         Likewise.
27541         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
27542         Likewise.
27543         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
27544         Likewise.
27545         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
27546         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
27547         (__libc_sigaction): Likewise.
27548         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
27549         Likewise.
27550         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27551         (__sigprocmask): Likewise.
27552         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
27553         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
27554         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
27555         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
27556         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27557         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
27558         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27559         Likewise.
27560         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
27561         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
27562         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27563         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
27564         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
27565         Likewise.
27566         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27567         (__sigprocmask): Likewise.
27568         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
27569         (cfgetispeed): Likewise.
27570         (cfsetospeed): Likewise.
27571         (cfsetispeed): Likewise.
27572         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
27573         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
27574         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27575         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
27576         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
27577         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
27578         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
27579         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
27580         Likewise.
27581         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
27582         Likewise.
27583         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
27584         Likewise.
27585         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27586         Likewise.
27587         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
27589 2015-10-17  Florian Weimer  <fweimer@redhat.com>
27591         sunrpc: Rewrite with explicit TLS access using __thread.
27592         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
27593         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
27594         directly.
27595         (__rpc_thread_variables): Access thread_rpc_vars directly.
27596         Eliminate redundant assignment of the tvp variable.
27598 2015-10-17  Florian Weimer  <fweimer@redhat.com>
27600         malloc: Rewrite with explicit TLS access using __thread.
27601         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
27602         (tsd_setspecific, tsd_getspecific): Remove.
27603         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
27604         (tsd_setspecific, tsd_getspecific): Likewise.
27605         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
27606         (tsd_setspecific, tsd_getspecific): Likewise.
27607         * malloc/arena.c (thread_arena): New TLS variable.
27608         (arena_key): Remove variable.
27609         (arena_get): Use thread_arena.
27610         (arena_lookup): Remove macro.
27611         (malloc_atfork, free_atfork, ptmalloc_lock_all)
27612         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
27613         (_int_new_arena, get_free_list, reused_arena)
27614         (arena_thread_freeres): Use thread_arena.
27615         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
27616         tsd_getspecific, tsd_setspecific from safety annotations.
27617         (Allocating Cleared Space): Remove arena_lookup from safety
27618         annotations.
27620 2015-10-17  Florian Weimer  <fweimer@redhat.com>
27622         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
27623         struct scratch_buffer instead of extend_alloca.
27625 2015-10-17  Florian Weimer  <fweimer@redhat.com>
27627         * sysdeps/unix/sysv/linux/kernel-features.h
27628         (__ASSUME_SOCK_CLOEXEC): Remove.
27629         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
27630         (__have_paccept): Remove unused macro.
27631         * include/unistd.h (__have_sock_cloexec): Remove declaration.
27632         * misc/syslog.c (openlog_internal): Remove fallback code for
27633         !__ASSUME_SOCK_CLOEXEC.
27634         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
27635         missing SOCK_CLOEXEC.
27636         * nscd/connections.c (have_sock_cloexec): Remove definition.
27637         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
27638         * nscd/nscd_helper.c (open_socket): Remove fallback code for
27639         !__ASSUME_SOCK_CLOEXEC.
27640         * resolv/res_send.c (__have_o_nonblock): Remove definition.
27641         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
27642         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
27643         definition.
27644         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
27645         code for !__ASSUME_SOCK_CLOEXEC.
27647 2015-10-17  Florian Weimer  <fweimer@redhat.com>
27649         [BZ #18982]
27650         * manual/stdio.texi (Variable Arguments Output): Add portability
27651         note, explaining that vfprintf clobbers the va_list pointer.
27653 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
27655         * math/libm-test.inc (fabs_test_data): Add more tests.
27656         (fdim_test_data): Likewise.
27657         (fma_test_data): Likewise.
27658         (fmax_test_data): Likewise.
27659         (fmin_test_data): Likewise.
27660         (fmod_test_data): Likewise.
27662 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
27664         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
27665         data.
27667 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
27669         * math/libm-test.inc (ceil_test_data): Add more tests and more
27670         expectations for "inexact".
27671         (floor_test_data): Add more tests.
27672         (round_test_data): Likewise.
27673         (trunc_test_data): Likewise.
27675         * crypt/cert.c (good_bye): Convert to prototype-style function
27676         definition.
27677         (get8): Likewise.
27678         (put8): Likewise.
27679         * crypt/crypt-entry.c (crypt): Likewise.
27680         (__fcrypt): Likewise.
27681         * crypt/crypt_util.c (_ufc_prbits): Likewise.
27682         (_ufc_set_bits): Likewise.
27683         (_ufc_clearmem): Likewise.
27684         (__init_des_r): Likewise.
27685         (shuffle_sb): Likewise.
27686         (shuffle_sb): Likewise.
27687         (_ufc_setup_salt_r): Likewise.
27688         (_ufc_mk_keytab_r): Likewise.
27689         (_ufc_dofinalperm_r): Likewise.
27690         (encrypt): Likewise.
27691         (__setkey_r): Likewise.
27692         (setkey): Likewise.
27693         * crypt/md5.c (md5_init_ctx): Likewise.
27694         (md5_read_ctx): Likewise.
27695         (md5_finish_ctx): Likewise.
27696         (md5_stream): Likewise.
27697         (md5_buffer): Likewise.
27698         (md5_process_bytes): Likewise.
27699         * crypt/sha256.c (__sha256_init_ctx): Likewise.
27700         (__sha256_finish_ctx): Likewise.
27701         (__sha256_process_bytes): Likewise.
27702         * crypt/sha512.c (__sha512_init_ctx): Likewise.
27703         (__sha512_finish_ctx): Likewise.
27704         (__sha512_process_bytes): Likewise.
27705         * ctype/isctype.c (__isctype): Likewise.
27706         * debug/backtrace.c (__backtrace): Likewise.
27707         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
27708         * debug/fgets_chk.c (__fgets_chk): Likewise.
27709         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
27710         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
27711         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27712         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27713         * debug/memset_chk.c (__memset_chk): Likewise.
27714         * debug/strcat_chk.c (__strcat_chk): Likewise.
27715         * debug/strncat_chk.c (__strncat_chk): Likewise.
27716         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
27717         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
27718         * dirent/dirfd.c (dirfd): Likewise.
27719         * dirent/getdents.c (__getdirentries): Likewise.
27720         * dirent/getdents64.c (getdirentries64): Likewise.
27721         * dirent/rewinddir.c (__rewinddir): Likewise.
27722         * dirent/seekdir.c (seekdir): Likewise.
27723         * dirent/telldir.c (telldir): Likewise.
27724         * elf/sln.c (makesymlinks): Likewise.
27725         (makesymlink): Likewise.
27726         * gmon/gmon.c (__moncontrol): Likewise.
27727         (__monstartup): Likewise.
27728         (write_hist): Likewise.
27729         (write_call_graph): Likewise.
27730         (write_bb_counts): Likewise.
27731         * grp/setgroups.c (setgroups): Likewise.
27732         * inet/inet_lnaof.c (inet_lnaof): Likewise.
27733         * inet/inet_net.c (inet_network): Likewise.
27734         * inet/inet_netof.c (inet_netof): Likewise.
27735         * inet/rcmd.c (rresvport_af): Likewise.
27736         (rresvport): Likewise.
27737         * io/access.c (__access): Likewise.
27738         * io/chdir.c (__chdir): Likewise.
27739         * io/chmod.c (__chmod): Likewise.
27740         * io/chown.c (__chown): Likewise.
27741         * io/close.c (__close): Likewise.
27742         * io/creat.c (creat): Likewise.
27743         * io/creat64.c (creat64): Likewise.
27744         * io/dup.c (__dup): Likewise.
27745         * io/dup2.c (__dup2): Likewise.
27746         * io/dup3.c (__dup3): Likewise.
27747         * io/euidaccess.c (__euidaccess): Likewise.
27748         * io/faccessat.c (faccessat): Likewise.
27749         * io/fchmod.c (__fchmod): Likewise.
27750         * io/fchmodat.c (fchmodat): Likewise.
27751         * io/fchown.c (__fchown): Likewise.
27752         * io/fchownat.c (fchownat): Likewise.
27753         * io/fcntl.c (__fcntl): Likewise.
27754         * io/flock.c (__flock): Likewise.
27755         * io/fts.c (fts_load): Likewise.
27756         (fts_close): Likewise.
27757         (fts_read): Likewise.
27758         (fts_set): Likewise.
27759         (fts_children): Likewise.
27760         (fts_build): Likewise.
27761         (fts_stat): Likewise.
27762         (fts_sort): Likewise.
27763         (fts_alloc): Likewise.
27764         (fts_lfree): Likewise.
27765         (fts_palloc): Likewise.
27766         (fts_padjust): Likewise.
27767         (fts_maxarglen): Likewise.
27768         (fts_safe_changedir): Likewise.
27769         * io/getwd.c (getwd): Likewise.
27770         * io/isatty.c (__isatty): Likewise.
27771         * io/lchown.c (__lchown): Likewise.
27772         * io/link.c (__link): Likewise.
27773         * io/linkat.c (linkat): Likewise.
27774         * io/lseek.c (__libc_lseek): Likewise.
27775         * io/mkdir.c (__mkdir): Likewise.
27776         * io/mkdirat.c (mkdirat): Likewise.
27777         * io/mkfifo.c (mkfifo): Likewise.
27778         * io/mkfifoat.c (mkfifoat): Likewise.
27779         * io/open.c (__libc_open): Likewise.
27780         * io/open64.c (__libc_open64): Likewise.
27781         * io/readlink.c (__readlink): Likewise.
27782         * io/readlinkat.c (readlinkat): Likewise.
27783         * io/rmdir.c (__rmdir): Likewise.
27784         * io/symlink.c (__symlink): Likewise.
27785         * io/symlinkat.c (symlinkat): Likewise.
27786         * io/ttyname.c (ttyname): Likewise.
27787         * io/ttyname_r.c (__ttyname_r): Likewise.
27788         * io/umask.c (__umask): Likewise.
27789         * io/unlink.c (__unlink): Likewise.
27790         * io/unlinkat.c (unlinkat): Likewise.
27791         * io/utime.c (utime): Likewise.
27792         * libio/clearerr.c (clearerr): Likewise.
27793         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
27794         * libio/feof.c (_IO_feof): Likewise.
27795         * libio/feof_u.c (feof_unlocked): Likewise.
27796         * libio/ferror.c (_IO_ferror): Likewise.
27797         * libio/ferror_u.c (ferror_unlocked): Likewise.
27798         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27799         * libio/fileno.c (__fileno): Likewise.
27800         * libio/fputc.c (fputc): Likewise.
27801         * libio/fputc_u.c (fputc_unlocked): Likewise.
27802         * libio/fputwc.c (fputwc): Likewise.
27803         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
27804         * libio/freopen.c (freopen): Likewise.
27805         * libio/freopen64.c (freopen64): Likewise.
27806         * libio/fseek.c (fseek): Likewise.
27807         * libio/fseeko.c (fseeko): Likewise.
27808         * libio/fseeko64.c (fseeko64): Likewise.
27809         * libio/ftello.c (__ftello): Likewise.
27810         * libio/ftello64.c (ftello64): Likewise.
27811         * libio/fwide.c (fwide): Likewise.
27812         * libio/genops.c (_IO_un_link): Likewise.
27813         (_IO_link_in): Likewise.
27814         (_IO_least_marker): Likewise.
27815         (_IO_switch_to_main_get_area): Likewise.
27816         (_IO_switch_to_backup_area): Likewise.
27817         (_IO_switch_to_get_mode): Likewise.
27818         (_IO_free_backup_area): Likewise.
27819         (_IO_switch_to_put_mode): Likewise.
27820         (__overflow): Likewise.
27821         (__underflow): Likewise.
27822         (__uflow): Likewise.
27823         (_IO_setb): Likewise.
27824         (_IO_doallocbuf): Likewise.
27825         (_IO_default_underflow): Likewise.
27826         (_IO_default_uflow): Likewise.
27827         (_IO_default_xsputn): Likewise.
27828         (_IO_sgetn): Likewise.
27829         (_IO_default_xsgetn): Likewise.
27830         (_IO_sync): Likewise.
27831         (_IO_default_setbuf): Likewise.
27832         (_IO_default_seekpos): Likewise.
27833         (_IO_default_doallocate): Likewise.
27834         (_IO_init): Likewise.
27835         (_IO_old_init): Likewise.
27836         (_IO_default_sync): Likewise.
27837         (_IO_default_finish): Likewise.
27838         (_IO_default_seekoff): Likewise.
27839         (_IO_sputbackc): Likewise.
27840         (_IO_sungetc): Likewise.
27841         (_IO_set_column): Likewise.
27842         (_IO_set_column): Likewise.
27843         (_IO_adjust_column): Likewise.
27844         (_IO_get_column): Likewise.
27845         (_IO_init_marker): Likewise.
27846         (_IO_remove_marker): Likewise.
27847         (_IO_marker_difference): Likewise.
27848         (_IO_marker_delta): Likewise.
27849         (_IO_seekmark): Likewise.
27850         (_IO_unsave_markers): Likewise.
27851         (_IO_nobackup_pbackfail): Likewise.
27852         (_IO_default_pbackfail): Likewise.
27853         (_IO_default_seek): Likewise.
27854         (_IO_default_stat): Likewise.
27855         (_IO_default_read): Likewise.
27856         (_IO_default_write): Likewise.
27857         (_IO_default_showmanyc): Likewise.
27858         (_IO_default_imbue): Likewise.
27859         (_IO_iter_next): Likewise.
27860         (_IO_iter_file): Likewise.
27861         * libio/getc.c (_IO_getc): Likewise.
27862         * libio/getwc.c (_IO_getwc): Likewise.
27863         * libio/iofclose.c (_IO_new_fclose): Likewise.
27864         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27865         * libio/iofflush.c (_IO_fflush): Likewise.
27866         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
27867         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
27868         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
27869         * libio/iofgets.c (_IO_fgets): Likewise.
27870         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
27871         * libio/iofgetws.c (fgetws): Likewise.
27872         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27873         * libio/iofopen64.c (_IO_fopen64): Likewise.
27874         * libio/iofopncook.c (_IO_cookie_read): Likewise.
27875         (_IO_cookie_write): Likewise.
27876         (_IO_cookie_seek): Likewise.
27877         (_IO_cookie_close): Likewise.
27878         (_IO_cookie_seekoff): Likewise.
27879         (_IO_old_cookie_seek): Likewise.
27880         * libio/iofputs.c (_IO_fputs): Likewise.
27881         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
27882         * libio/iofputws.c (fputws): Likewise.
27883         * libio/iofputws_u.c (fputws_unlocked): Likewise.
27884         * libio/iofread.c (_IO_fread): Likewise.
27885         * libio/iofread_u.c (__fread_unlocked): Likewise.
27886         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
27887         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
27888         * libio/ioftell.c (_IO_ftell): Likewise.
27889         * libio/iofwrite.c (_IO_fwrite): Likewise.
27890         * libio/iogetdelim.c (_IO_getdelim): Likewise.
27891         * libio/iogets.c (_IO_gets): Likewise.
27892         * libio/iopadn.c (_IO_padn): Likewise.
27893         * libio/iopopen.c (_IO_new_proc_open): Likewise.
27894         (_IO_new_popen): Likewise.
27895         (_IO_new_proc_close): Likewise.
27896         * libio/ioputs.c (_IO_puts): Likewise.
27897         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
27898         (_IO_seekoff): Likewise.
27899         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
27900         (_IO_seekpos): Likewise.
27901         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
27902         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
27903         * libio/ioungetc.c (_IO_ungetc): Likewise.
27904         * libio/ioungetwc.c (ungetwc): Likewise.
27905         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27906         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
27907         * libio/iowpadn.c (_IO_wpadn): Likewise.
27908         * libio/libc_fatal.c (__libc_fatal): Likewise.
27909         * libio/memstream.c (__open_memstream): Likewise.
27910         (_IO_mem_sync): Likewise.
27911         (_IO_mem_finish): Likewise.
27912         * libio/oldfileops.c (_IO_old_file_init): Likewise.
27913         (_IO_old_file_close_it): Likewise.
27914         (_IO_old_file_finish): Likewise.
27915         (_IO_old_file_fopen): Likewise.
27916         (_IO_old_file_attach): Likewise.
27917         (_IO_old_file_setbuf): Likewise.
27918         (_IO_old_do_write): Likewise.
27919         (old_do_write): Likewise.
27920         (_IO_old_file_underflow): Likewise.
27921         (_IO_old_file_overflow): Likewise.
27922         (_IO_old_file_sync): Likewise.
27923         (_IO_old_file_seekoff): Likewise.
27924         (_IO_old_file_write): Likewise.
27925         (_IO_old_file_xsputn): Likewise.
27926         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
27927         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27928         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
27929         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
27930         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
27931         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
27932         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
27933         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
27934         (_IO_old_popen): Likewise.
27935         (_IO_old_proc_close): Likewise.
27936         * libio/oldpclose.c (__old_pclose): Likewise.
27937         * libio/pclose.c (__new_pclose): Likewise.
27938         * libio/peekc.c (_IO_peekc_locked): Likewise.
27939         * libio/putc.c (_IO_putc): Likewise.
27940         * libio/putc_u.c (putc_unlocked): Likewise.
27941         * libio/putchar.c (putchar): Likewise.
27942         * libio/putchar_u.c (putchar_unlocked): Likewise.
27943         * libio/putwc.c (putwc): Likewise.
27944         * libio/putwc_u.c (putwc_unlocked): Likewise.
27945         * libio/putwchar.c (putwchar): Likewise.
27946         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
27947         * libio/rewind.c (rewind): Likewise.
27948         * libio/setbuf.c (setbuf): Likewise.
27949         * libio/setlinebuf.c (setlinebuf): Likewise.
27950         * libio/vasprintf.c (_IO_vasprintf): Likewise.
27951         * libio/vscanf.c (_IO_vscanf): Likewise.
27952         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
27953         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
27954         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27955         * libio/wgenops.c (_IO_least_wmarker): Likewise.
27956         (_IO_switch_to_main_wget_area): Likewise.
27957         (_IO_switch_to_wbackup_area): Likewise.
27958         (_IO_wsetb): Likewise.
27959         (_IO_wdefault_pbackfail): Likewise.
27960         (_IO_wdefault_finish): Likewise.
27961         (_IO_wdefault_uflow): Likewise.
27962         (__woverflow): Likewise.
27963         (__wuflow): Likewise.
27964         (__wunderflow): Likewise.
27965         (_IO_wdefault_xsputn): Likewise.
27966         (_IO_wdefault_xsgetn): Likewise.
27967         (_IO_wdoallocbuf): Likewise.
27968         (_IO_wdefault_doallocate): Likewise.
27969         (_IO_switch_to_wget_mode): Likewise.
27970         (_IO_free_wbackup_area): Likewise.
27971         (_IO_switch_to_wput_mode): Likewise.
27972         (_IO_sputbackwc): Likewise.
27973         (_IO_sungetwc): Likewise.
27974         (_IO_adjust_wcolumn): Likewise.
27975         (_IO_init_wmarker): Likewise.
27976         (_IO_wmarker_delta): Likewise.
27977         (_IO_seekwmark): Likewise.
27978         (_IO_unsave_wmarkers): Likewise.
27979         * libio/wmemstream.c (open_wmemstream): Likewise.
27980         (_IO_wmem_sync): Likewise.
27981         (_IO_wmem_finish): Likewise.
27982         * locale/nl_langinfo.c (nl_langinfo): Likewise.
27983         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
27984         * locale/programs/simple-hash.c (init_hash): Likewise.
27985         (delete_hash): Likewise.
27986         (insert_entry): Likewise.
27987         (set_entry): Likewise.
27988         (next_prime): Likewise.
27989         (is_prime): Likewise.
27990         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
27991         (xmalloc): Likewise.
27992         (xrealloc): Likewise.
27993         * locale/programs/xstrdup.c (xstrdup): Likewise.
27994         * localedata/collate-test.c (xstrcoll): Likewise.
27995         * localedata/xfrm-test.c (xstrcmp): Likewise.
27996         * login/getlogin_r.c (__getlogin_r): Likewise.
27997         * login/getpt.c (__posix_openpt): Likewise.
27998         * login/login_tty.c (login_tty): Likewise.
27999         * login/setlogin.c (setlogin): Likewise.
28000         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28001         (mach_msg_destroy_port): Likewise.
28002         (mach_msg_destroy_memory): Likewise.
28003         * malloc/mcheck.c (flood): Likewise.
28004         * misc/acct.c (acct): Likewise.
28005         * misc/brk.c (__brk): Likewise.
28006         * misc/chflags.c (chflags): Likewise.
28007         * misc/chroot.c (chroot): Likewise.
28008         * misc/fchflags.c (fchflags): Likewise.
28009         * misc/fstab.c (getfsspec): Likewise.
28010         (getfsfile): Likewise.
28011         * misc/fsync.c (fsync): Likewise.
28012         * misc/ftruncate.c (__ftruncate): Likewise.
28013         * misc/ftruncate64.c (__ftruncate64): Likewise.
28014         * misc/getdomain.c (getdomainname): Likewise.
28015         (getdomainname): Likewise.
28016         * misc/gethostname.c (__gethostname): Likewise.
28017         * misc/getpass.c (getpass): Likewise.
28018         * misc/getttyent.c (skip): Likewise.
28019         (value): Likewise.
28020         * misc/gtty.c (gtty): Likewise.
28021         * misc/hsearch.c (hsearch): Likewise.
28022         (hcreate): Likewise.
28023         * misc/hsearch_r.c (__hcreate_r): Likewise.
28024         (__hdestroy_r): Likewise.
28025         * misc/ioctl.c (__ioctl): Likewise.
28026         * misc/mkdtemp.c (mkdtemp): Likewise.
28027         * misc/mkostemp.c (mkostemp): Likewise.
28028         * misc/mkostemp64.c (mkostemp64): Likewise.
28029         * misc/mkostemps.c (mkostemps): Likewise.
28030         * misc/mkostemps64.c (mkostemps64): Likewise.
28031         * misc/mkstemp.c (mkstemp): Likewise.
28032         * misc/mkstemp64.c (mkstemp64): Likewise.
28033         * misc/mkstemps.c (mkstemps): Likewise.
28034         * misc/mkstemps64.c (mkstemps64): Likewise.
28035         * misc/mktemp.c (__mktemp): Likewise.
28036         * misc/preadv.c (preadv): Likewise.
28037         * misc/preadv64.c (preadv64): Likewise.
28038         * misc/pwritev.c (pwritev): Likewise.
28039         * misc/pwritev64.c (pwritev64): Likewise.
28040         * misc/readv.c (__readv): Likewise.
28041         * misc/revoke.c (revoke): Likewise.
28042         * misc/setdomain.c (setdomainname): Likewise.
28043         * misc/setegid.c (setegid): Likewise.
28044         * misc/seteuid.c (seteuid): Likewise.
28045         * misc/sethostid.c (sethostid): Likewise.
28046         * misc/sethostname.c (sethostname): Likewise.
28047         * misc/setregid.c (__setregid): Likewise.
28048         * misc/setreuid.c (__setreuid): Likewise.
28049         * misc/sstk.c (sstk): Likewise.
28050         * misc/stty.c (stty): Likewise.
28051         * misc/syscall.c (syscall): Likewise.
28052         * misc/syslog.c (setlogmask): Likewise.
28053         * misc/truncate.c (__truncate): Likewise.
28054         * misc/truncate64.c (truncate64): Likewise.
28055         * misc/ualarm.c (ualarm): Likewise.
28056         * misc/usleep.c (usleep): Likewise.
28057         * misc/ustat.c (ustat): Likewise.
28058         * misc/writev.c (__writev): Likewise.
28059         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28060         * nptl/old_pthread_cond_broadcast.c
28061         (__pthread_cond_broadcast_2_0): Likewise.
28062         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28063         Likewise.
28064         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28065         Likewise.
28066         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28067         Likewise.
28068         * nptl/pt-raise.c (raise): Likewise.
28069         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28070         Likewise.
28071         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28072         * nptl/pthread_barrierattr_destroy.c
28073         (pthread_barrierattr_destroy): Likewise.
28074         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28075         Likewise.
28076         * nptl/pthread_barrierattr_setpshared.c
28077         (pthread_barrierattr_setpshared): Likewise.
28078         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28079         Likewise.
28080         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28081         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28082         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28083         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28084         Likewise.
28085         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28086         Likewise.
28087         * nptl/pthread_condattr_getpshared.c
28088         (pthread_condattr_getpshared): Likewise.
28089         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28090         Likewise.
28091         * nptl/pthread_condattr_setpshared.c
28092         (pthread_condattr_setpshared): Likewise.
28093         * nptl/pthread_detach.c (pthread_detach): Likewise.
28094         * nptl/pthread_equal.c (__pthread_equal): Likewise.
28095         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28096         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28097         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28098         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28099         Likewise.
28100         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
28101         Likewise.
28102         * nptl/pthread_mutex_getprioceiling.c
28103         (pthread_mutex_getprioceiling): Likewise.
28104         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
28105         Likewise.
28106         * nptl/pthread_mutexattr_getprotocol.c
28107         (pthread_mutexattr_getprotocol): Likewise.
28108         * nptl/pthread_mutexattr_getpshared.c
28109         (pthread_mutexattr_getpshared): Likewise.
28110         * nptl/pthread_mutexattr_getrobust.c
28111         (pthread_mutexattr_getrobust): Likewise.
28112         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28113         Likewise.
28114         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
28115         Likewise.
28116         * nptl/pthread_mutexattr_setprioceiling.c
28117         (pthread_mutexattr_setprioceiling): Likewise.
28118         * nptl/pthread_mutexattr_setprotocol.c
28119         (pthread_mutexattr_setprotocol): Likewise.
28120         * nptl/pthread_mutexattr_setpshared.c
28121         (pthread_mutexattr_setpshared): Likewise.
28122         * nptl/pthread_mutexattr_setrobust.c
28123         (pthread_mutexattr_setrobust): Likewise.
28124         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
28125         Likewise.
28126         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
28127         Likewise.
28128         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
28129         Likewise.
28130         * nptl/pthread_rwlockattr_getkind_np.c
28131         (pthread_rwlockattr_getkind_np): Likewise.
28132         * nptl/pthread_rwlockattr_getpshared.c
28133         (pthread_rwlockattr_getpshared): Likewise.
28134         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
28135         Likewise.
28136         * nptl/pthread_rwlockattr_setkind_np.c
28137         (pthread_rwlockattr_setkind_np): Likewise.
28138         * nptl/pthread_rwlockattr_setpshared.c
28139         (pthread_rwlockattr_setpshared): Likewise.
28140         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
28141         Likewise.
28142         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
28143         Likewise.
28144         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
28145         Likewise.
28146         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
28147         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
28148         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
28149         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
28150         * nptl/sem_close.c (sem_close): Likewise.
28151         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
28152         * nptl/sem_init.c (__old_sem_init): Likewise.
28153         * nptl/sigaction.c (__sigaction): Likewise.
28154         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28155         * posix/_exit.c (_exit): Likewise.
28156         * posix/alarm.c (alarm): Likewise.
28157         * posix/confstr.c (confstr): Likewise.
28158         * posix/fpathconf.c (__fpathconf): Likewise.
28159         * posix/getgroups.c (__getgroups): Likewise.
28160         * posix/getpgid.c (__getpgid): Likewise.
28161         * posix/group_member.c (__group_member): Likewise.
28162         * posix/pathconf.c (__pathconf): Likewise.
28163         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
28164         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
28165         * posix/setgid.c (__setgid): Likewise.
28166         * posix/setpgid.c (__setpgid): Likewise.
28167         * posix/setuid.c (__setuid): Likewise.
28168         * posix/sleep.c (__sleep): Likewise.
28169         * posix/sysconf.c (__sysconf): Likewise.
28170         * posix/times.c (__times): Likewise.
28171         * posix/uname.c (__uname): Likewise.
28172         * posix/waitid.c (__waitid): Likewise.
28173         * pwd/getpw.c (__getpw): Likewise.
28174         * resolv/base64.c (b64_pton): Likewise.
28175         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28176         * resolv/gethnamaddr.c (Dprintf): Likewise.
28177         (gethostbyname): Likewise.
28178         (gethostbyname2): Likewise.
28179         (gethostbyaddr): Likewise.
28180         (_sethtent): Likewise.
28181         (_gethtbyname): Likewise.
28182         (_gethtbyname2): Likewise.
28183         (_gethtbyaddr): Likewise.
28184         (map_v4v6_address): Likewise.
28185         (map_v4v6_hostent): Likewise.
28186         (addrsort): Likewise.
28187         (ht_sethostent): Likewise.
28188         (ht_gethostbyname): Likewise.
28189         (ht_gethostbyaddr): Likewise.
28190         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
28191         (inet_net_ntop_ipv4): Likewise.
28192         * resolv/inet_neta.c (inet_neta): Likewise.
28193         * resolv/inet_ntop.c (inet_ntop): Likewise.
28194         (inet_ntop4): Likewise.
28195         (inet_ntop6): Likewise.
28196         * resolv/inet_pton.c (__inet_pton): Likewise.
28197         (inet_pton4): Likewise.
28198         (inet_pton6): Likewise.
28199         * resolv/res_debug.c (loc_aton): Likewise.
28200         (loc_ntoa): Likewise.
28201         * resource/getpriority.c (__getpriority): Likewise.
28202         * resource/getrusage.c (__getrusage): Likewise.
28203         * resource/nice.c (nice): Likewise.
28204         * resource/setpriority.c (__setpriority): Likewise.
28205         * resource/setrlimit64.c (setrlimit64): Likewise.
28206         * resource/vlimit.c (vlimit): Likewise.
28207         * resource/vtimes.c (vtimes): Likewise.
28208         * rt/aio_error.c (aio_error): Likewise.
28209         * rt/aio_return.c (aio_return): Likewise.
28210         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
28211         * signal/kill.c (__kill): Likewise.
28212         * signal/killpg.c (killpg): Likewise.
28213         * signal/raise.c (raise): Likewise.
28214         * signal/sigaction.c (__sigaction): Likewise.
28215         * signal/sigaddset.c (sigaddset): Likewise.
28216         * signal/sigaltstack.c (sigaltstack): Likewise.
28217         * signal/sigandset.c (sigandset): Likewise.
28218         * signal/sigblock.c (__sigblock): Likewise.
28219         * signal/sigdelset.c (sigdelset): Likewise.
28220         * signal/sigempty.c (sigemptyset): Likewise.
28221         * signal/sigfillset.c (sigfillset): Likewise.
28222         * signal/sighold.c (sighold): Likewise.
28223         * signal/sigignore.c (sigignore): Likewise.
28224         * signal/sigintr.c (siginterrupt): Likewise.
28225         * signal/sigisempty.c (sigisemptyset): Likewise.
28226         * signal/sigismem.c (sigismember): Likewise.
28227         * signal/signal.c (signal): Likewise.
28228         * signal/sigorset.c (sigorset): Likewise.
28229         * signal/sigpause.c (__sigpause): Likewise.
28230         * signal/sigpending.c (sigpending): Likewise.
28231         * signal/sigprocmask.c (__sigprocmask): Likewise.
28232         * signal/sigrelse.c (sigrelse): Likewise.
28233         * signal/sigreturn.c (__sigreturn): Likewise.
28234         * signal/sigset.c (sigset): Likewise.
28235         * signal/sigsetmask.c (__sigsetmask): Likewise.
28236         * signal/sigstack.c (sigstack): Likewise.
28237         * signal/sigsuspend.c (__sigsuspend): Likewise.
28238         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
28239         * signal/sysv_signal.c (__sysv_signal): Likewise.
28240         * socket/accept.c (accept): Likewise.
28241         * socket/accept4.c (__libc_accept4): Likewise.
28242         * socket/bind.c (__bind): Likewise.
28243         * socket/connect.c (__connect): Likewise.
28244         * socket/getpeername.c (getpeername): Likewise.
28245         * socket/getsockname.c (__getsockname): Likewise.
28246         * socket/getsockopt.c (getsockopt): Likewise.
28247         * socket/listen.c (__listen): Likewise.
28248         * socket/recv.c (__recv): Likewise.
28249         * socket/recvmsg.c (__recvmsg): Likewise.
28250         * socket/send.c (__send): Likewise.
28251         * socket/sendmsg.c (__sendmsg): Likewise.
28252         * socket/shutdown.c (shutdown): Likewise.
28253         * socket/sockatmark.c (sockatmark): Likewise.
28254         * socket/socket.c (__socket): Likewise.
28255         * stdio-common/ctermid.c (ctermid): Likewise.
28256         * stdio-common/cuserid.c (cuserid): Likewise.
28257         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
28258         * stdio-common/remove.c (remove): Likewise.
28259         * stdio-common/rename.c (rename): Likewise.
28260         * stdio-common/renameat.c (renameat): Likewise.
28261         * stdio-common/tempname.c (__gen_tempname): Likewise.
28262         * stdio-common/xbug.c (InitBuffer): Likewise.
28263         (AppendToBuffer): Likewise.
28264         (ReadFile): Likewise.
28265         * stdlib/a64l.c (a64l): Likewise.
28266         * stdlib/drand48_r.c (drand48_r): Likewise.
28267         * stdlib/getcontext.c (getcontext): Likewise.
28268         * stdlib/getenv.c (getenv): Likewise.
28269         * stdlib/l64a.c (l64a): Likewise.
28270         * stdlib/llabs.c (llabs): Likewise.
28271         * stdlib/lldiv.c (lldiv): Likewise.
28272         * stdlib/lrand48_r.c (lrand48_r): Likewise.
28273         * stdlib/mrand48_r.c (mrand48_r): Likewise.
28274         * stdlib/putenv.c (putenv): Likewise.
28275         * stdlib/random.c (__srandom): Likewise.
28276         (__initstate): Likewise.
28277         (__setstate): Likewise.
28278         * stdlib/random_r.c (__srandom_r): Likewise.
28279         (__setstate_r): Likewise.
28280         (__random_r): Likewise.
28281         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
28282         * stdlib/setcontext.c (setcontext): Likewise.
28283         * stdlib/setenv.c (setenv): Likewise.
28284         (unsetenv): Likewise.
28285         * stdlib/srand48.c (srand48): Likewise.
28286         * stdlib/srand48_r.c (__srand48_r): Likewise.
28287         * stdlib/swapcontext.c (swapcontext): Likewise.
28288         * stdlib/system.c (__libc_system): Likewise.
28289         * stdlib/tst-strtod.c (expand): Likewise.
28290         * stdlib/tst-strtol.c (expand): Likewise.
28291         * stdlib/tst-strtoll.c (expand): Likewise.
28292         * streams/fattach.c (fattach): Likewise.
28293         * streams/fdetach.c (fdetach): Likewise.
28294         * streams/getmsg.c (getmsg): Likewise.
28295         * streams/isastream.c (isastream): Likewise.
28296         * string/ffs.c (__ffs): Likewise.
28297         * string/ffsll.c (ffsll): Likewise.
28298         * string/memcmp.c (memcmp_common_alignment): Likewise.
28299         (memcmp_not_common_alignment): Likewise.
28300         (MEMCMP): Likewise.
28301         * string/memcpy.c (memcpy): Likewise.
28302         * string/memmove.c (MEMMOVE): Likewise.
28303         * string/memset.c (memset): Likewise.
28304         * string/rawmemchr.c (RAWMEMCHR): Likewise.
28305         * string/strchrnul.c (STRCHRNUL): Likewise.
28306         * string/strerror.c (strerror): Likewise.
28307         * string/strndup.c (__strndup): Likewise.
28308         * string/strverscmp.c (__strverscmp): Likewise.
28309         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
28310         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
28311         (clnttcp_freeres): Likewise.
28312         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
28313         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
28314         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
28315         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
28316         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
28317         (xdr_callhdr): Likewise.
28318         * sunrpc/rpcinfo.c (udpping): Likewise.
28319         (tcpping): Likewise.
28320         (pstatus): Likewise.
28321         (pmapdump): Likewise.
28322         (brdcst): Likewise.
28323         (deletereg): Likewise.
28324         (getprognum): Likewise.
28325         (getvers): Likewise.
28326         (get_inet_address): Likewise.
28327         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
28328         * sunrpc/svc_udp.c (svcudp_create): Likewise.
28329         (svcudp_stat): Likewise.
28330         (svcudp_recv): Likewise.
28331         (svcudp_reply): Likewise.
28332         (svcudp_getargs): Likewise.
28333         (svcudp_freeargs): Likewise.
28334         (svcudp_destroy): Likewise.
28335         * sunrpc/xdr.c (xdr_bytes): Likewise.
28336         (xdr_netobj): Likewise.
28337         (xdr_string): Likewise.
28338         (xdr_wrapstring): Likewise.
28339         * sunrpc/xdr_float.c (xdr_float): Likewise.
28340         (xdr_double): Likewise.
28341         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
28342         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
28343         * sysvipc/ftok.c (ftok): Likewise.
28344         * sysvipc/msgctl.c (msgctl): Likewise.
28345         * sysvipc/msgget.c (msgget): Likewise.
28346         * sysvipc/msgrcv.c (msgrcv): Likewise.
28347         * sysvipc/msgsnd.c (msgsnd): Likewise.
28348         * sysvipc/semget.c (semget): Likewise.
28349         * sysvipc/semop.c (semop): Likewise.
28350         * sysvipc/shmat.c (shmat): Likewise.
28351         * sysvipc/shmctl.c (shmctl): Likewise.
28352         * sysvipc/shmdt.c (shmdt): Likewise.
28353         * sysvipc/shmget.c (shmget): Likewise.
28354         * termios/cfmakeraw.c (cfmakeraw): Likewise.
28355         * termios/speed.c (cfgetospeed): Likewise.
28356         (cfgetispeed): Likewise.
28357         (cfsetospeed): Likewise.
28358         (cfsetispeed): Likewise.
28359         * termios/tcflow.c (tcflow): Likewise.
28360         * termios/tcflush.c (tcflush): Likewise.
28361         * termios/tcgetattr.c (__tcgetattr): Likewise.
28362         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
28363         * termios/tcgetsid.c (tcgetsid): Likewise.
28364         * termios/tcsendbrk.c (tcsendbreak): Likewise.
28365         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
28366         * time/adjtime.c (__adjtime): Likewise.
28367         * time/dysize.c (dysize): Likewise.
28368         * time/ftime.c (ftime): Likewise.
28369         * time/getitimer.c (__getitimer): Likewise.
28370         * time/gettimeofday.c (__gettimeofday): Likewise.
28371         * time/gmtime.c (__gmtime_r): Likewise.
28372         (gmtime): Likewise.
28373         * time/localtime.c (__localtime_r): Likewise.
28374         (localtime): Likewise.
28375         * time/offtime.c (__offtime): Likewise.
28376         * time/settimeofday.c (__settimeofday): Likewise.
28377         * time/stime.c (stime): Likewise.
28378         * time/strftime_l.c (tm_diff): Likewise.
28379         (iso_week_days): Likewise.
28380         * time/strptime.c (strptime): Likewise.
28381         * time/time.c (time): Likewise.
28382         * time/timespec_get.c (timespec_get): Likewise.
28383         * time/tzset.c (tzset_internal): Likewise.
28384         (compute_change): Likewise.
28385         (__tz_compute): Likewise.
28386         * wcsmbs/btowc.c (__btowc): Likewise.
28387         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
28388         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
28389         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
28390         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
28391         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
28392         * wcsmbs/wcscat.c (__wcscat): Likewise.
28393         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28394         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
28395         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
28396         * wcsmbs/wcscspn.c (wcscspn): Likewise.
28397         * wcsmbs/wcsdup.c (wcsdup): Likewise.
28398         * wcsmbs/wcslen.c (__wcslen): Likewise.
28399         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
28400         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
28401         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
28402         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
28403         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28404         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
28405         * wcsmbs/wcsspn.c (wcsspn): Likewise.
28406         * wcsmbs/wcsstr.c (wcsstr): Likewise.
28407         * wcsmbs/wcstok.c (wcstok): Likewise.
28408         * wcsmbs/wctob.c (wctob): Likewise.
28409         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
28410         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28411         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
28412         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
28413         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
28414         * wcsmbs/wmemset.c (__wmemset): Likewise.
28415         * wctype/wcfuncs.c (__towlower): Likewise.
28416         (__towupper): Likewise.
28418         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
28419         (lll_unlock_elision): Add adapt_count parameter.
28421 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
28423         * sysdeps/nptl/configure.ac: Do not give errors based on the
28424         results of top-level configure tests.
28425         * sysdeps/nptl/configure: Regenerated.
28427         * configure.ac (libc_cv_Bgroup): Remove configure test.
28428         * configure: Regenerated.
28429         * config.make.in (have-Bgroup): Remove variable.
28431         * configure.ac (sizeof_long_double): Remove configure test.
28432         * configure: Regenerated.
28433         * config.make.in (sizeof-long-double): Remove variable.
28435         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
28436         * configure: Regenerated.
28437         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
28438         variable.
28439         (exceptions): Likewise.
28440         * sysdeps/arm/configure: Regenerated.
28441         * config.make.in (exceptions): Remove variable.
28442         * Makeconfig (uses-callbacks): Use -fexceptions instead of
28443         $(exceptions).
28444         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
28445         (CFLAGS-vdprintf_chk.c): Likewise.
28446         (CFLAGS-printf_chk.c): Likewise.
28447         (CFLAGS-fprintf_chk.c): Likewise.
28448         (CFLAGS-vprintf_chk.c): Likewise.
28449         (CFLAGS-vfprintf_chk.c): Likewise.
28450         (CFLAGS-gets_chk.c): Likewise.
28451         (CFLAGS-fgets_chk.c): Likewise.
28452         (CFLAGS-fgets_u_chk.c): Likewise.
28453         (CFLAGS-fread_chk.c): Likewise.
28454         (CFLAGS-fread_u_chk.c): Likewise.
28455         (CFLAGS-wprintf_chk.c): Likewise.
28456         (CFLAGS-fwprintf_chk.c): Likewise.
28457         (CFLAGS-vwprintf_chk.c): Likewise.
28458         (CFLAGS-vfwprintf_chk.c): Likewise.
28459         (CFLAGS-fgetws_chk.c): Likewise.
28460         (CFLAGS-fgetws_u_chk.c): Likewise.
28461         * libio/Makefile (CFLAGS-fileops.c): Likewise.
28462         (CFLAGS-fputc.c): Likewise.
28463         (CFLAGS-fputwc.c): Likewise.
28464         (CFLAGS-freopen64.c): Likewise.
28465         (CFLAGS-freopen.c): Likewise.
28466         (CFLAGS-fseek.c): Likewise.
28467         (CFLAGS-fseeko64.c): Likewise.
28468         (CFLAGS-fseeko.c): Likewise.
28469         (CFLAGS-ftello64.c): Likewise.
28470         (CFLAGS-ftello.c): Likewise.
28471         (CFLAGS-fwide.c): Likewise.
28472         (CFLAGS-genops.c): Likewise.
28473         (CFLAGS-getc.c): Likewise.
28474         (CFLAGS-getchar.c): Likewise.
28475         (CFLAGS-getwc.c): Likewise.
28476         (CFLAGS-getwchar.c): Likewise.
28477         (CFLAGS-iofclose.c): Likewise.
28478         (CFLAGS-iofflush.c): Likewise.
28479         (CFLAGS-iofgetpos64.c): Likewise.
28480         (CFLAGS-iofgetpos.c): Likewise.
28481         (CFLAGS-iofgets.c): Likewise.
28482         (CFLAGS-iofgetws.c): Likewise.
28483         (CFLAGS-iofputs.c): Likewise.
28484         (CFLAGS-iofputws.c): Likewise.
28485         (CFLAGS-iofread.c): Likewise.
28486         (CFLAGS-iofsetpos64.c): Likewise.
28487         (CFLAGS-iofsetpos.c): Likewise.
28488         (CFLAGS-ioftell.c): Likewise.
28489         (CFLAGS-iofwrite.c): Likewise.
28490         (CFLAGS-iogetdelim.c): Likewise.
28491         (CFLAGS-iogetline.c): Likewise.
28492         (CFLAGS-iogets.c): Likewise.
28493         (CFLAGS-iogetwline.c): Likewise.
28494         (CFLAGS-ioputs.c): Likewise.
28495         (CFLAGS-ioseekoff.c): Likewise.
28496         (CFLAGS-ioseekpos.c): Likewise.
28497         (CFLAGS-iosetbuffer.c): Likewise.
28498         (CFLAGS-iosetvbuf.c): Likewise.
28499         (CFLAGS-ioungetc.c): Likewise.
28500         (CFLAGS-ioungetwc.c): Likewise.
28501         (CFLAGS-oldfileops.c): Likewise.
28502         (CFLAGS-oldiofclose.c): Likewise.
28503         (CFLAGS-oldiofgetpos64.c): Likewise.
28504         (CFLAGS-oldiofgetpos.c): Likewise.
28505         (CFLAGS-oldiofsetpos64.c): Likewise.
28506         (CFLAGS-oldiofsetpos.c): Likewise.
28507         (CFLAGS-peekc.c): Likewise.
28508         (CFLAGS-putc.c): Likewise.
28509         (CFLAGS-putchar.c): Likewise.
28510         (CFLAGS-putwc.c): Likewise.
28511         (CFLAGS-putwchar.c): Likewise.
28512         (CFLAGS-rewind.c): Likewise.
28513         (CFLAGS-wfileops.c): Likewise.
28514         (CFLAGS-wgenops.c): Likewise.
28515         (CFLAGS-oldiofopen.c): Likewise.
28516         (CFLAGS-iofopen.c): Likewise.
28517         (CFLAGS-iofopen64.c): Likewise.
28518         (CFLAGS-oldtmpfile.c): Likewise.
28519         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
28520         (CFLAGS-fprintf.c): Likewise.
28521         (CFLAGS-printf.c): Likewise.
28522         (CFLAGS-vfwprintf.c): Likewise.
28523         (CFLAGS-vfscanf.c): Likewise.
28524         (CFLAGS-vfwscanf.c): Likewise.
28525         (CFLAGS-fscanf.c): Likewise.
28526         (CFLAGS-scanf.c): Likewise.
28527         (CFLAGS-isoc99_vfscanf.c): Likewise.
28528         (CFLAGS-isoc99_vscanf.c): Likewise.
28529         (CFLAGS-isoc99_fscanf.c): Likewise.
28530         (CFLAGS-isoc99_scanf.c): Likewise.
28531         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
28532         (CFLAGS-isoc99_fwscanf.c): Likewise.
28533         (CFLAGS-isoc99_vwscanf.c): Likewise.
28534         (CFLAGS-isoc99_vfwscanf.c): Likewise.
28536         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
28537         after mkstemp64.
28538         * login/tst-utmp.c (do_prepare): Likewise.
28539         * rt/tst-aio.c (do_prepare): Likewise.
28540         * rt/tst-aio64.c (do_prepare): Likewise.
28542 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28544         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
28545         (__lll_lock_elision): Remove adapt_count decrement...
28546         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
28547         (__lll_trylock_elision): Likewise.
28548         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
28549         (__lll_unlock_elision): ... to here. And utilize
28550         new adapt_count parameter.
28551         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
28552         (__lll_unlock_elision): Update to include adapt_count
28553         parameter.
28554         (lll_unlock_elision): Pass pointer to adapt_count
28555         variable.
28557 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28559         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
28560         Add elision adapt_count parameter to list of arguments.
28561         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
28562         (lll_unlock_elision): Update with new parameter list
28563         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
28564         (lll_unlock_elision): Likewise.
28565         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
28566         (lll_unlock_elision): Likewise.
28568 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28570         [BZ #19122]
28571         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
28572         attribute_hidden.
28574         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
28575         attribute_hidden.
28576         [IS_IN (rtld)] (__strdup): Likewise.
28577         [IS_IN (rtld)] (__strerror_r): Likewise.
28578         [IS_IN (rtld)] (__strsep_g): Likewise.
28579         [IS_IN (rtld)] (memchr): Likewise.
28580         [IS_IN (rtld)] (memcmp): Likewise.
28581         [IS_IN (rtld)] (memcpy): Likewise.
28582         [IS_IN (rtld)] (memmove): Likewise.
28583         [IS_IN (rtld)] (memset): Likewise.
28584         [IS_IN (rtld)] (rawmemchr): Likewise.
28585         [IS_IN (rtld)] (stpcpy): Likewise.
28586         [IS_IN (rtld)] (strchr): Likewise.
28587         [IS_IN (rtld)] (strcmp): Likewise.
28588         [IS_IN (rtld)] (strlen): Likewise.
28589         [IS_IN (rtld)] (strnlen): Likewise.
28590         [IS_IN (rtld)] (strsep): Likewise.
28592         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
28593         attribute_hidden.
28594         [IS_IN (rtld)] (__strtoul_internal): Likewise.
28596         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
28597         attribute_hidden.
28598         [IS_IN (rtld)] (__libc_sigaction): Likewise.
28600         * include/setjmp.h (__longjmp): Add attribute_hidden.
28601         [IS_IN (rtld)] (__sigsetjmp): Likewise.
28603         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
28604         Add attribute_hidden.
28606         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
28607         [IS_IN (rtld)] (__open): Likewise.
28608         [IS_IN (rtld)] (__fcntl): Likewise.
28610         * include/dirent.h (__opendirat): Add attribute_hidden.
28611         (__getdents): Likewise.
28612         (__getdents64): Likewise.
28613         (__alloc_dir): Likewise.
28614         [IS_IN (rtld)] (__closedir): Likewise.
28615         [IS_IN (rtld)] (__fdopendir): Likewise.
28616         [IS_IN (rtld)] (__readdir): Likewise.
28617         [IS_IN (rtld)] (__readdir64): Likewise.
28618         [IS_IN (rtld)] (__rewinddir): Likewise.
28620         * include/dlfcn.h (_dl_catch_error): Moved to ...
28621         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
28622         attribute_hidden.
28624         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
28625         (_itoa_word): Likewise.
28627         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
28628         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28629         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28630         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
28631         (_dl_higher_prime_number): Likewise.
28632         (_dl_debug_printf_c): Likewise.
28633         (_dl_signal_cerror): Likewise.
28634         (_dl_receive_error): Likewise.
28635         (_dl_reloc_bad_type): Likewise.
28636         (_dl_resolve_conflicts): Likewise.
28637         (_dl_check_all_versions): Likewise.
28638         (_dl_check_map_versions): Likewise.
28639         (_dl_sort_fini): Likewise.
28640         (_dl_debug_initialize): Likewise.
28641         (_dl_init_paths): Likewise.
28642         (_dl_show_auxv): Likewise.
28643         (_dl_next_ld_env_entry): Likewise.
28644         (_dl_important_hwcaps): Likewise.
28645         (_dl_load_cache_lookup): Likewise.
28646         (_dl_update_slotinfo): Likewise.
28647         (_dl_show_scope): Likewise.
28649         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
28650         attribute_hidden.
28651         (_wordcopy_fwd_dest_aligned): Likewise.
28652         (_wordcopy_bwd_aligned): Likewise.
28653         (_wordcopy_bwd_dest_aligned): Likewise.
28655         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28656         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
28657         Likewise.
28658         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
28659         Likewise.
28660         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28662 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28664         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
28665         GCC 5 requirement.
28667 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
28669         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
28670         test.
28671         * sysdeps/i386/configure: Regenerated.
28672         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
28673         code unconditional.
28675         * configure.ac (libc_cv_asm_previous_directive): Remove configure
28676         test.
28677         (libc_cv_asm_popsection_directive): Likewise.
28678         * configure: Regenerated.
28679         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
28680         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
28681         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
28682         (__make_section_unallocated): Make definition unconditional.
28683         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
28684         Remove conditional definition.
28685         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
28686         (__make_section_unallocated): Likewise.
28688         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
28689         * configure: Regenerated.
28690         * config.make.in (static-libgcc): Remove variable.
28691         * Makerules (build-shlib-helper): Use -static-libgcc instead of
28692         $(static-libgcc).
28693         (build-module-helper): Likewise.
28695         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
28696         * configure: Regenerated.
28698 2015-10-15  Florian Weimer  <fweimer@redhat.com>
28700         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
28701         (struct char_buffer): New type.
28702         (char_buffer_start, char_buffer_size, char_buffer_error)
28703         (char_buffer_rewind, char_buffer_add): New functions.
28704         (ADDW): Remove macro, replaced by the char_buffer_add function.
28705         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
28706         of extend_alloca.  Make control flow more explicit.
28708 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28710         [BZ #19137]
28711         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
28712         Add -fomit-frame-pointer.
28713         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
28715 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28717         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
28718         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
28719         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
28720         only if !__GNUC_PREREQ (5,0).
28721         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
28722         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
28723         (INTERNAL_SYSCALL_NCS): Likewise.
28724         (LOADREGS_0): New macro for GCC 5.
28725         (ASMARGS_0): Likewise.
28726         (LOADREGS_1): Likewise.
28727         (ASMARGS_1): Likewise.
28728         (LOADREGS_2): Likewise.
28729         (ASMARGS_2): Likewise.
28730         (LOADREGS_3): Likewise.
28731         (ASMARGS_3): Likewise.
28732         (LOADREGS_4): Likewise.
28733         (ASMARGS_4): Likewise.
28734         (LOADREGS_5): Likewise.
28735         (ASMARGS_5): Likewise.
28736         (LOADREGS_6): Likewise.
28737         (ASMARGS_6): Likewise.
28739 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28741         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
28742         -fomit-frame-pointer.
28743         (CFLAGS-mmap64.c): Likewise.
28744         (CFLAGS-semtimedop.c): Likewise.
28745         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
28746         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
28747         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28748         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28750 2015-10-15  Florian Weimer  <fweimer@redhat.com>
28752         [BZ #18928]
28753         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
28754         _dl_pointer_guard member.
28755         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
28756         initializer.
28757         (security_init): Always set up pointer guard.
28758         (process_envvars): Do not process LD_POINTER_GUARD.
28760 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
28762         [BZ #19134]
28763         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
28764         (.LC2): Likewise.
28765         (.LC3): Likewise.
28766         (__lround): Do not add 0.5 to integer or out-of-range arguments.
28768 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28770         [BZ #19129]
28771         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
28772         r0 and r1.
28774 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
28776         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
28778 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
28780         * include/stap-probe.h: Fix macro definition formatting.
28782 2015-10-14  Florian Weimer  <fweimer@redhat.com>
28784         [BZ #19074]
28785         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
28786         load and store num_ifs.
28788 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
28790         [BZ #18822]
28791         * sysdeps/unix/sysv/linux/sched_getaffinity.c
28792         (__sched_getaffinity_new): Add libc_hidden_proto and
28793         libc_hidden_def.
28795 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
28797         [BZ #19007]
28798         * scripts/localplt.awk: Also allow GOT references.
28799         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
28800         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
28801         with "+ REL R_386_GLOB_DAT".
28802         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
28803         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
28805 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
28807         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
28808         INLINE_SYSCALL_ERROR_RETURN_VALUE.
28809         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
28810         Likewise.
28811         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28812         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
28813         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
28814         INTERNAL_SYSCALLINTERNAL_SYSCALL and
28815         INLINE_SYSCALL_ERROR_RETURN_VALUE.
28816         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
28817         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28818         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
28819         Likewise.
28820         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28822 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
28824         [BZ #19125]
28825         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
28826         <math_private.h> and <stdint.h>.
28827         (__llround): Avoid conversions to and from long long int, and
28828         subtractions, where those might raise spurious exceptions.
28829         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
28830         <math_private.h> and <stdint.h>.
28831         (__llroundf): Avoid conversions to and from long long int, and
28832         subtractions, where those might raise spurious exceptions.
28834 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28836         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
28837         INLINE_SYSCALL_ERROR_RETURN_VALUE.
28838         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28839         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
28840         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28841         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28842         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
28843         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
28844         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
28845         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28846         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28847         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28848         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
28849         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28850         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28851         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
28852         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
28853         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
28854         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
28855         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
28856         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28857         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
28858         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
28859         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28860         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
28861         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
28862         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
28863         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
28864         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28865         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
28866         (__xstat64_conv): Likewise.
28867         (__xstat32_conv): Likewise.
28869 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28871         * sysdeps/unix/sysv/linux/sysdep.h: New file.
28872         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
28873         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
28874         <sysdeps/unix/sysv/linux/sysdep.h>.
28875         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28876         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
28877         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
28878         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28879         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28880         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
28881         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
28882         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
28883         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
28884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28886         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28887         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28888         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28889         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28890         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28891         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
28892         (sysdep-dl-routines): Add sysdep.
28893         [$(subdir) == nptl] (libpthread-routines): Likewise.
28894         [$(subdir) == rt] (librt-routines): Likewise.
28895         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
28896         PIC when branching to SYSCALL_ERROR_LABEL.
28897         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
28898         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
28899         <sysdeps/unix/sysv/linux/sysdep.h>.
28900         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
28901         (SYSCALL_ERROR_ERRNO): Removed.
28902         (SYSCALL_ERROR_HANDLER): Changed to empty.
28903         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
28904         (__syscall_error): New prototype.
28905         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
28906         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
28908 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28910         [BZ #19124]
28911         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
28912         (_dl_runtime_resolve_avx512): Make it a hidden alias of
28913         _dl_runtime_resolve_avx.
28914         (_dl_runtime_profile_avx512): Make it a hidden alias of
28915         _dl_runtime_profile_avx.
28917 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
28919         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
28920         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
28921         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
28922         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
28924         [BZ #16422]
28925         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
28926         New configure test.
28927         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
28928         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
28929         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
28930         <math_private.h> and <stdint.h>.
28931         (__llrint): Avoid conversions to long long int where those might
28932         raise spurious exceptions.
28933         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
28934         <math_private.h> and <stdint.h>.
28935         (__llrintf): Avoid conversions to long long int where those might
28936         raise spurious exceptions.
28938 2015-10-12  Andreas Schwab  <schwab@suse.de>
28940         [BZ #18969]
28941         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
28942         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
28943         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
28944         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
28945         $(gen-locales).
28946         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
28947         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
28948         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
28949         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
28950         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
28951         $(gen-locales).
28952         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
28953         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
28954         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
28955         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
28956         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
28957         ($(objpfx)tst-ftell-active-handler.out)
28958         ($(objpfx)tst-ftell-append.out)
28959         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
28960         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
28961         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
28962         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
28963         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
28964         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
28965         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
28966         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
28967         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
28968         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
28969         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
28970         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
28971         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
28972         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
28973         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
28974         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
28975         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
28976         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
28977         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
28978         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
28979         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
28980         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
28981         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
28982         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
28983         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
28984         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
28985         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
28986         $(gen-locales).
28987         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
28988         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
28989         $(gen-locales).
28990         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
28991         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
28992         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
28993         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
28994         $(gen-locales).
28995         * libio/tst_wprintf2.c (main): Use explicit locale.
28996         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
28998 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29000         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29001         __msg_sig_post.
29002         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29004 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
29006         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29007         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29009         * sysdeps/arm/libm-test-ulps: Regenerated.
29011         [BZ #15470]
29012         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29014         [BZ #16399]
29015         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29016         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29017         and <fix-fp-int-convert-overflow.h>.
29018         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29019         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29020         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29021         and <fix-fp-int-convert-overflow.h>.
29022         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29023         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29024         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29025         <fix-fp-int-convert-overflow.h>.
29026         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29027         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29028         * sysdeps/ieee754/dbl-64/s_lround.c: Include
29029         <fix-fp-int-convert-overflow.h>.
29030         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29031         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29032         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29033         and <fix-fp-int-convert-overflow.h>.
29034         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29035         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29036         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29037         <limits.h> and <fix-fp-int-convert-overflow.h>.
29038         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29039         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29040         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29041         and <fix-fp-int-convert-overflow.h>.
29042         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29043         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29044         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29045         and <fix-fp-int-convert-overflow.h>.
29046         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29047         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29048         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29050 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
29052         [BZ #18589]
29053         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29054         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29055         $(gen-locales).
29057 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29058             Phil Blundell <pb@pbcl.net>
29060         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29061         * nptl/tst-cancel26.c: New file.
29062         * nptl/tst-cancel27.c: Likewise.
29064 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
29066         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29067         __ILP32__ isn't defined.
29068         (lrint): Likewise.
29069         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29070         (lrintf): Likewise.
29071         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29072         (lrintl): Likewise.
29073         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29074         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29075         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29077 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29079         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29080         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29082         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29083         file.
29084         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29085         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29087 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
29089         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29090         configure test.
29091         * sysdeps/i386/configure: Regenerated.
29092         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29093         configure test.
29094         * sysdeps/x86_64/configure: Regenerated.
29095         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29096         Make code unconditional.
29098         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29099         test.
29100         * sysdeps/i386/configure: Regenerated.
29101         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
29102         test.
29103         * sysdeps/x86_64/configure: Regenerated.
29104         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
29105         Make code unconditional.
29106         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29107         Likewise.
29108         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
29109         Likewise.
29110         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29111         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
29112         code unconditional.
29113         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29114         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
29115         code unconditional.
29116         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29117         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
29118         code unconditional.
29119         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
29120         code unconditional.
29121         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29122         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
29123         code unconditional.
29124         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29125         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
29126         code unconditional.
29127         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29128         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
29129         code unconditional.
29130         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29131         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
29132         code unconditional.
29133         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29134         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
29136         [BZ #19095]
29137         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
29138         mantissa to long int before shifting left.
29140 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
29142         [BZ #19094]
29143         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
29144         <limits.h>.
29145         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29146         when result overflows but exception would not result from cast.
29147         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
29148         <limits.h>.
29149         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29150         when result overflows but exception would not result from cast.
29151         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
29152         <limits.h>.
29153         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29154         when result overflows but exception would not result from cast.
29155         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
29156         <limits.h>.
29157         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29158         when result overflows but exception would not result from cast.
29159         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
29160         <limits.h>.
29161         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29162         when result overflows but exception would not result from cast.
29163         * math/libm-test.inc (lrint_test_data): Add more tests.
29164         (llrint_test_data): Likewise.
29166 2015-10-08  Roland McGrath  <roland@hack.frob.com>
29168         [BZ #18872]
29169         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
29170         Move out from under [$(run-built-tests) = yes] conditional.
29171         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
29172         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
29174 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
29176         [BZ #18589]
29177         * string/Makefile (tests): Add bug-strcoll2.
29178         (LOCALES): Add cs_CZ.UTF-8.
29179         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
29181         [BZ #18589]
29182         * string/bug-strcoll2.c: New file.
29183         * locale/categories.def: Revert commit
29184         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
29185         * locale/langinfo.h: Likewise.
29186         * locale/localeinfo.h: Likewise.
29187         * locale/C-collate.c: Likewise.
29188         * locale/programs/ld-collate.c (collate_output): Likewise.
29189         * string/strcoll_l.c (STRDIFF): Likewise.
29190         (STRCOLL): Likewise.
29191         * wcsmbs/wcscoll_l.c: Likewise.
29193 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
29195         * math/libm-test.inc (lround_test_data): Do not expect the absence
29196         of "inexact" for some tests with non-integer arguments.
29197         (llround_test_data): Likewise.
29199         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
29200         test.
29201         (libc_cv_cc_sse2avx): Likewise.
29202         * sysdeps/i386/configure: Regenerated.
29203         * sysdeps/i386/i686/multiarch/Makefile
29204         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
29205         [$(subdir) = math].
29206         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
29207         code unconditional.
29208         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29209         Likewise.
29210         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
29211         Likewise.
29212         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29213         Likewise.
29214         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
29215         test.
29216         (libc_cv_cc_sse2avx): Likewise.
29217         * sysdeps/x86_64/configure: Regenerated.
29218         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
29219         unconditional.
29220         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
29221         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
29222         unconditional.
29223         (_dl_runtime_profile)
29224         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
29225         conditional code.
29226         * sysdeps/x86_64/fpu/multiarch/Makefile
29227         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
29228         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29229         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29230         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29231         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29232         * sysdeps/x86_64/fpu/multiarch/e_log.c
29233         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29234         * sysdeps/x86_64/fpu/multiarch/s_atan.c
29235         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29236         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29237         Likewise.
29238         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29239         Likewise.
29240         * sysdeps/x86_64/fpu/multiarch/s_sin.c
29241         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29242         * sysdeps/x86_64/fpu/multiarch/s_tan.c
29243         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29244         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
29245         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
29246         (HAVE_SSE2AVX_SUPPORT): Likewise.
29248 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
29250         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
29251         instead of #pragma optimize.
29253 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
29255         [BZ #17195]
29256         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
29257         as is similarly done in systrim and _int_free already.
29259 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29261         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
29263 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
29265         [BZ #19088]
29266         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
29267         <limits.h>.
29268         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29269         overflows but exception would not result from cast.
29270         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
29271         and <limits.h>.
29272         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29273         overflows but exception would not result from cast.
29274         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
29275         <limits.h>.
29276         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29277         overflows but exception would not result from cast.
29278         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
29279         <limits.h>.
29280         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29281         overflows but exception would not result from cast.
29282         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
29283         <limits.h>.
29284         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29285         overflows but exception would not result from cast.
29286         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
29287         <limits.h>.
29288         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29289         overflows but exception would not result from cast.
29290         * math/libm-test.inc (lround_test_data): Add more tests.
29291         (llround_test_data): Likewise.
29293 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
29295         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
29296         (CFLAGS-ialloc.c): Ditto.
29297         (CFLAGS-scheck.c): Ditto.
29299 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
29301         [BZ #19086]
29302         * manual/filesys.texi (Storage Allocation): Fix argument order for
29303         posix_fallocate64.
29305 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
29307         [BZ #19085]
29308         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
29309         exponent below 48 inside case for non-overflowing exponent.
29310         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
29312 2015-10-07  Florian Weimer  <fweimer@redhat.com>
29314         * iconvdata/cp737.h (from_idx): Add const.
29315         * iconvdata/cp775.h (from_idx): Likewise.
29317 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
29319         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
29320         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
29321         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
29323         [BZ #19079]
29324         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
29325         file, conditioned on [!_LP64].
29326         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
29327         [!_LP64] (__lround): Do not define as function or alias.
29328         [!_LP64] (lround): Likewise.
29329         [!_LP64] (__lroundl): Likewise.
29330         [!_LP64] (lroundl): Likewise.
29331         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
29332         macro.
29333         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
29334         Likewise.
29336 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
29338         * math/libm-test.inc (lrint_test_data): Add more tests.
29339         (llrint_test_data): Likewise.
29340         (lround_test_data): Likewise.
29341         (llround_test_data): Likewise.
29343         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
29344         (llrint_test_data): Add tests used for lrint.
29346         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
29347         test.
29348         * sysdeps/i386/configure: Regenerated.
29349         * sysdeps/i386/i686/multiarch/Makefile
29350         [$(config-cflags-sse4) = yes]: Make code unconditional.
29351         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29352         Likewise.
29353         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
29354         Likewise.
29355         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
29356         test.
29357         * sysdeps/x86_64/configure: Regenerated.
29358         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
29359         Make code unconditional.
29360         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29361         Likewise.
29362         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
29363         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
29365         * scripts/rpm2dynsym.sh: Remove file.
29367 2015-10-06  Florian Weimer  <fweimer@redhat.com>
29369         * configure.ac (libc_cv_cxx_thread_local): Define.
29370         * configure: Regenerate.
29371         * config.make.in (have-cxx-thread_local): Define.
29372         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
29373         (LDLIBS-tst-thread_local1): Define.
29374         (tests): Add tst-thread_local1.
29375         [have-cxx-thread_local != yes] (tests-unsupported): Add
29376         tst-thread_local1.
29377         * nptl/tst-thread_local1.cc: New file.
29379 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
29381         [BZ #19078]
29382         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
29383         (u_thres): Likewise.
29384         (__expl): Determine whether to call __kernel_standard_l based on
29385         value of result, not argument.
29387         * math/libm-test.inc (scalb_test_data): Add more expectations for
29388         the "inexact" exception.
29390         [BZ #19077]
29391         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
29392         0.0L for argument 1.0L.
29394         [BZ #19076]
29395         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
29396         constant 0.0L when computing infinite result.
29398 2015-10-06  Florian Weimer  <fweimer@redhat.com>
29400         [BZ #10432]
29401         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
29402         malloc_usable_size.
29404 2015-10-06  Florian Weimer  <fweimer@redhat.com>
29406         [BZ #19018]
29407         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29408         Mangle function pointer before storing it.
29409         (__call_tls_dtors): Demangle function pointer before calling it.
29411 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29413         [BZ #19012]
29414         * iconv/gconv_db.c (gen_steps): Check for additional errors.
29415         Clean up on failure.
29417 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
29419         [BZ #19071]
29420         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
29421         long int variable to store possibly incremented high part of
29422         mantissa.
29423         * math/libm-test.inc (lround_test_data): Add tests used for
29424         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
29425         for tests requiring 64-bit long.  Do not condition tests on
29426         [TEST_FLOAT] unnecessarily.
29427         (llround_test_data): Add tests used for lround.  Add another
29428         expectation for the "inexact" exception.  Do not condition tests
29429         on [TEST_FLOAT] unnecessarily.
29431         [BZ #887]
29432         [BZ #19049]
29433         [BZ #19050]
29434         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
29435         * sysdeps/ieee754/dbl-64/e_log10.c: Include
29436         <fix-int-fp-convert-zero.h>.
29437         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29438         * sysdeps/ieee754/dbl-64/e_log2.c: Include
29439         <fix-int-fp-convert-zero.h>.
29440         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29441         * sysdeps/ieee754/dbl-64/s_erf.c: Include
29442         <fix-int-fp-convert-zero.h>.
29443         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29444         * sysdeps/ieee754/dbl-64/s_logb.c: Include
29445         <fix-int-fp-convert-zero.h>.
29446         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29447         * sysdeps/ieee754/flt-32/e_log10f.c: Include
29448         <fix-int-fp-convert-zero.h>.
29449         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29450         * sysdeps/ieee754/flt-32/e_log2f.c: Include
29451         <fix-int-fp-convert-zero.h>.
29452         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29453         * sysdeps/ieee754/flt-32/s_erff.c: Include
29454         <fix-int-fp-convert-zero.h>.
29455         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29456         * sysdeps/ieee754/flt-32/s_logbf.c: Include
29457         <fix-int-fp-convert-zero.h>.
29458         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29459         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
29460         <fix-int-fp-convert-zero.h>.
29461         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29462         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
29463         <fix-int-fp-convert-zero.h>.
29464         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29465         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
29466         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
29467         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
29468         file.
29469         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
29471 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
29473         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29475 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
29477         [BZ #19059]
29478         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
29479         overflowing computation.
29480         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29481         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29482         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29483         Likewise.
29484         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29485         Likewise.
29486         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
29487         Likewise.
29488         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29489         Likewise.
29490         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29491         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29492         Likewise.
29493         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29494         Likewise.
29495         * math/libm-test.inc (nexttoward_test_data): Add more tests.
29497         * nss/rewrite_field.c (__nss_rewrite_field): Use
29498         internal_function.
29499         * nss/valid_field.c (__nss_valid_field): Likewise.
29500         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29502 2015-10-02  Florian Weimer  <fweimer@redhat.com>
29504         [BZ #18724]
29505         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
29506         (__nss_invalid_field_characters, __nss_valid_field)
29507         (__nss_valid_list_field, __nss_rewrite_field): Declare.
29508         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
29509         tst-field.c: New file.
29510         * nss/Makefile (routines): Add valid_field, rewrite_field.
29511         (tests-static): Define unconditionally.
29512         (tests): Include tests-static.
29513         [build-static-nss] (tests-static): Use append.
29514         [build-static-nss] (tests): Remove modification.
29515         * nss/getent.c (print_group): Call putgrent.  Report error.
29516         (print_gshadow): Call putsgent.  Report error.
29517         (print_passwd): Call putpwent.  Report error.
29518         (print_shadow): Call putspent.  Report error.
29519         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
29520         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
29521         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
29522         name, password, directory, shell fields for valid syntax.  Rewrite
29523         GECOS field to match syntax.
29524         * pwd/Makefile (tests): Add tst-putpwent.
29525         * pwd/tst-putpwent.c: New file.
29526         * grp/putgrent.c (putgrent): Convert to ISO function definition.
29527         Check grName, grpasswd, gr_mem fields for valid syntax.
29528         Change loop variable i to size_t.
29529         * grp/Makefile (tests): Add tst-putgrent.
29530         * grp/tst-putgrent.c: New file.
29531         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
29532         valid syntax.
29533         * shadow/Makefile (tests): Add tst-putspent.
29534         * shadow/tst-putspent.c: New file.
29535         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
29536         sg_mem fields for valid syntax.
29537         * gshadow/Makefile (tests): Add tst-putsgent.
29538         * gshadow/tst-putsgent.c: New file.
29540 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
29542         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
29543         assembly instructions.
29545 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
29547         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
29548         prefix from operands.
29550 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
29552         [BZ #16347]
29553         [BZ #19046]
29554         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
29555         <libc-internal.h>.
29556         (MAXLGM): Do not use diagnostic control macros.
29557         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
29558         threshold for ldbl-128ibm.
29559         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
29560         instead of multiplying by log then subtracting.
29561         * math/auto-libm-test-in: Add more tests of lgamma.
29562         * math/auto-libm-test-out: Regenerated.
29564         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
29565         (TYPE_HEX_DIG): Likewise.
29566         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
29567         precisions when printing floating-point numbers.
29568         (check_float_internal): Likewise.
29570 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
29572         [BZ #16620]
29573         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
29574         of log (10) rounded downward to 48 bits.
29575         (log10_low): Use corresponding low part of log (10).
29577         [BZ #19032]
29578         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
29579         compute result as (x - x) / (x - x) not as 0 / 0.
29580         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29581         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
29583         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29584         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
29585         and expm1.
29586         * math/auto-libm-test-out: Regenerated.
29587         * math/libm-test.inc (acos_test_data): Add more tests.
29588         (asin_test_data): Likewise.
29589         (asinh_test_data): Likewise.
29590         (atan_test_data): Likewise.
29591         (atanh_test_data): Likewise.
29592         (atan2_test_data): Likewise.
29593         (cbrt_test_data): Likewise.
29594         (ceil_test_data): Likewise.
29595         (copysign_test_data): Likewise.
29596         (cos_test_data): Likewise.
29597         (cosh_test_data): Likewise.
29598         (erf_test_data): Likewise.
29599         (erfc_test_data): Likewise.
29600         (exp_test_data): Likewise.
29601         (exp10_test_data): Likewise.
29602         (exp2_test_data): Likewise.
29603         (expm1_test_data): Likewise.
29604         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29606 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
29608         [BZ #19006]
29609         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
29610         to ...
29611         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
29612         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
29613         to ...
29614         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
29615         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
29616         to ...
29617         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
29618         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
29619         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
29620         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
29621         to ...
29622         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
29623         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
29624         Moved to ...
29625         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
29626         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
29627         Moved to ...
29628         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
29629         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
29630         to ...
29631         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
29632         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
29633         Moved to ...
29634         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
29635         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
29636         to ...
29637         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
29638         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
29639         Removed.
29640         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
29641         Likewise.
29642         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
29643         Likewise.
29644         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
29645         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
29646         Likewise.
29647         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
29648         Likewise.
29649         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
29650         Likewise.
29651         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
29652         Likewise.
29653         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
29654         Likewise.
29655         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
29656         Likewise.
29657         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
29658         Likewise.
29659         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
29660         Likewise.
29661         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
29662         Likewise.
29663         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
29664         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
29665         Likewise.
29666         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
29667         Likewise.
29668         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
29669         Likewise.
29670         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
29671         Likewise.
29672         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
29673         Likewise.
29674         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
29675         Replace ../i486/pthread_cond_timedwait.S with
29676         ../pthread_cond_timedwait.S.
29678 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
29680         * math/libm-test.inc (acos_test_data): Refine expectations for
29681         errno and "inexact" exceptions.
29682         (acosh_test_data): Likewise.
29683         (asin_test_data): Likewise.
29684         (asinh_test_data): Likewise.
29685         (atan_test_data): Likewise.
29686         (atanh_test_data): Likewise.
29687         (atan2_test_data): Likewise.
29688         (cbrt_test_data): Likewise.
29689         (ceil_test_data): Likewise.
29690         (copysign_test_data): Likewise.
29691         (cosh_test_data): Likewise.
29692         (erf_test_data): Likewise.
29693         (erfc_test_data): Likewise.
29694         (exp_test_data): Likewise.
29695         (exp10_test_data): Likewise.
29696         (exp2_test_data): Likewise.
29697         (expm1_test_data): Likewise.
29698         (fabs_test_data): Likewise.
29699         (floor_test_data): Likewise.
29700         (fma_test_data): Likewise.
29701         (fmax_test_data): Likewise.
29702         (fmin_test_data): Likewise.
29703         (fmod_test_data): Likewise.
29704         (fpclassify_test_data): Likewise.
29705         (frexp_test_data): Likewise.
29706         (hypot_test_data): Likewise.
29707         (ilogb_test_data): Likewise.
29708         (isgreater_test_data): Likewise.
29709         (isgreaterequal_test_data): Likewise.
29710         (isinf_test_data): Likewise.
29711         (isless_test_data): Likewise.
29712         (islessequal_test_data): Likewise.
29713         (islessgreater_test_data): Likewise.
29714         (isnan_test_data): Likewise.
29715         (isnormal_test_data): Likewise.
29716         (issignaling_test_data): Likewise.
29717         (isunordered_test_data): Likewise.
29718         (j0_test_data): Likewise.
29719         (j1_test_data): Likewise.
29720         (jn_test_data): Likewise.
29721         (lgamma_test_data): Likewise.
29722         (lrint_test_data): Likewise.
29723         (llrint_test_data): Likewise.
29724         (log_test_data): Likewise.
29725         (log10_test_data): Likewise.
29726         (log1p_test_data): Likewise.
29727         (log2_test_data): Likewise.
29728         (logb_test_data): Likewise.
29729         (lround_test_data): Likewise.
29730         (llround_test_data): Likewise.
29731         (modf_test_data): Likewise.
29732         (nearbyint_test_data): Likewise.
29733         (nextafter_test_data): Likewise.
29734         (nexttoward_test_data): Likewise.
29735         (pow_test_data): Likewise.
29736         (remainder_test_data): Likewise.
29737         (remquo_test_data): Likewise.
29738         (rint_test_data): Likewise.
29739         (round_test_data): Likewise.
29740         (signbit_test_data): Likewise.
29741         (sinh_test_data): Likewise.
29742         (sqrt_test_data): Likewise.
29743         (tanh_test_data): Likewise.
29744         (tgamma_test_data): Likewise.
29745         (trunc_test_data): Likewise.
29746         (y0_test_data): Likewise.
29747         (y1_test_data): Likewise.
29748         (yn_test_data): Likewise.
29749         (significand_test_data): Likewise.
29751 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
29753         * manual/filesys.texi (Storage Allocation): Document that
29754         posix_fallocate emulation fails when fd is open with O_WRONLY.
29756 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
29758         [BZ #19016]
29759         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
29760         allow more cases with X^2 + Y^2 >= 0.5.
29761         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
29762         normal element in sum instead of special-casing based on values of
29763         arguments.
29764         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
29765         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
29766         -1 as normal element in sum instead of special-casing based on
29767         values of arguments.
29768         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
29769         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
29770         (__x2y2m1): Update comment.
29771         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
29772         as normal element in sum instead of special-casing based on values
29773         of arguments.
29774         * math/s_clog.c (__clog): Handle more cases using log1p without
29775         hypot.
29776         * math/s_clog10.c (__clog10): Likewise.
29777         * math/s_clog10f.c (__clog10f): Likewise.
29778         * math/s_clog10l.c (__clog10l): Likewise.
29779         * math/s_clogf.c (__clogf): Likewise.
29780         * math/s_clogl.c (__clogl): Likewise.
29781         * math/auto-libm-test-in: Add more tests of clog and clog10.
29782         * math/auto-libm-test-out: Regenerated.
29783         * sysdeps/i386/fpu/libm-test-ulps: Update.
29784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29786 2015-09-28  Martin Sebor  <msebor@redhat.com>
29788         [BZ #18969]
29789         * string/Makefile (LOCALES): Define.
29790         (gen-locales.mk): Include.
29791         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
29792         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
29793         * string/tst-strxfrm2.c (do_test): Print the name of the locale
29794         on setlocale failure.
29796 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
29798         [BZ #18985]
29799         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
29800         (__strftime_internal): Likewise.
29801         * time/tst-strftime.c (do_bz18985): New test.
29802         (do_test): Call it.
29804 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
29806         [BZ #18956]
29807         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
29808         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
29809         extracting high part.
29810         * math/auto-libm-test-in: Add another test of pow.
29811         * math/auto-libm-test-out: Regenerated.
29812         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29814 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
29816         [BZ #18825]
29817         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
29818         New macro.
29819         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
29820         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29821         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
29822         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
29823         DBL_NARROW_EVAL, reloading the PIC register as needed.
29824         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
29825         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
29826         FLT_NARROW_EVAL.  Use separate return path for case when first
29827         argument is NaN.
29828         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
29829         DEFINE_LDBL_MIN.
29830         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
29831         PIC register.
29832         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
29833         math_check_force_underflow_nonneg.
29834         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
29835         underflow for subnormal result.
29836         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
29837         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
29838         math_check_force_underflow_nonneg.
29839         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
29840         math_check_force_underflow.
29841         * sysdeps/x86_64/fpu/x86_64-math-asm.h
29842         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
29843         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
29844         DEFINE_LDBL_MIN.
29845         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
29846         * math/auto-libm-test-in: Add more tests of pow.
29847         * math/auto-libm-test-out: Regenerated.
29849 2015-09-25  Florian Weimer  <fweimer@redhat.com>
29851         * nss/bug17079.c (init_test_items): Add diagnostic for
29852         inconsistent entries.
29853         (test_buffer_size): Skip inconsistent entries.
29855 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
29857         [BZ #13304]
29858         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
29859         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
29860         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
29862         [BZ #13304]
29863         * sysdeps/microblaze/s_fma.c: New file.
29864         * sysdeps/microblaze/s_fmaf.c: Likewise.
29865         * sysdeps/microblaze/sfp-machine.h: Likewise.
29867 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
29869         [BZ #17250]
29870         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
29871         member.
29873 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
29875         [BZ #18803]
29876         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
29877         (MO): New macro.
29878         (__ieee754_hypot) [PIC]: Load PIC register.
29879         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
29880         DBL_NARROW_EVAL.
29881         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
29882         math_check_force_underflow_nonneg in case where result might be
29883         tiny.
29884         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29885         Likewise.
29886         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29887         Likewise.
29888         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
29889         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
29890         * math/auto-libm-test-in: Add more tests of hypot.
29891         * math/auto-libm-test-out: Regenerated.
29893 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
29895         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
29897 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
29899         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
29900         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
29901         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
29902         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
29903         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
29904         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
29905         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
29907         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
29908         LOAD_PIC_REG.
29910         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
29911         (FLT_CHECK_FORCE_UFLOW): Likewise.
29912         (DBL_CHECK_FORCE_UFLOW): Likewise.
29913         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
29914         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
29915         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
29916         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29917         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29918         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29919         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29920         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29921         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
29922         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29923         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
29924         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
29925         (flt_min): Replace with use of DEFINE_FLT_MIN.
29926         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
29927         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
29928         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29929         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
29930         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
29931         (flt_min): Replace with use of DEFINE_FLT_MIN.
29932         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
29933         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
29934         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29935         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
29936         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
29937         (flt_min): Replace with use of DEFINE_FLT_MIN.
29938         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
29939         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
29940         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
29941         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
29942         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
29943         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
29944         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
29945         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
29946         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29947         (__atan): Use DBL_CHECK_FORCE_UFLOW.
29948         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
29949         (flt_min): Replace with use of DEFINE_FLT_MIN.
29950         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
29951         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
29952         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29953         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
29954         main computation.
29955         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
29956         (flt_min): Replace with use of DEFINE_FLT_MIN.
29957         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
29958         main computation.
29959         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
29960         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29961         (MO): New macro.
29962         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
29963         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
29964         (flt_min): Replace with use of DEFINE_FLT_MIN.
29965         (MO): New macro.
29966         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
29967         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
29968         (__log1pl): Use MO.
29970         [BZ #19003]
29971         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
29972         $(config-cflags-nofma).
29974 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29976         * sysdeps/aarch64/libm-test-ulps: Regenerated.
29978 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
29980         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
29981         (TWO127): Likewise.
29983         * sysdeps/generic/math_private.h (fabs_tg): New macro.
29984         (min_of_type): Likewise.
29985         (math_check_force_underflow): Likewise.
29986         (math_check_force_underflow_nonneg): Likewise.
29987         (math_check_force_underflow_complex): Likewise.
29988         * math/e_exp2l.c (__ieee754_exp2l): Use
29989         math_check_force_underflow_nonneg.
29990         * math/k_casinh.c (__kernel_casinh): Likewise.
29991         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29992         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29993         * math/s_catan.c (__catan): Use
29994         math_check_force_underflow_complex.
29995         * math/s_catanf.c (__catanf): Likewise.
29996         * math/s_catanh.c (__catanh): Likewise.
29997         * math/s_catanhf.c (__catanhf): Likewise.
29998         * math/s_catanhl.c (__catanhl): Likewise.
29999         * math/s_catanl.c (__catanl): Likewise.
30000         * math/s_ccosh.c (__ccosh): Likewise.
30001         * math/s_ccoshf.c (__ccoshf): Likewise.
30002         * math/s_ccoshl.c (__ccoshl): Likewise.
30003         * math/s_cexp.c (__cexp): Likewise.
30004         * math/s_cexpf.c (__cexpf): Likewise.
30005         * math/s_cexpl.c (__cexpl): Likewise.
30006         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30007         * math/s_clog10.c (__clog10): Likewise.
30008         * math/s_clog10f.c (__clog10f): Likewise.
30009         * math/s_clog10l.c (__clog10l): Likewise.
30010         * math/s_clogf.c (__clogf): Likewise.
30011         * math/s_clogl.c (__clogl): Likewise.
30012         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30013         * math/s_csinf.c (__csinf): Likewise.
30014         * math/s_csinh.c (__csinh): Likewise.
30015         * math/s_csinhf.c (__csinhf): Likewise.
30016         * math/s_csinhl.c (__csinhl): Likewise.
30017         * math/s_csinl.c (__csinl): Likewise.
30018         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30019         * math/s_csqrtf.c (__csqrtf): Likewise.
30020         * math/s_csqrtl.c (__csqrtl): Likewise.
30021         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30022         * math/s_ctanf.c (__ctanf): Likewise.
30023         * math/s_ctanh.c (__ctanh): Likewise.
30024         * math/s_ctanhf.c (__ctanhf): Likewise.
30025         * math/s_ctanhl.c (__ctanhl): Likewise.
30026         * math/s_ctanl.c (__ctanl): Likewise.
30027         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30028         instead of volatile.
30029         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30030         math_check_force_underflow.
30031         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30032         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30033         volatile when forcing underflow.
30034         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30035         math_check_force_underflow_nonneg.
30036         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30037         Likewise.
30038         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30039         math_check_force_underflow.
30040         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30041         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30042         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30043         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30044         math_check_force_underflow_nonneg.
30045         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30046         math_check_force_underflow.
30047         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30048         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30049         instead of volatile.
30050         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30051         math_check_force_underflow.
30052         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30053         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30054         math_check_force_underflow_nonneg.
30055         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30056         math_check_force_underflow.
30057         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30058         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30059         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30060         math_check_force_underflow_nonneg.
30061         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30062         Likewise.
30063         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30064         math_check_force_underflow.
30065         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30066         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30067         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30068         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30069         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30070         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30071         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30072         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30073         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30074         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30075         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30076         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30077         Likewise.
30078         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30079         math_check_force_underflow_nonneg.
30080         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30081         Likewise.
30082         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30083         math_check_force_underflow.
30084         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30085         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30086         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30087         Likewise.
30088         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30089         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30090         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30091         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30092         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30093         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30094         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30095         instead of volatile.
30096         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30097         math_check_force_underflow.
30098         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30099         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
30100         math_check_force_underflow.
30101         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
30102         Likewise.
30103         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30104         Use math_check_force_underflow_nonneg.
30105         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
30106         math_check_force_underflow.
30107         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
30108         Likewise.
30109         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30110         Likewise.
30111         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30112         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30113         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30114         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30115         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
30116         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30117         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30118         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30119         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
30120         math_check_force_underflow_nonneg.
30121         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
30122         math_check_force_underflow.
30123         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30124         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30125         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
30126         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
30127         math_check_force_underflow_nonneg.
30128         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
30129         math_check_force_underflow.
30130         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30131         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
30132         instead of volatile.
30133         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
30134         math_check_force_underflow.
30136         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
30137         * stdlib/strtod_l.c: Include <math_private.h>.
30138         (overflow_value): Use math_narrow_eval.
30139         (underflow_value): Likewise.
30140         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30141         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30142         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
30143         (__ieee754_gamma_r): Likewise.
30144         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
30145         Likewise.
30146         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
30147         Likewise.
30148         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
30149         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
30150         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30151         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30152         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
30153         (__ieee754_gammaf_r): Likewise.
30154         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
30155         Likewise.
30156         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
30157         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
30158         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30159         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30160         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
30161         volatile.
30162         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30163         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
30164         math_narrow_eval.
30165         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30166         Likewise.
30167         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30168         Likewise.
30169         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
30170         Likewise.
30171         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
30172         volatile.
30173         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30174         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
30175         math_narrow_eval.
30176         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30177         Likewise.
30178         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30179         Likewise.
30181 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
30183         * nptl/Versions: Remove ignored symbols.
30185 2015-09-22  Florian Weimer  <fweimer@redhat.com>
30187         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
30188         * nss/Makefile (tests): Update.
30190 2015-09-22  Florian Weimer  <fweimer@redhat.com>
30192         * nss/bug18287.c: New file.
30193         * nss/Makefile (tests): Add bug18287.
30195 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30197         * mach/Versions (__mach_host_self_): Add symbol.
30199 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30201         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
30202         vm_page_size.
30204 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30206         Really fix sysdeps/i386/fpu/s_scalbn.S build
30208         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
30209         (libc: GLIBC_2_22): Remove unused version set.
30211 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
30213         * config.make.in (enable-timezone-tools): New variable.
30214         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
30215         (enable_timezone_tools): Export to generated files.
30216         * configure: Regenerate.
30217         * INSTALL: Regenerate.
30218         * manual/install.texi (--disable-timezone-tools): Document new flag.
30219         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
30220         ifeq ($(enable-timezone-tools),yes) check.
30222 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30224         * timezone/Makefile: Revert previous change.
30226         [BZ #18980]
30227         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
30228         (DEFINE_DBL_MIN): Likewise.
30229         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30230         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30231         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30232         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30233         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
30234         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30235         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30236         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
30237         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
30238         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30239         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30240         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
30241         (flt_min): Replace with use of DEFINE_FLT_MIN.
30242         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30243         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
30244         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30245         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30246         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
30247         (flt_min): Replace with use of DEFINE_FLT_MIN.
30248         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30249         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
30250         (flt_min): Replace with use of DEFINE_FLT_MIN.
30251         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30252         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
30253         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
30254         (__ieee754_hypot): Use DBL_NARROW_EVAL.
30255         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
30256         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
30257         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
30258         (__ieee754_pow): Use DBL_NARROW_EVAL.
30259         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
30260         (__ieee754_powf): Use FLT_NARROW_EVAL.
30261         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
30262         (__ieee754_expf_sse2): Convert double-precision result to single
30263         precision.
30264         * sysdeps/i386/fpu/libm-test-ulps: Update.
30266 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30268         * timezone/Makefile: Ignore unused variable errors due to private.h
30269         (time_t_min) and (time_t_max).
30270         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
30271         Likewise.
30273 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30275         [BZ #18981]
30276         * sysdeps/i386/fpu/i386-math-asm.h: New file.
30277         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
30278         (__ieee754_scalb): Use DBL_NARROW_EVAL.
30279         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
30280         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
30281         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
30282         (__scalbn): Use DBL_NARROW_EVAL.
30283         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
30284         (__scalbnf): Use FLT_NARROW_EVAL.
30286 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30288         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
30289         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
30290         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
30291         * stdio-common/printf_fp.c (___printf_fp):
30292         Use signbit to get the sign. Use isinf macro to allow inlining.
30293         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
30294         * stdio-common/printf_size.c (__printf_size): Likewise.
30296 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
30298         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
30300 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30302         [BZ #18980]
30303         * sysdeps/generic/math_private.h: Include <float.h>.
30304         (math_narrow_eval): New macro.
30305         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
30306         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
30307         math_narrow_eval on overflowing return value.
30308         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
30309         Likewise.
30310         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30311         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
30312         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
30313         Likewise.
30314         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30316 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30318         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
30319         * math/Makefile: Remove isinf_ns.c.
30320         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
30321         * math/multc3.c (__multc3): Likewise.
30322         * math/s_casin.c (__casin): Likewise.
30323         * math/s_casinf.c (__casinf): Likewise.
30324         * math/s_casinl.c (__casinl): Likewise.
30325         * math/s_cproj.c (__cproj): Likewise.
30326         * math/s_cprojf.c (__cprojf): Likewise.
30327         * math/s_cprojl.c (__cprofl): Likewise.
30328         * math/s_ctan.c (__ctan): Likewise.
30329         * math/s_ctanf.c (__ctanf): Likewise.
30330         * math/s_ctanh.c (__ctanh): Likewise.
30331         * math/s_ctanhf.c (__ctanhf): Likewise.
30332         * math/s_ctanhl.c (__ctanhl): Likewise.
30333         * math/s_ctanl.c (__ctanl): Likewise.
30334         * math/w_fmod.c (__fmod): Likewise.
30335         * math/w_fmodf.c (__fmodf): Likewise.
30336         * math/w_fmodl.c (_fmodl): Likewise.
30337         * math/w_remainder.c (__remainder): Likewise.
30338         * math/w_remainderf.c (__remainderf): Likewise.
30339         * math/w_remainderl.c (__remainderl): Likewise.
30340         * math/w_scalb.c (__scalb): Likewise.
30341         * math/w_scalbf.c (__scalbf): Likewise.
30342         * math/w_scalbl.c (__scalbl): Likewise.
30343         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
30344         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
30345         with isinf.
30346         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
30347         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
30348         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
30349         __isinf_nsf with isinf.
30350         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
30351         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
30352         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
30353         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
30354         with isinf.
30355         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
30356         __isinf_nsl with isinf.
30357         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
30358         with isinf.
30359         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
30360         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
30361         __isinf_nsl with isinf.
30362         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
30363         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
30364         with isinf.
30366 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30368         * resolv/base64.c (rcsid): Remove unused static.
30369         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
30370         static.  (tqpi1): Likewise.
30371         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
30372         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
30373         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
30374         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
30375         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
30376         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
30377         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
30378         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
30379         Likewise.
30381 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
30383         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
30384         <nptl/pthreadP.h>.
30385         (_longjmp_unwind): Use __libc_ptf_call.
30386         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
30388 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
30390         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
30391         * sysdeps/arm/__longjmp.S: Likewise.
30393 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30395         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
30396         Use __builtin_signbit.
30397         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
30398         Use __builtin_signbitf.
30399         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
30400         Use __builtin_signbitl.
30401         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30402         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
30404 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30406         [BZ #15367]
30407         [BZ #17441]
30409         * math/Makefile: Build test-snan.c with -fsignaling-nans.
30410         * math/math.h (fpclassify): Use __builtin_fpclassify when
30411         available.  (signbit): Use __builtin_signbit(f/l).
30412         (isfinite): Use__builtin_isfinite.  (isnormal): Use
30413         __builtin_isnormal.  (isnan): Use __builtin_isnan.
30414         (isinf): Use __builtin_isinf_sign.
30416 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30418         * benchtests/Makefile: Add bench-math-inlines, link with libm.
30419         * benchtests/bench-math-inlines.c: New benchmark.
30420         * benchtests/bench-util.h: New file.
30421         * benchtests/bench-util.c: New file.
30422         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
30424 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
30426         * elf/tst-dlmopen1.c: Define TEST_SO.
30427         (do_test): Use TEST_SO.
30429         * elf/dl-load.c: Include libc-internal.h.
30430         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
30432 2015-09-18  Vincent Bernat  <vincent@bernat.im>
30434         [BZ #17887]
30435         * time/strptime_l.c (__strptime_internal): Make %z accept
30436         [+-]HH:MM time zones.
30438 2015-09-18  Vincent Bernat  <vincent@bernat.im>
30440         [BZ #17886]
30441         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
30442         valid time zone.
30444 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
30446         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
30447         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
30448         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30449         (__ASSUME_FDATASYNC): Delete.
30451 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
30453         * conform/linknamespace.pl: Require weak undefined symbols to be
30454         in the standard namespace.
30455         (%strong_syms): Rename to %seen_syms.
30456         (%strong_seen): Rename to %seen_where.
30458 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
30460         [BZ #18970]
30461         * misc/error.c (error): Replace pthread_setcancelstate with
30462         __pthread_setcancelstate.
30463         (error_at_line): Likewise.
30464         * posix/wordexp.c (parse_comm): Likewise.
30465         * stdlib/fmtmsg.c (fmtmsg): Likewise.
30466         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
30467         (__pthread_setcancelstate): This.
30468         (pthread_setcancelstate): Add an alias.
30469         * nptl/nptl-init.c (pthread_functions): Replace
30470         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
30471         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
30472         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
30473         hidden_proto.
30474         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
30475         it with hidden_def.
30476         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
30477         (pthread_setcancelstate): Renamed to ...
30478         (__pthread_setcancelstate): This.
30479         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
30480         __libc_ptf_call with __pthread_setcancelstate.
30482 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
30483             Andreas Schwab  <schwab@suse.de>
30485         [BZ #17118]
30486         * math/s_ctan.c (__ctan): Determine sign of zero real part of
30487         result when imaginary part of argument is infinite using sine and
30488         cosine.
30489         * math/s_ctanf.c (__ctanf): Likewise.
30490         * math/s_ctanl.c (__ctanl): Likewise.
30491         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
30492         of result when real part of argument is infinite using sine and
30493         cosine.
30494         * math/s_ctanhf.c (__ctanhf): Likewise.
30495         * math/s_ctanhl.c (__ctanhl): Likewise.
30496         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
30497         (ctanh_test_data): Add more tests of ctanh.
30499 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
30501         [BZ #15384]
30502         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
30503         bit-mask as in subtraction.
30504         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
30505         Likewise.
30506         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
30507         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
30508         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
30510         [BZ #18951]
30511         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
30512         underflow exception for small results.
30513         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30514         Likewise.
30515         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30516         Likewise.
30517         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30518         Likewise.
30519         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
30520         Likewise.
30521         * math/auto-libm-test-in: Add more tests of tgamma.
30522         * math/auto-libm-test-out: Regenerated.
30524 2015-09-17  Andreas Schwab  <schwab@suse.de>
30526         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
30528 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
30530         [BZ #18977]
30531         * math/bits/mathcalls.h
30532         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
30533         not declare.
30534         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
30535         Likewise.
30536         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
30537         Likewise.
30538         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
30539         Likewise.
30540         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
30541         Likewise.
30542         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
30543         Likewise.
30544         * conform/data/math.h-data
30545         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
30546         function.
30547         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
30548         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
30549         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
30550         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
30551         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
30552         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
30553         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
30554         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
30555         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
30556         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
30557         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
30559         [BZ #6803]
30560         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
30561         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
30562         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
30563         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
30564         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
30565         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
30566         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
30567         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
30568         [NO_LONG_DOUBLE] (scalbnl): Likewise.
30569         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
30570         Likewise.
30571         [NO_LONG_DOUBLE] (scalbnl): Likewise.
30572         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
30573         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
30574         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
30575         long_double_symbol calls.
30576         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
30577         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
30578         strong alias of __ldexpl.
30579         (scalbnl): Define using long_double_symbol.
30580         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
30581         Remove alias.
30582         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
30583         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
30584         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
30585         (scalbln_test_data): Add more errno expectations.
30587 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
30589         Cache the host port like we cache the task port.  This way we do not
30590         need to call the kernel just to get the port.  Furthermore, we no
30591         longer increase the reference count on every invocation of
30592         `mach_host_self'.
30594         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
30595         Protect declarations against the macro expansion.
30596         * mach/mach_init.c (__mach_host_self_): New variable.
30597         (mach_init): Initialize `__mach_host_self_'.
30598         * mach/mach_init.h (__mach_host_self_): New declaration.
30599         (__mach_host_self, mach_host_self): New macros.
30600         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
30601         Release reference.
30603 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
30605         [BZ #4404]
30606         * po/de.po: Update from Translation Project.
30608         [BZ #16415]
30609         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
30610         (__expm1l): Remove code to handle positive infinity and overflow.
30611         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
30612         variable.
30613         (__expm1l): Remove code to handle positive infinity and overflow.
30615 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
30616             Paul Pluzhnikov  <ppluzhnikov@google.com>
30618         [BZ #18872]
30619         * stdio-common/Makefile (tst-printf-bz18872): New test.
30620         (tst-printf-bz18872-mem.out): Likewise.
30621         * stdio-common/tst-printf-bz18872.sh: Generate new test.
30622         * stdio-common/vfprintf.c: Fix memory leaks.
30624 2015-09-16  Andreas Schwab  <schwab@suse.de>
30626         [BZ #17244]
30627         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
30628         Remove extra va_start/va_end calls.
30630         [BZ #17243]
30631         * posix/execl.c (execl): Add missing va_end.
30632         * posix/execle.c (execle): Likewise.
30633         * posix/execlp.c (execlp): Likewise.
30635 2015-09-15  Roland McGrath  <roland@hack.frob.com>
30637         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
30638         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
30640 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
30642         [BZ #18967]
30643         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
30644         undefine around includes of <bits/mathcalls.h>.
30645         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
30646         not declare function.
30647         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
30648         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
30649         (scalb): Likewise.
30650         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
30651         not define macro.
30652         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
30653         variable.
30654         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
30655         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
30656         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
30658         [BZ #18857]
30659         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
30660         return non-finite argument without doing ordered comparisons on
30661         it.
30663         [BZ #16296]
30664         * math/fenv.h (fegetround): Use __attribute_pure__.
30665         * include/fenv.h (__fegetround): Likewise.
30667         [BZ #18595]
30668         * math/s_ctan.c (__ctan): Force underflow exception for results
30669         whose real or imaginary part has small absolute value.
30670         * math/s_ctanf.c (__ctanf): Likewise.
30671         * math/s_ctanh.c (__ctanh): Likewise.
30672         * math/s_ctanhf.c (__ctanhf): Likewise.
30673         * math/s_ctanhl.c (__ctanhl): Likewise.
30674         * math/s_ctanl.c (__ctanl): Likewise.
30675         * math/auto-libm-test-in: Do not allow missing underflow for ctan
30676         and ctanh.  Add more tests of ctan and ctanh.
30678         [BZ #15918]
30679         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
30680         handling of cases where one argument is an infinity.
30682         [BZ #18875]
30683         [BZ #18966]
30684         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
30685         (MO): New macro.
30686         (__ieee754_exp10): For small results, force underflow exception
30687         and remove excess range and precision from return value.
30688         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
30689         (MO): New macro.
30690         (__ieee754_exp10f): For small results, force underflow exception
30691         and remove excess range and precision from return value.
30692         * math/auto-libm-test-in: Add more tests of exp10.
30693         * math/auto-libm-test-out: Regenerated.
30695 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
30697         [BZ #18875]
30698         [BZ #18961]
30699         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
30700         (MO): New macro.
30701         (__ieee754_exp): For small results, force underflow exception and
30702         remove excess range and precision from return value.
30703         (__exp_finite): Likewise.
30704         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
30705         (MO): New macro.
30706         (__ieee754_expf): For small results, force underflow exception and
30707         remove excess range and precision from return value.
30708         (__expf_finite): Likewise.
30709         * math/auto-libm-test-in: Add more tests of exp.
30710         * math/auto-libm-test-out: Regenerated.
30712         [BZ #16521]
30713         [BZ #18875]
30714         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
30715         small results.
30716         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
30717         (MO): New macro.
30718         (__ieee754_exp2): For small results, force underflow exception and
30719         remove excess range and precision from return value.
30720         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
30721         (MO): New macro.
30722         (__ieee754_exp2f): For small results, force underflow exception
30723         and remove excess range and precision from return value.
30724         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
30725         (MO): New macro.
30726         (__ieee754_exp2l): Force underflow exception for small results.
30727         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
30728         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
30729         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
30730         (MO): New macro.
30731         (__ieee754_exp2l): Force underflow exception for small results.
30732         * math/auto-libm-test-in: Add more tests or exp2.
30733         * math/auto-libm-test-out: Regenerated.
30735 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
30737         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
30739         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
30740         /dev/null.
30742 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30744         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30745         io fs process)): Drop spurious backslash.
30747 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30749         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
30750         Use sysinfo system call instead of parsing /proc/meminfo.
30751         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
30752         Likewise.
30754 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
30756         [BZ #16985]
30757         * programs/localedef.c (main): Display argv[remaining] when
30758         output_path is NULL.
30760 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
30762         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30763         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
30764         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
30765         tanh.
30766         * math/auto-libm-test-out: Regenerated.
30767         * sysdeps/i386/fpu/libm-test-ulps: Update.
30768         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30769         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30772 2015-09-11  Roland McGrath  <roland@hack.frob.com>
30774         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
30775         Use 'override' keyword to freeze the value here, preventing
30776         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
30778 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
30780         [BZ #14912]
30781         * sysdeps/aarch64/bits/atomic.h: Move to ...
30782         * sysdeps/aarch64/atomic-machine.h: ...here.
30783         (_AARCH64_BITS_ATOMIC_H): Rename macro to
30784         _AARCH64_ATOMIC_MACHINE_H.
30785         * sysdeps/alpha/bits/atomic.h: Move to ...
30786         * sysdeps/alpha/atomic-machine.h: ...here.
30787         * sysdeps/arm/bits/atomic.h: Move to ...
30788         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
30789         * bits/atomic.h: Move to ...
30790         * sysdeps/generic/atomic-machine.h: ...here.
30791         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30792         * sysdeps/i386/bits/atomic.h: Move to ...
30793         * sysdeps/i386/atomic-machine.h: ...here.
30794         * sysdeps/ia64/bits/atomic.h: Move to ...
30795         * sysdeps/ia64/atomic-machine.h: ...here.
30796         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
30797         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
30798         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30799         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
30800         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
30801         * sysdeps/microblaze/bits/atomic.h: Move to ...
30802         * sysdeps/microblaze/atomic-machine.h: ...here.
30803         * sysdeps/mips/bits/atomic.h: Move to ...
30804         * sysdeps/mips/atomic-machine.h: ...here.
30805         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
30806         * sysdeps/powerpc/bits/atomic.h: Move to ...
30807         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
30808         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
30809         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
30810         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
30811         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
30812         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
30813         <atomic-machine.h> instead of <bits/atomic.h>.
30814         * sysdeps/s390/bits/atomic.h: Move to ...
30815         * sysdeps/s390/atomic-machine.h: ...here.
30816         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
30817         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
30818         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30819         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
30820         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
30821         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
30822         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
30823         * sysdeps/tile/bits/atomic.h: Move to ...
30824         * sysdeps/tile/atomic-machine.h: ...here.
30825         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
30826         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
30827         <sysdeps/tile/atomic-machine.h> instead of
30828         <sysdeps/tile/bits/atomic.h>.
30829         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30830         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
30831         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
30832         <sysdeps/tile/atomic-machine.h> instead of
30833         <sysdeps/tile/bits/atomic.h>.
30834         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30835         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
30836         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
30837         <sysdeps/arm/atomic-machine.h> instead of
30838         <sysdeps/arm/bits/atomic.h>.
30839         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
30840         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
30841         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30842         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
30843         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
30844         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30845         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
30846         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
30847         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
30848         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
30849         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
30850         * sysdeps/x86_64/bits/atomic.h: Move to ...
30851         * sysdeps/x86_64/atomic-machine.h: ...here.
30852         * include/atomic.h: Include <atomic-machine.h> instead of
30853         <bits/atomic.h>.
30855         * sysdeps/mips/mips32/libm-test-ulps: Update.
30856         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30858         [BZ #18952]
30859         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
30860         not convert non-integer negative arguments to int to determine the
30861         value of signgam.
30862         * math/auto-libm-test-in: Add more tests of lgamma.
30863         * math/auto-libm-test-out: Regenerated.
30865         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
30866         cosh, csqrt, erfc, expm1 and lgamma.
30867         * math/auto-libm-test-out: Regenerated.
30868         * sysdeps/i386/fpu/libm-test-ulps: Update.
30869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30871 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
30873         [BZ #2542]
30874         [BZ #2543]
30875         [BZ #2558]
30876         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
30877         __lgamma_neg for arguments from -28.0 to -2.0.
30878         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
30879         __lgamma_negf for arguments from -15.0 to -2.0.
30880         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30881         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
30882         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
30883         Call __lgamma_negl for arguments from -33.0 to -2.0.
30884         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
30885         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
30886         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
30887         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
30888         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
30889         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
30890         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
30891         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
30892         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
30893         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
30894         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
30895         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
30896         (__lgamma_neg): Likewise.
30897         (__lgamma_negl): Likewise.
30898         (__lgamma_product): Likewise.
30899         (__lgamma_productl): Likewise.
30900         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
30901         * math/auto-libm-test-in: Add more tests of lgamma.
30902         * math/auto-libm-test-out: Regenerated.
30903         * sysdeps/i386/fpu/libm-test-ulps: Update.
30904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30906 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
30908         [BZ #18675]
30909         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
30911 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
30913         [BZ #14912]
30914         * bits/libc-lock.h: Move to ...
30915         * sysdeps/generic/libc-lock.h: ...here.
30916         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30917         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
30918         * sysdeps/mach/hurd/libc-lock.h: ...here.
30919         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30920         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
30921         * sysdeps/mach/bits/libc-lock.h: Move to ...
30922         * sysdeps/mach/libc-lock.h: ...here.
30923         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30924         * sysdeps/nptl/bits/libc-lock.h: Move to ...
30925         * sysdeps/nptl/libc-lock.h: ...here.
30926         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30927         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
30928         * sysdeps/nptl/libc-lockP.h: ...here.
30929         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
30930         * crypt/crypt_util.c: Include <libc-lock.h> instead of
30931         <bits/libc-lock.h>.
30932         * dirent/scandir-tail.c: Likewise.
30933         * dlfcn/dlerror.c: Likewise.
30934         * elf/dl-close.c: Likewise.
30935         * elf/dl-iteratephdr.c: Likewise.
30936         * elf/dl-lookup.c: Likewise.
30937         * elf/dl-open.c: Likewise.
30938         * elf/dl-support.c: Likewise.
30939         * elf/dl-writev.h: Likewise.
30940         * elf/rtld.c: Likewise.
30941         * grp/fgetgrent.c: Likewise.
30942         * gshadow/fgetsgent.c: Likewise.
30943         * gshadow/sgetsgent.c: Likewise.
30944         * iconv/gconv_conf.c: Likewise.
30945         * iconv/gconv_db.c: Likewise.
30946         * iconv/gconv_dl.c: Likewise.
30947         * iconv/gconv_int.h: Likewise.
30948         * iconv/gconv_trans.c: Likewise.
30949         * include/link.h: Likewise.
30950         * inet/getnameinfo.c: Likewise.
30951         * inet/getnetgrent.c: Likewise.
30952         * inet/getnetgrent_r.c: Likewise.
30953         * intl/bindtextdom.c: Likewise.
30954         * intl/dcigettext.c: Likewise.
30955         * intl/finddomain.c: Likewise.
30956         * intl/gettextP.h: Likewise.
30957         * intl/loadmsgcat.c: Likewise.
30958         * intl/localealias.c: Likewise.
30959         * intl/textdomain.c: Likewise.
30960         * libidn/idn-stub.c: Likewise.
30961         * libio/libioP.h: Likewise.
30962         * locale/duplocale.c: Likewise.
30963         * locale/freelocale.c: Likewise.
30964         * locale/newlocale.c: Likewise.
30965         * locale/setlocale.c: Likewise.
30966         * login/getutent_r.c: Likewise.
30967         * login/getutid_r.c: Likewise.
30968         * login/getutline_r.c: Likewise.
30969         * login/utmp-private.h: Likewise.
30970         * login/utmpname.c: Likewise.
30971         * malloc/mtrace.c: Likewise.
30972         * misc/efgcvt.c: Likewise.
30973         * misc/error.c: Likewise.
30974         * misc/fstab.c: Likewise.
30975         * misc/getpass.c: Likewise.
30976         * misc/mntent.c: Likewise.
30977         * misc/syslog.c: Likewise.
30978         * nis/nis_call.c: Likewise.
30979         * nis/nis_callback.c: Likewise.
30980         * nis/nss-default.c: Likewise.
30981         * nis/nss_compat/compat-grp.c: Likewise.
30982         * nis/nss_compat/compat-initgroups.c: Likewise.
30983         * nis/nss_compat/compat-pwd.c: Likewise.
30984         * nis/nss_compat/compat-spwd.c: Likewise.
30985         * nis/nss_nis/nis-alias.c: Likewise.
30986         * nis/nss_nis/nis-ethers.c: Likewise.
30987         * nis/nss_nis/nis-grp.c: Likewise.
30988         * nis/nss_nis/nis-hosts.c: Likewise.
30989         * nis/nss_nis/nis-network.c: Likewise.
30990         * nis/nss_nis/nis-proto.c: Likewise.
30991         * nis/nss_nis/nis-pwd.c: Likewise.
30992         * nis/nss_nis/nis-rpc.c: Likewise.
30993         * nis/nss_nis/nis-service.c: Likewise.
30994         * nis/nss_nis/nis-spwd.c: Likewise.
30995         * nis/nss_nisplus/nisplus-alias.c: Likewise.
30996         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
30997         * nis/nss_nisplus/nisplus-grp.c: Likewise.
30998         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
30999         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31000         * nis/nss_nisplus/nisplus-network.c: Likewise.
31001         * nis/nss_nisplus/nisplus-proto.c: Likewise.
31002         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31003         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31004         * nis/nss_nisplus/nisplus-service.c: Likewise.
31005         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31006         * nis/ypclnt.c: Likewise.
31007         * nptl/libc_pthread_init.c: Likewise.
31008         * nss/getXXbyYY.c: Likewise.
31009         * nss/getXXent.c: Likewise.
31010         * nss/getXXent_r.c: Likewise.
31011         * nss/nss_db/db-XXX.c: Likewise.
31012         * nss/nss_db/db-netgrp.c: Likewise.
31013         * nss/nss_db/nss_db.h: Likewise.
31014         * nss/nss_files/files-XXX.c: Likewise.
31015         * nss/nss_files/files-alias.c: Likewise.
31016         * nss/nsswitch.c: Likewise.
31017         * posix/regex_internal.h: Likewise.
31018         * posix/wordexp.c: Likewise.
31019         * pwd/fgetpwent.c: Likewise.
31020         * resolv/res_hconf.c: Likewise.
31021         * resolv/res_libc.c: Likewise.
31022         * shadow/fgetspent.c: Likewise.
31023         * shadow/lckpwdf.c: Likewise.
31024         * shadow/sgetspent.c: Likewise.
31025         * socket/opensock.c: Likewise.
31026         * stdio-common/reg-modifier.c: Likewise.
31027         * stdio-common/reg-printf.c: Likewise.
31028         * stdio-common/reg-type.c: Likewise.
31029         * stdio-common/vfprintf.c: Likewise.
31030         * stdio-common/vfscanf.c: Likewise.
31031         * stdlib/abort.c: Likewise.
31032         * stdlib/cxa_atexit.c: Likewise.
31033         * stdlib/fmtmsg.c: Likewise.
31034         * stdlib/random.c: Likewise.
31035         * stdlib/setenv.c: Likewise.
31036         * string/strsignal.c: Likewise.
31037         * sunrpc/auth_none.c: Likewise.
31038         * sunrpc/bindrsvprt.c: Likewise.
31039         * sunrpc/create_xid.c: Likewise.
31040         * sunrpc/key_call.c: Likewise.
31041         * sunrpc/rpc_thread.c: Likewise.
31042         * sysdeps/arm/backtrace.c: Likewise.
31043         * sysdeps/generic/ldsodefs.h: Likewise.
31044         * sysdeps/generic/stdio-lock.h: Likewise.
31045         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31046         * sysdeps/i386/backtrace.c: Likewise.
31047         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31048         * sysdeps/m68k/backtrace.c: Likewise.
31049         * sysdeps/mach/hurd/cthreads.c: Likewise.
31050         * sysdeps/mach/hurd/dirstream.h: Likewise.
31051         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31052         * sysdeps/nptl/malloc-machine.h: Likewise.
31053         * sysdeps/nptl/stdio-lock.h: Likewise.
31054         * sysdeps/posix/dirstream.h: Likewise.
31055         * sysdeps/posix/getaddrinfo.c: Likewise.
31056         * sysdeps/posix/system.c: Likewise.
31057         * sysdeps/pthread/aio_suspend.c: Likewise.
31058         * sysdeps/s390/s390-32/backtrace.c: Likewise.
31059         * sysdeps/s390/s390-64/backtrace.c: Likewise.
31060         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31061         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31062         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31063         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31064         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31065         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31066         * sysdeps/unix/sysv/linux/system.c: Likewise.
31067         * sysdeps/x86_64/backtrace.c: Likewise.
31068         * time/alt_digit.c: Likewise.
31069         * time/era.c: Likewise.
31070         * time/tzset.c: Likewise.
31071         * wcsmbs/wcsmbsload.c: Likewise.
31072         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31073         instead of <bits/libc-lock.h> in comment.
31075 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
31077         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31078         Only use .set mips2 if the current ISA is below mips2.
31079         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31080         Likewise.
31081         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31082         mips32r2 if the current ISA is below mips32r2.
31083         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31084         (TLS_IE): Updated to use the TLD_RDHWR macro.
31085         (TLS_LE): Likewise.
31086         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31087         __ASSEMBLER__ condition.
31089 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31091         Fix parallel build of before-compile targets.
31093         * sysdeps/mach/Makefile ($(patsubst
31094         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31095         mach-before-compile target.
31096         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31097         io fs process)): Move rule to dedicated hurd-before-compile target.
31099 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31101         Fix rules generating headers in hurd/ and mach/ when initial make call
31102         has subdir= explicitly set.
31104         * sysdeps/mach/Makefile ($(patsubst
31105         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
31106         calling $(MAKE).
31107         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31108         io fs process)): Force subdir to hurd when calling $(MAKE).
31109         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
31110         subdir to mach when calling $(MAKE).
31112 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
31114         Check sysheaders when looking for Mach and Hurd headers
31116         * sysdeps/mach/configure.ac: Add sysheaders check.
31117         * sysdeps/mach/configure: Regenerate.
31118         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
31119         * sysdeps/mach/hurd/configure: Regenerate.
31121 2015-09-04  Roland McGrath  <roland@hack.frob.com>
31123         [BZ #18921]
31124         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
31125         Fix inverted sense of test of 'o_directory_works' value.
31126         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
31127         Bernhard Voelker <mail@bernhard-voelker.de>.
31129 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
31131         [BZ #14912]
31132         * bits/linkmap.h: Move to ...
31133         * sysdeps/generic/linkmap.h: ...here.
31134         * sysdeps/aarch64/bits/linkmap.h: Move to ...
31135         * sysdeps/aarch64/linkmap.h: ...here.
31136         * sysdeps/arm/bits/linkmap.h: Move to ...
31137         * sysdeps/arm/linkmap.h: ...here.
31138         * sysdeps/hppa/bits/linkmap.h: Move to ...
31139         * sysdeps/hppa/linkmap.h: ...here.
31140         * sysdeps/ia64/bits/linkmap.h: Move to ...
31141         * sysdeps/ia64/linkmap.h: ...here.
31142         * sysdeps/mips/bits/linkmap.h: Move to ...
31143         * sysdeps/mips/linkmap.h: ...here.
31144         * sysdeps/s390/bits/linkmap.h: Move to ...
31145         * sysdeps/s390/linkmap.h: ...here.
31146         * sysdeps/sh/bits/linkmap.h: Move to ...
31147         * sysdeps/sh/linkmap.h: ...here.
31148         * sysdeps/x86/bits/linkmap.h: Move to ...
31149         * sysdeps/x86/linkmap.h: ...here.
31150         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
31152 2015-09-04  Andreas Schwab  <schwab@suse.de>
31154         [BZ #18635]
31155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
31156         (__makecontext): Terminate FDE before return label.
31157         (__novec_makecontext): Likewise.
31159 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31161         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
31162         first member of struct sv in syscall macro.
31164 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
31166         [BZ #14912]
31167         * bits/stdio-lock.h: Move to ...
31168         * sysdeps/generic/stdio-lock.h: ...here.
31169         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31170         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
31171         * sysdeps/nptl/stdio-lock.h: ...here.
31172         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31173         * include/libio.h: Include <stdio-lock.h> instead of
31174         <bits/stdio-lock.h>.
31175         * sysdeps/nptl/fork.c: Likewise.
31176         * sysdeps/pthread/flockfile.c: Likewise.
31177         * sysdeps/pthread/ftrylockfile.c: Likewise.
31178         * sysdeps/pthread/funlockfile.c: Likewise.
31180         [BZ #14912]
31181         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
31182         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
31183         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
31184         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
31185         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
31186         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31187         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
31189 2015-09-03  Roland McGrath  <roland@hack.frob.com>
31191         * elf/Makefile (test-xfail-tst-protected1a): New variable.
31192         (test-xfail-tst-protected1b): New variable.
31194 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
31196         [BZ #14912]
31197         * bits/libc-tsd.h: Move to ...
31198         * sysdeps/generic/libc-tsd.h: ...here.
31199         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
31200         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
31201         * sysdeps/mach/hurd/libc-tsd.h: ...here.
31202         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
31203         * include/ctype.h: Include <libc-tsd.h> instead of
31204         <bits/libc-tsd.h>.
31205         * include/rpc/rpc.h: Likewise.
31206         * locale/localeinfo.h: Likewise.
31207         * sunrpc/rpc_thread.c: Likewise.
31208         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31209         * sysdeps/nptl/malloc-machine.h: Likewise.
31211         * Makefile (headers): Remove bits/libc-lock.h.
31212         * libio/Makefile (headers): Remove bits/stdio-lock.h.
31214         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
31215         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
31216         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
31217         <bits/stdio-lock.h>.
31218         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
31219         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
31221 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
31223         [BZ #18757]
31224         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
31225         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
31226         BZ #18757.
31228 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
31230         * malloc/mtrace.pl: Filter out NULL entries.
31232 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
31234         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
31235         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
31236         macro.
31238         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
31239         (TCP_CC_INFO): Likewise.
31240         (TCP_SAVE_SYN): Likewise.
31241         (TCP_SAVED_SYN): Likewise.
31243 2015-08-31  Brett Neumeier <brett@neumeier.us>
31245         [BZ #18870]
31246         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
31248 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
31250         [BZ #18873]
31251         Fix broken overflow check in posix_fallocate
31252         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
31253         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31254         Fix parenthesization typo.
31256 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
31258         [BZ #18887]
31259         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
31260         tst-mntent-blank-passno.
31261         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
31262         * misc/tst-mntent-blank-corrupt.c: New test.
31263         * misc/tst-mntent-blank-passno.c: New test ripped from ...
31264         * misc/tst-mntent.c (do_test): ... here.
31266 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
31268         [BZ #4404]
31269         * po/de.po: Fix SIGALRM typo.
31271 2015-08-28  James Perkins  <james@loowit.net>
31273         * time/tst-strptime2.c (tests): Replace short list of test
31274         strings for strptime %z specifier with code which exhaustively
31275         tests every combination of sign and 0 to 5 digits. Tests for
31276         rejection of invalid strings.
31278 2015-08-28  James Perkins  <james@loowit.net>
31280         [BZ #16141]
31281         * time/strptime_l.c (__strptime_internal): Fix %z minutes
31282         calculation, removing incorrect decimal time rounding, so that
31283         all minute values result in a valid seconds value.
31284         * time/strptime_l.c (__strptime_internal): Extend %z time zone
31285         offset range limits to UTC-99:59 through UTC+99:59 to parse
31286         current and historical use cases.
31287         * time/tst-strptime2.c (tests): Modify and add tests for the
31288         strptime %z input field descriptor, specifically conversion of
31289         minutes to seconds and validating an offset range of -9959 to
31290         +9959.
31292 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31293             Dmitry V. Levin  <ldv@altlinux.org>
31295         [BZ #18877]
31296         * posix/Makefile (tests): Add tst-mmap-offset.
31297         * posix/tst-mmap.c: New file.
31298         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
31299         offset calculation for negative values.
31301 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31303         * sysdeps/i386/init-arch.h: New file.
31304         * sysdeps/i386/i586/init-arch.h: Likewise.
31305         * sysdeps/i386/i686/init-arch.h: Likewise.
31306         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
31307         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
31308         * sysdeps/x86/cpu-features.h (bit_I586): New.
31309         (bit_I686): Likewise.
31310         (bit_CX8): Likewise.
31311         (bit_CMOV): Likewise.
31312         (index_CX8): Likewise.
31313         (index_CMOV): Likewise.
31314         (index_I586): Likewise.
31315         (index_I686): Likewise.
31316         (reg_CX8): Likewise.
31317         (reg_CMOV): Likewise.
31318         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
31319         available at compile-time.
31320         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
31321         available at compile-time.
31322         * sysdeps/x86/init-arch.h (USE_I586): New macro.
31323         (USE_I686): Likewise.
31325 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31327         * sysdeps/i386/bcopy.S: New file.
31328         * sysdeps/i386/bzero.S: Likewise.
31329         * sysdeps/i386/memcpy.S: Likewise.
31330         * sysdeps/i386/memmove.S: Likewise.
31331         * sysdeps/i386/mempcpy.S: Likewise.
31332         * sysdeps/i386/memset.S: Likewise.
31333         * sysdeps/i386/bzero.c: Removed.
31334         * sysdeps/i386/memset.c: Likewise.
31335         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
31336         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
31337         * sysdeps/i386/i586/memset_chk.S: Likewise.
31338         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
31339         * sysdeps/i386/memcpy_chk.S: Here.
31340         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
31341         * sysdeps/i386/memmove_chk.S: Here.
31342         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
31343         * sysdeps/i386/mempcpy_chk.S: Likewise.
31344         * sysdeps/i386/i686/memset_chk.S: Moved to ...
31345         * sysdeps/i386/memset_chk.S: Likewise.
31347 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
31349         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
31350         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
31351         file, move DIAG_POP_NEEDS_COMMENT to end of file.
31352         * soft-fp/fmadf4.c: Ditto.
31353         * soft-fp/fmatf4.c: Ditto.
31355 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31357         * sysdeps/i386/i586/Implies: Removed.
31358         * sysdeps/i386/i686/Implies: Likewise.
31360 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31362         * sysdeps/i386/i486/strlen.S: Moved to ...
31363         * sysdeps/i386/strlen.S: Here.
31365 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31367         * sysdeps/i386/i486/strcat.S: Moved to ...
31368         * sysdeps/i386/strcat.S: Here.
31370 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31372         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
31373         * sysdeps/i386/pthread_spin_trylock.S: Here.
31374         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
31375         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
31377 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31379         * sysdeps/i386/i486/string-inlines.c: Moved to ...
31380         * sysdeps/i386/string-inlines.c: Here.
31382 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31384         * sysdeps/i386/i486/htonl.S: Moved ...
31385         * sysdeps/i386/htonl.S: here.
31387 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31389         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
31390         * sysdeps/i386/bits/atomic.h: Here.
31392 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31394         * sysdeps/i386/i486/Versions: Removed.
31396 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
31398         [BZ #2898]
31399         * misc/mktemp.c: Add mkdtemp to the link_warning message.
31400         Based on patch by Aurelien Jarno.
31402 2015-08-26  Stan Shebs  <stanshebs@google.com>
31404         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
31405         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31407 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31409         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
31410         * sysdeps/powerpc/dl-procinfo.c:
31411         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
31412         feature so it shows when LD_SHOW_AUXV=1.
31414 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
31416         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
31417         (__arch_compare_and_exchange_val_32_acq): Remove and use common
31418         definition.  ISA 2.07B no longer requires full sync.
31420 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
31422         [BZ #18863]
31423         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
31424         (si_call_addr): Define.
31425         (si_syscall): Define.
31426         (si_arch): Define.
31428 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
31430         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
31431         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
31432         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
31433         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31434         (__memset_zero_constant_len_parameter): New.
31435         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
31436         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31437         (__memset_zero_constant_len_parameter): Don't define if
31438         __memset_chk or USE_AS_BZERO are defined.
31440         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
31441         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
31442         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
31444         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
31445         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
31446         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
31447         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
31448         comments.
31449         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
31450         -mno-mmx for $(all-rtld-routines).
31451         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
31452         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
31453         i386.
31455 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31457         * sysdeps/generic/unwind.h
31458         (_Unwind_Word): Use __mode__(__unwind_word__)
31459         instead of __mode__(__word__).
31460         (_Unwind_Sword): Likewise.
31462         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31463         (MAX_NEEDED_INPUT): New define.
31464         (MAX_NEEDED_OUTPUT): New define.
31466         * NEWS: New item for IBM z13 string optimizations.
31468         * sysdeps/s390/multiarch/memrchr-c.c: New File.
31469         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
31470         * sysdeps/s390/multiarch/memrchr.c: Likewise.
31471         * sysdeps/s390/multiarch/Makefile
31472         (sysdep_routines): Add memrchr functions.
31473         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31474         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
31476         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
31477         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
31478         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
31479         * sysdeps/s390/multiarch/Makefile
31480         (sysdep_routines): Add wmemcmp functions.
31481         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31482         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
31483         * benchtests/bench-wmemcmp.c: New File.
31484         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
31486         * sysdeps/s390/multiarch/wmemset-c.c: New File.
31487         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
31488         * sysdeps/s390/multiarch/wmemset.c: Likewise.
31489         * sysdeps/s390/multiarch/Makefile
31490         (sysdep_routines): Add wmemset functions.
31491         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31492         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
31493         * wcsmbs/wmemset.c: Use WMEMSET if defined.
31494         * string/test-memset.c: Add wmemset support.
31495         * wcsmbs/test-wmemset.c: New File.
31496         * wcsmbs/Makefile (strop-tests): Add wmemset.
31497         * benchtests/bench-memset.c: Add wmemset support.
31498         * benchtests/bench-wmemset.c: New File.
31499         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
31501         * sysdeps/s390/multiarch/memccpy-c.c: New File.
31502         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
31503         * sysdeps/s390/multiarch/memccpy.c: Likewise.
31504         * sysdeps/s390/multiarch/Makefile
31505         (sysdep_routines): Add memccpy functions.
31506         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31507         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
31508         * string/memccpy.c: Use MEMCCPY if defined.
31510         * sysdeps/s390/multiarch/memchr-vx.S: New File.
31511         * sysdeps/s390/multiarch/memchr.c: Likewise.
31512         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
31513         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
31514         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
31515         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
31516         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
31517         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
31518         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
31519         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
31520         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
31521         and rawmemchr functions.
31522         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31523         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
31524         and wmemchr.
31525         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
31526         * string/test-memchr.c: Add wmemchr support.
31527         * wcsmbs/test-wmemchr.c: New File.
31528         * wcsmbs/Makefile (strop-tests): Add wmemchr.
31529         * benchtests/bench-memchr.c: Add wmemchr support.
31530         * benchtests/bench-wmemchr.c: New File.
31531         * benchtests/Makefile (wcsmbs-bench): wmemchr.
31533         * sysdeps/s390/multiarch/strcspn-c.c: New File.
31534         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
31535         * sysdeps/s390/multiarch/strcspn.c: Likewise.
31536         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
31537         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
31538         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
31539         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
31540         wcscspn functions.
31541         * sysdeps/s390/multiarch/ifunc-impl-list.c
31542         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
31543         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
31544         * string/test-strcspn.c: Add wcscspn support.
31545         * wcsmbs/test-wcscspn.c: New File.
31546         * wcsmbs/Makefile (strop-tests): Add wcscspn.
31547         * benchtests/bench-strcspn.c: Add wcscspn support.
31548         * benchtests/bench-wcscspn.c: New File.
31549         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
31551         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
31552         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
31553         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
31554         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
31555         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
31556         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
31557         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
31558         wcspbrk functions.
31559         * sysdeps/s390/multiarch/ifunc-impl-list.c
31560         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
31561         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
31562         * string/test-strpbrk.c: Add wcspbrk support.
31563         * wcsmbs/test-wcspbrk.c: New File.
31564         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
31565         * benchtests/bench-strpbrk.c: Add wcspbrk support.
31566         * benchtests/bench-wcspbrk.c: New File.
31567         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
31569         * sysdeps/s390/multiarch/strspn-c.c: New File.
31570         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
31571         * sysdeps/s390/multiarch/strspn.c: Likewise.
31572         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
31573         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
31574         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
31575         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
31576         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
31577         wcsspn functions.
31578         * sysdeps/s390/multiarch/ifunc-impl-list.c
31579         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
31580         * string/test-strspn.c: Add wcsspn support.
31581         * wcsmbs/test-wcsspn.c: New File.
31582         * wcsmbs/Makefile (strop-tests): Add wcsspn.
31583         * benchtests/bench-strspn.c: Add wcsspn support.
31584         * benchtests/bench-wcsspn.c: New File.
31585         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
31587         * sysdeps/s390/multiarch/strrchr-c.c: New File.
31588         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
31589         * sysdeps/s390/multiarch/strrchr.c: Likewise.
31590         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
31591         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
31592         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
31593         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
31594         wcsrchr functions.
31595         * sysdeps/s390/multiarch/ifunc-impl-list.c
31596         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
31597         * benchtests/bench-wcsrchr.c: New File.
31598         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
31600         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
31601         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
31602         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
31603         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
31604         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
31605         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
31606         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
31607         wcschrnul functions.
31608         * sysdeps/s390/multiarch/ifunc-impl-list.c
31609         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
31610         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
31611         * string/test-strchr.c: Add wcschrnul support.
31612         * wcsmbs/test-wcschrnul.c: New File.
31613         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
31614         * benchtests/bench-strchr.c: Add wcschrnul support.
31615         * benchtests/bench-wcschrnul.c: New File.
31616         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
31618         * sysdeps/s390/multiarch/strchr-c.c: New File.
31619         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
31620         * sysdeps/s390/multiarch/strchr.c: Likewise.
31621         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
31622         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
31623         * sysdeps/s390/multiarch/wcschr.c: Likewise.
31624         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
31625         wcschr functions.
31626         * sysdeps/s390/multiarch/ifunc-impl-list.c
31627         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
31628         * string/strchr.c (STRCHR): Define and use macro.
31629         * benchtests/bench-wcschr.c: New File.
31630         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
31632         * sysdeps/s390/multiarch/strncmp-c.c: New File.
31633         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
31634         * sysdeps/s390/multiarch/strncmp.c: Likewise.
31635         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
31636         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
31637         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
31638         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
31639         wcsncmp functions.
31640         * sysdeps/s390/multiarch/ifunc-impl-list.c
31641         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
31642         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
31643         * benchtests/bench-strncmp.c: Add wcsncmp support.
31644         * benchtests/bench-wcsncmp.c: New File.
31645         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
31647         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
31648         * sysdeps/s390/multiarch/strcmp.c: Likewise.
31649         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
31650         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
31651         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
31652         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
31653         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
31654         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
31655         wcscmp functions.
31656         * sysdeps/s390/multiarch/ifunc-impl-list.c
31657         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
31658         * string/strcmp.c (STRCMP): Define and use macro.
31659         * benchtests/bench-wcscmp.c: New File.
31660         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
31661         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
31662         instead of _HAVE_STRING_ARCH_memchr.
31664         * sysdeps/s390/multiarch/strncat-c.c: New File.
31665         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
31666         * sysdeps/s390/multiarch/strncat.c: Likewise.
31667         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
31668         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
31669         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
31670         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
31671         wcsncat functions.
31672         * sysdeps/s390/multiarch/ifunc-impl-list.c
31673         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
31674         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
31675         * string/test-strncat.c: Add wcsncat support.
31676         * wcsmbs/test-wcsncat.c: New File.
31677         * wcsmbs/Makefile (strop-tests): Add wcsncat.
31678         * benchtests/bench-strncat.c: Add wcsncat support.
31679         * benchtests/bench-wcsncat.c: New File.
31680         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
31682         * sysdeps/s390/multiarch/strcat-c.c: New File.
31683         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
31684         * sysdeps/s390/multiarch/strcat.c: Likewise.
31685         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
31686         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
31687         * sysdeps/s390/multiarch/wcscat.c: Likewise.
31688         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
31689         wcscat functions.
31690         * sysdeps/s390/multiarch/ifunc-impl-list.c
31691         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
31692         * string/strcat.c (STRCAT): Define and use macro.
31693         * wcsmbs/wcscat.c: Use WCSCAT if defined.
31694         * string/test-strcat.c: Add wcscat support.
31695         * wcsmbs/test-wcscat.c: New File.
31696         * wcsmbs/Makefile (strop-tests): Add wcscat.
31697         * benchtests/bench-strcat.c: Add wcscat support.
31698         * benchtests/bench-wcscat.c: New File.
31699         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
31701         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
31702         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
31703         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
31704         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
31705         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
31706         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
31707         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
31708         wcpncpy functions.
31709         * sysdeps/s390/multiarch/ifunc-impl-list.c
31710         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
31711         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
31712         * string/test-stpncpy.c: Add wcpncpy support.
31713         * wcsmbs/test-wcpncpy.c: New File.
31714         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
31715         * benchtests/bench-stpncpy.c: Add wcpncpy support.
31716         * benchtests/bench-wcpncpy.c: New File.
31717         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
31719         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
31720         * sysdeps/s390/multiarch/strncpy.c: Likewise.
31721         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
31722         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
31723         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
31724         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
31725         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
31726         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
31727         wcsncpy functions.
31728         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
31729         * sysdeps/s390/multiarch/ifunc-impl-list.c
31730         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
31731         * string/test-strncpy.c: Add wcsncpy support.
31732         * wcsmbs/test-wcsncpy.c: New File.
31733         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
31734         * benchtests/bench-strncpy.c: Add wcsncpy support.
31735         * benchtests/bench-wcsncpy.c: New File.
31736         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
31738         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
31739         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
31740         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
31741         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
31742         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
31743         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
31744         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
31745         wcpcpy functions.
31746         * string/stpcpy.c: Use STPCPY if defined.
31747         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
31748         * sysdeps/s390/multiarch/ifunc-impl-list.c
31749         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
31750         * string/test-stpcpy.c: Add wcpcpy support.
31751         * wcsmbs/test-wcpcpy.c: New File.
31752         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
31753         * benchtests/bench-stpcpy.c: Add wcpcpy support.
31754         * benchtests/bench-wcpcpy.c: New File.
31755         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
31757         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
31758         * sysdeps/s390/multiarch/strcpy.c: Likewise.
31759         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
31760         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
31761         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
31762         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
31763         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
31764         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
31765         wcscpy functions.
31766         * sysdeps/s390/multiarch/ifunc-impl-list.c
31767         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
31768         * benchtests/bench-wcscpy.c: New File.
31769         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
31771         * sysdeps/s390/multiarch/strnlen-c.c: New File.
31772         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
31773         * sysdeps/s390/multiarch/strnlen.c: Likewise.
31774         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
31775         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
31776         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
31777         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
31778         wcsnlen functions.
31779         * sysdeps/s390/multiarch/ifunc-impl-list.c
31780         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
31781         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
31782         * string/test-strnlen.c: Add wcsnlen support.
31783         * wcsmbs/test-wcsnlen.c: New File.
31784         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
31785         * benchtests/bench-strnlen.c: Add wcsnlen support.
31786         * benchtests/bench-wcsnlen.c: New File.
31787         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
31789         * sysdeps/s390/multiarch/Makefile: New File.
31790         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
31791         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
31792         * sysdeps/s390/multiarch/strlen.c: Likewise.
31793         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
31794         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
31795         * sysdeps/s390/multiarch/wcslen.c: Likewise.
31796         * string/strlen.c (STRLEN): Define and use macro.
31797         * sysdeps/s390/multiarch/ifunc-impl-list.c
31798         (IFUNC_VX_IMPL): New macro function.
31799         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
31800         * benchtests/Makefile (wcsmbs-bench): New variable.
31801         (string-bench-all): Added wcsmbs-bench.
31802         * benchtests/bench-wcslen.c: New File.
31804         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
31805         s390_vx_libc_ifunc2): New macro function.
31807         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
31808         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
31809         assembler support.
31810         * sysdeps/s390/configure: Regenerated.
31812         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
31813         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31815         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
31816         * sysdeps/s390/dl-procinfo.h: Add vector capability.
31817         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
31819         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
31820         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
31821         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
31822         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
31823         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
31824         (memcmp, bcmp): Use __memcmp_default as alias source.
31825         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
31826         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
31827         Rename to __memcmp_default.
31828         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
31829         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
31830         (memcpy): Use __memcpy_default as alias source.
31831         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
31832         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
31833         Rename to __memcpy_default.
31834         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
31835         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
31836         (memset): Use __memset_default as alias source.
31837         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
31838         * sysdeps/s390/s390-32/memset.S (__memset_g5):
31839         Rename to __memset_default.
31840         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
31841         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
31842         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
31843         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
31844         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
31845         (memcmp, bcmp): Use __memcmp_default as alias source.
31846         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
31847         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
31848         Rename to __memcmp_default.
31849         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
31850         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
31851         (memcpy): Use __memcpy_default as alias source.
31852         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
31853         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
31854         Rename to __memcpy_default.
31855         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
31856         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
31857         (memset): Use __memset_default as alias source.
31858         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
31859         * sysdeps/s390/s390-64/memset.S (__memset_z900):
31860         Rename to __memset_default.
31861         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
31862         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
31864         [BZ #18610]
31865         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
31866         __ieee_instruction_pointer to __unused.
31867         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
31868         __ieee_instruction_pointer.
31869         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
31870         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
31871         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31872         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31873         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
31874         Mark dxc-field as reserved.
31876 2015-08-25  Roland McGrath  <roland@hack.frob.com>
31878         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
31879         if the weak reference is not null.
31881 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31883         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
31885         [BZ #11214]
31886         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
31888 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31890         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
31891         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
31892         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
31893         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
31894         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
31895         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
31896         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
31897         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
31898         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
31899         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
31900         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
31901         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
31902         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
31903         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
31904         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
31905         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
31906         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
31907         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
31909 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
31911         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
31912         register other than r0 for tabort, it has special meaning.
31913         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
31914         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
31915         transaction before starting syscall.
31917 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31919         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
31921 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31923         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
31925         * sysdeps/x86_64/rtld-memcmp.c: Removed.
31926         * sysdeps/x86_64/rtld-memset.S: Likewise.
31927         * sysdeps/x86_64/rtld-strchr.S: Likewise.
31928         * sysdeps/x86_64/rtld-strlen.S: Likewise.
31929         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
31930         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31932         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
31934 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
31936         * debug/strcpy_chk.c: Improve performance.
31937         * debug/stpcpy_chk.c: Likewise.
31938         * sysdeps/x86_64/strcpy_chk.S: Remove.
31939         * sysdeps/x86_64/stpcpy_chk.S: Remove.
31941         [BZ #18240]
31942         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
31944 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31946         [BZ #15128]
31947         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
31948         ifuncmain8.
31949         (modules-names): Add ifuncmod8.
31950         ($(objpfx)ifuncmain8): New rule.
31951         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
31952         <cpuid.h>.
31953         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
31954         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
31955         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
31956         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
31957         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
31958         * sysdeps/x86_64/dl-trampoline.h: Likewise.
31959         * sysdeps/x86_64/ifuncmain8.c: New file.
31960         * sysdeps/x86_64/ifuncmod8.c: Likewise.
31961         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
31962         Removed.
31963         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
31964         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
31965         Change rtld_savespace_sse to __glibc_unused2.
31966         (RTLD_CHECK_FOREIGN_CALL): Removed.
31967         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
31968         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
31969         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
31971 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
31973         * sysdeps/aarch64/bzero.S (__bzero): Remove.
31975 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
31977         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
31978         Unconditionally set __fpcr to avoid uninialized warning.
31979         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
31981 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31983         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
31984         is corrupt.
31986         * malloc/arena.c (arena_get2): Drop unused argument.
31987         (arena_lock): Adjust.
31988         (arena_get_retry): Likewise.
31990 2015-08-24  Andreas Schwab  <schwab@suse.de>
31992         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
31993         Don't define.
31994         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
31995         (__ASSUME_IPC64): Don't undef.
31996         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
31997         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31998         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31999         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32000         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32001         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32002         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32003         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32004         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32005         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32006         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32007         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32008         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32009         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32010         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32011         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32012         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32013         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32014         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32015         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32016         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32018 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
32020         * manual/Makefile (install): Only build manual when perl is available.
32022 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32024         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32025         '#undef memcpy' by '#undef memchr'.
32027 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32029         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32030         memchr not point to the internal __GI_memchr implementation.
32032 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32034         * timezone/Makefile (CFLAGS-zdump.c): Remove
32035         -Wno-strict-prototypes.
32036         (CFLAGS-zic.c): Likewise.
32037         (CFLAGS-ialloc.c): Likewise.
32038         (CFLAGS-scheck.c): Likewise.
32040         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32041         -Wno-error=undef.
32043 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32045         * i386/i686/multiarch/strcasestr-c.c: Removed.
32046         * x86_64/multiarch/strcasestr.c: Likewise.
32047         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32048         Remove strcasestr.
32050 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32052         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32054         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32055         variables for high and low parts before possibly modifying them.
32057 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32059         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32060         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32061         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32062         of "multiarch/init-arch.h".
32063         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32064         * sysdeps/x86/init-arch.h: This.
32066 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32068         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32069         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32071 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
32073         [BZ #17787]
32074         * manual/macros.texi: Add twoexp macro.
32075         * manual/filesys.texi: Fix exponents.
32076         * manual/llio.texi: Likewise.
32077         * manual/stdio.texi: Likewise.
32079 2015-08-20  Florian Weimer  <fweimer@redhat.com>
32081         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32082         incorrect use.
32084 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
32086         [BZ #18370]
32087         * math/s_csqrt.c (__csqrt): Force underflow exception for results
32088         whose real or imaginary part has small absolute value.
32089         * math/s_csqrtf.c (__csqrtf): Likewise.
32090         * math/s_csqrtl.c (__csqrtl): Likewise.
32091         * math/auto-libm-test-in: Add more tests of csqrt.
32092         * math/auto-libm-test-out: Regenerated.
32093         * sysdeps/i386/fpu/libm-test-ulps: Update.
32095 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
32097         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32098         __ppc_set_ppr_very_low): New functions.
32099         * manual/platform.texi: Add documentation about
32100         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32102 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
32104         * string/stpncpy.c (stpncpy): Improve performance using
32105         __strnlen/memcpy/memset.
32107 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
32109         [BZ #18796]
32110         * scripts/test-installation.pl: Don't add -lmvec to build options if
32111         libmvec wasn't built.
32113 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
32115         [BZ #14341]
32116         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
32117         case when there is a gap between DT_REL and DT_JMPREL sections.
32118         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
32119         (LDFLAGS-tst-split-dynreloc): New.
32120         (tst-split-dynreloc-ENV): Likewise.
32121         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
32122         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
32124 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32126         [BZ #18822]
32127         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
32128         attribute_hidden.
32129         (__xstat64_conv): Likewise.
32130         (__xstat32_conv): Likewise.
32132 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32134         [BZ #18822]
32135         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
32136         Don't load %ebx when calling __setcontext.  Call __setcontext
32137         with HIDDEN_JUMPTARGET.
32138         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
32139         libc_hidden_def.
32141 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32143         * sysdeps/i386/i686/Makefile
32144         [$(subdir) == string] (sysdep_routines): Moved to ...
32145         * sysdeps/i386/Makefile: Here.
32146         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
32147         * sysdeps/i386/cacheinfo.c: Here.
32148         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
32149         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
32150         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
32151         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
32153 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32155         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
32156         __i586__ is defined.
32157         (HAS_I686): Defined to 1 if __i686__ is defined.
32159 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
32161         * elf/Makefile [$(have-z-execstack) = yes]
32162         (CPPFLAGS-tst-execstack.c): New variable.
32164         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
32165         conditional to [defined UTMPX || _HAVE_UT_TYPE].
32166         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
32167         UTMPX || _HAVE_UT_TV].
32168         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
32169         UTMPX || _HAVE_UT_TV - 0].
32171 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
32173         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
32174         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
32175         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
32177 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32179         * sysdeps/powerpc/dl-procinfo.c:
32180         (_dl_powerpc_cap_flags): Added missing strings for some
32181         hwcap features.
32182         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
32184 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
32186         Port the 0x7efe...feff pattern to GCC 6.
32187         See Steve Ellcey's bug report in:
32188         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
32189         * string/memrchr.c (MEMRCHR):
32190         * string/rawmemchr.c (RAWMEMCHR):
32191         * string/strchr.c (strchr):
32192         * string/strchrnul.c (STRCHRNUL):
32193         Rewrite code to avoid issues with signed shift overflow.
32195 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
32197         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
32198         whether cpuid is available only if HAS_CPUID is 0.
32199         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
32200         (HAS_I586): Likewise.
32201         (HAS_I686): Likewise.
32203 2015-08-18  Zack Weinberg  <zackw@panix.com>
32205         * misc/Versions (libc): Add GLIBC_2.23.
32207 2015-08-18  Alan Modra  <amodra@gmail.com>
32209         [BZ #18421]
32210         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
32211         .Lp__global.
32212         (_start): Load %dp via .Lp__global.
32213         [!SHARED]: Use .section .rodata.
32215 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32217         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
32218         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
32220 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32222         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
32223         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
32225 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32227         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
32228         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
32230 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32232         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
32233         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
32235 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32237         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
32238         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
32240 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32242         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
32243         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
32245 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32247         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
32249 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32251         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
32252         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
32253         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32254         (__ASSUME_LWS_CAS): Delete.
32256 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32258         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
32259         * sysdeps/hppa/configure: Regenerated.
32260         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
32261         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
32262         * sysdeps/hppa/nptl/tls.h: Likewise.
32264 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
32266         [BZ #18823]
32267         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
32268         for scaling up small arguments.
32269         * math/s_csqrtf.c (__csqrtf): Likewise.
32270         * math/s_csqrtl.c (__csqrtl): Likewise.
32271         * math/auto-libm-test-in: Add more tests of csqrt.
32272         * math/auto-libm-test-out: Regenerated.
32274 2015-08-17  Andreas Schwab  <schwab@suse.de>
32276         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
32277         version set GLIBC_2.19.
32279 2015-08-16  Zack Weinberg  <zackw@panix.com>
32281         [BZ #18681]
32282         * misc/regexp.h: This interface is no longer supported.
32283         Remove all contents, leaving only an #error directive.
32284         * misc/regexp.c (loc1, loc2, locs, step, advance):
32285         Demote to compatibility symbols.
32287 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
32289         [BZ #18084]
32290         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
32291         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
32292         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
32293         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
32294         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
32295         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
32296         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
32297         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
32298         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
32300 2015-08-15  Zack Weinberg  <zackw@panix.com>
32302         [BZ #18795]
32303         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
32304         buffer length is known to be too large, not if it's known to be
32305         small enough.
32306         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
32307         overflow at runtime, involving a length parameter, twice: once
32308         with a compile-time constant length parameter, once without.
32310 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
32312         [BZ #18824]
32313         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
32314         scaling x * y up instead of down.
32315         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32316         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32317         * math/auto-libm-test-in: Add more tests of fma.
32318         * math/auto-libm-test-out: Regenerated.
32320 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
32322         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32324 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32326         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
32327         unnecessary movq.
32328         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
32329         Likewise.
32331 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
32333         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32334         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
32335         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
32336         and tgamma.
32337         * math/auto-libm-test-out: Regenerated.
32338         * sysdeps/i386/fpu/libm-test-ulps: Update.
32339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32341         [BZ #16520]
32342         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
32343         (__tanh): Force underflow exception for arguments with small
32344         absolute value.
32345         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
32346         (__tanhf): Force underflow exception for arguments with small
32347         absolute value.
32348         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
32349         (__tanhl): Force underflow exception for arguments with small
32350         absolute value.
32351         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
32352         (__tanhl): Force underflow exception for arguments with small
32353         absolute value.
32354         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
32355         (__tanhl): Force underflow exception for arguments with small
32356         absolute value.
32357         * math/auto-libm-test-in: Add more tests of tanh.
32358         * math/auto-libm-test-out: Regenerated.
32359         * sysdeps/i386/fpu/libm-test-ulps: Update.
32361 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32363         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
32364         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
32366 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32368         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
32369         <cpuid.h>.
32371 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32373         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
32374         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
32376 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32378         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
32379         Remove $(objpfx)init-arch.o.
32380         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
32381         init-arch.
32382         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
32383         (INIT_ARCH_EXT): Defined as empty.
32384         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
32385         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
32386         __init_cpu_features call.  Replace HAS_XXX with
32387         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32388         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
32389         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
32390         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
32391         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
32392         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32393         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
32394         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
32395         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32396         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
32397         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
32398         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32399         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
32400         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
32401         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32402         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
32403         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
32404         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32405         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32406         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
32407         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
32408         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32409         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
32410         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
32411         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32412         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
32413         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
32414         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32415         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
32416         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
32417         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32418         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
32419         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
32420         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32421         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
32422         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
32424 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32426         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
32427         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32428         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32429         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32430         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
32431         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
32432         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
32433         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
32434         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
32435         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
32436         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
32437         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
32438         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32439         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32440         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32441         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32442         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32443         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32444         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32445         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32446         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32447         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32448         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32449         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32450         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32451         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32452         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32453         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32454         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32455         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32456         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32457         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32458         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32459         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32460         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32461         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32462         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32463         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32464         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32465         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32466         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32467         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32468         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32470 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32472         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
32473         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32474         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32475         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32476         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32477         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32478         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32479         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
32480         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32481         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32482         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32483         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
32484         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
32485         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
32486         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
32487         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
32488         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
32489         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
32490         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
32491         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
32492         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
32493         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
32494         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
32495         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32496         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32497         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
32498         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
32499         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
32500         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32501         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32502         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32503         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32504         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32505         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32506         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32507         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32508         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32509         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32510         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32511         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32512         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32513         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32514         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32516 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32518         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
32519         (dl_platform_init): Call init_cpu_features.
32520         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
32521         * sysdeps/i386/i686/cacheinfo.c
32522         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
32523         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
32524         * sysdeps/i386/i686/multiarch/Versions: Removed.
32525         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
32526         Removed.
32527         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
32528         * sysdeps/unix/sysv/linux/x86/Makefile
32529         (libpthread-sysdep_routines): Remove init-arch.
32530         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
32531         <sysdeps/x86_64/dl-procinfo.c> instead of
32532         sysdeps/generic/dl-procinfo.c>.
32533         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
32534         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
32535         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
32536         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
32537         [$(subdir) == elf] (tests-static): Add
32538         tst-get-cpu-features-static.
32539         * sysdeps/x86/Versions: New file.
32540         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
32541         * sysdeps/x86/cpu-features.c: Likewise.
32542         * sysdeps/x86/cpu-features.h: Likewise.
32543         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
32544         * sysdeps/x86/libc-start.c: Likewise.
32545         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
32546         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
32547         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
32548         * sysdeps/x86_64/dl-procinfo.c: Likewise.
32549         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
32550         Assume USE_MULTIARCH is defined and don't check it.
32551         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
32552         (is_amd): Likewise.
32553         (max_cpuid): Likewise.
32554         (intel_check_word): Likewise.
32555         (__cache_sysconf): Don't call __init_cpu_features.
32556         (__x86_preferred_memory_instruction): Removed.
32557         (init_cacheinfo): Don't call __init_cpu_features. Replace
32558         __cpu_features with GLRO(dl_x86_cpu_features).
32559         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
32560         (dl_platform_init): Call init_cpu_features.
32561         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
32562         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
32563         * sysdeps/x86_64/multiarch/Versions: Removed.
32564         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
32565         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
32566         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
32567         Removed.
32568         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
32570 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
32572         [BZ #18820]
32573         * libio/Makefile (test-fmemopen-mem): New test.
32574         * libio/test-fmemopen.c (do_bz18820): New test.
32575         * libio/fmemopen.c (__fmemopen): Fix memory leak.
32576         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
32578 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
32580         [BZ #16734]
32581         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
32582         (FREE_BUF): Delete.
32583         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
32584         * libio/genops.c (_IO_setb): Use malloc and free directly.
32585         (_IO_default_doallocate, _IO_default_finish): Likewise.
32586         ( _IO_unbuffer_all): Likewise.
32587         ( libc_freeres_fn): Likewise.
32588         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
32589         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
32590         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
32591         (_IO_wdefault_doallocate): Likewise.
32593 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32595         [BZ #18086]
32596         * sysdeps/posix/nice.c (nice): Restore old errno.
32597         * posix/tst-nice.c (do_test): Add test for BZ #18086.
32599 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
32601         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
32603 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32605         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
32606         __bcopy and add a weak_alias to bcopy.
32607         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
32608         for static build.
32610         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
32611         cleanup macro usage.
32612         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
32613         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
32614         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32615         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
32616         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32617         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
32618         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
32619         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
32620         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32621         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
32622         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32623         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
32624         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32625         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
32626         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
32627         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
32628         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
32629         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
32630         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
32632         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
32633         libc_hidden_def.
32634         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
32636         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
32637         (sysdep_routines): Add strstr-ppc64.
32638         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
32640 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
32642         [BZ #18778]
32643         * elf/Makefile (tests): Add Add tst-nodelete2.
32644         (modules-names): Add tst-nodelete2mod.
32645         (tst-nodelete2mod.so-no-z-defs): New.
32646         ($(objpfx)tst-nodelete2): Likewise.
32647         ($(objpfx)tst-nodelete2.out): Likewise.
32648         (LDFLAGS-tst-nodelete2): Likewise.
32649         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
32650         out of loop through all loaded libraries.
32651         * elf/tst-nodelete2.c: New file.
32652         * elf/tst-nodelete2mod.c: Likewise.
32653         * elf/tst-znodelete-zlib.cc: Delete.
32655 2015-08-11  Andreas Schwab  <schwab@suse.de>
32657         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
32658         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
32659         (__openat64_nocancel): Likewise.
32661 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
32663         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
32664         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
32665         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
32666         * math/auto-libm-test-out: Regenerated.
32667         * sysdeps/i386/fpu/libm-test-ulps: Update.
32668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32670 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
32672         [BZ #18790]
32673         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
32674         threshold for returning +/- 1.
32675         * math/auto-libm-test-in: Add more tests of tanh.
32676         * math/auto-libm-test-out: Regenerated.
32677         * sysdeps/i386/fpu/libm-test-ulps: Update.
32679 2015-08-10  Andreas Schwab  <schwab@suse.de>
32681         [BZ #18781]
32682         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
32683         MORE_OFLAGS to oflag.
32684         * io/test-lfs.c (do_test): Test openat64.
32686 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
32688         [BZ #18789]
32689         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
32690         smaller threshold for returning the argument.
32691         * math/auto-libm-test-in: Add more tests of sinh.
32692         * math/auto-libm-test-out: Regenerated.
32693         * sysdeps/i386/fpu/libm-test-ulps: Update.
32695 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32697         [BZ #18674]
32698         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
32699         break.
32701 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
32703         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
32704         (generated): Don't add $(addprefix z.,$(tzfiles)).
32706 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
32708         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
32709         * scripts/sysd-rules.awk: Likewise.
32711 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
32713         * iconvdata/tst-tables.sh: Change echo -n to printf.
32714         * nss/db-Makefile: Likewise.
32715         * posix/tst-getconf.sh: Likewise.
32716         * stdio-common/tst-unbputc.sh: Likewise.
32718 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
32720         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
32721         MADV_*_PAGES defines behind this feature check.
32723 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
32725         [BZ #18480]
32726         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
32727         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
32728         Define.
32729         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
32730         LOAD_REGS_5, LOAD_REGS_6): Update.
32731         (INTERNAL_SYSCALL): Update using new LOAD defines.
32732         (INTERNAL_SYSCALL_NCS): Likewise.
32733         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
32735 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32737         [BZ #16734]
32738         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
32740 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32742         [BZ #17905]
32743         * catgets/Makefile (tst-catgets-mem): New test.
32744         * catgets/catgets.c (catopen): Don't use unbounded alloca.
32745         * catgets/open_catalog.c (__open_catalog): Likewise.
32746         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
32748 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
32750         [BZ #18787]
32751         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
32752         clobber registers.
32753         (atomic_compare_and_exchange_val_acq): Use register asms to assign
32754         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
32755         Cast return to __typeof (oldval).
32757 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
32759         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
32760         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
32761         and delete sys/syscall.h include.
32763 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
32765         [BZ #16517]
32766         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
32767         (tan): Force underflow exception for arguments with small absolute
32768         value.
32769         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
32770         (__kernel_tanf): Force underflow exception for arguments with
32771         small absolute value.
32772         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
32773         (__kernel_tanl): Force underflow exception for arguments with
32774         small absolute value.
32775         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
32776         (__kernel_tanl): Force underflow exception for arguments with
32777         small absolute value.
32778         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
32779         (__kernel_tanl): Force underflow exception for arguments with
32780         small absolute value.
32781         * math/auto-libm-test-in: Add more tests of tan.
32782         * math/auto-libm-test-out: Regenerated.
32784 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32786         Fix sysdeps/i386/fpu/s_scalbn.S build
32788         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
32790 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
32792         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
32794 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32796         Fix gcrt0.o compilation
32798         When static-start-installed-name is different from
32799         start-installed-name, we must not use the shared objects.
32801         * csu/Makefile
32802         (extra-objs): Add gmon-start.o when building shared library and
32803         $(static-start-installed-name) is different from
32804         $(start-installed-name).
32805         $(objpfx)g$(static-start-installed-name): When building shared
32806         library and $(static-start-installed-name) is different from
32807         $(static-start-installed-name), revert to non-shared rule,
32808         i.e. using $(objpfx)% and gmon-start.o.
32810 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
32812         [BZ #16519]
32813         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
32814         (__ieee754_sinh): Force underflow exception for arguments with
32815         small absolute value.
32816         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
32817         (__ieee754_sinhf): Force underflow exception for arguments with
32818         small absolute value.
32819         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
32820         (__ieee754_sinhl): Force underflow exception for arguments with
32821         small absolute value.
32822         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
32823         (__ieee754_sinhl): Force underflow exception for arguments with
32824         small absolute value.
32825         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
32826         (__ieee754_sinhl): Force underflow exception for arguments with
32827         small absolute value.
32828         * math/auto-libm-test-in: Add more tests of sinh.
32829         * math/auto-libm-test-out: Regenerated.
32830         * sysdeps/i386/fpu/libm-test-ulps: Update.
32832 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32834         * libio/oldfileops.c: Include unistd.h.
32836 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
32838         * stdlib/isomac.c: Include ctype.h.
32840 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
32842         * dirent/tst-seekdir.c (main): Converted to ...
32843         (do_test): ... this.
32844         (TEST_FUNCTION): New macro.
32845         Include test-skeleton.c.
32846         * elf/tst-dlmodcount.c (main): Converted to ...
32847         (do_test): ... this.
32848         (TEST_FUNCTION): New macro.
32849         Include test-skeleton.c.
32850         * elf/tst-order-main.c (main): Converted to ...
32851         (do_test): ... this.
32852         (TEST_FUNCTION): New macro.
32853         Include test-skeleton.c.
32854         * elf/tst-pie2.c (main): Converted to ...
32855         (do_test): ... this.
32856         (TEST_FUNCTION): New macro.
32857         Include test-skeleton.c.
32858         * inet/tst-ether_aton.c (main): Converted to ...
32859         (do_test): ... this.
32860         (TEST_FUNCTION): New macro.
32861         Include test-skeleton.c.
32862         * misc/tst-mntent.c (main): Converted to ...
32863         (do_test): ... this.
32864         (TEST_FUNCTION): New macro.
32865         Include test-skeleton.c.
32866         * misc/tst-tsearch.c (main): Converted to ...
32867         (do_test): ... this.
32868         (TEST_FUNCTION): New macro.
32869         Include test-skeleton.c.
32870         * posix/tst-regexloc.c (main): Converted to ...
32871         (do_test): ... this.
32872         (TEST_FUNCTION): New macro.
32873         Include test-skeleton.c.
32874         * resolv/tst-aton.c (main): Converted to ...
32875         (do_test): ... this.
32876         (TEST_FUNCTION): New macro.
32877         Include test-skeleton.c.
32878         * stdio-common/test-fwrite.c (main): Converted to ...
32879         (do_test): ... this.
32880         (TEST_FUNCTION): New macro.
32881         Include test-skeleton.c.
32882         * stdio-common/tst-ferror.c (main): Converted to ...
32883         (do_test): ... this.
32884         (TEST_FUNCTION): New macro.
32885         Include test-skeleton.c.
32886         * stdio-common/tst-printf.c (main): Converted to ...
32887         (do_test): ... this.
32888         (TEST_FUNCTION): New macro.
32889         Include test-skeleton.c.
32890         * stdio-common/tst-printfsz.c (main): Converted to ...
32891         (do_test): ... this.
32892         (TEST_FUNCTION): New macro.
32893         Include test-skeleton.c.
32894         * stdlib/tst-strtod.c (main): Converted to ...
32895         (do_test): ... this.
32896         (TEST_FUNCTION): New macro.
32897         Include test-skeleton.c.
32898         * string/tst-strlen.c (main): Converted to ...
32899         (do_test): ... this.
32900         (TEST_FUNCTION): New macro.
32901         Include test-skeleton.c.
32902         * string/tst-svc.c (main): Converted to ...
32903         (do_test): ... this.
32904         (TEST_FUNCTION): New macro.
32905         Include test-skeleton.c.
32906         * time/tst-strptime.c (main): Converted to ...
32907         (do_test): ... this.
32908         (TEST_FUNCTION): New macro.
32909         Include test-skeleton.c.
32910         * timezone/tst-timezone.c (main): Converted to ...
32911         (do_test): ... this.
32912         (TEST_FUNCTION): New macro.
32913         Include test-skeleton.c.
32915 2015-08-05  Zack Weinberg  <zackw@panix.com>
32917         * misc/regexp.h: Update comments.
32919 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
32921         [BZ #18635]
32922         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
32923         before return label.
32925 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32927         [BZ #18661]
32928         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
32929         when calling __errno_location.
32930         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
32931         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
32933 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32935         [BZ #18661]
32936         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
32937         (__lll_timedwait_tid): Align stack to 16 bytes when calling
32938         __gettimeofday.
32940 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32942         [BZ #18661]
32943         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32944         (__start_context): Don't use pop to restore %rdi so that stack
32945         is aligned to 16 bytes when calling __setcontext.
32947 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32949         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
32950         only for libc.
32951         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32953 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32955         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
32956         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
32957         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
32959 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32961         * string/memccpy.c (memccpy):
32962         Improve performance by using memchr/memcpy/__mempcpy.
32964 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32966         * string/strncpy.c (strncpy):
32967         Improve performance by using __strnlen/memcpy.
32969 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32971         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32972         Optimize to avoid an unnecessary FPCR read.
32974 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32976         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
32977         Optimize to reduce FPCR/FPSR accesses.
32979 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32981         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
32982         dead->data[category] != NULL.
32984 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
32986         [BZ #18647]
32987         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
32988         and |x| close to 1, use absolute value of x when computing log.
32989         * math/auto-libm-test-in: Add more tests of pow.
32990         * math/auto-libm-test-out: Regenerated.
32992 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32994         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
32995         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
32996         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
32998 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
33000         [BZ #18525]
33001         * locales/km_KH: Remove timezone definition.
33002         * locales/lo_LA: Likewise.
33003         * locales/my_MM: Likewise.
33004         * locales/nan_TW@latin: Likewise.
33005         * locales/th_TH: Likewise.
33006         * locales/uk_UA: Likewise.
33008 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
33010         [BZ #18265]
33011         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33012         (wcsncat): Likewise.
33013         (wcscmp): Likewise.
33014         (wcsncmp): Likewise.
33016 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33018         * test-skeleton.c (usage): New function.
33019         (main): Call usage when opt is '?'.
33021 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33023         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33024         before first use.
33026 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33028         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33029         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
33030         in there too.
33032 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
33034         * version.h (RELEASE): Set to "development".
33035         (VERSION): Set to "2.22.90"
33037         * version.h (RELEASE): Set to "stable".
33038         (VERSION): Set to "2.22"
33039         * include/features.h (__GLIBC_MINOR__): Set to 22.
33041 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
33043         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33044         Restructure macro to avoid "value computed is not used" warning.
33045         (atomic_compare_and_exchange_val_acq): Likewise.
33047 2015-08-04  Andreas Schwab  <schwab@suse.de>
33049         [BZ #18635]
33050         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33051         ret.
33052         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33054 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
33056         * po/pl.po: Updated translation.
33057         * po/uk.po: Likewise.
33058         * po/fi.po: Likewise.
33059         * po/ko.po: Likewise.
33060         * po/ru.po: Likewise.
33061         * po/vi.po: Likewise.
33063 2015-07-31  Zack Weinberg  <zackw@panix.com>
33065         [BZ #18681]
33066         * regexp.h: Add unconditional #warning stating that this header
33067         will be removed soon.  Revise banner comment to match.
33068         (compile): Consistently use ERROR instead of RETURN to report
33069         errors (partial fix for BZ #18681).
33070         * regexp.c: Don't include regexp.h. Remove some unnecessary
33071         declarations.
33073 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
33075         * po/libc.pot: Regenerated.
33077 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33079         [BZ #18740]
33080         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33081         float-vlen4-arch-ext-cflags): Removed.
33082         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33083         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33085 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33087         [BZ #14113]
33088         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33089         aligned to __aligned__.
33090         (pthread_cond_t, pthread_rwlock_t): Likewise.
33092 2015-07-30  Torvald Riegel  <triegel@redhat.com>
33094         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33096 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33098         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33099         (struct sigaction): Change sa_flags from a long to an int, and add
33100         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
33102 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33104         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33105         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
33106         sysdeps/generic/sysdep.h include.
33107         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
33108         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
33109         sysdeps/hppa/sysdep.h.
33110         (ENTRY, PSEUDO): Undefine before defining.
33112 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33114         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
33115         from scratch to use INTERNAL_SYSCALL.
33117 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
33119         [BZ #18078]
33120         * scripts/check-localplt.awk: Support alternate relocations.
33121         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
33122         sections.
33123         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33124         malloc entries with + REL R_386_GLOB_DAT.
33125         * sysdeps/x86_64/localplt.data: New file.
33127 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
33129         [BZ #18731]
33130         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
33131         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33132         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33134 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33136         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
33138 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33140         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
33141         directly in terms of __sync_fetch_and_add and delete (int) cast.
33143 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33145         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
33146         the -D_ASM_IA64_CURRENT_H flag.
33148 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33150         [BZ #18641]
33151         * pwd/pwd.h (putpwent): Delete __nonnull markings.
33153 2015-07-27  Andreas Schwab  <schwab@suse.de>
33155         * conform/conformtest.pl (checknamespace): Filter out string
33156         literals while tokenizing.
33158 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
33160         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33161         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
33162         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33164 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
33166         * nptl/tst-join7mod.c: Add #include <string.h>.
33168 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
33170         * sysdeps/nios2/libm-test-ulps: Update.
33172 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
33174         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
33175         Fix order of arguments to the rt_sigprocmask syscall.
33176         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
33177         Likewise.
33179 2015-07-24  Roland McGrath  <roland@hack.frob.com>
33181         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
33183 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33185         [BZ #18457]
33186         * nptl/Makefile (tests): New test case tst-join7.
33187         (modules-names): New test case module tst-join7mod.
33188         * nptl/tst-join7.c: New file.
33189         * nptl/tst-join7mod.c: New file.
33190         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
33191         all translation units in libc.so, libpthread.so and rtld.
33193 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33197 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
33199         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
33200         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33201         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33202         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33203         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33204         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33205         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33206         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33207         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33208         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33209         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33210         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33211         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
33212         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33213         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
33214         implementation.
33216 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33218         [BZ #17711]
33219         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33220         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
33221         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33222         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33223         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
33224         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33226 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33228         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
33229         instead of just saying load lock in the comments.
33231 2015-07-23  Roland McGrath  <roland@hack.frob.com>
33233         * sysdeps/unix/Subdirs: Moved ...
33234         * sysdeps/posix/Subdirs: ... here.
33235         * login/pty.h (struct termios, struct winsize): Add forward decls.
33236         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
33237         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
33238         * sysdeps/arm/nacl/libc.abilist: Updated.
33239         * sysdeps/nacl/libutil.abilist: New file.
33241         * bits/signum.h: Update comments to mention 1003.1-2013 too.
33242         (SIGWINCH): New macro.
33244         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
33245         * sysdeps/arm/nacl/libc.abilist: Add it.
33247 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
33249         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
33251 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
33253         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33254         Swap __glibc_reserved0 and sa_flags order.
33256 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33258         [BZ #18657]
33259         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
33260         are pending TLS destructor calls.
33261         * include/link.h (struct link_map): Add concurrency note for
33262         L_TLS_DTOR_COUNT.
33263         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33264         Don't touch the link map flag.  Atomically increment
33265         l_tls_dtor_count.
33266         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
33267         Avoid taking the load lock and don't touch the link map flag.
33268         * stdlib/tst-tls-atexit-nodelete.c: New test case.
33269         * stdlib/Makefile (tests): Use it.
33270         * stdlib/tst-tls-atexit.c (do_test): dlopen
33271         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
33272         to allow tst-tls-atexit-nodelete test case to use it.
33274 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33276         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
33277         to bits/types.h.
33278         (msgqnum_t): New typedef.
33279         (msglen_t): Likewise.
33280         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
33281         and msg_qbytes type to msglen_t.
33283 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33285         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
33286         pad0 to __glibc_reserved0.
33287         (struct stat64): Likewise.
33289 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33291         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33292         Change sa_flags from a long to an int and add __glibc_reserved0 before
33293         it for padding.
33295 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33297         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
33298         anonymous by deleting "siginfo" name.
33300 2015-07-21  Roland McGrath  <roland@hack.frob.com>
33302         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
33303         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
33304         rather than __nacl_irt_filename.
33305         * sysdeps/nacl/xstat.c (__xstat): Likewise.
33307         * NEWS: New item for arm-nacl port.
33308         * sysdeps/arm/nacl/libc.abilist: New file.
33309         * sysdeps/nacl/ld.abilist: New file.
33310         * sysdeps/nacl/libBrokenLocale.abilist: New file.
33311         * sysdeps/nacl/libanl.abilist: New file.
33312         * sysdeps/nacl/libcrypt.abilist: New file.
33313         * sysdeps/nacl/libdl.abilist: New file.
33314         * sysdeps/nacl/libm.abilist: New file.
33315         * sysdeps/nacl/libpthread.abilist: New file.
33316         * sysdeps/nacl/libresolv.abilist: New file.
33317         * sysdeps/nacl/librt.abilist: New file.
33319 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
33321         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
33322         __startcontext to initialize the new context.
33323         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
33324         up CFI directive to forbid further backtracing.
33326 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
33328         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
33329         reference.
33330         * charmaps/ANSI_X3.4-1968: Likewise.
33331         * charmaps/BS_4730: Likewise.
33332         * charmaps/BS_VIEWDATA: Likewise.
33333         * charmaps/CP1250: Likewise.
33334         * charmaps/CP1251: Likewise.
33335         * charmaps/CP1252: Likewise.
33336         * charmaps/CP1253: Likewise.
33337         * charmaps/CP1254: Likewise.
33338         * charmaps/CP1255: Likewise.
33339         * charmaps/CP1256: Likewise.
33340         * charmaps/CSN_369103: Likewise.
33341         * charmaps/EBCDIC-DK-NO: Likewise.
33342         * charmaps/GB_1988-80: Likewise.
33343         * charmaps/GREEK-CCITT: Likewise.
33344         * charmaps/GREEK7: Likewise.
33345         * charmaps/INIS-8: Likewise.
33346         * charmaps/ISIRI-3342: Likewise.
33347         * charmaps/ISO_2033-1983: Likewise.
33348         * charmaps/ISO_5427-EXT: Likewise.
33349         * locales/POSIX: Likewise.
33350         * locales/ar_SA: Likewise.
33351         * locales/be_BY: Likewise.
33352         * locales/be_BY@latin: Likewise.
33353         * locales/ca_ES: Likewise.
33354         * locales/cs_CZ: Likewise.
33355         * locales/da_DK: Likewise.
33356         * locales/de_BE: Likewise.
33357         * locales/de_CH: Likewise.
33358         * locales/de_LU: Likewise.
33359         * locales/en_AU: Likewise.
33360         * locales/en_BW: Likewise.
33361         * locales/en_CA: Likewise.
33362         * locales/en_DK: Likewise.
33363         * locales/en_GB: Likewise.
33364         * locales/en_IE: Likewise.
33365         * locales/en_NZ: Likewise.
33366         * locales/en_ZA: Likewise.
33367         * locales/en_ZW: Likewise.
33368         * locales/es_AR: Likewise.
33369         * locales/es_BO: Likewise.
33370         * locales/es_CL: Likewise.
33371         * locales/es_CO: Likewise.
33372         * locales/es_DO: Likewise.
33373         * locales/es_EC: Likewise.
33374         * locales/es_ES: Likewise.
33375         * locales/es_HN: Likewise.
33376         * locales/es_MX: Likewise.
33377         * locales/es_PA: Likewise.
33378         * locales/es_PE: Likewise.
33379         * locales/es_PY: Likewise.
33380         * locales/es_SV: Likewise.
33381         * locales/es_US: Likewise.
33382         * locales/es_UY: Likewise.
33383         * locales/es_VE: Likewise.
33384         * locales/et_EE: Likewise.
33385         * locales/fa_IR: Likewise.
33386         * locales/fo_FO: Likewise.
33387         * locales/fr_CA: Likewise.
33388         * locales/fr_CH: Likewise.
33389         * locales/gv_GB: Likewise.
33390         * locales/he_IL: Likewise.
33391         * locales/hr_HR: Likewise.
33392         * locales/id_ID: Likewise.
33393         * locales/is_IS: Likewise.
33394         * locales/it_CH: Likewise.
33395         * locales/iw_IL: Likewise.
33396         * locales/kl_GL: Likewise.
33397         * locales/ko_KR: Likewise.
33398         * locales/kw_GB: Likewise.
33399         * locales/lg_UG: Likewise.
33400         * locales/lt_LT: Likewise.
33401         * locales/lv_LV: Likewise.
33402         * locales/mi_NZ: Likewise.
33403         * locales/nhn_MX: Likewise.
33404         * locales/nl_BE: Likewise.
33405         * locales/pl_PL: Likewise.
33406         * locales/sk_SK: Likewise.
33407         * locales/sl_SI: Likewise.
33408         * locales/sv_FI: Likewise.
33409         * locales/tl_PH: Likewise.
33410         * locales/tr_TR: Likewise.
33411         * locales/vi_VN: Likewise.
33413 2015-07-21  Khem Raj  <raj.khem@gmail.com>
33415         [BZ #17475]
33416         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
33417         of tu_IN and bh_IN.
33419 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
33421         [BZ #18694]
33422         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
33423         bits/wordsize.h.
33424         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
33426 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33428         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
33429         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
33430         (spawn_thread): New function.
33431         (load): Rename to reg_dtor_and_close.  Move dlopen to...
33432         (do_test): ... here.  Use IS_LOADED to test for its
33433         availability.
33435 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
33437         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33439 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
33441         [BZ #18696]
33442         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
33443         si_addr_bnd.
33444         (si_lower): New.
33445         (si_upper): Likewise.
33447 2015-07-16  David S. Miller  <davem@davemloft.net>
33449         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
33451 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33453         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
33454         buffer.
33455         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
33456         fail output information.
33458 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33460         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
33461         and strstr-ppc64..
33462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33463         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
33464         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
33465         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
33466         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
33468 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
33470         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
33471         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
33472         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
33473         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
33475 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
33477         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33478         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
33479         rtld_hidden_proto.
33480         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
33482 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33484         * tst-nodelete-opened.c (do_test): Add comment to clarify how
33485         the test can fail.
33487         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
33489         [BZ #18676]
33490         * elf/tst-nodelete-opened.c: New test case.
33491         * elf/tst-nodelete-opened-lib.c: New test case module.
33492         * elf/Makefile (tests, modules-names): Use them.
33493         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
33494         early.
33496 2015-07-15  David S. Miller  <davem@davemloft.net>
33498         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
33499         futex-intenal.h
33500         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
33501         * sysdeps/sparc/sparc64/Makefile: Likewise.
33502         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
33503         Remove space from macro define.
33504         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
33506 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
33508         [BZ #17475]
33509         * locale/iso-639.def: Update Bhili and Tulu language codes as
33510         per iso639-3.
33512 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
33514         * elf/tst-leaks1.c (main): Converted to ...
33515         (do_test): ... this.
33516         (TEST_FUNCTION): New macro.
33517         Include test-skeleton.c.
33518         * localedata/tst-langinfo.c (main): Converted to ...
33519         (do_test): ... this.
33520         (TEST_FUNCTION): New macro.
33521         Include test-skeleton.c.
33522         * math/test-fpucw.c (main): Converted to ...
33523         (do_test): ... this.
33524         (TEST_FUNCTION): New macro.
33525         Include test-skeleton.c.
33526         * math/test-tgmath.c (main): Converted to ...
33527         (do_test): ... this.
33528         (TEST_FUNCTION): New macro.
33529         Include test-skeleton.c.
33530         * math/test-tgmath2.c (main): Converted to ...
33531         (do_test): ... this.
33532         (TEST_FUNCTION): New macro.
33533         Include test-skeleton.c.
33534         * setjmp/tst-setjmp.c (main): Converted to ...
33535         (do_test): ... this.
33536         (TEST_FUNCTION): New macro.
33537         Include test-skeleton.c.
33538         * stdio-common/tst-sscanf.c (main): Converted to ...
33539         (do_test): ... this.
33540         (TEST_FUNCTION): New macro.
33541         Include test-skeleton.c.
33542         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
33543         (do_test): ... this.
33544         (TEST_FUNCTION): New macro.
33545         Include test-skeleton.c.
33547         * elf/tst-audit9.c (main): Converted to ...
33548         (do_test): ... this.
33549         (TEST_FUNCTION): New macro.
33550         Include test-skeleton.c.
33552 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
33554         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
33556 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
33558         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
33559         New variable.
33561 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
33563         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33565 2015-07-14  Roland McGrath  <roland@hack.frob.com>
33567         * sysdeps/generic/dl-fileid.h: New file.
33568         * sysdeps/posix/dl-fileid.h: New file.
33569         * sysdeps/nacl/dl-fileid.h: New file.
33570         * include/link.h: Include <dl-fileid.h>.
33571         (struct link_map): Replace l_dev and l_ino with l_file_id.
33572         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
33573         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
33574         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
33576 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33578         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
33580 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33582         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
33583         Add iff $CXX is set.
33584         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
33585         Likewise.
33586         (tst-nodelete-zmodiff): Likewise.
33587         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
33589 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33591         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
33593 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
33595         * sysdeps/aarch64/fpu/math_private.h
33596         (define math_opt_barrier): Add AArch64 version.
33597         (math_force_eval): Likewise.
33599 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
33601         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
33603 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
33605         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
33606         %ld with %jd and cast to intmax_t.
33607         (do_test_length_zero): Likewise.
33609 2015-07-10  Roland McGrath  <roland@hack.frob.com>
33611         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
33613 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
33615         * sysdeps/tile/libm-test-ulps: Regenerated.
33617         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
33618         Comment out the whole function, not just its body.
33620 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33622         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
33623         locks.
33625         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
33627 2015-07-10  Torvald Riegel  <triegel@redhat.com>
33629         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
33630         (sem_assume_only_signals_cause_futex_EINTR): Remove.
33632 2015-07-10  Torvald Riegel  <triegel@redhat.com>
33634         * sysdeps/nptl/futex-internal.h: New file.
33635         * sysdeps/nacl/futex-internal.h: New file.
33636         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
33637         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
33638         error checking.
33639         (setxid_unmark_thread): Likewise.
33640         (__nptl_setxid): Likewise.
33641         (__wait_lookup_done): Likewise.
33642         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
33643         * nptl/nptl-init.c (sighandler_setxid): Likewise.
33644         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
33645         * nptl/pthread_once.c (clear_once_control): Likewise.
33646         (__pthread_once_slow): Likewise.
33647         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
33648         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
33649         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
33650         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
33651         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
33652         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
33653         Likewise.
33654         (__pthread_rwlock_rdlock): Likewise.
33655         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
33656         Likewise.
33657         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
33658         Likewise.
33659         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
33660         Likewise.
33661         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
33662         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
33663         Likewise.
33664         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
33665         __ASSUME_PRIVATE_FUTEX check.
33666         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
33667         Check that shared futexes are supported.
33668         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
33669         wrappers with error checking.
33670         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
33671         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
33672         * nptl/pthread_barrierattr_setpshared.c
33673         (pthread_barrierattr_setpshared): Check that shared futexes are
33674         supported.
33675         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
33676         Likewise.
33677         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
33678         Likewise.
33679         * nptl/sem_init.c (futex_private_if_supported): Remove.
33680         (__new_sem_init): Adapt and check that shared futexes are supported.
33681         * nptl/sem_open.c (sem_open): Likewise.
33682         * nptl/sem_post.c (futex_wake): Remove.
33683         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
33684         (do_futex_wait): Use futex wrappers with error checking.
33685         * nptl/sem_wait.c: Include lowlevellock.h.
33686         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
33687         Use futex_supports_pshared.
33688         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
33689         Use futex wrappers with error checking.
33690         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
33691         Likewise.
33692         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
33693         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
33694         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
33695         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
33696         (futex_wake): Likewise.
33697         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
33698         (do_futex_wait): Use futex wrappers with error checking.
33699         (__new_sem_wait_slow): Update EINTR handling.
33700         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
33702 2015-07-09  Martin Sebor  <msebor@redhat.com>
33704         [BZ #18435]
33705         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
33706         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
33707         * nptl/Makefile (test-xfail-tst-once5): Define.
33709 2015-07-09  Roland McGrath  <roland@hack.frob.com>
33711         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
33712         * elf/dl-minimal.c: For readability, reorder some definitions and
33713         introduce more page breaks.  Include <stdio.h>.
33714         (__libc_fatal): New function.
33716         * include/unistd.h: Add rtld_hidden_proto for _exit.
33717         * posix/_exit.c: Add rtld_hidden_def.
33718         * sysdeps/mach/hurd/_exit.c: Likewise.
33719         * sysdeps/nacl/_exit.c: Likewise.
33720         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
33721         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
33723 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
33725         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
33726         bndmov encoding with zero displacement.
33728 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
33729             H.J. Lu  <hongjiu.lu@intel.com>
33731         [BZ #18134]
33732         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
33733         * sysdeps/i386/configure: Regenerated.
33734         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
33735         (_dl_runtime_profile): Save and restore Intel MPX return bound
33736         registers when calling _dl_call_pltexit.  Add
33737         PRESERVE_BND_REGS_PREFIX before return.
33738         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
33739         (LRV_BND1_OFFSET): Likewise.
33740         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
33741         lrv_bnd1.
33742         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
33743         typo in bndmov encoding.
33744         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
33745         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
33746         branch instructions to preserve bounds.
33748 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
33751         [GLIBC_2.22]: Add fmemopen.
33753 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33755         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
33756         returns an error, also try to use host port from __mach_host_self for
33757         the __vm_wire call.
33758         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
33760 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33762         [BZ #18400]
33763         [BZ #18648]
33764         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
33765         Fix pr_uid and pr_gid members.
33766         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
33767         definition to elf_greg_t.
33769 2015-07-08  Roland McGrath  <roland@hack.frob.com>
33771         [BZ #18383]
33772         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
33773         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
33774         * sysdeps/arm/configure: Regenerated.
33775         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
33776         (test-xfail-tst-tlsalign-static): Variable removed.
33778         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
33779         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
33780         rather than explicit 'ln -s'.
33782         * resolv/rpc/netdb.h: New file.
33783         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
33785 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33787         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
33788         length buffers.
33789         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
33790         test-skeleton.c.
33792         [BZ #6544]
33793         [BZ #11216]
33794         [BZ #12836]
33795         [BZ #13151]
33796         [BZ #13152]
33797         [BZ #14292]
33798         * include/stdio.h (fmemopen): Remove hidden prototype.
33799         (__fmemopen): Add new hidden prototype.
33800         * libio/Makefile: Add oldfmemopen object.
33801         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
33802         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
33803         compliance.
33804         * libio/oldfmemopen.c: New file: old fmemopen implementation for
33805         symbol compatibility.
33806         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
33807         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
33808         fmemopen.
33809         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
33810         on append and read mode.
33811         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
33812         fmemopen.
33813         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
33814         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
33815         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
33816         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
33817         Likewise.
33818         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
33819         [GLIBC_2.22]: Likewise.
33820         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
33821         Likewise.
33822         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
33823         Likewise.
33824         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
33825         [GLIBC_2.22]: Likewise.
33826         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
33827         [GLIBC_2.22]: Likewise.
33828         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
33829         [GLIBC_2.22]: Likewise.
33830         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
33831         [GLIBC_2.22]: Likewise.
33832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
33833         [GLIBC_2.22]: Likewise.
33834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
33835         [GLIBC_2.22]: Likewise.
33836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
33837         [GLIBC_2.22]: Likewise.
33838         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
33839         Likewise.
33840         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
33841         Likewise.
33842         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
33843         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
33844         [GLIBC_2.22]: Likewise.
33845         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
33846         [GLIBC_2.22]: Likewise.
33847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
33848         [GLIBC_2.22]: Likewise.
33849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
33850         [GLIBC_2.22]: Likewise.
33851         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
33852         Likewise.
33853         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
33854         Likewise.
33855         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
33856         Likewise.
33857         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
33858         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
33860 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
33862         [BZ #18643]
33863         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
33864         IPV6_PATHMTU, and IPV6_DONTFRAG.
33866 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
33868         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
33869         and _IO_UNBUFFERED.
33870         * libio/oldfileops.c: Likewise.
33871         * libio/wfileops.c: Likewise.
33873 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
33875         * nscd/selinux.c: Delete selinux/flask.h include.
33877 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
33879         [BZ #18641]
33880         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
33881         (putpwent): Likewise.
33882         (getpwnam): Likewise.
33883         (getpwent_r): Likewise.
33884         (getpwuid_r): Likewise.
33885         (getpwnam_r): Likewise.
33886         (fgetpwent_r): Likewise.
33888 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
33890         [BZ #18557]
33891         * inet/rcmd.c (__validuser2_sa): Check user first to
33892         short-circuit host check.
33894 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
33895             Mikhail Ilin  <m.ilin@samsung.com>
33897         [BZ #17833]
33898         * elf/Makefile (tests): Add tst-nodelete.
33899         (modules-names): Add tst-nodelete-uniquemod.
33900         (tst-nodelete-uniquemod.so-no-z-defs): New.
33901         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
33902         (tst-nodelete-zmod.so-no-z-defs): Likewise.
33903         ($(objpfx)tst-nodelete): Likewise.
33904         ($(objpfx)tst-nodelete.out): Likewise.
33905         (LDFLAGS-tst-nodelete): Likewise.
33906         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
33907         * elf/dl-close.c (_dl_close_worker): Add a parameter to
33908         implement forced object deletion.
33909         (_dl_close): Pass false to _dl_close_worker.
33910         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
33911         * elf/tst-nodelete.cc: New file.
33912         * elf/tst-nodeletelib.cc: Likewise.
33913         * elf/tst-znodeletelib.cc: Likewise.
33914         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
33916 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33918         [BZ #18508]
33919         * stdlib/Makefile ($(objpfx)tst-makecontext3):
33920         Depend on $(libdl).
33921         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
33922         is not called infinitely times.
33923         (backtrace_helper): New function.
33924         (trace_arg): New struct.
33925         (st1): Enlarge stack size.
33926         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33927         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
33928         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33929         Likewise.
33931 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33933         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33935 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33937         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
33938         Include sys/types.h instead of bits/types.h.
33939         Remove inclusion of bits/wordsize.h.
33941 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33943         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
33944         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
33945         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
33946         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
33947         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
33948         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
33950 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33952         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
33953         link-defines.sym.
33954         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
33955         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
33956         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
33957         and LR_SIZE.
33958         * sysdeps/i386/link-defines.sym: New file.
33960 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33962         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
33963         (modules-names): Add tst-auditmod3a tst-auditmod3b.
33964         ($(objpfx)tst-audit3): New rule.
33965         ($(objpfx)tst-audit3.out): Likewise.
33966         * sysdeps/i386/tst-audit3.c: New file.
33967         * sysdeps/i386/tst-audit3.h: Likewise.
33968         * sysdeps/i386/tst-auditmod3a.c: Likewise.
33969         * sysdeps/i386/tst-auditmod3b.c: Likewise.
33971 2015-07-07  Torvald Riegel  <triegel@redhat.com>
33973         [BZ #18633]
33974         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
33975         pointer in C code.
33976         (__strcat_c): Likewise.
33977         (__strcat_g): Likewise.
33979 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
33981         [BZ #18592]
33982         * misc/sbrk.c: Set errno to ENOMEM on overflow.
33984 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
33986         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
33987         New function.  (__ieee754_sqrtf): New function.
33988         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
33989         New function.
33990         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
33991         New function.
33993 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
33995         * sysdeps/ieee754/support.c: Remove unused file.
33997 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33999         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34000         registers instead of d ones so the layout is kernel abi compatible.
34001         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34002         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34003         Likewise.
34005 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34007         * sysdeps/aarch64/libm-test-ulps: Regenerated.
34009 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34011         [BZ #18619]
34012         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34013         and return argument in case of subnormal argument.
34015 2015-07-01  Martin Sebor  <msebor@redhat.com>
34017         [BZ #18435]
34018         * nptl/Makefile: Add tst-once5.cc.
34019         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34020         Remove macro redefinitions.
34021         * nptl/tst-once5.cc: New test.
34023 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34025         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34027         * sysdeps/arm/libm-test-ulps: Regenerated.
34029         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34030         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34032 2015-06-30  Torvald Riegel  <triegel@redhat.com>
34034         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34035         lll_lock_wait_private and lll_futex_wake probes.
34037         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34038         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34039         Likewise.
34040         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34041         atomic_spin_nop.
34042         * sysdeps/x86_64/bits/atomic.h: Likewise.
34043         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34044         to atomic_spin_nop and move ...
34045         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34046         ... here and ...
34047         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34048         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34049         atomic_spin_nop instead of BUSY_WAIT_NOP.
34050         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34051         Likewise.
34052         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34053         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34054         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34055         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34056         instead of atomic_delay.
34058 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
34060         [BZ #18613]
34061         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34062         X_ADJ not X when adjusting exponent.
34063         (__ieee754_gamma_r): Do intermediate computations in
34064         round-to-nearest then adjust overflowing and underflowing results
34065         as needed.
34066         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34067         of X_ADJ not X when adjusting exponent.
34068         (__ieee754_gammaf_r): Do intermediate computations in
34069         round-to-nearest then adjust overflowing and underflowing results
34070         as needed.
34071         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34072         log of X_ADJ not X when adjusting exponent.
34073         (__ieee754_gammal_r): Do intermediate computations in
34074         round-to-nearest then adjust overflowing and underflowing results
34075         as needed.  Use 1.0L not 1.0f as numerator of division.
34076         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34077         log of X_ADJ not X when adjusting exponent.
34078         (__ieee754_gammal_r): Do intermediate computations in
34079         round-to-nearest then adjust overflowing and underflowing results
34080         as needed.  Use 1.0L not 1.0f as numerator of division.
34081         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34082         of X_ADJ not X when adjusting exponent.
34083         (__ieee754_gammal_r): Do intermediate computations in
34084         round-to-nearest then adjust overflowing and underflowing results
34085         as needed.  Use 1.0L not 1.0f as numerator of division.
34086         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
34087         to auto-libm-test-in.
34088         (tgamma_test): Use ALL_RM_TEST.
34089         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
34090         tests of tgamma with spurious-overflow.
34091         * math/auto-libm-test-out: Regenerated.
34092         * math/gen-libm-have-vector-test.sh: Do not check for START.
34093         * sysdeps/i386/fpu/libm-test-ulps: Update.
34094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34096         [BZ #18612]
34097         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34098         arguments, just return 0.5 times the argument, with underflow
34099         forced as needed.
34100         * math/auto-libm-test-in: Add more tests of j1.
34101         * math/auto-libm-test-out: Regenerated.
34103         [BZ #16559]
34104         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
34105         (__ieee754_j1): Force underflow exception for small results.
34106         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34107         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
34108         (__ieee754_j1f): Force underflow exception for small results.
34109         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34110         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34111         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34112         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
34113         (__ieee754_j1l): Force underflow exception for small results.
34114         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34115         * math/auto-libm-test-in: Add more tests of j1 and jn.
34116         * math/auto-libm-test-out: Regenerated.
34118         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
34119         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
34120         (PF_MPLS): Likewise.
34121         (AF_IB): Likewise.
34122         (AF_MPLS): Likewise.
34123         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
34124         value and macro.
34125         (MS_RMT_MASK): Include MS_LAZYTIME.
34127 2015-06-26  Mel Gorman  <mgorman@suse.de>
34129         [BZ #18502]
34130         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
34131         already minimal.
34133 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
34135         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
34136         (DT_MIPS_NUM): Update.
34137         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
34138         DT_MIPS_RLD_MAP_REL.
34140 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
34142         [BZ #16559]
34143         [BZ #18602]
34144         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
34145         round-to-nearest internally then recompute results that
34146         underflowed to zero in the original rounding mode.
34147         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34148         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34149         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34150         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34151         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
34152         * sysdeps/i386/fpu/libm-test-ulps: Update.
34153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34155 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
34157         * NEWS: Fixed description of link with vector math library.
34159 2015-06-25  Andreas Schwab  <schwab@suse.de>
34161         [BZ #18549]
34162         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
34163         * libio/test-fmemopen.c (do_test): Add test for it.
34165 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
34167         [BZ #17841]
34168         * Makeconfig (no-pie-ldflag): New.
34169         (+link): Set to $(+link-pie) if default to PIE.
34170         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
34171         * config.make.in (build-pie-default): New.
34172         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
34173         is default.  AC_SUBST.
34174         * configure: Regenerated.
34175         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
34177 2015-06-24  Roland McGrath  <roland@hack.frob.com>
34179         * nptl/descr.h (struct pthread): Change type of field setxid_futex
34180         to 'unsigned int'.
34182         * resolv/gai_misc.h (struct waitlist): Change type of field
34183         counterp to 'volatile unsigned int *'.
34184         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
34185         FUTEXADDR and OLDVAL.
34186         * resolv/getaddrinfo_a.c (getaddrinfo_a):
34187         Give local variable TOTAL type 'volatile unsigned int'.
34188         (struct async_waitlist): Change type of field counter to 'unsigned int'.
34189         * resolv/gai_suspend.c (gai_suspend):
34190         Give local variable CNTR type 'unsigned int'.
34192         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
34193         counterp to 'volatile unsigned int *'.
34194         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
34195         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
34196         (aio_suspend): Give local variable CNTR type 'unsigned int'.
34197         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
34198         Give local variable TOTAL type 'volatile unsigned int'.
34199         (struct async_waitlist): Change type of field counter to 'unsigned int'.
34201 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34203         [BZ #18383]
34204         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
34205         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
34206         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
34207         comment for i386/x86-64.
34208         (test-xfail-tst-tlsalign-extern-static): Removed.
34210 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
34212         * math/test-double.h: New file.
34213         * math/test-float.h: Likewise.
34214         * math/test-ldouble.h: Likewise.
34215         * math/test-math-inline.h: Likewise.
34216         * math/test-math-no-inline.h: Likewise.
34217         * math/test-math-scalar.h: Likewise.
34218         * math/test-math-vector.h: Likewise.
34219         * math/test-vec-loop.h: Remove file.  Contents moved into
34220         test-math-vector.h.
34221         * math/libm-test.inc (MATHCONST): Do not document macro.
34222         * math/test-double.c: Include test-double.h, test-math-no-inline.h
34223         and test-math-scalar.h.
34224         (FUNC): Remove macro.
34225         (FUNC_TEST): Likewise.
34226         (FLOAT): Likewise.
34227         (MATHCONST): Likewise.
34228         (PRINTF_EXPR): Likewise.
34229         (PRINTF_XEXPR): Likewise.
34230         (PRINTF_NEXPR): Likewise.
34231         (TEST_DOUBLE): Likewise.
34232         (TEST_MATHVEC): Likewise.
34233         (__NO_MATH_INLINES): Likewise.
34234         * math/test-float.c: Include test-float.h, test-math-no-inline.h
34235         and test-math-scalar.h.
34236         (FUNC): Remove macro.
34237         (FUNC_TEST): Likewise.
34238         (FLOAT): Likewise.
34239         (MATHCONST): Likewise.
34240         (PRINTF_EXPR): Likewise.
34241         (PRINTF_XEXPR): Likewise.
34242         (PRINTF_NEXPR): Likewise.
34243         (TEST_FLOAT): Likewise.
34244         (TEST_MATHVEC): Likewise.
34245         (__NO_MATH_INLINES): Likewise.
34246         * math/test-idouble.c: Include test-double.h, test-math-inline.h
34247         and test-math-scalar.h.
34248         (FUNC): Remove macro.
34249         (FUNC_TEST): Likewise.
34250         (FLOAT): Likewise.
34251         (MATHCONST): Likewise.
34252         (PRINTF_EXPR): Likewise.
34253         (PRINTF_XEXPR): Likewise.
34254         (PRINTF_NEXPR): Likewise.
34255         (TEST_DOUBLE): Likewise.
34256         (TEST_MATHVEC): Likewise.
34257         (TEST_INLINE): Likewise.
34258         (__NO_MATH_INLINES): Likewise.
34259         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
34260         test-math-scalar.h.
34261         (FUNC): Remove macro.
34262         (FUNC_TEST): Likewise.
34263         (FLOAT): Likewise.
34264         (MATHCONST): Likewise.
34265         (PRINTF_EXPR): Likewise.
34266         (PRINTF_XEXPR): Likewise.
34267         (PRINTF_NEXPR): Likewise.
34268         (TEST_FLOAT): Likewise.
34269         (TEST_MATHVEC): Likewise.
34270         (TEST_INLINE): Likewise.
34271         (__NO_MATH_INLINES): Likewise.
34272         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
34273         and test-math-scalar.h.
34274         (FUNC): Remove macro.
34275         (FUNC_TEST): Likewise.
34276         (FLOAT): Likewise.
34277         (MATHCONST): Likewise.
34278         (PRINTF_EXPR): Likewise.
34279         (PRINTF_XEXPR): Likewise.
34280         (PRINTF_NEXPR): Likewise.
34281         (TEST_LDOUBLE): Likewise.
34282         (TEST_MATHVEC): Likewise.
34283         (TEST_INLINE): Likewise.
34284         (__NO_MATH_INLINES): Likewise.
34285         * math/test-ldouble.c: Include test-ldouble.h,
34286         test-math-no-inline.h and test-math-scalar.h.
34287         (FUNC): Remove macro.
34288         (FUNC_TEST): Likewise.
34289         (FLOAT): Likewise.
34290         (MATHCONST): Likewise.
34291         (PRINTF_EXPR): Likewise.
34292         (PRINTF_XEXPR): Likewise.
34293         (PRINTF_NEXPR): Likewise.
34294         (TEST_LDOUBLE): Likewise.
34295         (TEST_MATHVEC): Likewise.
34296         (__NO_MATH_INLINES): Likewise.
34297         * math/test-double-vlen2.h: Include test-double.h,
34298         test-math-no-inline.h and test-math-vector.h.
34299         (FLOAT): Remove macro.
34300         (FUNC): Likewise.
34301         (MATHCONST): Likewise.
34302         (PRINTF_EXPR): Likewise.
34303         (PRINTF_XEXPR): Likewise.
34304         (PRINTF_NEXPR): Likewise.
34305         (TEST_DOUBLE): Likewise.
34306         (TEST_MATHVEC): Likewise.
34307         (__NO_MATH_INLINES): Likewise.
34308         (CNCT): Likewise.
34309         (CONCAT): Likewise.
34310         (WRAPPER_NAME): Likewise.
34311         (WRAPPER_DECL): Likewise.
34312         (WRAPPER_DECL_ff): Likewise.
34313         (WRAPPER_DECL_fFF): Likewise.
34314         (VECTOR_WRAPPER): Likewise.
34315         (VECTOR_WRAPPER_ff): Likewise.
34316         (VECTOR_WRAPPER_fFF): Likewise.
34317         (VEC_LEN): New macro.
34318         * math/test-double-vlen4.h: Include test-double.h,
34319         test-math-no-inline.h and test-math-vector.h.
34320         (FLOAT): Remove macro.
34321         (FUNC): Likewise.
34322         (MATHCONST): Likewise.
34323         (PRINTF_EXPR): Likewise.
34324         (PRINTF_XEXPR): Likewise.
34325         (PRINTF_NEXPR): Likewise.
34326         (TEST_DOUBLE): Likewise.
34327         (TEST_MATHVEC): Likewise.
34328         (__NO_MATH_INLINES): Likewise.
34329         (CNCT): Likewise.
34330         (CONCAT): Likewise.
34331         (WRAPPER_NAME): Likewise.
34332         (WRAPPER_DECL): Likewise.
34333         (WRAPPER_DECL_ff): Likewise.
34334         (WRAPPER_DECL_fFF): Likewise.
34335         (VECTOR_WRAPPER): Likewise.
34336         (VECTOR_WRAPPER_ff): Likewise.
34337         (VECTOR_WRAPPER_fFF): Likewise.
34338         (VEC_LEN): New macro.
34339         * math/test-double-vlen8.h: Include test-double.h,
34340         test-math-no-inline.h and test-math-vector.h.
34341         (FLOAT): Remove macro.
34342         (FUNC): Likewise.
34343         (MATHCONST): Likewise.
34344         (PRINTF_EXPR): Likewise.
34345         (PRINTF_XEXPR): Likewise.
34346         (PRINTF_NEXPR): Likewise.
34347         (TEST_DOUBLE): Likewise.
34348         (TEST_MATHVEC): Likewise.
34349         (__NO_MATH_INLINES): Likewise.
34350         (CNCT): Likewise.
34351         (CONCAT): Likewise.
34352         (WRAPPER_NAME): Likewise.
34353         (WRAPPER_DECL): Likewise.
34354         (WRAPPER_DECL_ff): Likewise.
34355         (WRAPPER_DECL_fFF): Likewise.
34356         (VECTOR_WRAPPER): Likewise.
34357         (VECTOR_WRAPPER_ff): Likewise.
34358         (VECTOR_WRAPPER_fFF): Likewise.
34359         (VEC_LEN): New macro.
34360         * math/test-float-vlen4.h: Include test-float.h,
34361         test-math-no-inline.h and test-math-vector.h.
34362         (FLOAT): Remove macro.
34363         (FUNC): Likewise.
34364         (MATHCONST): Likewise.
34365         (PRINTF_EXPR): Likewise.
34366         (PRINTF_XEXPR): Likewise.
34367         (PRINTF_NEXPR): Likewise.
34368         (TEST_FLOAT): Likewise.
34369         (TEST_MATHVEC): Likewise.
34370         (__NO_MATH_INLINES): Likewise.
34371         (CNCT): Likewise.
34372         (CONCAT): Likewise.
34373         (WRAPPER_NAME): Likewise.
34374         (WRAPPER_DECL): Likewise.
34375         (WRAPPER_DECL_ff): Likewise.
34376         (WRAPPER_DECL_fFF): Likewise.
34377         (VECTOR_WRAPPER): Likewise.
34378         (VECTOR_WRAPPER_ff): Likewise.
34379         (VECTOR_WRAPPER_fFF): Likewise.
34380         (VEC_LEN): New macro.
34381         * math/test-float-vlen8.h: Include test-float.h,
34382         test-math-no-inline.h and test-math-vector.h.
34383         (FLOAT): Remove macro.
34384         (FUNC): Likewise.
34385         (MATHCONST): Likewise.
34386         (PRINTF_EXPR): Likewise.
34387         (PRINTF_XEXPR): Likewise.
34388         (PRINTF_NEXPR): Likewise.
34389         (TEST_FLOAT): Likewise.
34390         (TEST_MATHVEC): Likewise.
34391         (__NO_MATH_INLINES): Likewise.
34392         (CNCT): Likewise.
34393         (CONCAT): Likewise.
34394         (WRAPPER_NAME): Likewise.
34395         (WRAPPER_DECL): Likewise.
34396         (WRAPPER_DECL_ff): Likewise.
34397         (WRAPPER_DECL_fFF): Likewise.
34398         (VECTOR_WRAPPER): Likewise.
34399         (VECTOR_WRAPPER_ff): Likewise.
34400         (VECTOR_WRAPPER_fFF): Likewise.
34401         (VEC_LEN): New macro.
34402         * math/test-float-vlen16.h: Include test-float.h,
34403         test-math-no-inline.h and test-math-vector.h.
34404         (FLOAT): Remove macro.
34405         (FUNC): Likewise.
34406         (MATHCONST): Likewise.
34407         (PRINTF_EXPR): Likewise.
34408         (PRINTF_XEXPR): Likewise.
34409         (PRINTF_NEXPR): Likewise.
34410         (TEST_FLOAT): Likewise.
34411         (TEST_MATHVEC): Likewise.
34412         (__NO_MATH_INLINES): Likewise.
34413         (CNCT): Likewise.
34414         (CONCAT): Likewise.
34415         (WRAPPER_NAME): Likewise.
34416         (WRAPPER_DECL): Likewise.
34417         (WRAPPER_DECL_ff): Likewise.
34418         (WRAPPER_DECL_fFF): Likewise.
34419         (VECTOR_WRAPPER): Likewise.
34420         (VECTOR_WRAPPER_ff): Likewise.
34421         (VECTOR_WRAPPER_fFF): Likewise.
34422         (VEC_LEN): New macro.
34423         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
34424         test-vec-loop.h.
34425         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34426         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34427         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34428         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34429         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34430         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34431         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
34433 2015-06-24  Roland McGrath  <roland@hack.frob.com>
34435         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
34436         (__getlogin_r): ... this.
34438 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
34440         [BZ #18594]
34441         * math/s_ccosh.c (__ccosh): Compare with least normal value
34442         instead of comparing class with FP_SUBNORMAL.
34443         * math/s_ccoshf.c (__ccoshf): Likewise.
34444         * math/s_ccoshl.c (__ccoshl): Likewise.
34445         * math/s_cexp.c (__cexp): Likewise.
34446         * math/s_cexpf.c (__cexpf): Likewise.
34447         * math/s_cexpl.c (__cexpl): Likewise.
34448         * math/s_csin.c (__csin): Likewise.
34449         * math/s_csinf.c (__csinf): Likewise.
34450         * math/s_csinh.c (__csinh): Likewise.
34451         * math/s_csinhf.c (__csinhf): Likewise.
34452         * math/s_csinhl.c (__csinhl): Likewise.
34453         * math/s_csinl.c (__csinl): Likewise.
34454         * math/s_ctan.c (__ctan): Likewise.
34455         * math/s_ctanf.c (__ctanf): Likewise.
34456         * math/s_ctanh.c (__ctanh): Likewise.
34457         * math/s_ctanhf.c (__ctanhf): Likewise.
34458         * math/s_ctanhl.c (__ctanhl): Likewise.
34459         * math/s_ctanl.c (__ctanl): Likewise.
34460         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
34461         csin, csinh, ctan and ctanh.
34462         * math/auto-libm-test-out: Regenerated.
34463         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
34464         * sysdeps/i386/fpu/libm-test-ulps: Update.
34465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34467 2015-06-24  Roland McGrath  <roland@hack.frob.com>
34469         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
34470         return value is wrong, print the expected value too.
34472 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34474         [BZ #18585]
34475         * elf/readlib.c (is_gdb_python_file): New.
34476         (process_file): Don't issue errors on filenames with -gdb.py
34477         suffix.
34479 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
34481         * math/auto-libm-test-in: Add more tests of csin and csinh.
34482         * math/auto-libm-test-out: Regenerated.
34483         * math/libm-test.inc (csin_test_data): Remove tests moved to
34484         auto-libm-test-in.
34485         (csinh_test_data): Likewise.
34487         [BZ #18593]
34488         * math/s_csin.c (__csin): Negate before rather than after possibly
34489         overflowing multiplication.
34490         * math/s_csinf.c (__csinf): Likewise.
34491         * math/s_csinh.c (__csinh): Likewise.
34492         * math/s_csinhf.c (__csinhf): Likewise.
34493         * math/s_csinhl.c (__csinhl): Likewise.
34494         * math/s_csinl.c (__csinl): Likewise.
34495         * math/auto-libm-test-in: Add some tests of csin and csinh.
34496         * math/auto-libm-test-out: Regenerated.
34497         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
34498         (csinh_test_data): Likewise.
34499         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34501         [BZ #18586]
34502         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
34503         underflow exception for small results.
34505 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
34507         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
34508         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
34509         variable and included header.
34510         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
34511         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
34512         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
34513         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
34514         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
34515         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
34516         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
34517         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
34518         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
34519         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
34520         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
34521         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
34522         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
34523         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
34524         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
34525         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
34527 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
34529         [BZ #16526]
34530         [BZ #16538]
34531         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
34532         (__sin): Force underflow exception for arguments with small
34533         absolute value.
34534         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
34535         (__kernel_sinf): Force underflow exception for arguments with
34536         small absolute value.
34537         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
34538         (__kernel_sincosl): Force underflow exception for arguments with
34539         small absolute value.
34540         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
34541         (__kernel_sinl): Force underflow exception for arguments with
34542         small absolute value.
34543         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
34544         (__kernel_sincosl): Force underflow exception for arguments with
34545         small absolute value.
34546         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
34547         (__kernel_sinl): Force underflow exception for arguments with
34548         small absolute value.
34549         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
34550         (__kernel_sinl): Force underflow exception for arguments with
34551         small absolute value.
34552         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
34553         (__kernel_sinf): Force underflow exception for arguments with
34554         small absolute value.
34555         * math/auto-libm-test-in: Add more tests of sin and sincos.
34556         * math/auto-libm-test-out: Regenerated.
34558         [BZ #18245]
34559         [BZ #18583]
34560         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
34561         (__kernel_standard_l): Use feholdexcept and fesetenv around
34562         conversion to double instead of special-casing overflow and
34563         underflow.
34564         * math/libm-test.inc (fmod_test_data): Add more tests.
34565         (remainder_test_data): Likewise.
34566         (sqrt_test_data): Likewise.
34568 2015-06-23  Torvald Riegel  <triegel@redhat.com>
34570         [BZ #17403]
34571         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
34572         atomic_read_barrier, atomic_write_barrier): Define.
34573         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
34574         atomic_read_barrier, atomic_write_barrier): Define.
34576 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
34578         * math/Makefile [$(PERL) != no]
34579         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
34580         dependency on libm-test.stmp below the inclusion of Rules.
34582 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
34584         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
34585         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
34586         and included header.
34587         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
34588         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
34589         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
34590         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
34591         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
34592         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
34593         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
34594         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
34595         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
34596         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
34597         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
34598         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
34599         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
34600         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
34601         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
34602         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
34603         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
34604         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
34605         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
34607 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
34609         [BZ #18371]
34610         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
34611         intermediate but not final result might underflow.
34612         * math/s_csqrtf.c (__csqrtf): Likewise.
34613         * math/s_csqrtl.c (__csqrtl): Likewise.
34614         * math/auto-libm-test-in: Add more tests of csqrt.
34615         * math/auto-libm-test-out: Regenerated.
34616         * sysdeps/i386/fpu/libm-test-ulps: Update.
34618         [BZ #18219]
34619         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
34620         threshold on absolute value of exponent for which scaling is used.
34621         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
34622         * math/auto-libm-test-in: Add more tests of exp2.
34623         * math/auto-libm-test-out: Regenerated.
34625 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
34627         [BZ #17977]
34628         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
34629         when initializing interface list, based on the bug analysis
34630         and the patch proposed by Eric Newton.
34631         * resolv/tst-res_hconf_reorder.c: New test.
34632         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
34633         tst-res_hconf_reorder.
34634         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
34635         and $(shared-thread-library).
34636         (tst-res_hconf_reorder-ENV): New variable.
34638         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
34639         in comment.
34641 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
34643         [BZ #16353]
34644         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
34645         (__expm1): Force underflow exception for arguments with small
34646         absolute value.
34647         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
34648         (__expm1f): Force underflow exception for arguments with small
34649         absolute value.
34650         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
34651         (__expm1): Force underflow exception for arguments with small
34652         absolute value.
34653         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
34654         (__expm1f): Force underflow exception for arguments with small
34655         absolute value.
34656         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34657         Check for small arguments before calling __expm1.
34658         * math/auto-libm-test-in: Do not mark underflow exceptions as
34659         possibly missing for bug 16353.
34660         * math/auto-libm-test-out: Regenerated.
34662 2015-06-22  Andreas Schwab  <schwab@suse.de>
34664         [BZ #18513]
34665         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
34666         PTR queries.
34668 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
34670         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
34672         * string/strcoll_l.c: Remove unused struct element idxnow.
34674 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
34676         [BZ #18569]
34677         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
34678         underflow and return argument in case of subnormal argument.
34679         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34680         Likewise.
34681         * math/auto-libm-test-in: Add more tests of expm1.
34682         * math/auto-libm-test-out: Regenerated.
34684         [BZ #16361]
34685         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
34686         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
34687         tiny results.
34688         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
34689         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
34690         tiny results.
34691         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
34692         mark underflow exceptions as possibly missing for bug 16361.
34693         * math/auto-libm-test-out: Regenerated.
34695 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
34697         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
34698         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
34699         Remove variable.
34700         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
34701         (test-xfail-XOPEN2K8/utmpx.h/conform).
34703         * conform/conformtest.pl ($xerrors): New variable.
34704         (note_error): New function.
34705         (compiletest): New argument $xfail.  Use not_error.
34706         (runtest): Likewise.
34707         (top level): Handle xfail- lines.  Update calls to compiletest and
34708         runtest.  Handle xfail- and optional- in headers listed with
34709         allow-header.
34710         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
34711         (O_EXEC): Likewise.
34712         (O_SEARCH): Likewise.
34713         * conform/data/stropts.h-data (ioctl): Likewise.
34714         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
34715         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
34716         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
34717         (msghdr.msg_controllen): Likewise.
34718         (cmsghdr.cmsg_len): Likewise.
34719         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
34720         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
34721         variable.
34722         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
34723         (test-xfail-XPG4/stropts.h/conform): Likewise.
34724         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
34725         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
34726         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
34727         (test-xfail-UNIX98/stropts.h/conform): Likewise.
34728         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
34729         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
34730         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
34731         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
34732         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
34733         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
34734         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
34735         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
34736         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
34737         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
34738         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
34739         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
34740         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
34741         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
34742         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
34744 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
34746         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
34747         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
34748         definitions for proper unfolding of __MATHDECL_VEC.
34750 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
34752         * benchtests/bench-strcoll.c:
34753         Include string.h.
34754         (main): Remove unused variable res.
34756 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
34758         * timezone/Makefile (%/UTC %/Universal):
34759         Generate test-result files for UTC and Universal.
34761 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
34763         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34765 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
34767         [BZ #16350]
34768         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
34769         for arguments with small absolute value.
34770         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
34771         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
34772         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
34773         (__asinh): Force underflow exception for arguments with small
34774         absolute value.
34775         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
34776         (__asinhf): Force underflow exception for arguments with small
34777         absolute value.
34778         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
34779         (__asinhl): Force underflow exception for arguments with small
34780         absolute value.
34781         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
34782         (__asinhl): Force underflow exception for arguments with small
34783         absolute value.
34784         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
34785         (__asinhl): Force underflow exception for arguments with small
34786         absolute value.
34787         * math/auto-libm-test-in: Do not mark underflow exceptions as
34788         possibly missing for bug 16350.
34789         * math/auto-libm-test-out: Regenerated.
34791         * include/bits/ipc.h: Remove file.
34792         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
34793         variable.
34794         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
34795         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
34796         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
34797         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
34798         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
34799         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
34800         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
34801         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
34802         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
34804         * math/auto-libm-test-in: Remove spurious underflow allowance for
34805         tests of cexp.
34806         * math/auto-libm-test-out: Regenerated.
34808         [BZ #18558]
34809         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
34810         unconditional definition.
34811         (MCAST_BLOCK_SOURCE): Likewise.
34812         (MCAST_UNBLOCK_SOURCE): Likewise.
34813         (MCAST_LEAVE_GROUP): Likewise.
34814         (MCAST_JOIN_SOURCE_GROUP): Likewise.
34815         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34816         (MCAST_MSFILTER): Likewise.
34817         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
34818         Remove variable.
34819         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
34820         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
34821         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
34822         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
34823         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
34825 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
34827         * NEWS: Mention addition of x86_64 vector sincosf.
34828         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
34829         * math/test-float-vlen4.h: Likewise.
34830         * math/test-float-vlen8.h: Likewise.
34831         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34832         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
34833         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34834         * sysdeps/x86_64/fpu/Versions: New versions added.
34835         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34836         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34837         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34838         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
34839         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
34840         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
34841         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
34842         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
34843         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
34844         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
34845         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
34846         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
34847         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
34848         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
34849         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
34850         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
34851         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
34852         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
34853         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34854         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34855         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34856         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34857         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34858         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34860         * NEWS: Mention addition of x86_64 vector sincos.
34861         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
34862         * math/math.h (__MATHDECL_VEC): New macro.
34863         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
34864         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
34865         declaration under condition.
34866         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
34867         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
34868         TEST_VEC_LOOP change.
34869         * math/test-double-vlen4.h: Likewise.
34870         * math/test-double-vlen8.h: Likewise.
34871         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
34872         * math/test-float-vlen4.h: Likewise.
34873         * math/test-float-vlen8.h: Likewise.
34874         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34875         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
34876         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34877         * sysdeps/x86_64/fpu/Versions: New versions added.
34878         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34879         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34880         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34881         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
34882         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
34883         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
34884         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
34885         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
34886         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
34887         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
34888         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
34889         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
34890         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
34891         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
34892         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
34893         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
34894         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
34895         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34896         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34897         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34898         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34899         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34900         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34901         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34903         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34904         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34905         redirections for powf.
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/svml_s_wrapper_impl.h: Added 2 argument wrappers.
34912         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
34913         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
34914         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
34915         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
34916         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
34917         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
34918         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
34919         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
34920         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
34921         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
34922         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
34923         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
34924         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
34925         * sysdeps/x86_64/fpu/test-float-vlen16.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.
34932         * math/test-float-vlen16.h: Fixed 2 argument macro.
34933         * math/test-float-vlen4.h: Likewise.
34934         * math/test-float-vlen8.h: Likewise.
34935         * NEWS: Mention addition of x86_64 vector powf.
34937 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
34939         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34940         and redefine.
34941         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34942         and redefine.
34943         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
34944         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34945         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34947         [BZ #18553]
34948         * resource/getpriority.c (getpriority): Rename to __getpriority
34949         and define as weak alias of __getpriority.
34950         * resource/setpriority.c (setpriority): Rename to __setpriority
34951         and define as weak alias of __setpriority.
34952         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
34953         __getpriority and define as weak alias of __getpriority.
34954         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
34955         __setpriority and define as weak alias of __setpriority.
34956         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
34957         strong name.
34958         (setpriority): Use __setpriority as strong name.
34959         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
34960         __getpriority and define as weak alias of __getpriority.
34961         * include/sys/resource.h (__getpriority): Declare.  Use
34962         libc_hidden_proto.
34963         (__setpriority): Likewise.
34964         (getpriority): Don't use libc_hidden_proto.
34965         (setpriority): Likewise.
34966         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
34967         getpriority.  Call __setpriority instead of setpriority.
34968         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
34969         Remove variable.
34971         [BZ #18547]
34972         * misc/getttyent.c (getttynam): Rename to __getttynam and define
34973         as weak alias of __getttynam.  Use prototype function definition.
34974         Call __setttyent, __getttyent and __endttyent instead of
34975         setttyent, getttyent and endttyent.
34976         (getttyent): Rename to __getttyent and define as weak alias of
34977         __getttyent.  Call __setttyent instead of setttyent.  Call
34978         __fgets_unlocked instead of fgets_unlocked.
34979         (setttyent): Rename to __setttyent and define as weak alias of
34980         __setttyent.
34981         (endttyent): Rename to __endttyent and define as weak alias of
34982         __endttyent.
34983         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
34984         (__setttyent): Likewise.
34985         (__endttyent): Likewise.
34986         (getttyent): Don't use libc_hidden_proto.
34987         (setttyent): Likewise.
34988         (endttyent): Likewise.
34989         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
34990         __endttyent instead of setttyent, getttyent and endttyent.
34991         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
34992         Remove variable.
34994         [BZ #18546]
34995         * socket/recv.c (__recv): Use libc_hidden_def.
34996         * socket/socket.c (__socket): Likewise.
34997         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
34998         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
34999         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35000         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35001         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35002         libc_hidden_def.
35003         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35004         libc_hidden_weak.
35005         * include/sys/socket.h (__socket): Do not use attribute_hidden.
35006         Use libc_hidden_proto.
35007         (__recv): Likewise.
35008         * socket/Versions (libc): Export __recv and __socket at version
35009         GLIBC_PRIVATE.
35010         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35011         instead of recv.
35012         (init_mq_netlink): Call __socket instead of socket.
35013         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35014         Remove variable.
35016         [BZ #18545]
35017         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35018         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
35019         hidden_weak.
35020         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35021         define as alias of __mq_timedsend.  Use hidden_weak.
35022         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35023         __mq_timedsend as strong name.
35024         (mq_timedreceive): Use __mq_timedreceive as strong name.
35025         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
35026         (__mq_timedreceive): Likewise.
35027         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35028         __mq_timedreceive instead of mq_timedreceive.
35029         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35030         instead of mq_timedsend.
35031         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35032         Remove variable.
35034         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35035         hidden_def and hidden_weak instead of libc_hidden_def and
35036         libc_hidden_weak.
35037         (top level): Refer to hidden_def in comment.
35038         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35039         macro.  Use it instead of libc_hidden_def.
35040         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35041         specify __GI_* name explicitly.
35042         (mq_timedreceive): Likewise.
35043         (mq_setattr): Likewise.
35045         [BZ #18544]
35046         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35047         __pthread_barrier_init and define as weak alias of
35048         __pthread_barrier_init.
35049         * sysdeps/sparc/nptl/pthread_barrier_init.c
35050         (pthread_barrier_init): Likewise.
35051         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35052         __pthread_barrier_wait and define as weak alias of
35053         __pthread_barrier_wait.
35054         * sysdeps/sparc/nptl/pthread_barrier_wait.c
35055         (pthread_barrier_wait): Likewise.
35056         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35057         (pthread_barrier_wait): Likewise.
35058         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35059         (pthread_barrier_wait): Likewise.
35060         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35061         (pthread_barrier_wait): Likewise.
35062         * nptl/Versions (libpthread): Export __pthread_barrier_init and
35063         __pthread_barrier_wait at version GLIBC_PRIVATE.
35064         * include/pthread.h (__pthread_barrier_init): Declare.
35065         (__pthread_barrier_wait): Likewise.
35066         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35067         Call __pthread_barrier_wait instead of pthread_barrier_wait.
35068         (helper_thread): Likewise.
35069         (init_mq_netlink): Call __pthread_barrier_init instead of
35070         pthread_barrier_init.
35072         [BZ #18542]
35073         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35074         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35075         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
35076         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35077         vswscanf.
35078         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35079         Remove variable.
35081         [BZ #18540]
35082         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35083         strong alias of _IO_fflush.  Use libc_hidden_def.
35084         * libio/iofflush_u.c (fflush_unlocked): Rename to
35085         __fflush_unlocked and define as weak alias of __fflush_unlocked.
35086         Use libc_hidden_weak.
35087         * include/stdio.h (__fflush_unlocked): Declare.  Use
35088         libc_hidden_proto.
35089         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35090         fflush_unlocked.
35091         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35092         Remove variable.
35094         [BZ #18539]
35095         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35096         define as weak alias of __addseverity.
35097         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35098         Remove variable.
35099         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35100         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35101         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35103         [BZ #18536]
35104         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
35105         (__tfind): Likewise.
35106         (__tdelete): Likewise.
35107         (__twalk): Likewise.
35108         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
35109         __twalk to GLIBC_PRIVATE.
35110         * include/search.h (__tsearch): Use libc_hidden_proto.
35111         (__tfind): Likewise.
35112         (__tdelete): Likewise.
35113         (__twalk): Likewise.
35114         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
35115         Call __tdelete instead of tdelete.
35116         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
35117         tfind.  Call __tsearch instead of tsearch.
35118         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
35119         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
35120         Remove variable.
35121         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35123         [BZ #18534]
35124         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
35125         (dprintf): Define as a weak alias of __dprintf, not a strong
35126         alias.
35127         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
35128         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
35129         dprintf.
35130         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
35131         Remove variable.
35132         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35133         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35135         [BZ #18533]
35136         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
35137         not a strong alias.
35138         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
35139         Remove variable.
35141         [BZ #18532]
35142         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
35143         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
35144         (in6addr_loopback): Rename to __in6addr_loopback and define as
35145         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
35146         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
35147         libc_hidden_proto.
35148         (__in6addr_any): Likewise.
35149         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
35150         in6addr_any.
35151         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
35152         variable.
35153         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35155 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
35157         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
35158         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
35159         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35160         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35161         redirections for pow.
35162         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35163         * sysdeps/x86_64/fpu/Versions: New versions added.
35164         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35165         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35166         build of SSE, AVX2 and AVX512 IFUNC versions.
35167         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
35168         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
35169         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
35170         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
35171         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
35172         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
35173         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
35174         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
35175         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
35176         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
35177         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
35178         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
35179         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
35180         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
35181         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35182         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35183         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35184         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35185         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35186         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35187         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35188         * NEWS: Mention addition of x86_64 vector pow.
35190         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35191         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35192         redirections for expf.
35193         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35194         * sysdeps/x86_64/fpu/Versions: New versions added.
35195         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35196         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35197         build of SSE, AVX2 and AVX512 IFUNC versions.
35198         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
35199         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
35200         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
35201         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
35202         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
35203         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
35204         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
35205         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
35206         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
35207         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
35208         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
35209         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
35210         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
35211         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35212         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35213         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35214         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35215         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35216         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35217         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35218         * NEWS: Mention addition of x86_64 vector expf.
35220         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
35221         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
35222         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35223         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35224         redirections for exp.
35225         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35226         * sysdeps/x86_64/fpu/Versions: New versions added.
35227         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35228         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35229         build of SSE, AVX2 and AVX512 IFUNC versions.
35230         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
35231         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
35232         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
35233         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
35234         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
35235         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
35236         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
35237         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
35238         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
35239         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
35240         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
35241         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
35242         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
35243         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35244         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35245         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35246         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35247         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35248         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35249         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35250         * NEWS: Mention addition of x86_64 vector exp.
35252         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35253         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35254         redirections for logf.
35255         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35256         * sysdeps/x86_64/fpu/Versions: New versions added.
35257         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35258         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35259         build of SSE, AVX2 and AVX512 IFUNC versions.
35260         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
35261         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
35262         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
35263         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
35264         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
35265         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
35266         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
35267         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
35268         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
35269         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
35270         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
35271         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
35272         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
35273         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35274         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35275         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35276         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35277         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35278         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35279         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35280         * NEWS: Mention addition of x86_64 vector logf.
35282         * bits/libm-simd-decl-stubs.h: Added stubs for log.
35283         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
35284         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35285         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35286         redirections for log.
35287         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35288         * sysdeps/x86_64/fpu/Versions: New versions added.
35289         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35290         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35291         build of SSE, AVX2 and AVX512 IFUNC versions.
35292         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
35293         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
35294         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
35295         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
35296         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
35297         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
35298         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
35299         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
35300         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
35301         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
35302         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
35303         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
35304         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
35305         test.
35306         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35307         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35308         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35309         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35310         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35311         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35312         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35313         * NEWS: Mention addition of x86_64 vector log.
35315 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35317         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
35318         cfi_adjust_cfa_offset argument.
35319         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
35320         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
35322         [BZ #18034]
35323         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
35324         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
35325         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
35326         ordering using ldar.
35327         (_dl_tlsdesc_dynamic): Likewise.
35328         (_dl_tlsdesc_return_lazy): Likewise.
35329         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
35330         relaxed atomics instead of volatile and synchronize with release store.
35331         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
35332         volatile.
35333         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35335 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
35337         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35338         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
35339         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35340         * sysdeps/x86_64/fpu/Versions: New versions added.
35341         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35342         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35343         build of SSE, AVX2 and AVX512 IFUNC versions.
35344         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
35345         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
35346         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
35347         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
35348         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
35349         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
35350         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
35351         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
35352         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
35353         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
35354         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
35355         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
35356         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
35357         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35358         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35359         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35360         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35361         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35362         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35363         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35364         * NEWS: Mention addition of x86_64 vector sinf.
35366 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
35368         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
35369         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
35370         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
35371         Remove variable.
35372         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35373         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35375 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
35377         [BZ #18530]
35378         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
35379         strong alias of _IO_fputs.  Use libc_hidden_def.
35380         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
35381         and define as weak alias of __fputs_unlocked.  Use
35382         libc_hidden_weak.
35383         * include/stdio.h (__fputs_unlocked): Declare.  Use
35384         libc_hidden_proto.
35385         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
35386         fputs_unlocked.
35388         [BZ #18529]
35389         * resolv/netdb.h [__USE_POSIX]: Change condition to
35390         [__USE_XOPEN2K].
35391         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
35392         not expect.
35393         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
35394         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
35395         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
35396         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
35397         [XPG4 || UNIX98] (AI_ALL): Likewise.
35398         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
35399         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
35400         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
35401         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
35402         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
35403         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
35404         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
35405         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
35406         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
35407         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
35408         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
35409         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
35410         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
35411         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
35412         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
35413         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35414         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35415         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
35416         [XPG4 || UNIX98] (gai_strerror): Likewise.
35417         [XPG4 || UNIX98] (getaddrinfo): Likewise.
35418         [XPG4 || UNIX98] (getnameinfo): Likewise.
35420         [BZ #18528]
35421         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
35422         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
35423         __USE_XOPEN2K8].
35424         (getgrent): Likewise.
35425         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
35426         expect.
35427         [XPG3 || POSIX2008] (endgrent): Likewise.
35428         [XPG3] (setgrent): Likewise.
35429         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
35430         variable.
35431         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35433         [BZ #18527]
35434         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
35435         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
35436         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
35437         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
35438         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
35439         * include/unistd.h (__getlogin_r): Declare.  Use
35440         libc_hidden_proto.
35441         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
35442         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
35443         variable.
35444         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35445         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35446         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35448 2015-06-12  Martin Sebor  <msebor@redhat.com>
35450         [BZ #18512]
35451         * Makerules (check-install-supported): New target.
35452         (install): Add check-install-supported as a dependency.
35453         * manual/install.texi (Installing the C Library): Document
35454         that overriding prefix and exec_prefix is not supported.
35455         Mention DESTDIR.
35456         * INSTALL: Regenerate from the above.
35458 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
35460         [BZ #18519]
35461         * posix/Versions (libc): Export __libc_pread at version
35462         GLIBC_PRIVATE.
35463         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
35464         instead of pread.
35465         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
35466         variable.
35468         [BZ #18522]
35469         * misc/efgcvt_r.c
35470         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
35471         (cvt_symbol): Use weak_alias instead of strong_alias.
35472         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
35473         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
35474         Remove variable.
35475         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35476         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35478         [BZ #18520]
35479         * inet/herrno.c (h_errno): Rename to __h_errno.
35480         (__libc_h_errno): Define as alias of __h_errno not h_errno.
35481         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
35482         to __h_errno instead of h_errno.
35483         * nptl/herrno.c (h_errno): Rename to __h_errno.
35484         (__h_errno_location): Refer to __h_errno not h_errno.
35485         * resolv/Versions (h_errno): Rename to __h_errno.
35486         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
35487         Remove variable.
35488         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35490 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
35492         * configure.ac: More strict check for AVX512 assembler support.
35493         * configure: Regenerated.
35495         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
35496         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
35497         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35498         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
35499         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35500         * sysdeps/x86_64/fpu/Versions: New versions added.
35501         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35502         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35503         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35504         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
35505         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
35506         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
35507         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
35508         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
35509         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
35510         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
35511         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
35512         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
35513         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
35514         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
35515         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
35516         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
35517         test.
35518         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35519         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35520         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35521         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35522         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35523         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35524         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35525         * NEWS: Mention addition of x86_64 vector sin.
35527 2015-06-11  Florian Weimer  <fweimer@redhat.com>
35529         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
35530         comment.
35532 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
35534         [BZ #18479]
35535         * nptl/pt-interp.c: New file.
35536         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
35537         Add pt-interp.
35538         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
35539         $(common-objpfx)runtime-linker.h.
35541 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
35543         * Makeconfig (+interp): Remove unused variable.
35544         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
35545         only.  Depend on $(common-objpfx)runtime-linker.h instead of
35546         $(elf-objpfx)runtime-linker.h.
35547         ($(elf-objpfx)runtime-linker.h): Rename to
35548         $(common-objpfx)runtime-linker.h and move ...
35549         * Makerules [$(build-shared) = yes]: ... here.
35550         * elf/interp.c: Include <runtime-linker.h> instead of
35551         <elf/runtime-linker.h>.
35553 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35555         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
35556         (__gettimeofday_syscall): Remove vsyscall fallback.
35557         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
35558         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
35559         Add syscall fallback function.
35560         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
35561         if vDSO is not present.
35562         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
35563         fallback function.
35564         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
35565         present.
35566         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
35567         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35569 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
35571         [BZ #18497]
35572         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
35573         of wcscmp.
35574         (wcscmp): Define as weak alias of WCSCMP.
35575         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
35576         wcscoll.
35577         (USE_HIDDEN_DEF): Define.
35578         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
35579         __wcscoll.  Don't use libc_hidden_weak.
35580         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
35581         wcscmp.
35582         * sysdeps/i386/i686/multiarch/wcscmp-c.c
35583         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
35584         __GI_wcscmp.
35585         (weak_alias): Undefine and redefine.
35586         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
35587         __wcscmp and define as weak alias of __wcscmp.
35588         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
35589         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
35590         (__wcscoll): Likewise.
35591         (wcscmp): Don't use libc_hidden_proto.
35592         (wcscoll): Likewise.
35593         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
35594         wcscoll.
35595         * posix/regexec.c (check_node_accept_bytes): Likewise.
35596         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
35597         variable.
35598         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
35599         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
35601         [BZ #18507]
35602         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
35603         __fstatvfs and define as weak alias of __fstatvfs.  Use
35604         libc_hidden_weak.
35605         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
35606         and define as weak alias of __statvfs.  Use libc_hidden_weak.
35607         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
35608         Define as alias of __fstatvfs, not fstatvfs.
35609         (fstatvfs64): Likewise.
35610         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
35611         Define as alias of __statvfs, not statvfs.
35612         (statvfs64): Likewise.
35613         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
35614         Remove variable.
35616 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35619         (HAVE_GETCPU_VSYSCALL): Define.
35620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35621         (HAVE_GETCPU_VSYSCALL): Likewise.
35622         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
35623         * sysdeps/unix/sysv/linux/sched_getcpu.c
35624         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
35625         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
35626         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
35627         prototype.
35628         * sysdeps/unix/sysv/linux/x86_64/init-first.c
35629         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
35630         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
35631         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
35632         Define.
35633         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
35634         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35635         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
35636         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35638 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
35640         * sysdeps/x86_64/fpu/Makefile: New file.
35641         * sysdeps/x86_64/fpu/Versions: New file.
35642         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
35643         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
35644         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
35645         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
35646         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
35647         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
35648         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
35649         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
35650         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
35651         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
35652         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
35653         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
35654         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
35655         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35656         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35657         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
35658         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
35659         * sysdeps/x86_64/configure.ac: Options for libmvec build.
35660         * sysdeps/x86_64/configure: Regenerated.
35661         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
35662         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
35663         * manual/install.texi (Configuring and compiling): Document
35664         --disable-mathvec.
35665         * INSTALL: Regenerated.
35666         * NEWS: Mention addition of libmvec and x86_64 vector cos.
35668         * math/Makefile: Added rules for vector tests.
35669         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
35670         declaration under condition.
35671         * math/test-double-vlen2.h: New file.
35672         * math/test-double-vlen4.h: New file.
35673         * math/test-double-vlen8.h: New file.
35674         * math/test-vec-loop.h: Added initialization macro.
35675         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
35676         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
35677         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
35678         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
35679         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
35680         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
35681         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
35682         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
35683         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
35684         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
35685         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
35687         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35688         * sysdeps/x86_64/fpu/Versions: New versions added.
35689         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
35690         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
35691         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
35692         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
35693         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
35694         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
35695         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
35696         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
35697         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
35698         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
35699         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
35700         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
35701         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
35702         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35703         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35704         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35705         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
35706         * NEWS: Mention addition of x86_64 vector cosf.
35708         * math/Makefile: Added CFLAGS for new tests.
35709         * math/test-float-vlen16.h: New file.
35710         * math/test-float-vlen4.h: New file.
35711         * math/test-float-vlen8.h: New file.
35712         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
35713         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
35714         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35715         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
35716         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
35717         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
35718         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
35719         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
35720         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
35721         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
35722         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
35724 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
35726         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
35727         * locale/programs/ld-ctype.c: Likewise.
35729 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
35731         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
35732         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
35733         bit_ZMM16_31_state): New macro.
35734         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35735         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
35737 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
35739         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
35741 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
35743         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
35745 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
35747         [BZ #18498]
35748         * libio/memstream.c (open_memstream): Rename to __open_memstream
35749         and define as weak alias of __open_memstream.
35750         * include/stdio.h (__open_memstream): Declare.  Use
35751         libc_hidden_proto.
35752         (open_memstream): Don't use libc_hidden_proto.
35753         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
35754         open_memstream.
35755         * posix/getopt.c (_getopt_internal_r): Likewise.
35756         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
35757         variable.
35758         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
35759         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
35760         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
35762         [BZ #18496]
35763         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
35764         instead of wcrtomb.
35766         [BZ #18483]
35767         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
35768         [__USE_XOPEN2K8].  Remove redundant #endif.
35769         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
35770         Remove redundant #if.
35771         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
35772         Remove variable.
35773         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
35774         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
35776         [BZ #18495]
35777         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
35778         (__iswlower): Likewise.
35779         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
35780         (__iswlower): Likewise.
35781         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
35782         instead of towlower.
35783         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
35784         instead of iswlower.  Call __towupper instead of towupper.
35785         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
35786         instead of iswalnum.
35788 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35790         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
35791         errors to stderr.
35793 2015-06-05  Florian Weimer  <fweimer@redhat.com>
35795         [BZ #15661]
35796         [BZ #17322]
35797         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
35798         Check for overflow properly.  Check for O_APPEND.  Ignore large
35799         file system block sizes.  Add comments about problems.
35800         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
35801         * manual/filesys.texi (Storage Allocation): New node.
35803 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35805         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
35806         cancellable syscalls.
35807         (SYS_ify): Add guard to no redefine it.
35808         (INLINE_SYSCALL): Likewise.
35809         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
35810         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
35811         SYSCALL_CANCEL instead.
35812         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
35813         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
35814         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
35815         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
35816         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
35817         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
35818         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
35819         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
35820         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
35821         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
35822         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
35823         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
35824         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
35825         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
35826         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
35827         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
35828         Likewise.
35829         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
35830         (__libc_pread64): Likewise.
35831         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
35832         (__libc_preadv): Likewise.
35833         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
35834         (__libc_readv64): Likewise.
35835         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35836         (__libc_pwrite): Likewise.
35837         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
35838         (__libc_pwrite64): Likewise.
35839         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
35840         (__libc_pwritev): Likewise.
35841         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
35842         (__libc_pwritev64): Likewise.
35843         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
35844         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
35845         (sync_file_range): Likewise.
35846         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
35847         Likewise.
35848         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
35849         Likewise.
35850         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
35851         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35852         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
35853         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
35854         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
35855         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
35856         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
35857         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
35858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
35859         Likewise.
35860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35861         (__libc_read64): Likewise.
35862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
35863         Likewise.
35864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
35865         Likewise.
35866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
35867         Likewise.
35868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
35869         Likewise.
35870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35871         (__libc_pread64): Likewise.
35872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
35873         Likewise.
35874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35875         (__libc_pwrite64): Likewise.
35876         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
35877         (sync_file_range): Likewise.
35878         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
35879         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35880         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35881         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
35882         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
35883         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35884         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35885         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
35886         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
35887         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
35888         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35889         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35890         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35891         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35892         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
35893         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35894         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35895         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35896         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35897         Likewise.
35898         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
35899         Likewise.
35900         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
35901         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
35902         Likewise.
35903         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
35904         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
35905         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
35906         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
35907         Likewise.
35908         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
35909         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
35910         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
35911         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
35912         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
35914 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
35916         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
35917         Include dl-vdso.
35918         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
35919         Use VDSO routines for gettimeofday, clock_gettime if
35920         available.
35921         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
35922         Declare VDSO symbols.
35923         * sysdeps/unix/sysv/linux/arm/sysdep.h:
35924         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
35925         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35926         * sysdeps/unix/sysv/linux/arm/Versions: Add
35927         __vdso_clock_gettime.
35929 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35931         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
35932         be an inline implementation regardless of library is built within.
35933         (open_not_cancel_2): Likewise.
35934         (__read_nocancel): Likewise.
35935         (__write_nocancel): Likewise.
35936         (openat_not_cancel): Likewise.
35937         (openat_not_cancel_3): Likewise.
35938         (openat64_not_cancel): Likewise.
35939         (openat64_not_cancel_3): Likewise.
35940         (__close_nocancel): Likewise.
35941         (pause_not_cancel): Likewise.
35942         (nanosleep_not_cancel): Likewise.
35943         (sigsuspend_not_cancel): Likewise.
35945 2015-06-04  Torvald Riegel  <triegel@redhat.com>
35947         [BZ #14958]
35948         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
35949         wake-up.
35950         (__pthread_rwlock_rdlock_slow): Likewise.
35951         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
35952         Likewise.
35953         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
35954         Likewise.
35955         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
35956         * nptl/tst-rwlock16.c: New file.
35957         * nptl/Makefile (tests): Add new test.
35959 2015-06-04  Torvald Riegel  <triegel@redhat.com>
35961         [BZ #18324]
35962         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
35963         missing wake-up of readers.
35964         * nptl/tst-rwlock15.c: New file.
35965         * nptl/Makefile (tests): Add new test.
35967 2015-06-03  Roland McGrath  <roland@hack.frob.com>
35969         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
35970         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
35971         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
35972         and __nacl_supply_interface_rtld.
35973         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
35974         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
35975         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
35976         Add __nacl_supply_interface_rtld.
35977         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
35979 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
35981         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
35982         isfinite.
35983         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35984         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
35986 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
35988         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
35989         __signbit* with standard C99 macros.
35990         * math/e_exp10l.c: Likewise.
35991         * math/e_exp2l.c: Likewise.
35992         * math/e_scalb.c: Likewise.
35993         * math/e_scalbf.c: Likewise.
35994         * math/e_scalbl.c: Likewise.
35995         * math/s_ldexp.c: Likewise.
35996         * math/s_ldexpf.c: Likewise.
35997         * math/s_ldexpl.c: Likewise.
35998         * math/w_atan2.c: Likewise.
35999         * math/w_atan2f.c: Likewise.
36000         * math/w_atan2l.c: Likewise.
36001         * math/w_cosh.c: Likewise.
36002         * math/w_coshf.c: Likewise.
36003         * math/w_coshl.c: Likewise.
36004         * math/w_exp10.c: Likewise.
36005         * math/w_exp10f.c: Likewise.
36006         * math/w_exp10l.c: Likewise.
36007         * math/w_exp2.c: Likewise.
36008         * math/w_exp2f.c: Likewise.
36009         * math/w_exp2l.c: Likewise.
36010         * math/w_fmod.c: Likewise.
36011         * math/w_fmodf.c: Likewise.
36012         * math/w_fmodl.c: Likewise.
36013         * math/w_hypot.c: Likewise.
36014         * math/w_hypotf.c: Likewise.
36015         * math/w_hypotl.c: Likewise.
36016         * math/w_jnl.c: Likewise.
36017         * math/w_lgamma.c: Likewise.
36018         * math/w_lgamma_r.c: Likewise.
36019         * math/w_lgammaf.c: Likewise.
36020         * math/w_lgammaf_r.c: Likewise.
36021         * math/w_lgammal.c: Likewise.
36022         * math/w_lgammal_r.c: Likewise.
36023         * math/w_pow.c: Likewise.
36024         * math/w_powf.c: Likewise.
36025         * math/w_powl.c: Likewise.
36026         * math/w_remainder.c: Likewise.
36027         * math/w_remainderf.c: Likewise.
36028         * math/w_remainderl.c: Likewise.
36029         * math/w_scalb.c: Likewise.
36030         * math/w_scalbf.c: Likewise.
36031         * math/w_scalbl.c: Likewise.
36032         * math/w_scalbln.c: Likewise.
36033         * math/w_scalblnf.c: Likewise.
36034         * math/w_scalblnl.c: Likewise.
36035         * math/w_sinh.c: Likewise.
36036         * math/w_sinhf.c: Likewise.
36037         * math/w_sinhl.c: Likewise.
36038         * math/w_tgamma.c: Likewise.
36039         * math/w_tgammaf.c: Likewise.
36040         * math/w_tgammal.c: Likewise.
36041         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36042         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36043         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36044         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36045         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36046         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36047         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36048         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36049         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36050         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36051         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36052         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36053         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36054         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36055         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36056         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36057         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36058         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36059         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36060         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36061         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36062         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36063         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36064         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36065         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36066         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36067         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36068         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36069         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36070         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36071         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36072         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36073         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36074         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36075         * stdio-common/printf_fp.c: Likewise.
36076         * stdio-common/printf_fphex.c: Likewise.
36077         * stdio-common/printf_size.c: Likewise.
36079 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
36081         [BZ #18470]
36082         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36083         strnlen.
36084         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36085         Remove variable.
36086         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36087         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36088         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36089         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36090         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36091         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36092         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36093         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36094         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36095         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36097         [BZ #18468]
36098         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36099         weak alias of __wmemchr.  Use libc_hidden_weak.
36100         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
36101         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
36102         instead of wmemchr.
36104 2015-06-02  Roland McGrath  <roland@hack.frob.com>
36106         [BZ #18383]
36107         * elf/tst-tlsalign-extern.c: New file.
36108         * elf/tst-tlsalign-extern-static.c: New file.
36109         * elf/tst-tlsalign-vars.c: New file.
36110         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
36111         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
36112         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
36113         ($(objpfx)tst-tlsalign-extern-static): Likewise.
36114         (test-xfail-tst-tlsalign-extern-static): New variable.
36116 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
36118         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
36119         Use variable name _sc_err instead of err.
36120         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
36121         instead of ret.
36122         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36123         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
36124         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
36125         (INLINE_SYSCALL): Likewise.
36127         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
36128         * include/string.h (__strnlen): Use libc_hidden_proto.
36129         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
36130         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
36131         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
36132         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
36133         (libc_hidden_def): Undefine and redefine.
36134         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
36135         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
36136         __GI_strnlen.
36137         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
36138         libc_hidden_def.
36139         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
36141         [BZ #18469]
36142         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
36143         weak alias of __towlower.  Use libc_hidden_weak.
36144         (towupper): Rename to __towupper and define as weak alias of
36145         __towupper.  Use libc_hidden_weak.
36146         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
36147         (__towupper): Likewise.
36148         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
36149         __towlower instead of towlower.
36151 2015-06-02  Roland McGrath  <roland@hack.frob.com>
36153         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
36154         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
36156 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36158         * sysdeps/aarch64/libm-test-ulps: Update.
36160 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36162         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
36163         Define.
36164         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36165         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36166         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36167         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36168         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
36169         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
36170         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
36172 2015-06-01  Martin Sebor  <msebor@redhat.com>
36174         [BZ #18116]
36175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36176         (__setcontext): Use extended four-operand version of mtsf whenever
36177         possible.
36178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36179         (__novec_swapcontext): Likewise.
36181 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36183         * benchtests/scripts/compare_bench.py: New file.
36184         * benchtests/scripts/import_bench.py (mean): New function.
36185         (split_list): Likewise.
36186         (do_for_all_timings): Likewise.
36187         (compress_timings): Likewise.
36189         * benchtests/scripts/import_bench.py: New file.
36190         * benchtests/scripts/validate_benchout.py: Import import_bench
36191         instead of jsonschema.
36192         (validate_bench): Remove function.
36193         (main): Use import_bench.
36195 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
36197         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
36198         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
36200 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36204 2015-05-28  Roland McGrath  <roland@hack.frob.com>
36206         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36207         set THREAD_SELF->tid to a magic value and futex-wake it.
36208         Pass its address to the thread_exit system call.
36209         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
36210         bit is clear.
36211         * sysdeps/nacl/lowlevellock.h: New file.
36212         * sysdeps/nacl/lll_timedwait_tid.c: New file.
36214         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
36215         Add TIMEOUT to current time, don't subtract it.
36217 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
36219         [BZ #2981]
36220         [BZ #18422]
36221         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
36222         ($(objpfx)tst-audit2.out): Also depend on
36223         $(objpfx)tst-auditmod9b.so.
36224         * elf/tst-audit2.c: Include <dlfcn.h>.
36225         (calloc_called): New.
36226         (calloc): Allow to be called more than once.
36227         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
36229 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
36231         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
36232         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
36234 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
36236         * stdlib/monetary.h: Fix comment.
36238 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
36240         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
36241         Avoid using variables in #defines that might cause shadowing.
36242         (INTERNAL_VSYSCALL_CALL): Likewise.
36244 2015-05-26  Roland McGrath  <roland@hack.frob.com>
36246         * sysdeps/nacl/lll_timedlock_wait.c: New file.
36248         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
36249         * nptl/lll_timedlock_wait.c: ... to this new file.
36250         * nptl/Makefile (libpthread-routines): Add it.
36251         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
36252         * nptl/lll_timedwait_tid.c: ... to this new file.
36253         * nptl/Makefile (libpthread-routines): Add it.
36254         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
36255         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
36256         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
36257         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
36258         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
36259         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
36260         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
36261         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
36262         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
36263         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
36265 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36267         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
36268         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36269         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36270         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
36271         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
36272         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36273         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36274         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36275         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36276         * sysdeps/unix/sysv/linux/tile/sysdep.h
36277         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36278         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
36279         using vDSO syscall macro.
36281 2015-05-26  Andriy Rysin  <arysin@gmail.com>
36283         [BZ #17293]
36284         * uk_UA: Fix sorting order for Ukrainian locale
36286 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
36288         * stdlib/monetary.h: Fix comment.
36290 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36292         [BZ #18234]
36293         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
36294         st_mtim and st_ctim members.
36295         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
36296         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
36297         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
36298         (struct stat64): Likewise.
36299         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
36300         (struct stat64): Likewise.
36301         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
36302         (struct stat64): Likewise.
36304 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36306         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
36307         Define and include sysdep-vdso.h.
36308         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
36309         Likewise.
36310         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
36311         Likewise.
36312         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
36313         Define with VDSO_SYMBOL and use PTR_MANGLE.
36314         (__vdso_clock_gettime): Likewise.
36315         (__vdso_clock_getres): Likewise.
36316         (_libc_vdso_platform_setup): Likewise.
36317         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36318         Likewise.
36319         (_libc_vdso_platform_setup): Likewise.
36320         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
36321         Likewise.
36322         (__vdso_clock_gettime): Likewise.
36323         (__vdso_clock_getres): Likewise.
36324         (__vdso_get_tbfreq): Likewise.
36325         (__vdso_getcpu): Likewise.
36326         (__vdso_time): Likewise.
36327         (__vdso_sigtramp_rt64): Likewise.
36328         (__vdso_signtramp32): Likewise.
36329         (__vdso_sigtramp_rt32): Likewise.
36330         (_libc_vdso_platform_setup): Likewise.
36331         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
36332         Likewise.
36333         (__vdso_clock_gettime): Likewise.
36334         (__vdso_clock_getres): Likewise.
36335         (_libc_vdso_platform_setup): Likewise.
36336         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
36337         Likewise.
36338         (__vdso_clock_gettime): Likewise.
36339         (_libc_vdso_platform_setup): Likewise.
36340         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
36341         Likewise.
36342         (__vdso_getcpu): Likewise.
36343         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
36344         Use VDSO_SYMBOL macro to define.
36345         (__vdso_clock_gettime): Likewise.
36346         (__vdso_clock_getres): Likewise.
36347         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
36348         Likewise.
36349         (__vdso_clock_gettime): Likewise.
36350         (__vdso_clock_getres): Likewise.
36351         (__vdso_get_tbfreq): Likewise.
36352         (__vdso_getcpu): Likewise.
36353         (__vdso_time): Likewise.
36354         (__vdso_sigtramp_rt64): Likewise.
36355         (__vdso_signtramp32): Likewise.
36356         (__vdso_sigtramp_rt32): Likewise.
36357         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
36358         Likewise.
36359         (__vdso_clock_gettime): Likewise.
36360         (__vdso_clock_getres): Likewise.
36361         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
36362         Likewise.
36363         (__vdso_clock_gettime): Likewise.
36364         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36365         Likewise.
36366         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
36367         macro.
36368         (INTERNAL_VSYSCALL): Likewise.
36369         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
36370         Remove macro.
36371         (INTERNAL_VSYSCALL): Likewise.
36372         (INTERNAL_VSYSCALL_NCS): Likewise.
36373         (INTERNAL_VSYSCALL_CALL): New macro.
36374         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36375         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
36376         Likewise.
36377         (INTERNAL_VSYSCALL): Likewise.
36378         (INTERNAL_VSYSCALL_NCS): Likewise.
36379         (INTERNAL_VSYSCALL_CALL): New macro.
36380         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36382         (INLINE_VSYSCALL): Remove macro.
36383         (INTERNAL_VSYSCALL): Remove macro.
36384         (INTERNAL_VSYSCALL_NCS): Remove macro.
36385         (INTERNAL_VSYSCALL_CALL): New macro.
36386         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
36387         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
36388         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36389         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
36390         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36392         (INLINE_VSYSCALL): Remove macro.
36393         (INTERNAL_VSYSCALL): Likewise.
36394         (INTERNAL_VSYSCALL_NCS): Likewise.
36395         (INTERNAL_VSYSCALL_CALL): New macro.
36396         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
36397         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
36398         PTR_DEMANGLE on vDSO pointer.
36399         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36400         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
36401         macro.
36402         (INTERNAL_SYSCALL): Likewise.
36403         (INTERNAL_VSYSCALL_NCS): Remove macro.
36404         (INTERNAL_VSYSCALL_CALL): New macro.
36405         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
36406         Remove macro.
36407         (INTERNAL_VSYSCALL): Likewise.
36408         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
36409         sysdep-vdso.h instead of libc-vdso.h.
36410         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
36411         definition.
36412         (INLINE_VSYSCALL): Likewise.
36413         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
36414         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
36415         definition.
36416         (INLINE_VSYSCALL): Likewise.
36417         (INTERNAL_VSYSCALL): Likewise.
36418         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36419         * sysdeps/unix/sysv/linux/timespec_get.c
36420         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36421         (timespec_get): Use ANSI prototype.
36422         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
36423         and definition for Linux.
36425 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
36427         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
36428         * include/libc-symbols.h: libmvec_hidden_* macro series added.
36430 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36432         [BZ #2981]
36433         [BZ #18410]
36434         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
36435         for missing DT_PLTRELSZ.
36437 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
36439         Remove obsolete aliases that broke 'locale -a'
36440         [BZ #18412]
36441         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
36442         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
36443         breaking some applications that use 'locale -a' output.
36444         Change the encoding of this file from Latin-1 to ASCII to avoid
36445         other potential problems with people grepping this file.
36447 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36449         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
36450         -fasynchronous-unwind-tables.
36451         (CFLAGS-sendto.c): Likewise.
36452         (CFLAGS-sendmsg.c): Likewise.
36453         (CFLAGS-connect.c): Likewise.
36454         (CFLAGS-recvmsg.c): Likewise.
36455         (CFLAGS-recvfrom.c): Likewise.
36456         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
36457         (SOCKETCALL): New macro: non-cancellable socketcall.
36458         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
36459         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
36460         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
36461         * sysdeps/unix/sysv/linux/accept.c: New file.
36462         * sysdeps/unix/sysv/linux/bind.c: Likewise.
36463         * sysdeps/unix/sysv/linux/connect.c: Likewise.
36464         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
36465         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
36466         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
36467         * sysdeps/unix/sysv/linux/listen.c: Likewise.
36468         * sysdeps/unix/sysv/linux/recv.c: Likewise.
36469         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
36470         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
36471         * sysdeps/unix/sysv/linux/send.c: Likewise.
36472         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
36473         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
36474         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
36475         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
36476         * sysdeps/unix/sysv/linux/socket.c: Likewise.
36477         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
36478         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
36479         prototype.
36480         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
36481         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36482         instead of __internal_xxx function.
36483         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
36484         prototype.
36485         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
36486         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36487         instead of __internal_xxx function.
36488         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
36489         prototype.
36490         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
36491         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36492         instead of __internal_xxx function.
36493         * sysdeps/unix/sysv/linux/accept.S: Remove file.
36494         * sysdeps/unix/sysv/linux/bind.S: Likewise.
36495         * sysdeps/unix/sysv/linux/connect.S: Likewise.
36496         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
36497         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
36498         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
36499         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
36500         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
36501         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
36502         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
36503         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
36504         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36505         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
36506         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
36507         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
36508         * sysdeps/unix/sysv/linux/listen.S: Likewise.
36509         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
36510         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
36511         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
36512         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
36513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
36514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
36515         * sysdeps/unix/sysv/linux/recv.S: Likewise.
36516         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
36517         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
36518         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
36519         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
36520         * sysdeps/unix/sysv/linux/send.S: Likewise.
36521         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
36522         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
36523         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
36524         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
36525         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
36526         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
36527         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
36528         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
36529         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
36530         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
36531         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
36532         socketcall is implemented in GLIBC.
36534 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
36536         * soft-fp/fmadf4.c: Include <libc-internal.h>.
36537         (__fma): Ignore uninitialized warnings around packing.
36538         * soft-fp/fmasf4.c: Include <libc-internal.h>.
36539         (__fmaf): Ignore uninitialized warnings around packing.
36540         * soft-fp/fmatf4.c: Include <libc-internal.h>.
36541         (__fmal): Ignore uninitialized warnings around packing.
36543         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
36544         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
36545         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
36546         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
36548         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
36549         switch statement into default case.
36550         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
36552         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
36553         a conditional in forcing "inexact".
36554         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
36555         Likewise.
36557 2015-05-22  Roland McGrath  <roland@hack.frob.com>
36559         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
36560         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
36561         for each INTERNAL_SYSCALL use.
36563 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
36565         [BZ #438]
36566         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
36567         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
36568         variable.
36570         [BZ #18444]
36571         * string/basename.c (basename): Rename to __basename and define as
36572         weak alias of __basename.  Use libc_hidden_weak.
36573         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
36574         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
36575         __basename instead of basename.
36576         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
36577         Remove variable.
36578         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
36580 2015-05-18  Florian Weimer  <fweimer@redhat.com>
36582         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
36583         (_IO_JUMPS_FILE_plus): New.
36584         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
36585         _IO_CAST_FIELD_ACCESS.
36586         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
36587         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
36588         * libio/freopen.c (freopen): Likewise.
36589         * libio/freopen64.c (freopen64): Likewise.
36590         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
36591         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
36592         * libio/iofwide.c (_IO_fwide): Likewise.
36593         * libio/memstream.c (open_memstream): Likewise.
36594         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36595         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
36596         * libio/oldiopopen.c (_IO_old_popen): Likewise.
36598 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
36600         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
36601         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
36602         NADJ.
36603         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
36604         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
36605         NADJ.
36606         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
36607         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
36608         NADJ.
36610         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
36611         (p == 4) case.
36613         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
36614         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
36615         Remove variable.
36616         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
36617         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
36618         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
36620 2015-05-21  Florian Weimer  <fweimer@redhat.com>
36622         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
36623         Adjust jump table label generation macros.
36625 2015-05-21  Florian Weimer  <fweimer@redhat.com>
36627         * stdio-common/vfprintf.c (vfprintf): Move local variables
36628         args_malloced, specs, specs_malloced, and the code after
36629         do_positional to the printf_positional function.
36630         (printf_positional): New function.
36632 2015-05-21  Florian Weimer  <fweimer@redhat.com>
36634         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
36635         function.
36636         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
36637         STEP4_TABLE, process_arg): Move macro definitions
36638         out of the vfprintf function.  (Cosmetic change only.)
36640 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
36642         * benchtests/Makefile (stdio-common-bench): Define.
36643         (benchset): Add stdio-common-bench.
36644         * sprintf-inputs: New file.
36645         * sprintf-source.c: New file.
36647 2015-05-21  Andreas Schwab  <schwab@suse.de>
36649         [BZ #13028]
36650         [BZ #17053]
36651         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
36652         of struct __res_state.
36653         * resolv/res_send.c (__libc_res_nsend): Likewise.
36654         (get_nsaddr): New function.
36655         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
36656         statp directly.
36658 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
36660         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
36661         -D_POSIX_C_SOURCE=199506L.
36663         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
36665         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
36666         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
36667         Do not mention otherwise.
36668         [POSIX] (_XOPEN_VERSION): Do not expect.
36669         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
36670         [POSIX] (_POSIX2_C_BIND): Likewise.
36671         [POSIX] (_POSIX2_VERSION): Likewise.
36672         [POSIX] (_XOPEN_XPG2): Likewise.
36673         [POSIX] (_XOPEN_XPG3): Likewise.
36674         [POSIX] (_XOPEN_XPG4): Likewise.
36675         [POSIX] (_XOPEN_UNIX): Likewise.
36676         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
36677         [POSIX] (_POSIX_BARRIERS): Likewise.
36678         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
36679         [POSIX] (_POSIX_CPUTIME): Likewise.
36680         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
36681         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
36682         [POSIX] (_POSIX_SHELL): Likewise.
36683         [POSIX] (_POSIX_SPAWN): Likewise.
36684         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
36685         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
36686         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
36687         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
36688         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
36689         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
36690         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
36691         [POSIX] (_XBS5_LP64_OFF64): Likewise.
36692         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
36693         [POSIX] (_POSIX_TIMEOUTS): Likewise.
36694         [POSIX] (_POSIX2_PBS): Likewise.
36695         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
36696         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
36697         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
36698         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
36699         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
36700         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
36701         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
36702         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
36703         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
36704         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
36705         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
36706         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
36707         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
36708         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
36709         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
36710         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
36711         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
36712         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
36713         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
36714         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
36715         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
36716         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
36717         [POSIX] (_SC_2_C_BIND): Likewise.
36718         [POSIX] (_SC_2_C_VERSION): Likewise.
36719         [POSIX] (_SC_2_PBS): Likewise.
36720         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
36721         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
36722         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
36723         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
36724         [POSIX] (_SC_2_PBS_TRACK): Likewise.
36725         [POSIX] (_SC_ATEXIT_MAX): Likewise.
36726         [POSIX] (_SC_BARRIERS): Likewise.
36727         [POSIX] (_SC_BASE): Likewise.
36728         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
36729         [POSIX] (_SC_DEVICE_IO): Likewise.
36730         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
36731         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
36732         [POSIX] (_SC_FD_MGMT): Likewise.
36733         [POSIX] (_SC_FIFO): Likewise.
36734         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
36735         [POSIX] (_SC_FILE_LOCKING): Likewise.
36736         [POSIX] (_SC_FILE_SYSTEM): Likewise.
36737         [POSIX] (_SC_IOV_MAX): Likewise.
36738         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
36739         [POSIX] (_SC_NETWORKING): Likewise.
36740         [POSIX] (_SC_PAGE_SIZE): Likewise.
36741         [POSIX] (_SC_PASS_MAX): Likewise.
36742         [POSIX] (_SC_PIPE): Likewise.
36743         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
36744         [POSIX] (_SC_REGEXP): Likewise.
36745         [POSIX] (_SC_SHELL): Likewise.
36746         [POSIX] (_SC_SIGNALS): Likewise.
36747         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
36748         [POSIX] (_SC_SPIN_LOCKS): Likewise.
36749         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
36750         [POSIX] (_SC_USER_GROUPS): Likewise.
36751         [POSIX] (_SC_USER_GROUPS_R): Likewise.
36752         [POSIX] (_SC_STREAMS): Likewise.
36753         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
36754         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
36755         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
36756         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
36757         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
36758         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
36759         [POSIX] (_PC_FILESIZEBITS): Likewise.
36760         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
36761         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
36762         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
36763         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
36764         [POSIX] (uid_t): Likewise.
36765         [POSIX] (gid_t): Likewise.
36766         [POSIX] (off_t): Likewise.
36767         [POSIX] (pid_t): Likewise.
36768         [POSIX] (cuserid): Allow.
36769         (_SC_2_CHAR_TERM): Require constant.
36770         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
36771         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
36772         variable.
36774 2015-05-20  Roland McGrath  <roland@hack.frob.com>
36776         * sysdeps/nacl/pthread-pids.h: New file.
36777         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
36778         (create_thread): Use __nacl_get_tid to initialize PD->tid.
36780         * nptl/pthread-pids.h: New file.
36781         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
36782         * nptl/nptl-init.c: Include <pthread-pids.h>.
36783         (__pthread_initialize_minimal_internal):
36784         Call __pthread_initialize_pids instead of set_tid_address syscall.
36786         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
36787         * sysdeps/posix/usleep.c: ... here.
36789 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36791         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
36792         call_pselect6 object.
36793         [$(subdir) = io]: Remove call_sync_file_range object.
36794         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
36795         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
36796         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
36797         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
36799 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
36801         * math/s_cproj.c: Add include "math_private.h".
36802         * math/s_cprojf.c: Likewise.
36803         * math/s_cprojl.c: Likewise.
36805 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
36807         [BZ #18244]
36808         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
36809         high mantissa bit when testing whether P is a NaN.
36810         * math/libm-test.inc (remainder_test_data): Add more tests.
36811         (remquo_test_data): Likewise.
36813         [BZ #18049]
36814         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
36815         below -32, return the argument, with underflow if subnormal.
36816         * math/auto-libm-test-in: Add more tests of atanh.
36817         * math/auto-libm-test-out: Regenerated.
36819 2015-05-19  Roland McGrath  <roland@hack.frob.com>
36821         [BZ #18434]
36822         * nptl/tst-sem15.c: New file.
36823         * nptl/Makefile (tests): Add it.
36824         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
36825         s/<</>>/ to fix typo in EOVERFLOW check.
36826         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
36828 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36830         * manual/strings.texi (envz_remove): Fix typo in safety
36831         annotations.
36833 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
36834             Steve Ellcey  <sellcey@imgtec.com>
36836         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
36837         in order to avoid strict alias warnings.
36838         (iruserok_af): Ditto for ra.
36840 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
36842         [BZ #17581]
36843         * malloc/hooks.c
36844         (magicbyte): Convert to a function and avoid returning 0x01.
36845         (mem2mem_check): Avoid using a length byte equal to the magic byte.
36846         (mem2chunk_check): Fix unsigned comparisons to zero.
36847         Hoist defs of sz and magic.
36849 2015-05-19  Richard Henderson  <rth@redhat.com>
36851         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
36853         * sysdeps/alpha/fpu/libm-test-ulps: Update.
36855 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36857         [BZ #16159]
36858         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
36859         * malloc/arena.c (arena_lock): Check if arena is corrupt.
36860         (reused_arena): Find a non-corrupt arena.
36861         (heap_trim): Pass arena to unlink.
36862         * malloc/hooks.c (malloc_check_get_size): Pass arena to
36863         malloc_printerr.
36864         (top_check): Likewise.
36865         (free_check): Likewise.
36866         (realloc_check): Likewise.
36867         * malloc/malloc.c (malloc_printerr): Add arena argument.
36868         (unlink): Likewise.
36869         (munmap_chunk): Adjust.
36870         (ARENA_CORRUPTION_BIT): New macro.
36871         (arena_is_corrupt): Likewise.
36872         (set_arena_corrupt): Likewise.
36873         (sysmalloc): Use mmap if there are no usable arenas.
36874         (_int_malloc): Likewise.
36875         (__libc_malloc): Don't fail if arena_get returns NULL.
36876         (_mid_memalign): Likewise.
36877         (__libc_calloc): Likewise.
36878         (__libc_realloc): Adjust for additional argument to
36879         malloc_printerr.
36880         (_int_free): Likewise.
36881         (malloc_consolidate): Likewise.
36882         (_int_realloc): Likewise.
36883         (_int_memalign): Don't touch corrupt arenas.
36884         * malloc/tst-malloc-backtrace.c: New test case.
36886         * Makefile (summarize-tests): Fix return value on success.
36888         * manual/string.texi (Envz Functions): Add envz_remove.
36890 2015-05-18  Roland McGrath  <roland@hack.frob.com>
36892         * sysdeps/posix/opendir.c: Include <stdbool.h>.
36893         (invalid_name): New function, broken out of ...
36894         (__opendirat): ... here.  Call it.
36895         (need_isdir_precheck): New function, broken out of ...
36896         (__opendirat): ... here.  Call it.
36897         Use __fxstatat64, not __xstatat64.
36898         (opendir_oflags): New function, broken out of ...
36899         (__opendirat): ... here.  Call it.
36900         (opendir_tail): New function, broken out of ...
36901         (__opendirat): ... here.  Call it.
36902         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
36903         opendir_tail, rather than punting to __opendirat.
36904         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
36906 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36908         * .gitignore: Ignore generated *.pyc.
36910 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
36912         * include/stdio.h: Define __need_wint_t.
36913         * test-skeleton.c: Avoid `for' loop initial declaration.
36914         * nptl/tst-initializers1.c: Use test-skeleton.c.
36916 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36918         [BZ #18418]
36919         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
36921 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
36923         [BZ #16352]
36924         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
36925         (__ieee754_atanh): Force underflow exception for results with
36926         small absolute value.
36927         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
36928         (__ieee754_atanhf): Force underflow exception for results with
36929         small absolute value.
36930         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
36931         (__ieee754_atanh): Force underflow exception for results with
36932         small absolute value.
36933         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
36934         (__ieee754_atanhf): Force underflow exception for results with
36935         small absolute value.
36936         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
36937         (__ieee754_atanhl): Force underflow exception for results with
36938         small absolute value.
36939         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
36940         (__ieee754_atanhl): Force underflow exception for results with
36941         small absolute value.
36942         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
36943         (__ieee754_atanhl): Force underflow exception for results with
36944         small absolute value.
36945         * math/auto-libm-test-in: Do not allow missing underflow
36946         exceptions from atanh.
36947         * math/auto-libm-test-out: Regenerated.
36949         [BZ #18221]
36950         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
36951         2**-28 as threshold for returning x or +/- 1/x.
36952         * math/auto-libm-test-in: Add more tests of tan.
36953         * math/auto-libm-test-out: Regenerated.
36955         [BZ #18220]
36956         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
36957         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
36958         * math/auto-libm-test-in: Add another test of lgamma.
36959         * math/auto-libm-test-out: Regenerated.
36961 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
36963         * stdio-common/printf_fp.c (___printf_fp): Use abs.
36964         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
36965         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
36966         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
36967         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
36968         (ADD2A): Use fabs.  (SUB2A): Use fabs.
36969         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
36970         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
36971         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
36972         (log1): Use fabs.  (my_log2): Use fabs.
36973         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
36974         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
36975         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
36976         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
36977         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
36978         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
36979         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
36980         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
36981         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
36982         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
36983         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
36985 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
36987         [BZ #18217]
36988         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
36989         as threshold for returning 1 - x.
36990         * math/auto-libm-test-in: Add more tests of erfc.
36991         * math/auto-libm-test-out: Regenerated.
36993 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
36995         [BZ #18196]
36996         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
36997         threshold for large arguments.
36998         * math/auto-libm-test-in: Add another test of atan.
36999         * math/auto-libm-test-out: Regenerated.
37001         [BZ #16339]
37002         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37003         (__log1p): Force underflow exception for results with small
37004         absolute value.
37005         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37006         (__log1pf): Force underflow exception for results with small
37007         absolute value.
37008         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37009         (__log1p): Force underflow exception for results with small
37010         absolute value.
37011         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37012         (__log1pf): Force underflow exception for results with small
37013         absolute value.
37014         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37015         (__log1pl): Force underflow exception for results with small
37016         absolute value.
37017         * math/auto-libm-test-in: Do not allow missing underflow
37018         exceptions from log1p.
37019         * math/auto-libm-test-out: Regenerated.
37021 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
37022             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37024         [BZ #16704]
37025         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37027 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
37029         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37030         (libmvec): New variable.
37031         * configure.ac: Added option for mathvec build.
37032         * configure: Regenerated.
37033         * mathvec/Depend: New file.
37034         * mathvec/Makefile: New file.
37035         * shlib-versions: Added libmvec.
37036         * math/Makefile: Added rule for libm.so installation.
37038         * bits/math-vector.h: New file.
37039         * bits/libm-simd-decl-stubs.h: New header.
37040         * math/Makefile (headers): Added new header
37041         libm-simd-decl-stubs.h.
37042         * math/math.h (__MATHCALL_VEC): New macro.
37044         * math/gen-libm-have-vector-test.sh: Script generates series of macros
37045         for conditions in testing functions.
37046         * math/Makefile: Added call of libm-have-vector-test.sh.
37047         * math/libm-test.inc (HAVE_VECTOR): New macros.
37049         * math/libm-test.inc: START refactored.
37050         * math/test-double.c (TEST_MATHVEC): Add define.
37051         * math/test-float.c: Likewise.
37052         * math/test-idouble.c: Likewise.
37053         * math/test-ifloat.c: Likewise.
37054         * math/test-ildoubl.c: Likewise.
37055         * math/test-ldouble.c: Likewise.
37056         * sysdeps/generic/math-tests-arch.h
37057         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37058         architecture check.
37060         * math/test-double.c (FUNC_TEST): New macro.
37061         * math/test-float.c: Likewise.
37062         * math/test-idouble.c: Likewise.
37063         * math/test-ifloat.c: Likewise.
37064         * math/test-ildoubl.c: Likewise.
37065         * math/test-ldouble.c: Likewise.
37066         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37068 2015-05-13  Roland McGrath  <roland@hack.frob.com>
37070         * sysdeps/nacl/fdopendir.c: New file.
37072         * dirent/scandir-tail.c: New file.
37073         * dirent/scandir64-tail.c: New file.
37074         * dirent/Makefile (routines): Add them.
37075         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37076         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37077         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37078         [!SCANDIR] (SCANDIR_TAIL): New macro.
37079         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37080         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37081         (SCANDIRAT): Macro removed.
37082         (SCANDIR_TAIL): New macro.
37083         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37084         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37085         (SCANDIRAT): Just call __opendirat and __scandir_tail.
37086         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37087         (READDIR): Macro removed.
37088         (SCANDIR_TAIL): New macro.
37089         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37090         (SCANDIR_TAIL): New macro.
37092         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37093         * dirent/scandir-cancel.c: ... to this new file.
37094         * dirent/Makefile (routines): Add it.
37095         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37096         * sysdeps/unix/sysv/linux/i386/scandir64.c
37097         (SKIP_SCANDIR_CANCEL): Macro removed.
37098         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37100         * dirent/tst-scandir.c: New file.
37101         * dirent/tst-scandir64.c: New file.
37102         * dirent/Makefile (tests): Add them.
37104 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
37106         [BZ #18409]
37107         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
37109 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37111         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
37112         list.
37114 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
37116         * benchtests/bench-strcoll.c: New benchmark.
37117         * benchtests/Makefile: Generate locales and run benchmark.
37118         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
37119         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
37120         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
37121         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
37122         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
37123         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
37124         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
37125         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
37126         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
37127         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
37128         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
37129         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
37130         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
37131         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
37132         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
37133         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
37134         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
37135         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
37136         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
37137         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
37138         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
37139         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
37140         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
37141         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
37143 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
37145         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
37146         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37148 2015-05-12  Roland McGrath  <roland@hack.frob.com>
37150         * posix/uname-values.h: New file.
37151         * posix/uname.c: Include that instead of <config-name.h>.
37152         * sysdeps/nacl/uname-values.h: New file.
37153         * sysdeps/arm/nacl/uname-values.h: New file.
37155 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
37157         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
37158         splitting into fields.
37160 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
37162         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
37163         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
37164         * locale/localeinfo.h: Add enum collation_encoding_type.
37165         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
37166         * programs/ld-collate.c (collate_output): Add encoding type info.
37167         * string/strcoll_l.c (STRDIFF): New function.
37168         * (STRCOLL): Use STRDIFF to skip over equal prefix.
37169         * wcsmbs/wcscoll_l.c: Define STRDIFF.
37171 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
37173         [BZ #18397]
37174         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
37175         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
37176         <fpu_control.h> instead of <math/fpu_control.c>.
37177         * sysdeps/mips/mips32/fpu/Makefile: New file.
37179 2015-05-11  Andreas Schwab  <schwab@suse.de>
37181         [BZ #18007]
37182         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
37183         nss_endgrent.
37184         (_nss_compat_endgrent): Call nss_endgrent.
37185         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
37186         nss_endpwent.
37187         (_nss_compat_endpwent): Call nss_endpwent.
37188         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
37189         needent, call nss_setspent only if non-zero.
37190         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
37191         (internal_endspent): Don't call nss_endspent.
37192         (_nss_compat_endspent): Call nss_endspent.
37193         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
37194         Remove.  All uses removed.
37195         (internal_setent): Remove parameter stayopen, add parameter
37196         stream.  Use it instead of global variable.
37197         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
37198         (internal_endent, internal_getent): Add parameter stream.  Use it
37199         instead of global variable.
37200         (CONCAT(_nss_files_end,ENTNAME))
37201         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
37202         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
37203         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
37204         uses removed.
37205         (internal_setent, internal_endent): Add parameter stream.  Use it
37206         instead of global variable.
37207         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
37208         stream.
37209         (get_next_alias): Add parameter stream.
37210         (_nss_files_getaliasent_r): Pass global stream.
37211         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
37212         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
37213         (_nss_files_gethostbyname4_r): Pass local stream to
37214         internal_setent, internal_getent and internal_endent.  Remove
37215         locking.
37217 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37219         * tst-strfmon1.c (tests): Update expected currency symbol.
37221 2015-05-08  Roland McGrath  <roland@hack.frob.com>
37223         * sysdeps/nacl/gethostname.c: New file.
37225 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
37227         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
37228         and sinh.
37229         * math/auto-libm-test-out: Regenerated.
37230         * sysdeps/i386/fpu/libm-test-ulps: Update.
37231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37233 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
37235         [BZ #18125]
37236         * stdlib/tst-setcontext3.c: New file.
37237         * stdlib/tst-setcontext3.sh: New file.
37238         * stdlib/Makefile (tests): Add tst-setcontext3.
37239         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
37240         to verify test program created output file.
37241         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
37242         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
37243         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
37244         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
37246 2015-05-06  Roland McGrath  <roland@hack.frob.com>
37248         [BZ #18383]
37249         * elf/tst-tlsalign.c: New file.
37250         * elf/tst-tlsalign-static.c: New file.
37251         * elf/tst-tlsalign-lib.c: New file.
37252         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
37253         (tests-static): Add tst-tlsalign-static.
37254         (modules-names): Add tst-tlsalign-lib.
37255         (test-xfail-tst-tlsalign): New variable.
37256         (test-xfail-tst-tlsalign-static): New variable.
37258         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
37259         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
37261 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
37263         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
37264         csqrt, erfc, sin and sincos.
37265         * math/auto-libm-test-out: Regenerated.
37266         * sysdeps/i386/fpu/libm-test-ulps: Update.
37267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37269 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37271         * sysdeps/aarch64/libm-test-ulps: Update.
37273 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
37275         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
37276         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
37277         * math/auto-libm-test-out: Regenerated.
37278         * sysdeps/i386/fpu/libm-test-ulps: Update.
37279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37281 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
37283         [BZ #18265]
37284         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
37285         (wcsncpy): Likewise.
37287 2015-05-05  Florian Weimer  <fweimer@redhat.com>
37289         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37290         Assume __ASSUME_FALLOCATE is always true.
37291         * sysdeps/unix/sysv/linux/posix_fallocate64.c
37292         (__posix_fallocate64_l64): Likewise.
37293         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
37294         (posix_fallocate): Likewise.
37295         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
37296         (__posix_fallocate64_l64): Likewise.
37297         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37298         [!__ASSUME_FALLOCATE]: Add comment.
37300 2015-05-05  Florian Weimer  <fweimer@redhat.com>
37302         * sysdeps/unix/sysv/linux/i386/Makefile
37303         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
37304         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
37305         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
37306         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37307         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37308         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
37309         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
37311 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
37313         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
37314         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
37315         tgamma.
37316         * math/auto-libm-test-out: Regenerated.
37317         * sysdeps/i386/fpu/libm-test-ulps: Update.
37318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37320 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
37322         * math/auto-libm-test-in: Add more tests of tgamma.
37323         * math/auto-libm-test-out: Regenerated.
37324         * sysdeps/i386/fpu/libm-test-ulps: Update.
37325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37327         * math/auto-libm-test-in: Add more tests of tanh.
37328         * math/auto-libm-test-out: Regenerated.
37329         * sysdeps/i386/fpu/libm-test-ulps: Update.
37330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37332         * math/auto-libm-test-in: Add more tests of tan.
37333         * math/auto-libm-test-out: Regenerated.
37334         * sysdeps/i386/fpu/libm-test-ulps: Update.
37335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37337         * math/auto-libm-test-in: Add more tests of cos, 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         * math/auto-libm-test-in: Add another test of pow.
37343         * math/auto-libm-test-out: Regenerated.
37344         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37346         * math/auto-libm-test-in: Add more tests of lgamma.
37347         * math/auto-libm-test-out: Regenerated.
37348         * sysdeps/i386/fpu/libm-test-ulps: Update.
37349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37351         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
37352         log1p.
37353         * math/auto-libm-test-out: Regenerated.
37354         * sysdeps/i386/fpu/libm-test-ulps: Update.
37355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37357 2015-05-01  Mark Wielaard  <mjw@redhat.com>
37359         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
37360         Elf64_Chdr structs and ELFCOMPRESS constants.
37362 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
37364         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
37365         expm1.
37366         * math/auto-libm-test-out: Regenerated.
37367         * sysdeps/i386/fpu/libm-test-ulps: Update.
37368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37370         * math/auto-libm-test-in: Add more tests of erf and erfc.
37371         * math/auto-libm-test-out: Regenerated.
37372         * sysdeps/i386/fpu/libm-test-ulps: Update.
37373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37375 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37377         * config.h.in (HAVE_AARCH64_BE): Add.
37379 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
37381         * math/auto-libm-test-in: Add more tests of csqrt.
37382         * math/auto-libm-test-out: Regenerated.
37383         * sysdeps/i386/fpu/libm-test-ulps: Update.
37384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37386         * math/auto-libm-test-in: Add more tests of cosh and sinh.
37387         * math/auto-libm-test-out: Regenerated.
37388         * sysdeps/i386/fpu/libm-test-ulps: Update.
37389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37391         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
37393 2015-04-29  Roland McGrath  <roland@hack.frob.com>
37395         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
37396         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
37398         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
37399         (euidaccess, eaccess): Define as weak aliases.
37401         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
37402         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
37403         but __suseconds_t is often 'long int' so some sources assume that
37404         type is being used (e.g. they use %ld to print tv_usec).
37406 2015-04-29  Florian Weimer  <fweimer@redhat.com>
37408         [BZ #18007]
37409         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
37410         (CVE-2014-8121)
37411         * nss/tst-nss-getpwent.c: New file.
37412         * nss/Makefile (tests): Add new test.
37414 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
37416         [BZ #18346]
37417         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
37418         exponents less than 48 as cases where high part of mantissa needs
37419         examining to determine whether argument is integral.
37420         * math/libm-test.inc (round_test_data): Add more tests.
37422 2015-04-28  Mark Wielaard  <mjw@redhat.com>
37424         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
37426 2015-04-27  David S. Miller  <davem@davemloft.net>
37428         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
37429         __tls_get_addr.
37430         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37432 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
37434         [BZ #18333]
37435         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
37437 2015-04-27  Florian Weimer  <fweimer@redhat.com>
37439         [BZ #18333]
37440         * time/tzset.c (parse_tzname): Return error on memory allocation
37441         failure.
37442         * test-skeleton.c (struct temp_name_list): Change type of name
37443         member to non-const.
37444         (add_temp_file): Create a copy of the file name.
37445         (delete_temp_files): Deallocate memory.
37446         (create_temp_file): Add comment.
37448 2015-04-24  Florian Weimer  <fweimer@redhat.com>
37450         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
37451         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
37453 2015-04-24  Roland McGrath  <roland@hack.frob.com>
37455         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
37456         * sysdeps/arm/configure: Regenerated.
37458 2015-04-24  Florian Weimer  <fweimer@redhat.com>
37460         [BZ #17715]
37461         * time/tzfile.c (__tzfile_read): Check for large values of
37462         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
37463         * time/tzset.c (__tzstring_len): New function, based on the old
37464         __tzstring function.
37465         (__tzstring): Call __tzstring_len.
37466         (parse_tzname): New helper function extracted from
37467         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
37468         the input string.
37469         (parse_offset): New helper function extracted from
37470         __tzset_parse_tz.  Replace switch with fallthrough with
37471         initialization before sscanf.
37472         (parse_rule): Likewise.
37473         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
37474         new-style function definition.
37475         * timezone/Makefile (tests): Add tst-tzset.
37476         (tst-tzset.out): Dependencies on time zone files.
37477         (tst-tzset-ENV): Set TZDIR.
37478         (testdata/XT%): Copy crafted time zone files.
37479         * timezone/README: Mention crafted time zone files.
37480         * timezone/testdata/XT1, timezone/testdata/XT2,
37481         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
37482         files.
37483         * timezone/tst-tzset.c: New test.
37485 2015-04-24  Florian Weimer  <fweimer@redhat.com>
37487         * Makeconfig (+gccwarn): Remove -Winline.
37489 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37491         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
37493 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37495         * NEWS: Mention sysconf() cache information support for s390.
37496         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
37498 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
37500         * math/k_casinh.c (__kernel_casinh): Use __copysign.
37501         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
37502         (__nearbyint): Likewise.
37503         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
37504         (copysignl): Likewise.
37506 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
37508         [BZ #18287]
37509         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
37510         based on padding.  (CVE-2015-1781)
37512 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37514         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
37515         libc-vdso.h.
37516         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
37517         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
37518         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
37519         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
37520         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
37521         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
37522         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
37523         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37524         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37525         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
37526         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37527         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37528         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
37529         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
37530         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
37531         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
37532         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
37533         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
37534         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
37535         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
37536         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
37537         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
37538         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
37540 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
37542         * stdlib/setenv.c (__add_to_environ):
37543         Dump core quickly if setenv (..., NULL, ...) is called.
37544         This time, do it the right way, and pacify GCC with a pragma.
37546 2015-04-17  Roland McGrath  <roland@hack.frob.com>
37548         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
37549         IMAP->l_prev cannot be null, and #if out the code for the contrary
37550         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
37551         believe that NS (&_dl_ns[NSID]) could point outside the array.
37553         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
37554         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
37555         before using NSID as an index.
37557 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
37559         [BZ #17825]
37560         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
37561         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
37562         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
37564 2015-04-17  Roland McGrath  <roland@hack.frob.com>
37566         Add preliminary port to Google Native Client on ARM.
37567         * abi-tags (.*-.*-nacl.*): New entry.
37568         * sysdeps/arm/nacl: New directory.
37569         * sysdeps/nacl: New directory.
37571 2015-04-16  David S. Miller  <davem@davemloft.net>
37573         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
37574         lowlevellock-futex.h
37576 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
37578         * sysdeps/tile/configure.ac: New file.
37579         * sysdeps/tile/configure: Regenerated.
37581 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37583         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
37584         conditionals for weak_alias and libc_hidden_weak.
37585         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
37586         libc_hidden_weak and weak_alias.
37587         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
37588         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
37589         and weak_alias for static one.
37591 2015-04-15  David S. Miller  <davem@davemloft.net>
37593         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
37595 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37597         [BZ #18206]
37598         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
37599           Use signed comparision instead of substraction to avoid
37600           overflow bug.
37601         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
37602           Take the sign of ret.
37603         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
37604           Do not expect precise return values. Only the sign matters.
37605         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
37606         * wcsmbs/test-wcsncmp.c: New File.
37607         * string/test-strncmp.c: Add wcsncmp support.
37609 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37611         [BZ #6792]
37612         * math/w_log1p.c: New file.
37613         * math/w_log1pf.c: Likewise.
37614         * math/w_log1pl.c: Likewise.
37615         * math/Makefile (libm-calls): Add w_log1p.
37616         * math/s_log1pl.c (log1pl): Remove weak_alias.
37617         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
37618         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
37619         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
37620         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
37621         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
37622         [NO_LONG_DOUBLE] (log1pl): Likewise.
37623         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
37624         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
37625         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
37626         (log1p): Remove long_double_symbol.
37627         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
37628         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
37629         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
37630         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
37631         remove weak_alias for corresponding log1p function.
37632         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
37633         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
37634         * sysdeps/ia64/fpu/w_log1p.c: New file.
37635         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
37636         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
37637         * math/libm-test.inc (log1p_test_data): Add errno expectations.
37639 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
37641         [BZ #18247]
37642         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
37643         decimal exponent by 1.
37644         * stdlib/tst-strtod-round-data: Add more tests.
37645         * stdlib/tst-strtod-round.c (tests): Regenerated.
37647 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
37649         * math/auto-libm-test-in: Add more tests of clog and clog10.
37650         * math/auto-libm-test-out: Regenerated.
37651         * sysdeps/i386/fpu/libm-test-ulps: Update.
37652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37654 2015-04-09  Roland McGrath  <roland@hack.frob.com>
37656         * Makeconfig (module-cppflags): Exclude all .v.i files.
37657         (skip-module-cppflags): Variable removed.
37659         * configure.ac (libc_config_ok): Initialize before reading
37660         preconfigure scripts, not after.
37661         * configure: Regenerated.
37663         * test-skeleton.c (TIMEOUT): Move #define to top level.
37664         (main): Grok environment variable TEST_DIRECT.  If set, print
37665         test expectation details into that file and then behave as if
37666         given --direct.
37668 2015-04-09  Florian Weimer  <fweimer@redhat.com>
37670         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
37671         warning on 32-bit.
37673 2015-04-08  David S. Miller  <davem@davemloft.net>
37675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37677 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
37679         * math/auto-libm-test-in: Add more tests of atanh.
37680         * math/auto-libm-test-out: Regenerated.
37681         * sysdeps/i386/fpu/libm-test-ulps: Update.
37682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37684         * math/auto-libm-test-in: Add more tests of atan.
37685         * math/auto-libm-test-out: Regenerated.
37686         * sysdeps/i386/fpu/libm-test-ulps: Update.
37687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37689 2015-04-08  Florian Weimer  <fweimer@redhat.com>
37691         * elf/pldd.c (main): Rewrite to use struct
37692         scratch_buffer instead of extend_alloca.
37693         * elf/pldd-xx.c (find_maps): Likewise.
37694         * grp/initgroups.c: Include <scratch_buffer.h> instead of
37695         <alloca.h>.
37696         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
37697         scratch_buffer instead of extend_alloca.
37698         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
37699         grp/compat-initgroups.c.
37700         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
37701         Rewrite to use struct scratch_buffer instead of extend_alloca.
37702         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
37703         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37705 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
37707         * math/auto-libm-test-in: Add more tests of cbrt.
37708         * math/auto-libm-test-out: Regenerated.
37709         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37711         * math/auto-libm-test-in: Add more tests of cabs.
37712         * math/auto-libm-test-out: Regenerated.
37713         * sysdeps/i386/fpu/libm-test-ulps: Update.
37714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37716         [BZ #18210]
37717         [BZ #18211]
37718         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
37719         (__ieee754_atan2): Set FE_TONEAREST mode for internal
37720         computations.
37721         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
37722         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         [BZ #18197]
37728         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
37729         (atan): Set FE_TONEAREST mode for internal computations.
37730         * math/auto-libm-test-in: Add more tests of atan.
37731         * math/auto-libm-test-out: Regenerated.
37733 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
37735         [BZ #17930]
37736         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
37738 2015-04-07  Florian Weimer  <fweimer@redhat.com>
37740         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
37742 2015-04-07  Florian Weimer  <fweimer@redhat.com>
37744         * include/scratch_buffer.h: New file.
37745         * malloc/scratch_buffer_grow.c: Likewise.
37746         * malloc/scratch_buffer_grow_preserve.c: Likewise.
37747         * malloc/scratch_buffer_set_array_size.c: Likewise.
37748         * malloc/tst-scratch_buffer.c: Likewise.
37749         * malloc/Makefile (routines): Add scratch_buffer_grow.
37750         (tests): Add test case.
37751         * malloc/Versions (GLIBC_PRIVATE): Export
37752         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
37753         __libc_scratch_buffer_set_array_size.
37755 2015-04-06  Richard Henderson  <rth@redhat.com>
37757         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
37758         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37760         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
37761         unsigned int before printing.
37763 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37765         [BZ #17596]
37766         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
37767         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37769 2015-04-02  Florian Weimer  <fweimer@redhat.com>
37771         * include/libc-internal.h (libc_max_align_t): Define.
37773 2015-04-02  Andreas Schwab  <schwab@suse.de>
37775         [BZ #16850]
37776         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
37778 2015-04-02  Mel Gorman  <mgorman@suse.de>
37780         [BZ #17195]
37781         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
37782         as well as the main arena.
37784 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
37786         [BZ #18185]
37787         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
37788         sharing L2 cache to 2 for Silvermont/Knights Landing.
37790 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
37792         [BZ #17711]
37793         * config.make.in (have-protected-data): New.
37794         * configure.ac: Check linker support for protected data symbol.
37795         * configure: Regenerated.
37796         * elf/Makefile (modules-names): Add tst-protected1moda and
37797         tst-protected1modb if $(have-protected-data) is yes.
37798         (tests): Add tst-protected1a and tst-protected1b if
37799         $(have-protected-data) is yes.
37800         ($(objpfx)tst-protected1a): New.
37801         ($(objpfx)tst-protected1b): Likewise.
37802         (tst-protected1modb.so-no-z-defs): Likewise.
37803         * elf/tst-protected1a.c: New file.
37804         * elf/tst-protected1b.c: Likewise.
37805         * elf/tst-protected1mod.h: Likewise.
37806         * elf/tst-protected1moda.c: Likewise.
37807         * elf/tst-protected1modb.c: Likewise.
37809 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
37811         [BZ #17711]
37812         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
37813         indicates it is called from do_lookup_x on relocation against
37814         protected data, skip the data definion in the executable from
37815         copy reloc.
37816         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
37817         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
37818         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
37819         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
37820         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
37821         otherwise to 0.
37822         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
37823         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
37824         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
37825         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
37826         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
37827         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
37829 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
37831         * sysdeps/nptl/pthread.h: Remove duplicate definition of
37832         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
37834 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
37836         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
37837         THREAD_SETMEM_NC.
37838         * sysdeps/x86_64/nptl/tls.h: Ditto.
37840 2015-03-27  Roland McGrath  <roland@hack.frob.com>
37842         * dlfcn/tststatic.c (main): Converted to ...
37843         (do_test): ... this.
37844         (TEST_FUNCTION): New macro.
37845         Include test-skeleton.c.
37847 2015-03-26  Alan Modra  <amodra@gmail.com>
37849         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
37850         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
37851         zero for undefined weak.
37852         (elf_machine_plt_conflict): Similarly.
37854 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
37856         * math/auto-libm-test-in: Add more tests of acosh, asinh and
37857         atanh.
37858         * math/auto-libm-test-out: Regenerated.
37859         * sysdeps/i386/fpu/libm-test-ulps: Update.
37860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37862         * math/auto-libm-test-in: Add another test of asin.
37863         * math/auto-libm-test-out: Regenerated.
37864         * sysdeps/i386/fpu/libm-test-ulps: Update.
37865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37867         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
37868         Remove macro.
37869         (LLL_EBX_REG): Likewise.
37870         (LLL_ENTER_KERNEL): Likewise.
37872         * math/auto-libm-test-in: Add more tests of asin.
37873         * math/auto-libm-test-out: Regenerated.
37874         * sysdeps/i386/fpu/libm-test-ulps: Update.
37875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37877         [BZ #18138]
37878         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
37879         libc_do_syscall_args): New structure.
37880         (INTERNAL_SYSCALL_MAIN_0): New macro.
37881         (INTERNAL_SYSCALL_MAIN_1): Likewise.
37882         (INTERNAL_SYSCALL_MAIN_2): Likewise.
37883         (INTERNAL_SYSCALL_MAIN_3): Likewise.
37884         (INTERNAL_SYSCALL_MAIN_4): Likewise.
37885         (INTERNAL_SYSCALL_MAIN_5): Likewise.
37886         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
37887         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
37888         Replace conditional definitions by conditional definitions of ....
37889         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
37890         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
37891         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
37892         (libpthread-sysdep_routines): Add libc-do-syscall.
37893         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
37894         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
37895         to __NR_futex not 240.
37897 2015-03-25  Alan Modra  <amodra@gmail.com>
37899         * NEWS: Advertise TLS optimization.
37900         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
37901         (DT_PPC_NUM): Increment.
37902         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
37903         (CHECK_STATIC_TLS): Use here.
37904         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
37905         TLS descriptors.
37906         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37907         * sysdeps/powerpc/dl-tls.c: New file.
37908         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
37909         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
37910         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
37911         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
37912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
37913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
37914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
37916 2015-03-25  Alan Modra  <amodra@gmail.com>
37918         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
37919         for overlapping .opd entries" to "support...".
37920         * sysdeps/powerpc/powerpc64/configure: Regenerate
37922 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
37924         * math/auto-libm-test-in: Add more tests of acos.
37925         * math/auto-libm-test-out: Regenerated.
37926         * sysdeps/i386/fpu/libm-test-ulps: Update.
37927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37929         * math/auto-libm-test-in: Add more tests of expm1.
37930         * math/auto-libm-test-out: Regenerated.
37931         * sysdeps/i386/fpu/libm-test-ulps: Update.
37932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37934 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
37936         * math/auto-libm-test-in: Add more tests of cosh and sinh.
37937         * math/auto-libm-test-out: Regenerated.
37938         * sysdeps/i386/fpu/libm-test-ulps: Update.
37939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37941         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37944         * math/auto-libm-test-in: Add more tests of log2.
37945         * math/auto-libm-test-out: Regenerated.
37946         * sysdeps/i386/fpu/libm-test-ulps: Update.
37947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37949 2015-03-23  Roland McGrath  <roland@hack.frob.com>
37951         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
37952         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
37953         _IO_IS_APPENDING bit in READ_WRITE instead.
37955 2015-03-23  Florian Weimer  <fweimer@redhat.com>
37957         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
37958         (__determine_cpumask_size): Replace extend_alloca with a
37959         variable-length array.  Do not treat res == 0 as an error.
37961 2015-03-23  Florian Weimer  <fweimer@redhat.com>
37963         [BZ #18100]
37964         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
37965         and integer overflow.
37966         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
37967         (main): Add integer overflow tests.
37968         * manual/pattern.texi (Calling Wordexp): Document additional use
37969         for WRDE_SYNTAX.
37971 2015-03-23  Alan Modra  <amodra@gmail.com>
37973         * config.h.in: Remove HAVE_ASM_PPC_REL16.
37974         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
37975         and false branch of conditional.
37976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
37977         Likewise.
37979 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
37981         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
37982         libc-modules.h
37983         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
37984         unused declaration of _hurd_intr_rpc_msg_in_trap.
37985         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
37986         defined instead of whether it is non-zero.
37987         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
37988         input constraint instead of both input and output constraint.  Use ecx
37989         clobber instead of %ecx.
37990         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
37991         mutex_unlock): Use a statement expression instead of an expression list.
37992         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
37993         type to vm_size_t instead of vm_address_t.
37994         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
37995         defined instead of whether it is non-zero.
37996         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
37997         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
37998         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
37999         comparisons with mapaddr.
38000         * nscd/nscd-client.h: Include <time.h>.
38001         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38002         9th parameter to __vm_region instead of int.
38003         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38004         * scripts/check-local-headers.sh (exclude): Add device/,
38005         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38006         cthreads.h.
38008 2015-03-19  Roland McGrath  <roland@hack.frob.com>
38010         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38011         to account for alignment padding.
38012         * sysdeps/arm/memmove.S: Likewise.
38014 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
38016         * sysdeps/unix/sysv/linux/generic/README: New file.
38018 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
38020         [BZ #18138]
38021         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38022         (futex_abstimed_wait)
38023         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38024         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38025         of lll_futex_timed_wait.
38027 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
38029         [BZ #17542]
38030         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38032 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
38034         [BZ #17090]
38035         [BZ #17620]
38036         [BZ #17621]
38037         [BZ #17628]
38038         * NEWS: Update.
38039         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38040         entries with Static TLS too.  Skip entries past the end of the
38041         allocated DTV, from Alan Modra.
38042         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
38043         Static TLS DTV entry set up from...
38044         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38045         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38046         * nptl/allocatestack.c (init_one_static_tls): ... and here...
38047         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38048         for Static TLS.
38049         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
38050         that the slot we find is associated with the given map before
38051         using its generation count.
38052         * nptl_db/db_info.c: Include ldsodefs.h.
38053         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38054         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38055         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38056         (link_map::l_tls_offset): New struct field.
38057         (dtv_t::counter): Likewise.
38058         (rtld_global): New struct.
38059         (_rtld_global): New rtld variable.
38060         (dl_tls_dtv_slotinfo_list): New rtld global field.
38061         (dtv_slotinfo_list): New struct.
38062         (dtv_slotinfo): Likewise.
38063         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38064         (td_lookup): Rename to...
38065         (td_mod_lookup): ... this.  Use new mod parameter instead of
38066         LIBPTHREAD_SO.
38067         * nptl_db/td_thr_tlsbase.c: Include link.h.
38068         (dtv_slotinfo_list, dtv_slotinfo): New functions.
38069         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
38070         addresses even if the DTV is out of date or missing them.
38071         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38072         index zero-length arrays.
38073         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38074         (td_lookup): Make it a macro implemented in terms of...
38075         (td_mod_lookup): ... this declaration.
38076         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38077         (DB_MAIN_VARIABLE): Likewise.
38079 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38081         [BZ #18134]
38082         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38084 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
38086         * stdlib/setenv.c (__add_to_environ): Revert previous change.
38088 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
38090         [BZ #18128]
38091         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38092         (atomic_add, atomic_increment_and_test)
38093         (atomic_decrement_and_test): Fix 64-bit arithmetic.
38095 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
38097         * stdlib/setenv.c (__add_to_environ):
38098         Dump core quickly if setenv (..., NULL, ...) is called.
38100 2015-03-13  Roland McGrath  <roland@hack.frob.com>
38102         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
38103         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
38104         all the necessary asm magic in one place.
38105         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
38106         using those.
38108 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
38110         [BZ #14906]
38111         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
38112         traced file mtime. Use consistent log message.
38113         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
38114         (register_traced_file): Call install_watches. Always set mtime.
38115         (invalidate_cache): Iterate over all trace files. Call install_watches.
38116         (inotify_check_files): Don't inline. Handle watching parent
38117         directories and configuration file movement in and out.
38118         (handle_inotify_events): New function.
38119         (main_loop_poll): Call handle_inotify_events.
38120         (main_loop_epoll): Likewise.
38121         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
38122         (struct traced_file): Use array of inotify fds. Add parent directory,
38123         and basename.
38124         (struct database_dyn): Remove unused file_mtime.
38125         (init_traced_file): New inline function.
38126         (define_traced_file): New macro.
38127         * nss/nss_db/db-init.c: Use define_traced_file.
38128         (_nss_db_init): Use init_traced_file.
38129         * nss/nss_files/files-init.c: Use define_traced_file.
38130         (_nss_files_init): Use init_traced_file.
38132 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
38134         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
38135         [_LIBC]: Do not include <stdlib.h>.
38136         [!_LIBC] (abort): Remove declaration.
38137         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
38138         _FP_STATIC_ASSERT instead of conditionally calling abort.
38139         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
38140         (_FP_EXTEND_CNAN): Likewise.
38141         (FP_TRUNC): Likewise.
38142         (__FP_CLZ): Likewise.
38143         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
38145 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
38147         * manual/string.texi (XPG basename): Fix prototype.
38149 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38151         [BZ #18080]
38152         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
38153         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38154         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
38155         (__setcontext): Likewise.
38156         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
38157         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38158         Call rt_sigprocmask syscall one time to set new signal mask
38159         and retrieve the current signal mask instead of two calls.
38160         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
38161         (__swapcontext): Likewise.
38162         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
38163         * stdlib/tst-setcontext2.c: New file.
38165 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38167         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38169 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
38171         [BZ #18093]
38172         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
38173         the wrong size.
38175 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38177         [BZ #18043]
38178         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
38180 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38182         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
38183         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
38184         Remove define.
38185         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
38186         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
38187         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
38188         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
38189         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
38190         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
38191         define.
38192         * nptl_db/td_symbol_list.c (td_lookup): Remove
38193         HAVE_ASM_GLOBAL_DOT_NAME code.
38194         * sysdeps/powerpc/powerpc64/configure.ac: Remove
38195         HAVE_ASM_GLOBAL_DOT_NAME check.
38196         * sysdeps/powerpc/powerpc64/configure: Regenerate.
38197         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
38198         (DOT_LABEL): Remove define.
38199         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
38200         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
38201         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
38202         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
38203         (__TLS_GET_ADDR): Likewise.
38204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
38205         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
38207 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
38209         [BZ #18111]
38210         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
38211         (_FPU_SETCW): Initialize cw from fpsr before storing.
38212         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
38213         (fesetexceptflag): Rewrite using fpu_control.h.
38214         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
38216 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
38218         [BZ #18110]
38219         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
38220         asms.
38221         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38223 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
38225         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
38226         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
38227         abort.
38228         (_FP_FMA): Likewise.
38229         (_FP_DIV): Likewise.
38231 2015-03-10  Roland McGrath  <roland@hack.frob.com>
38233         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
38234         with 0 in that case.
38235         * Makefile (summarize-tests): New canned sequence, factored out of
38236         commands for targets tests and xtests.  Display summary lines that
38237         don't start with PASS: or XFAIL: rather than ones that do start with
38238         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
38239         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
38240         do start with ERROR: or FAIL:.
38241         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
38242         (except for [$(build-shared) = yes]).
38243         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
38244         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
38245         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
38246         * nptl/Makefile: Revert 2015-03-04 changes.
38247         [$(CXX) empty] (tests-unsupported): New variable.
38248         * debug/Makefile: Likewise.
38250         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
38251         gnulib file.  Replace __attribute with __attribute__ throughout.
38253 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
38255         * sysdeps/hppa/fpu/libm-test-ulps: Update.
38257 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
38259         [BZ #18104]
38260         * math/auto-libm-test-in: Add another test of pow.
38261         * math/auto-libm-test-out: Regenerated.
38263 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38265         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
38266         $(config-cflags-nofma).
38268 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
38270         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
38271         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
38272         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
38273         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
38274         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
38275         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
38276         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
38277         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
38278         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
38279         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
38280         Add comment on closing #endif.
38282 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38284         * posix/wordexp.c (CHAR_IN_SET): New macro.
38285         (parse_param): Use it.
38287 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38289         * sysdeps/powerpc/fpu/libm-test-ulps: update.
38291 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38293         [BZ #18043]
38294         * posix/wordexp.c (parse_param): Fix buffer overflow.
38295         * posix/wordexp-test.c (test_case): Add test case.
38297 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38299         [BZ #18042]
38300         * posix/wordexp.c (parse_backtick): Fix off-by-one.
38301         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
38303 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38305         [BZ #18043]
38306         * posix/wordexp-test.c (test_case): Add test for BZ #18043
38307         (do_bz18043): Delete.
38308         (at_page_end): New.
38309         (testit): Refactor to have words at the edge of unreadable page.
38311 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
38313         [BZ #16734]
38314         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
38315         Cleanup read-only streams as well.
38316         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
38318 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38320         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
38321         <bits/libc-lockP.h>
38323 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
38325         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
38326         on [__KERNEL__].
38327         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
38328         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
38329         * soft-fp/op-common.h (_FP_DECL): Likewise.
38331 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
38333         * elf/ifuncdep2.c (global): Replace
38334         __attribute__((visibility("protected"))) with
38335         asm (".protected global").
38336         * elf/ifuncmod1.c (global): Likewise.
38337         * elf/ifuncmod5.c (global): Likewise.
38339 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
38341         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
38342         <asm/sfp-machine.h> instead of <sfp-machine.h>.
38344 2015-03-06  Roland McGrath  <roland@hack.frob.com>
38346         * manual/install.texi (Configuring and compiling):
38347         Document test-wrapper-env-only.
38348         * INSTALL: Regenerated.
38350 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38352         [BZ #18043]
38353         * posix/wordexp.c (parse_param): Fix buffer overflow.
38354         * posix/wordexp-test.c (do_bz18043): Add test case.
38356 2015-03-06  Vincent Bernat  <vincent@bernat.im>
38358         * time/tst-strptime2.c (do_test): Ensure failing tests are
38359         reported correctly.
38360         * time/tst-strptime3.c (do_test): Likewise.
38362 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
38364         Fix aio_error thread-safety.
38365         * sysdeps/pthread/aio_error.c: New file
38366         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
38367         synchronization.
38369 2015-03-06  Florian Weimer  <fweimer@redhat.com>
38371         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
38372         (group_number, vfprintf): Use it.
38373         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
38374         (JUMP, REF): Use it.
38375         (WORK_BUFFER_SIZE): New enum constant.
38376         (process_arg, vfprintf): Use it.
38378 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
38380         * manual/errno.texi (Error Messages): Complete example function
38381         by adding missing #define.
38382         (program_invocation_name): Add statement indicating GNU
38383         extension and reference which header file declares the variable.
38384         (program_invocation_short_name): Likewise.
38386 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
38388         * manual/errno.texi (Error Messages): Delete strerror ISO C89
38389         compatibility note.
38391 2015-03-05  Roland McGrath  <roland@hack.frob.com>
38393         * Makeconfig (test-wrapper-env-only): New variable.
38394         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
38395         then use that with $(test-wrapper-env-only) rather than using
38396         $(test-wrapper-env) $(run-program-env) $($*-ENV).
38398 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
38400         [BZ #18082]
38401         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
38402         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
38403         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
38404         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
38405         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
38406         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
38407         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
38408         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
38409         Likewise.
38410         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
38411         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
38412         Likewise.
38413         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
38414         Likewise.
38415         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
38416         Likewise.
38417         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
38418         Likewise.
38419         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
38420         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
38421         Likewise.
38422         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
38423         Likewise.
38424         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
38425         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
38427 2015-03-04  Roland McGrath  <roland@hack.frob.com>
38429         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
38430         (ETH_ALEN): New macro.
38431         (struct ether_addr): Use it for length of ether_addr_octet.
38433         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
38434         (setdb): Don't call __nss_configure_lookup for "rpc".
38435         (do_test): Don't call test_rpc.
38436         (output_rpcent, test_rpc): Functions moved ...
38437         * sunrpc/test-rpcent.c: ... to this new file.
38438         * sunrpc/Makefile (tests): Add it.
38440         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
38441         __xpg_sigpause.
38442         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
38443         * nptl/tst-signal6.c: Likewise.
38444         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
38445         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
38447         * configure.ac (libc_cv_cxx_link_ok): New check.
38448         Reset CXX to empty if it fails to link.
38449         * configure: Regenerated.
38450         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
38451         bug-atexit3-lib only if $(CXX) is nonempty.
38452         * nptl/Makefile (tests): Likewise for tst-cancel24.
38453         (tests, tests-static): Likewise for tst-cancel24-static.
38454         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
38455         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
38456         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
38457         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
38459 2015-03-04  Andreas Schwab  <schwab@suse.de>
38461         [BZ #17631]
38462         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
38463         for non-GCC compilers.
38464         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38465         Likewise.
38467 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38469         [BZ #17776]
38470         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
38471         integer before bitwise and assembly operations.
38472         (feclearexcept): Likewise.
38473         * math/test-fenvinline.c: New file.
38474         * math/Makefile: Add test-fenvinline test.
38476 2015-03-03  Alan Modra  <amodra@gmail.com>
38478         [BZ #16512]
38479         * scripts/localplt.awk: Strip off symbol version.
38480         * NEWS: Mention bug fix.
38482 2015-03-02  Roland McGrath  <roland@hack.frob.com>
38484         * sysdeps/pthread/timer_routines.c
38485         (timer_free_list, thread_free_list, thread_active_list): Make static.
38487 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
38489         [BZ #17779]
38490         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38491         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38492         Undefine.
38493         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38494         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38495         Likewise.
38496         * sysdeps/unix/sysv/linux/sh/kernel-features.h
38497         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38498         Likewise.
38500 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
38502         [BZ #18036]
38503         * posix/fnmatch_loop.c (END): Detect invalid pattern.
38504         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
38506 2015-03-02  Andreas Schwab  <schwab@suse.de>
38508         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
38509         variable name.
38511 2015-03-02  Florian Weimer  <fweimer@redhat.com>
38513         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
38514         Return error status.
38516 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
38518         [BZ #15969]
38519         * locale/findlocale.c (_nl_find_locale): Introduce const
38520         version of loc_name and drop unsafe type casts.
38522 2015-02-27  Roland McGrath  <roland@hack.frob.com>
38524         * dlfcn/tststatic2.c (main): Converted to ...
38525         (do_test): ... this.
38526         (TEST_FUNCTION): New macro.
38527         Include test-skeleton.c.
38529 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
38531         [BZ #17711]
38532         * elf/Makefile (tests): Add vismain only if PIE is enabled.
38533         (tests-pie): Add vismain.
38534         (CFLAGS-vismain.c): New.
38535         * elf/vismain.c: Add comments for PIE requirement.
38537 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
38539         [BZ #18046]
38540         [BZ #18047]
38541         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
38542         0x1p-56L as threshold for just returning the argument.
38543         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
38544         0x1p-32L as threshold for just returning the argument.
38545         * math/auto-libm-test-in: Add more tests of atanh.
38546         * math/auto-libm-test-out: Regenerated.
38547         * sysdeps/i386/fpu/libm-test-ulps: Update.
38548         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
38550 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
38552         * string/bcopy.c (bcopy): Call memmove for performance.
38554 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
38556         * string/bzero.c (__bzero): Call memset for performance.
38558 2015-02-27  John David Anglin  <dave.anglin@bell.net>
38560         [BZ #18068]
38561         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
38562         to 00100000.
38564 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
38566         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
38568 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
38570         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
38571         (__kernel_standard): Use CSTR macro when setting exc.name.
38572         * sysdeps/ieee754/Makefile [$(subdir) = math]
38573         (CFLAGS-k_standard.c): Remove variable.
38575         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
38576         setting p and q from "else if" to "else".
38577         (qzero): Likewise.
38578         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
38579         (qone): Likewise.
38580         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
38581         (qzerof): Likewise.
38582         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
38583         (qonef): Likewise.
38584         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
38585         (qzero): Likewise.
38586         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
38587         (qone): Likewise.
38589         [BZ #18038]
38590         [BZ #18039]
38591         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
38592         return pi/2 for arguments below 0x1p-113L.
38593         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
38594         return pi/2 for arguments below 0x1p-106L.
38595         * math/auto-libm-test-in: Add more tests of acos.
38596         * math/auto-libm-test-out: Regenerated.
38598         [BZ #16351]
38599         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
38600         (MO): New macro.
38601         (__ieee754_asin): Force underflow exception for results with small
38602         absolute value.
38603         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
38604         (MO): New macro.
38605         (__ieee754_asinf): Force underflow exception for results with
38606         small absolute value.
38607         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
38608         (__ieee754_asin): Force underflow exception for results with small
38609         absolute value.
38610         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
38611         (__ieee754_asinf): Force underflow exception for results with
38612         small absolute value.
38613         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
38614         (__ieee754_asinl): Force underflow exception for results with
38615         small absolute value.
38616         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
38617         (__ieee754_asinl): Force underflow exception for results with
38618         small absolute value.
38619         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
38620         (__ieee754_asinl): Force underflow exception for results with
38621         small absolute value.
38622         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
38623         Include <math.h>.
38624         * math/auto-libm-test-in: Do not mark underflow exceptions as
38625         possibly missing for bug 16351.
38626         * math/auto-libm-test-out: Regenerated.
38628         [BZ #18030]
38629         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
38630         of power of 2 down when low part has opposite sign.
38631         * math/libm-test.inc (logb_test_data): Add more tests.
38633 2015-02-26  Andreas Schwab  <schwab@suse.de>
38635         [BZ #18032]
38636         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
38637         over collating symbol inside a bracket expression.  Minor cleanup.
38638         * posix/tst-fnmatch3.c (do_test): Add test case.
38640 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
38642         [BZ #18029]
38643         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
38644         Adjust exponent of power of 2 down when low part has opposite
38645         sign.
38646         * math/libm-test.inc (ilogb_test_data): Add more tests.
38648 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
38650         [BZ #15969]
38651         * locale/findlocale.c (_nl_find_locale): Fix constness error in
38652         the previous change.
38654         [BZ #15969]
38655         * locale/findlocale.c (_nl_find_locale): Retry archive search
38656         after alias expansion.
38658 2015-02-25  Roland McGrath  <roland@hack.frob.com>
38660         * iconv/tst-iconv3.c (main): Converted to ...
38661         (do_test): ... this.
38662         (TEST_FUNCTION): New macro.
38663         Include test-skeleton.c.
38665         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
38666         (convert): Make function static.
38667         (test_unalign): Likewise.  Add const to argument pointee types.
38668         (main): Replace with static function do_test.
38669         Print "Succeeded." only if RET is zero.
38670         (TEST_FUNCTION): New macro.
38671         Include test-skeleton.c.
38673         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
38674         returns a null pointer.
38676 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38678         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
38679         to __memcpy_ppc only for static builds.
38681 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
38683         [BZ #18020]
38684         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
38685         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
38686         * math/auto-libm-test-in: Add more tests of asinh.
38687         * math/auto-libm-test-out: Regenerated.
38688         * sysdeps/i386/fpu/libm-test-ulps: Update.
38689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38691 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
38693         [BZ #15850]
38694         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
38695         and ip6_mtuinfo definitions here.
38696         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
38697         in this define too.  Update comment.
38699 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
38701         * elf/sprof.c (load_shobj): Tweak error message to match others.
38703 2015-02-24  Kevin Easton  <kevin@guarana.org>
38705         [BZ #16145] (partial fix)
38706         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
38707         to reduce lock contention.
38709 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
38711         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
38712         (struct timex): Update time comment.
38713         (ADJ_SETOFFSET): Define.
38715 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
38717         [BZ #18019]
38718         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38719         2**56 not 2**28 as threshold for log (2x) formula.
38720         * math/auto-libm-test-in: Add more tests of acosh.
38721         * math/auto-libm-test-out: Regenerated.
38722         * sysdeps/i386/fpu/libm-test-ulps: Update.
38723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38725 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
38727         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
38728         parenthesis around the buf assignment.
38729         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
38731 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
38733         [BZ #16783]
38734         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
38735         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
38736         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
38737         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
38738         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
38739         * math/libm-test.inc (scalb_test_data): Add more tests.
38741 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38743         [BZ #17916]
38744         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
38745         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
38747 2015-02-24  Eric Rannaud  <e@nanocritical.com>
38749         [BZ #17523]
38750         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
38751         * io/bits/fcntl2.h (open): Use it.
38752         (openat): Likewise.
38753         * io/open.c (__libc_open): Likewise.
38754         * io/open64.c (__libc_open64): Likewise.
38755         * io/open64_2.c (__open64_2): Likewise.
38756         * io/open_2.c (__open_2): Likewise.
38757         * io/openat.c (__openat): Likewise.
38758         * io/openat64.c (__openat64): Likewise.
38759         * io/openat64_2.c (__openat64_2): Likewise.
38760         * io/openat_2.c (__openat_2): Likewise.
38761         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
38762         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
38763         * sysdeps/posix/open64.c (__libc_open64): Likewise.
38764         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
38765         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
38766         (__open_nocancel): Likewise.
38767         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
38768         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
38769         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
38771 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38773         [BZ #14841]
38774         * resolv/gethnamaddr.c (getanswer): Skip logging if
38775         RES_USE_DNSSEC is set.
38776         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
38778 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
38780         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
38782 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
38784         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
38785         201304L, for Unicode 7.
38787 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
38789         [BZ #17836]
38790         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
38791         shared library.  Add gmon-start.os otherwise.
38792         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
38793         $(objpfx)gmon-start.os if builing shared library.
38794         ($(objpfx)g$(static-start-installed-name)): Likewise.
38796 2015-02-23  Andreas Schwab  <schwab@suse.de>
38798         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
38800 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
38802         [BZ #17269]
38803         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
38804         (enlarge_userbuf): Likewise.
38806 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
38808         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
38809         * math/atest-exp.c (TIMEOUT): Adjust to 200.
38810         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
38811         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
38813 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
38815         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
38816         expression inside statement expression.
38818 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
38820         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
38821         <sysdeps/nptl/lowlevellock.h> and remove macros and
38822         functions that are now defined there.
38823         (SYS_futex): Remove.
38824         (lll_compare_and_swap): Remove.
38825         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
38827 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
38829         [BZ #17999]
38830         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
38831         instead of scandirat.
38832         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
38833         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
38834         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
38835         __scandirat.
38836         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
38837         (__scandirat): Declare.  Use libc_hidden_proto.
38838         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
38839         Remove variable.
38840         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
38842 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
38844         [BZ #15319]
38845         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
38846         (MO): New macro.
38847         (__ieee754_atan2): For results with small absolute value, force
38848         underflow exception and remove excess range and precision from
38849         return value.
38850         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
38851         (MO): New macro.
38852         (__ieee754_atan2f): For results with small absolute value, force
38853         underflow exception and remove excess range and precision from
38854         return value.
38855         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
38856         (MO): New macro.
38857         (__atan): For results with small absolute value, force underflow
38858         exception and remove excess range and precision from return value.
38859         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
38860         (MO): New macro.
38861         (__atanf): For results with small absolute value, force underflow
38862         exception and remove excess range and precision from return value.
38863         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
38864         <math.h>.
38865         (__ieee754_atan2): Force underflow exception for results with
38866         small absolute value.
38867         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
38868         <math_private.h>.
38869         (atan): Force underflow exception for results with small absolute
38870         value.
38871         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
38872         (__atanf): Force underflow exception for results with small
38873         absolute value.
38874         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
38875         <math.h>.
38876         (__atanl): Force underflow exception for results with small
38877         absolute value.
38878         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
38879         (__atanl): Force underflow exception for results with small
38880         absolute value.
38881         * sysdeps/x86/fpu/bits/mathinline.h
38882         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
38883         (__ieee754_atan2): Only define inline for long double.
38884         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
38885         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
38886         * math/auto-libm-test-in: Do not mark underflow exceptions as
38887         possibly missing for bug 15319.  Add more tests of atan2.
38888         * math/auto-libm-test-out: Regenerated.
38889         * math/libm-test.inc (casin_test_data): Do not mark underflow
38890         exceptions as possibly missing for bug 15319.
38891         (casinh_test_data): Likewise.
38892         * sysdeps/i386/fpu/libm-test-ulps: Update.
38894 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
38896         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
38897         * sysdeps/mips/bits/endian.h: Fix comments.
38899 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
38901         [BZ #17996]
38902         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
38903         (hdestroy_r): Likewise.
38904         (hsearch_r): Likewise.
38905         (__hcreate_r): Declare and use libc_hidden_proto.
38906         (__hdestroy_r): Likewise.
38907         (__hsearch_r): Likewise.
38908         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
38909         (hcreate): Call __hcreate_r instead of hcreate_r.
38910         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
38911         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
38912         as weak alias of __hcreate_r.
38913         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
38914         __hdestroy_r.
38915         (hsearch_r): Rename to __hsearch_r and define as weak alias of
38916         __hsearch_r.
38917         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
38918         Remove variable.
38919         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38920         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38921         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38922         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38924 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38926         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
38927         arena_lock into a single arena_get.
38929 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
38931         * dl-reloc.c: Inlucde libc-internal.h.
38932         (_dl_try_allocate_static_tls): Call ALIGN_UP.
38933         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
38934         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
38935         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
38936         (grow_heap): Likewise.
38937         * malloc/malloc.c: Include libc-internal.h.
38938         (do_check_malloc): Call powerof2.
38939         (sysmalloc): Use pagesize. Call ALIGN_UP.
38940         (systrim): Use pagesize.
38941         (mremap_chunk): Use pagesize. Call ALIGN_UP.
38942         (__libc_valloc): Use pagesize.
38943         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
38945 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
38947         [BZ #17991]
38948         * include/sys/resource.h (__getrlimit64): Declare.  Use
38949         libc_hidden_proto.
38950         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
38951         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
38952         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
38953         getrlimit64.
38954         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
38955         __getrlimit64.
38956         [!getrlimit64] (getrlimit64): Define as weak alias of
38957         __getrlimit64.  Use libc_hidden_weak.
38958         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
38959         using __getrlimit64 not __new_getrlimit64.
38960         (__GI_getrlimit64): Likewise.
38961         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
38962         Likewise.
38963         (__GI_getrlimit64): Likewise.
38964         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
38965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
38966         (getrlimit): Add __getrlimit64 alias.
38967         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
38968         Likewise.
38969         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
38970         Remove variable.
38971         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
38972         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
38974 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
38976         * libio/fileops.c: Add missing sys/mman.h
38977         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
38979 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
38981         * manual/math.texi (Errors in Math Functions): Clarify goals
38982         regarding inexact and underflow exceptions.
38984 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
38986         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
38987         * sysdeps/mips/memset.S: Ditto.
38989 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
38991         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
38993 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38995         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
38996         (__v1longjmp): Remove versioned symbol.
38997         (__v1siglongjmp): Remove alias and versioned symbol.
38998         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
38999         (__v2siglongjmp): Likewise.
39001 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39003         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39005 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
39007         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39009 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39011         [BZ #17987]
39012         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39013         zero result does not depend on the sign resulting from
39014         subtraction.
39015         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39016         Likewise.
39017         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39018         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39019         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39020         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39021         * math/libm-test.inc (remquo_test_data): Add more tests.
39023 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
39025         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39026         Problem reported by J William Piggott.
39028 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39030         [BZ #17978]
39031         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39032         products 4 * y and 2 * y where those would overflow.
39033         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39034         Likewise.
39035         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39036         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39037         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39038         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39039         * math/libm-test.inc (remquo_test_data): Add more tests.
39041         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39043         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39044         [defined _COMPILING_NEWLIB].
39045         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39046         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39048         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39049         [!defined __mips_isa_rev || __mips_isa_rev < 6].
39051 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39053         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39054         acquired.
39056 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
39058         [BZ #17792]
39059         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39060         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39061         HOST_STACK_END_ADDR): Likewise.
39063 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
39065         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39066         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39067         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39069 2015-02-13  Roland McGrath  <roland@hack.frob.com>
39071         * sysdeps/generic/c++-types.data: New file.
39072         * sysdeps/generic/ld.abilist: New file.
39073         * sysdeps/generic/libBrokenLocale.abilist: New file.
39074         * sysdeps/generic/libanl.abilist: New file.
39075         * sysdeps/generic/libc.abilist: New file.
39076         * sysdeps/generic/libcrypt.abilist: New file.
39077         * sysdeps/generic/libdl.abilist: New file.
39078         * sysdeps/generic/libm.abilist: New file.
39079         * sysdeps/generic/libpthread.abilist: New file.
39080         * sysdeps/generic/libresolv.abilist: New file.
39081         * sysdeps/generic/librt.abilist: New file.
39083 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
39085         [BZ #17569]
39086         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39087         Compute absolute value of x as modified by fmod, not original
39088         value of x.
39089         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39090         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
39091         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
39092         RUN_TEST_ffI_f1_mod8.
39093         (remquo_test_data): Add more tests.
39095 2015-02-13  Roland McGrath  <roland@hack.frob.com>
39097         * sysdeps/init_array/pt-crti.S: New file.
39099 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
39101         [BZ #17967]
39102         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
39103         __builtin_fmaf instead of relying on contraction of a * b + c.
39105 2015-02-12  J William Piggott  <elseifthen@gmx.com>
39107         [BZ #17969]
39108         * manual/time.texi: correct the zoneinfo path in the TZ Variable
39109         node.
39111 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
39113         [BZ #17964]
39114         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
39115         __builtin_fma instead of relying on contraction of a * b + c.
39117 2015-02-12  Roland McGrath  <roland@hack.frob.com>
39119         * Makeconfig (ASFLAGS): Add -Werror=undef.
39120         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39121         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
39122         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
39124         * Makeconfig (after-link): New variable.
39125         (+link-pie, +link-pie-tests): Use it.
39126         (+link-static, +link-static-tests): Likewise.
39127         (+link, +link-tests): Likewise.
39128         * Makerules (build-module, build-module-asneeded): Likewise.
39129         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
39130         Likewise.
39131         * elf/Makefile ($(objpfx)ld.so): Likewise.
39133 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
39135         [BZ #17965]
39136         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39137         both struct timeval and struct timespec.
39139 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
39141         [BZ #16560]
39142         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39143         and redefine.
39144         (__ieee754_exp2l): Do not multiply small fractional parts by
39145         M_LN2l.
39146         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
39147         small argument.
39148         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39149         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
39150         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
39151         * math/auto-libm-test-in: Add more tests of exp2.
39152         * math/auto-libm-test-out: Regenerated.
39154 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39156         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
39157         unaligned path.
39159 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39161         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
39162         little endian.
39164 2015-02-12  Andreas Schwab  <schwab@suse.de>
39166         [BZ #15790]
39167         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
39168         Filter out elision flags from value returned in kind.
39169         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
39170         * nptl/tst-pthread-mutexattr.c: New file.
39172 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39174         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
39175         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
39176         into gnu-gnu, and update comment to refer to abi-tags.
39178 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
39180         [BZ #15467]
39181         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
39182         (__sincos): Set errno to EDOM for infinite argument.
39183         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
39184         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
39185         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
39186         (__sincosl): Set errno to EDOM for infinite argument.
39187         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
39188         (__sincosl): Set errno to EDOM for infinite argument.
39189         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
39190         (__sincosl): Set errno to EDOM for infinite argument.
39191         * math/libm-test.inc (sincos_test_data): Test errno setting.
39193 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
39195         * string/strxfrm_l.c: Remove #define STRCMP.
39196         * string/strcoll_l.c: Remove #define STRLEN.
39197         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
39198         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
39200 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
39202         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
39203         * sysdeps/mips/mips32/sfp-machine.h: ... here.
39204         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
39205         * sysdeps/mips/mips64/Makefile: ... here.
39206         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
39207         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
39208         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
39209         * sysdeps/mips/mips64/sfp-machine.h: ... here.
39210         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
39211         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
39212         * sysdeps/mips/mips64/n64/Implies: Likewise.
39214 2015-02-10  Roland McGrath  <roland@hack.frob.com>
39216         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
39217         <sys/time.h>, <string.h>, and <errno.h>.
39218         (dest_offset, dest_address, value, zero): Remove unused variables.
39219         (ldouble): Remove typedef.
39220         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
39221         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
39222         1).  Fix code style.
39223         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
39224         (check): Function removed.
39225         (CHECK): New macro.
39226         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
39227         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
39228         Don't call set_sigaction_FP and remove_sigaction_FP here.
39229         (ldouble_test): Just use 'long double' as macro argument, no need for
39230         the 'ldouble' typedef.
39231         (do_test): Set up SIGFPE handler at start, using plain signal rather
39232         than sigaction.  Fix code style.
39234 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
39236         [BZ #17949]
39237         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
39238         jump label.
39240 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39242         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
39243         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39245         * sysdeps/powerpc/configure.ac: Remove file.
39246         * sysdeps/powerpc/configure: Likewise.
39248         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39249         [sysdep_routines]: Remove wordcopy-power6 object.
39250         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39251         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
39252         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
39253         (__memmove_ppc32): Likewise.
39254         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
39255         file.
39256         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
39257         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
39258         Remove preprocessor.
39260         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39261         [sysdep_routines]: Remove wide chars objects.
39262         [wcsmbs]: New rule for wide char objects.
39264         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39265         Remove wordcopy-power6 obejct.
39266         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
39267         Use local call for wordcopy and memcpy symbols.
39268         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
39269         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
39270         implementation for loader.
39271         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
39273         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39274         Remove wordcopy-power7 object.
39275         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
39276         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
39277         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
39278         (_wordcopy_fwd_dest_aligned): Likewise.
39279         (_wordcopy_bwd_aligned): Likewise.
39280         (_wordcopy_bwd_dest_aligned): Likewise.
39282         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
39283         Rewrite to call __memmove_ppc instead of include default
39284         implementation.
39286         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39287         Remove wide chars objects.
39288         [wcsmbs]: New rule for wide char objects.
39290 2015-02-09  Andreas Schwab  <schwab@suse.de>
39292         [BZ #17912]
39293         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39294         in terms of __O_DIRECTORY.
39296 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39298         * time/getdate.c: Include <stdbool.h>.
39299         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
39300         call PTR_MANGLE.
39301         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
39302         PTR_DEMANGLE.
39304 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
39306         Add ersatz _Static_assert on older C hosts
39307         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
39308         pre-C11 C platform that is not known to support _Static_assert.
39310 2015-02-07  Richard Braun  <rbraun@sceen.net>
39312         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
39313         sigstate.
39314         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
39316 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39318         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
39319         priority against unexistent AIO_PRIO_DELTA_MAX.
39320         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
39321         instead of int.
39322         * misc/fchflags.c (fchflags): Likewise.
39323         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
39324         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
39325         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
39326         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
39327         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
39328         Declare macros.
39329         [__USE_MISC] (chflags, fchflags): Declare functions.
39330         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
39331         EINVAL when nfds is greater than FD_SETSIZE.
39332         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
39333         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
39334         45.
39335         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
39336         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
39337         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
39338         MACH_RCV_TIMED_OUT.
39339         * hurd/hurd/signal.h (_hurd_self_sigstate,
39340         _hurd_critical_section_lock, _hurd_critical_section_unlock):
39341         Explicit casts from void *.
39342         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
39343         * abi-tags: Rename gnu-gnu os into gnu.
39345         [BZ #4719]
39346         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
39347         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
39348         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
39349         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
39350         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
39351         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
39353         [BZ #17944]
39354         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
39355         duplicates ADDR->sun_path with sockaddr LEN limitation.
39356         * sysdeps/mach/hurd/connect.c: Include <string.h>
39357         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
39358         * sysdeps/mach/hurd/sendmsg.c: Likewise.
39359         * sysdeps/mach/hurd/sendto.c: Likewise.
39360         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
39361         implementing it by hand.
39363 2015-02-06  Roland McGrath  <roland@hack.frob.com>
39365         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
39366         Use sfi_breg on ldr.
39367         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
39368         Likewise.
39370         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
39371         it's defined.
39372         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
39373         Test SIGSETXID only if it's defined.
39375         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
39377         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
39378         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
39380         * nptl/tst-align2.c: Moved ...
39381         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
39382         * nptl/Makefile (tests): Remove tst-align2.
39383         * sysdeps/unix/sysv/linux/Makefile
39384         [$(subdir) = nptl] (tests): Add tst-align-clone.
39385         * nptl/tst-getpid1.c: Moved ...
39386         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
39387         * nptl/tst-getpid2.c: Moved ...
39388         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
39389         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
39390         * sysdeps/unix/sysv/linux/Makefile
39391         [$(subdir) = nptl] (tests): ... here.
39392         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
39393         * sysdeps/unix/sysv/linux/Makefile
39394         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
39396         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
39397         Drop trailing \n from perror argument.  Use return rather than exit.
39399         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
39400         on [SA_SIGINFO].
39401         * nptl/tst-cancel21.c (do_test): Likewise.
39402         * debug/tst-backtrace6.c: Include <signal.h> first thing.
39403         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
39404         [!SA_SIGINFO]: Make it a stub test.
39406         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
39407         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
39409         * posix/tst-getlogin.c: Move to ...
39410         * login/tst-getlogin.c: ... here.
39411         * posix/Makefile (tests): Move tst-getlogin to ...
39412         * login/Makefile (tests): ... here.
39414         * libio/tst-atime.c (do_test): Move local variables SV and E
39415         inside [ST_NOATIME] conditional.
39417         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
39419         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
39421         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
39422         (wait_code): New function replaces macro.
39423         Call nanosleep rather than syscall.
39425         * nptl/pt-system.c: Rewritten.  Put everything under
39426         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39427         Use IFUNC to redirect when possible.
39429         * nptl/pt-longjmp.c: Rewritten.  Put everything under
39430         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39431         Use IFUNC to redirect when possible.
39433         * nptl/pt-fork.c: Rewritten.  Put everything under
39434         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39435         Use IFUNC to redirect when possible.
39436         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
39438         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
39439         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
39440         unconditionally nowadays.  This included the only reference to
39441         __vdso_clock_gettime that appears outside libc proper.
39442         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
39443         Remove version set (containing only __vdso_clock_gettime).
39444         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
39445         Add attribute_hidden.
39446         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
39447         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
39448         libc_hidden_data_def.
39449         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39450         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39452         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
39453         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
39454         setrpcent, and getrpcport to ...
39455         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
39456         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
39457         getrpcbynumber_r, and getrpcent_r to ...
39458         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
39459         * inet/getrpcbyname.c: Moved ...
39460         * sunrpc/getrpcbyname.c: ... here.
39461         * inet/getrpcbyname_r.c: Moved ...
39462         * sunrpc/getrpcbyname_r.c: ... here.
39463         * inet/getrpcbynumber.c: Moved ...
39464         * sunrpc/getrpcbynumber.c: ... here.
39465         * inet/getrpcbynumber_r.c: Moved ...
39466         * sunrpc/getrpcbynumber_r.c: ... here.
39467         * inet/getrpcent.c: Moved ...
39468         * sunrpc/getrpcent.c: ... here.
39469         * inet/getrpcent_r.c: Moved ...
39470         * sunrpc/getrpcent_r.c: ... here.
39471         * inet/Makefile (routines): Move those to ...
39472         * sunrpc/Makefile (routines): ... here.
39473         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
39474         the $(subdirs) list.
39475         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
39476         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
39477         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
39478         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
39480         * elf/Makefile (routines): Include $(all-dl-routines), not just
39481         $(dl-routines).
39482         (rtld-routines): Likewise.  Use = rather than :=.
39483         * sysdeps/aarch64/Makefile [$(subdir) = elf]
39484         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
39485         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
39486         * sysdeps/arm/Makefile: Likewise.
39487         * sysdeps/i386/Makefile: Likewise.
39488         * sysdeps/x86_64/Makefile: Likewise.
39489         * sysdeps/hppa/Makefile [$(subdir) = elf]
39490         (sysdep_routines, sysdep-rtld-routines): Don't add
39491         $(sysdep-dl-routines) to these.
39492         * sysdeps/ia64/Makefile: Likewise.
39493         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
39494         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
39495         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
39496         Don't add dl-static to these; sysdep-dl-routines alone is enough.
39497         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
39498         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
39499         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
39500         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
39501         * sysdeps/powerpc/Makefile [$(subdir) = elf]
39502         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
39503         these; sysdep-dl-routines alone is enough.
39505 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
39507         [BZ #17932]
39508         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
39509         where multiplication results in zero and third argument is finite
39510         and nonzero.
39511         * math/auto-libm-test-in: Add more tests of fma.
39512         * math/auto-libm-test-out: Regenerated.
39514         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
39515         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
39516         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
39517         (_FP_CMP_EQ): Likewise.
39518         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
39520         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
39521         extra argument CHECK_NAN.  Redefine as wrapper around
39522         _FP_EXTEND_CNAN.
39524 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
39526         * version.h (RELEASE): Set to "stable".
39527         (VERSION): Set to "2.21"
39528         * include/features.h (__GLIBC_MINOR__): Set to 21.
39530         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
39532 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39533             Paul Eggert  <eggert@cs.ucla.edu>
39535         [BZ #16618]
39536         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
39537         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
39538         size in bytes. Store needed elements in wpmax. Use needed size
39539         in bytes for extend_alloca.
39541 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
39543         * manual/install.texi: Latest tested versions are GCC 4.9.2,
39544         binutls 2.25, and texinfo 5.2.
39545         * INSTALL: Regenerate.
39546         * sysdeps/nios2/configure: Regenerate.
39547         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
39548         * manual/contrib.texi: Update.
39549         * po/be.po: Update.
39550         * po/bg.po: Update.
39551         * po/ca.po: Update.
39552         * po/cs.po: Update.
39553         * po/da.po: Update.
39554         * po/de.po: Update.
39555         * po/el.po: Update.
39556         * po/eo.po: Update.
39557         * po/es.po: Update.
39558         * po/fi.po: Update.
39559         * po/fr.po: Update.
39560         * po/gl.po: Update.
39561         * po/hr.po: Update.
39562         * po/hu.po: Update.
39563         * po/ia.po: Update.
39564         * po/id.po: Update.
39565         * po/it.po: Update.
39566         * po/ja.po: Update.
39567         * po/ko.po: Update.
39568         * po/lt.po: Update.
39569         * po/nb.po: Update.
39570         * po/nl.po: Update.
39571         * po/pl.po: Update.
39572         * po/pt_BR.po: Update.
39573         * po/ru.po: Update.
39574         * po/rw.po: Update.
39575         * po/sk.po: Update.
39576         * po/sl.po: Update.
39577         * po/sv.po: Update.
39578         * po/tr.po: Update.
39579         * po/uk.po: Update.
39580         * po/vi.po: Update.
39581         * po/zh_CN.po: Update.
39582         * po/zh_TW.po: Update.
39584         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
39585         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
39586         * sysdeps/hppa/dl-irel.h: Remove #warning.
39587         * sysdeps/hppa/entry.h: Provide prototype for
39588         __canonicalize_funcptr_for_compare and cast argument.
39589         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
39590         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
39591         * sysdeps/hppa/sotruss-lib.c: New file.
39592         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
39593         (atomic_compare_and_exchange_val_acq): Use __typeof__.
39594         (atomic_compare_and_exchange_bool_acq): Likewise.
39595         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
39596         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
39598         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
39599         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
39600         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
39602 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
39604         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
39605         called function in non-PIC case.
39607 2015-01-31  David S. Miller  <davem@davemloft.net>
39609         * sysdeps/sparc/sparc32/bits/atomic.h
39610         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
39611         unlock not after it.
39612         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
39613         volatile register usage warnings from the compiler.
39615         * sysdeps/sparc/nptl/sem_init.c: Delete.
39616         * sysdeps/sparc/nptl/sem_post.c: Delete.
39617         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
39618         * sysdeps/sparc/nptl/sem_wait.c: Delete.
39619         * sysdeps/sparc/sparc32/sem_init.c: New file.
39620         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
39621         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
39622         padding explicitly initialized.
39623         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
39624         padding for in-semaphore spinlock.
39625         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
39626         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
39627         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
39628         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
39629         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
39630         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
39631         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
39632         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
39633         version.
39634         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
39635         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
39637 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
39639         [BZ #17801]
39640         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39641         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
39642         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
39643         New.
39644         (index_AVX_Fast_Unaligned_Load): Likewise.
39645         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
39646         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
39647         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
39648         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
39649         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
39650         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
39651         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
39652         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
39653         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
39655 2015-01-29  Andreas Schwab  <schwab@suse.de>
39657         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
39659 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
39661         [BZ #17892]
39662         * nscd/nscd_stat.c (send_stats): Initialize DATA.
39664 2015-01-28  Martin Sebor  <msebor@redhat.com>
39666         * math/README.libm-test: Clarify. Add "How to read the test output."
39668 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
39670         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
39671         Define to 0.
39673 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
39675         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
39676         (__HAVE_64B_ATOMICS): Define to 0.
39678 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39680         [BZ #17885]
39681         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
39682         value to set as new flag.
39684         [BZ #16576]
39685         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
39686         and use _ARCH_PPCSQ instead.
39687         (__ieee754_sqrt): Likewise.
39688         (__ieee754_sqrtf): Likewise.
39689         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
39690         _ARCH_PPCSQ is defined.
39691         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
39692         fsqrt instruction.
39693         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
39694         _ARCH_PPCSQ is defined.
39695         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
39696         fsqrts instruction.
39697         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
39699 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39701         * iconv/loop.c: Suppress array out of bound warning caused by GCC
39702         bug (GCC BZ #64739).
39704 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
39706         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
39707         Mark _retval as used.
39708         (lll_futex_wake_unlock): Likewise.
39709         (lll_futex_timed_wait_requeue_pi): Likewise.
39711         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
39712         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
39713         register variables.
39715         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
39716         libm_hidden_def.
39718         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
39719         (__bswap_64): Mark as __always_inline.
39721 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
39723         [BZ #15378]
39724         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
39725         when none of the search directories exist.
39727 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39729         [BZ #17869]
39730         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
39731         power8 in .machine directive.
39733         [BZ #17868]
39734         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
39735         set dependency from opd value.
39737 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
39739         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39740         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
39741         architecture.
39743 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
39745         [BZ #17870]
39746         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
39747         with uint64_t.
39748         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
39749         (uint64_t) 1.
39750         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
39751         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
39752         Replace 1UL with (uint64_t) 1.
39753         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
39754         int with uint64_t.
39756 2015-01-23  Roland McGrath  <roland@hack.frob.com>
39758         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
39759         (if_freenameindex): Likewise.
39761         * resource/getrlimit64.c: Add missing libc_hidden_def.
39763 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
39765         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
39766         __label__.
39767         (_FP_FMA): Likewise.
39768         (_FP_TO_INT_ROUND): Likewise.
39769         (_FP_FROM_INT): Likewise.
39771 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39773         [BZ #16418]
39774         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
39775         Make code racy and cancel safe.
39777 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
39779         * sysdeps/arm/unwind-resume.h: Fix copyright year.
39780         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
39781         attribution.
39783         * pwd/tst-getpw.c: Rewrite.
39785         [BZ #17702]
39786         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
39787         (modules-names): Add moddummy1 and moddummy2.
39788         ($(objpfx)tst-rec-dlopen): Define.
39789         * dlfcn/moddummy1.c: New file.
39790         * dlfcn/moddummy2.c: New file.
39791         * dlfcn/tst-rec-dlopen.c: New file.
39792         * elf/dl-cache.c (_dl_load_cache_lookup):
39793         Return char*. Copy result with alloca/strcpy/strdup.
39794         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
39795         returns char*. Free cached. If not saving realname
39796         free cached.
39797         * elf/dl-open.c (dl_open_worker): Do not assert that
39798         _r_debug->r_state is RT_CONSISTENT.
39799         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
39800         returns char*.
39802 2015-01-21  Torvald Riegel  <triegel@redhat.com>
39803             Carlos O'Donell  <carlos@redhat.com>
39805         [BZ #12674]
39806         * nptl/sem_waitcommon.c: New file.
39807         * nptl/sem_wait.c: Include sem_waitcommon.c.
39808         (__sem_wait_cleanup, do_futex_wait): Remove.
39809         (__new_sem_wait): Adapt.
39810         (__new_sem_trywait): New function.
39811         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
39812         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
39813         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
39814         (sem_timedwait): Adapt.
39815         * nptl/sem_post.c (__new_sem_post): Adapt.
39816         (futex_wake): New function.
39817         (__old_sem_post): Add release MO fence.
39818         * nptl/sem_open.c (sem_open): Adapt.
39819         * nptl/sem_init.c (__new_sem_init): Adapt.
39820         (futex_private_if_supported): New function.
39821         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
39822         (__old_sem_getvalue): Add using previous code.
39823         * sysdeps/nptl/internaltypes.h: Adapt.
39824         * nptl/tst-sem13.c (do_test): Adapt.
39825         * nptl/tst-sem11.c (main): Adapt.
39826         * nptl/sem_trywait.c: Remove.
39827         * nptl/DESIGN-sem.txt: Remove.
39828         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
39829         (gen-as-const-headers): Remove structsem.sym.
39830         * nptl/structsem.sym: Remove.
39831         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
39832         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
39833         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
39834         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
39835         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
39836         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
39837         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
39838         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
39839         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
39840         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
39841         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
39842         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
39843         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
39844         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
39845         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
39846         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
39847         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
39848         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
39849         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
39850         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
39851         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
39852         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
39854 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
39856         * INSTALL: Regenerated.
39858         * po/libc.pot: Regenerated.
39860 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
39861             Sandra Loosemore  <sandra@codesourcery.com>
39862             Andrew Jenner  <andrew@codesourcery.com>
39863             Joseph Myers  <joseph@codesourcery.com>
39864             Nathan Sidwell  <nathan@codesourcery.com>
39866         * NEWS: Mention new Nios II port.
39867         * sysdeps/nios2/Implies: New file.
39868         * sysdeps/nios2/Makefile: New file.
39869         * sysdeps/nios2/Subdirs: New file.
39870         * sysdeps/nios2/Versions: New file.
39871         * sysdeps/nios2/__longjmp.S: New file.
39872         * sysdeps/nios2/abort-instr.h: New file.
39873         * sysdeps/nios2/backtrace.c: New file.
39874         * sysdeps/nios2/bits/endian.h: New file.
39875         * sysdeps/nios2/bits/fenv.h: New file.
39876         * sysdeps/nios2/bits/link.h: New file.
39877         * sysdeps/nios2/bits/setjmp.h: New file.
39878         * sysdeps/nios2/bsd-_setjmp.S: New file.
39879         * sysdeps/nios2/bsd-setjmp.S: New file.
39880         * sysdeps/nios2/configure: New generated file.
39881         * sysdeps/nios2/configure.ac: New file.
39882         * sysdeps/nios2/crti.S: New file.
39883         * sysdeps/nios2/crtn.S: New file.
39884         * sysdeps/nios2/dl-init.c: New file.
39885         * sysdeps/nios2/dl-machine.h: New file.
39886         * sysdeps/nios2/dl-sysdep.h: New file.
39887         * sysdeps/nios2/dl-tls.h: New file.
39888         * sysdeps/nios2/dl-trampoline.S: New file.
39889         * sysdeps/nios2/gccframe.h: New file.
39890         * sysdeps/nios2/gmp-mparam.h: New file.
39891         * sysdeps/nios2/jmpbuf-offsets.h: New file.
39892         * sysdeps/nios2/jmpbuf-unwind.h: New file.
39893         * sysdeps/nios2/ldsodefs.h: New file.
39894         * sysdeps/nios2/libc-tls.c: New file.
39895         * sysdeps/nios2/libm-test-ulps: New file.
39896         * sysdeps/nios2/machine-gmon.h: New file.
39897         * sysdeps/nios2/math-tests.h: New file.
39898         * sysdeps/nios2/math_private.h: New file.
39899         * sysdeps/nios2/memusage.h: New file.
39900         * sysdeps/nios2/nptl/Makefile: New file.
39901         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
39902         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
39903         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
39904         * sysdeps/nios2/nptl/pthreaddef.h: New file.
39905         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
39906         * sysdeps/nios2/nptl/tls.h: New file.
39907         * sysdeps/nios2/preconfigure: New file.
39908         * sysdeps/nios2/s_fma.c: New file.
39909         * sysdeps/nios2/s_fmaf.c: New file.
39910         * sysdeps/nios2/setjmp.S: New file.
39911         * sysdeps/nios2/sfp-machine.h: New file.
39912         * sysdeps/nios2/sotruss-lib.c: New file.
39913         * sysdeps/nios2/stackguard-macros.h: New file.
39914         * sysdeps/nios2/stackinfo.h: New file.
39915         * sysdeps/nios2/start.S: New file.
39916         * sysdeps/nios2/sysdep.h: New file.
39917         * sysdeps/nios2/tls-macros.h: New file.
39918         * sysdeps/nios2/tst-audit.h: New file.
39919         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
39920         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
39921         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
39922         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
39923         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
39924         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
39925         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
39926         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
39927         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
39928         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
39929         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
39930         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
39931         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
39932         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
39933         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
39934         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
39935         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
39936         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
39937         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
39938         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
39939         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
39940         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
39941         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
39942         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
39943         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
39944         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
39945         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
39946         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
39947         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
39948         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
39949         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
39950         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
39951         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
39952         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
39953         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
39954         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
39955         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
39956         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
39957         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
39958         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
39959         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
39960         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
39961         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
39962         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
39964 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39966         [BZ #17844]
39967         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
39968         (getutent): Use weak_alias in non SHARED case
39969         and default_symbol_version in SHARED case.
39970         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
39971         (getutent_r, pututline): Likewise.
39972         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
39973         (getutid): Likewise.
39974         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
39975         (getutid_r): Likewise.
39976         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
39977         (getutline): Likewise.
39978         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
39979         (getutline_r): Likewise.
39980         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
39981         (updwtmp): Likewise.
39983 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39985         [BZ #17848]
39986         * sysdeps/s390/s390-32/memcmp.S
39987         (memcmp_g5): Rename to __memcmp_g5.
39988         * sysdeps/s390/s390-32/memcpy.S
39989         (memcpy_g5): Rename to __memcpy_g5.
39990         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39991         (memcpy_mvcle) Rename to __memcpy_mvcle.
39992         * sysdeps/s390/s390-32/memset.S
39993         (memset_g5): Rename to __memset_g5.
39994         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39995         (IFUNC_RESOLVE): Prefix ifunc-resolve function
39996         and use prefixed functions.
39997         * sysdeps/s390/s390-32/multiarch/memcmp.S
39998         (memcmp_z196): Rename to __memcmp_z196.
39999         (memcmp_z10): Rename to __memcmp_z10.
40000         (memcmp): Set alias to __memcmp_g5.
40001         (bcmp): Set alias to __memcmp_g5.
40002         * sysdeps/s390/s390-32/multiarch/memcpy.S
40003         (memcpy_z196): Rename to __memcpy_z196.
40004         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40005         (memcpy_z10): Rename to __memcpy_z10.
40006         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40007         (memcpy): Set alias to __memcpy_g5.
40008         * sysdeps/s390/s390-32/multiarch/memset.S
40009         (memset_z196): Rename to __memset_z196.
40010         Jump to __memset_mvcle instead of memset_mvcle.
40011         (memset_z10): Rename to __memset_z10.
40012         Jump to __memset_mvcle instead of memset_mvcle.
40013         (memset_mvcle) Rename to __memset_mvcle.
40014         (memset): Set alias to __memset_g5.
40015         * sysdeps/s390/s390-64/memcmp.S
40016         (memcmp_z900): Rename to __memcmp_z900.
40017         * sysdeps/s390/s390-64/memcpy.S
40018         (memcpy_z900): Rename to __memcpy_z900.
40019         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40020         (memcpy_mvcle) Rename to __memcpy_mvcle.
40021         * sysdeps/s390/s390-64/memset.S
40022         (memset_z900): Rename to __memset_z900.
40023         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40024         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40025         and use prefixed functions.
40026         * sysdeps/s390/s390-64/multiarch/memcmp.S
40027         (memcmp_z196): Rename to __memcmp_z196.
40028         (memcmp_z10): Rename to __memcmp_z10.
40029         (memcmp): Set alias to __memcmp_z900.
40030         (bcmp): Set alias to __memcmp_z900.
40031         * sysdeps/s390/s390-64/multiarch/memcpy.S
40032         (memcpy_z196): Rename to __memcpy_z196.
40033         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40034         (memcpy_z10): Rename to __memcpy_z10.
40035         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40036         (memcpy): Set alias to __memcpy_z900.
40037         * sysdeps/s390/s390-64/multiarch/memset.S
40038         (memset_z196): Rename to __memset_z196.
40039         Jump to __memset_mvcle instead of memset_mvcle.
40040         (memset_z10): Rename to __memset_z10.
40041         Jump to __memset_mvcle instead of memset_mvcle.
40042         (memset_mvcle) Rename to __memset_mvcle.
40043         (memset): Set alias to __memset_z900.
40045 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
40047         [BZ #17748]
40048         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40049         __fesetenv instead of fesetenv.
40051 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40053         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40054         macro.
40056 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40058         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40059         regression on LE.
40061         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40062         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40063         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40064         strncmp-power8 object.
40065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40066         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40067         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40068         * NEWS: Update.
40070 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40071             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40073         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40074         trailing byte check.
40076 2015-01-13  David S. Miller  <davem@davemloft.net>
40078         * include/signal.h (__sigreturn): Guard with __USE_MISC.
40080 2015-01-13  Roland McGrath  <roland@hack.frob.com>
40082         * login/logout.c (logout): Use memset rather than bzero.
40083         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40084         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40085         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40086         (_gethtbyaddr): Likewise.
40087         * locale/programs/simple-hash.c (bcopy): Macro removed.
40089 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40091         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40092         Add strcmp-power8 object.
40093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40094         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40095         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40096         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40097         __strcmp_power8 implementation.
40098         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40099         * NEWS: Update.
40101         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40102         Add strncpy-power8 and stpncpy-power8 objects.
40103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40104         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
40105         implementations.
40106         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
40107         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
40108         __stpncpy_power8 implementation.
40109         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
40110         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
40111         __strncpy_power8 implementation.
40112         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
40113         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
40114         * NEWS: Update.
40116         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
40117         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
40118         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40120         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40121         strncat-power8 object.
40122         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
40123         __strcat_power8 implementation.
40124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40125         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
40126         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
40127         optimized strcat for power8.
40129         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40130         strcpy-power8 and stpcpy-power8 objects.
40131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40132         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
40133         implementations.
40134         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
40135         multiarch stpcpy implementation for POWER8.
40136         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
40137         multiarch strcpy implementation for POWER8.
40138         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
40139         __strcpy_power8 function.
40140         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
40141         stpcpy for POWER8.
40142         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
40143         strcpy for POWER8.
40144         * NEWS: Update.
40146 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
40148         [BZ #16009]
40149         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
40150         weights and rules. Use do_xfrm_cached if data fits in cache,
40151         do_xfrm otherwise.  Moved former main loop to...
40152         * (do_xfrm_cached): New function.
40153         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
40154         find_idx, find_position and stack_push.
40155         * (find_idx): New function.
40156         * (find_position): Likewise.
40157         * localedata/sort-test.sh: Added test run for do_xfrm.
40158         * localedata/xfrm-test.c (main): Added command line option
40159         -nocache to run the test with strings that are too large for
40160         the STRXFRM cache.
40162 2015-01-13  Torvald Riegel  <triegel@redhat.com>
40164         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
40165         variable to lll_futex_wake call, not the value itself.
40167 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
40169         [BZ #17803]
40170         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
40171         twom64.  Adjust value to 0x1p-64L.
40172         (__scalblnl): Only return standard underflowing result for K <=
40173         -64 not K <= -63; adjust exponent for underflowing result by 64
40174         not 63.
40175         * math/libm-test.inc (scalbn_test_data): Add more tests.
40176         (scalbln_test_data): Likewise.
40178         [BZ #17834]
40179         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
40180         0x1p63L.
40181         (__scalblnl): Get new exponent of adjusted subnormal value from ES
40182         not HX.
40183         * math/libm-test.inc (scalbn_test_data): Add more tests.
40184         (scalbln_test_data): Likewise.
40186 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40187             Stefani Seibold  <stefani@seibold.net>
40189         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
40190         (sysdep_routines): Add dl-vdso here, ...
40191         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
40192         (sysdep_routines): ... not here.
40193         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
40194         fallback when vDSO is not presented.
40195         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
40196         Define with libc_hidden_proto/libc_hidden_data_def definitions.
40197         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
40198         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
40199         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
40200         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
40201         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
40202         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
40203         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
40204         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
40205         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
40206         fallback configurable symbol when vDSO is not available.
40207         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
40208         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
40209         be able to redefine fallback symbol when vDSO is not available.
40210         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
40211         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
40213 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40215         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
40216         (TLS_INIT_TP): Add tm_capable initialization.
40217         (TLS_DEFINE_INIT_TP): Likewise.
40218         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
40219         TCB.
40220         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
40221         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
40222         calculation.
40223         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
40224         transactoion is lock elision is built and TCB tm_capable is set.
40225         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
40226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40227         (INTERNAL_SYSCALL_NCS): Likewise.
40228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40229         (INTERNAL_SYSCALL_NCS): Likewise.
40230         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
40232         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
40233         for powerpc.
40234         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40235         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
40236         and remove it for 32 bits case.
40237         [pthread_rwlock_t] (__rwelision): New field for lock elision.
40238         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
40239         initialization.
40240         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
40241         Disable lock elision with rdlocks if elision is not available.
40243         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
40244         (sysdep_routines): Add lock elision objects.
40245         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40246         [pthread_mutex_t] (__spins): Rework to add lock elision field.
40247         [pthread_mutex_t] (__elision): Add field.
40248         [__PTHREAD_SPINS]: Adjust to init lock elision field.
40249         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
40250         elision definitions for powerpc.
40251         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
40252         implementation of lock elision for powerpc.
40253         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
40254         implementation of timed lock elision for powerpc.
40255         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
40256         implementation of trylock with lock elision for powerpc.
40257         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
40258         implementaion of unlock for lock elision for powerpc.
40259         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
40260         automatic enable lock elision for mutexes.
40261         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
40262         transaction execution definitions for powerpc.
40263         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
40264         definitions.
40265         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
40266         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
40267         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
40268         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
40269         * NEWS: Update.
40271 2015-01-09  Roland McGrath  <roland@hack.frob.com>
40273         * sysdeps/posix/shm-directory.c: Use <> rather than ""
40274         for #include of <shm-directory.h>.
40276 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
40278         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
40279         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
40281 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
40283         [BZ #17791]
40284         * NEWS: Mention bug fix.
40285         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
40286         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
40287         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
40289 2015-01-09  Torvald Riegel <triegel@redhat.com>
40291         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
40293 2015-01-09  Torvald Riegel <triegel@redhat.com>
40295         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
40297 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
40299         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
40300         pointer and cast to uintptr_t.
40302 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
40304         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
40305         removed.
40306         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
40308 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
40310         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
40311         of 0.
40313 2015-01-08  Roland McGrath  <roland@hack.frob.com>
40315         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
40316         <nptl/pthreadP.h> instead.
40317         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
40319         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
40320         already defined.
40321         [__SIGRTMIN] (init): Function removed.
40322         [__SIGRTMIN] (initialized): Variable removed.
40323         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
40324         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
40325         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
40326         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
40327         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
40328         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
40329         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
40330         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
40331         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
40332         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
40333         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
40334         * sysdeps/nptl/allocrtsig.c: New file.
40335         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
40336         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
40337         * sysdeps/generic/testrtsig.h: File removed.
40339         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
40340         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
40342         * nptl/nptl-init.c (pthread_functions): Conditionalize
40343         .ptr__nptl_setxid initialization on [SIGSETXID].
40345         * sysdeps/nptl/sys/procfs.h: New file.
40346         * nptl_db/Makefile (headers): Add it.
40347         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
40349         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
40350         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
40351         * nptl/pthread_attr_setaffinity.c: Include it.
40352         * nptl/pthread_setattr_default_np.c: Likewise.
40353         * nptl/check-cpuset.h: New file.
40355 2015-01-08  Richard Henderson  <rth@redhat.com>
40357         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
40358         (CFLAGS-tst-execstack-prog.c): Likewise.
40359         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
40361 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
40362             Sandra Loosemore  <sandra@codesourcery.com>
40363             Andrew Jenner  <andrew@codesourcery.com>
40364             Joseph Myers  <joseph@codesourcery.com>
40365             Nathan Sidwell  <nathan@codesourcery.com>
40367         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
40368         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
40369         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
40370         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
40371         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
40372         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
40373         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
40374         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
40375         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
40376         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
40377         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
40378         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
40379         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
40380         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
40381         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
40382         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
40383         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
40385 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40387         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
40388         timespec struct member in syscall macro.
40389         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
40390         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
40391         first timeval struct member in syscall macro.
40392         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
40394 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
40396         [BZ #17748]
40397         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
40398         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
40399         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
40400         __feupdateenv and define as weak alias of __feupdateenv.  Use
40401         libm_hidden_weak.
40402         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
40403         libm_hidden_def.
40404         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
40405         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
40406         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40407         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
40408         libm_hidden_def.
40409         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
40410         __feupdateenv and define as weak alias of __feupdateenv.  Use
40411         libm_hidden_weak.
40412         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
40413         libm_hidden_def.
40414         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
40415         __feupdateenv and define as weak alias of __feupdateenv.  Use
40416         libm_hidden_weak.
40417         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
40418         libm_hidden_def.
40419         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40420         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40421         (__feupdateenv): Likewise.
40422         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
40423         __feupdateenv and define as weak alias of __feupdateenv.  Use
40424         libm_hidden_weak.
40425         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40426         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
40427         libm_hidden_def.
40428         * sysdeps/tile/math_private.h (__feupdateenv): New inline
40429         function.
40430         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
40431         libm_hidden_def.
40432         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
40433         __feupdateenv instead of feupdateenv.
40434         (default_libc_feupdateenv_test): Likewise.
40435         (libc_feresetround_ctx): Likewise.
40437 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40439         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
40440         prototype.
40442 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
40444         * posix/regcomp.c (parse_bracket_exp): Initialize type to
40445         COLL_SYM in a couple of places to avoid uninitialized variable
40446         wanings on tilegx gcc 4.8.2.
40448 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
40450         * sysdeps/aarch64/strcpy.S: New file.
40451         * sysdeps/aarch64/stpcpy.S: New file.
40452         * NEWS: Updated.
40454 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
40456         * sysdeps/aarch64/strrchr.S: New file.
40457         * NEWS: Updated.
40459 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
40461         [BZ #17658]
40462         * stdlib/setenv.c: Fix memory leak when setting large,
40463         duplicate string.
40465 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
40467         [BZ #17273]
40468         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
40469         and tabs from buffer before parsing fstab entry.
40470         * misc/tst-mntent.c (main): Add test for mount entry with
40471         trailing spaces and tabs.
40473 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
40475         [BZ #17748]
40476         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
40477         * math/fesetround.c (fesetround): Rename to __fesetround and
40478         define as weak alias of __fesetround.  Use libm_hidden_weak.
40479         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
40480         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
40481         * sysdeps/arm/fesetround.c (fesetround): Likewise.
40482         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
40483         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
40484         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
40485         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
40486         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
40487         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
40488         __fesetround_inline.
40489         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
40490         __fesetround_inline instead of __fesetround.
40491         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
40492         __fesetround and define as weak alias of __fesetround.  Use
40493         libm_hidden_weak.  Call __fesetround_inline instead of
40494         __fesetround.
40495         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
40496         __fesetround and define as weak alias of __fesetround.  Use
40497         libm_hidden_weak.
40498         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
40499         Likewise.
40500         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
40501         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40502         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
40503         * sysdeps/tile/math_private.h (__fesetround): New inline function.
40504         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
40505         __fesetround and define as weak alias of __fesetround.  Use
40506         libm_hidden_weak.
40507         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
40508         __fesetround instead of fesetround.
40509         (default_libc_feholdexcept_setround): Likewise.
40510         (libc_feholdsetround_ctx): Likewise.
40511         (libc_feholdsetround_noex_ctx): Likewise.
40513         [BZ #17748]
40514         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
40515         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
40516         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
40517         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
40518         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40519         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
40520         define as weak alias of __fesetenv.  Use libm_hidden_weak.
40521         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
40522         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40523         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40524         define as weak alias of __fesetenv.  Use libm_hidden_weak.
40525         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40526         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40527         define as weak alias of __fesetenv.  Use libm_hidden_weak.
40528         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
40529         libm_hidden_def.
40530         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
40531         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
40532         Likewise.
40533         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40534         define as weak alias of __fesetenv.  Use libm_hidden_weak.
40535         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40536         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40537         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
40538         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
40539         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
40540         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
40541         __fesetenv instead of fesetenv.
40542         (libc_feresetround_noex_ctx): Likewise.
40543         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
40544         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40545         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
40546         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
40547         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
40548         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
40549         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40550         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40551         (__feupdateenv): Likewise.
40552         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40553         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40554         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40555         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
40557 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
40559         [BZ #17806]
40560         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
40561         addresses have been freed.
40563 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
40565         * resolv/res_init.c (__res_vinit): Improve comments about nserv
40566         and nservall.
40568 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
40570         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
40571         Clean up check_pf allocation pattern. addresses
40573 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40575         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
40576         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
40577         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
40578         * nptl/pthread_exit.c (__pthread_exit): Likewise.
40579         * nptl/pthread_join.c (pthread_join): Likewise.
40580         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
40581         * sysdeps/posix/waitid.c (__waitid): Likewise.
40582         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
40583         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
40584         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
40585         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
40586         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
40587         Likewise.
40588         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
40589         (__libc_pread64): Likewise.
40590         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
40591         (__libc_pwrite): Likewise.
40592         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
40593         (__libc_pwrite64): Likewsie.
40594         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
40595         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
40596         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
40597         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
40598         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
40599         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
40600         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
40602         Likewise.
40603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40604         (__libc_pread64): Likewise.
40605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
40606         Likewise.
40607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40608         (__libc_pwrite64): Likewise.
40609         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
40610         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
40611         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
40612         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
40613         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
40614         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
40615         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
40616         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
40617         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
40618         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
40619         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
40620         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
40621         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
40622         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
40623         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
40624         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
40625         Likewise.
40627 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
40629         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
40630         (CFLAGS-test-double.c): Likewise.
40631         (CFLAGS-test-ldouble.c): Likewise.
40632         (CPPFLAGS-test-ifloat.c): Likewise.
40633         (CPPFLAGS-test-idouble.c): Likewise.
40634         (CPPFLAGS-test-ildoubl.c): Likewise.
40635         (CFLAGS-test-test-fenv.c): Remove variable.
40636         (CFLAGS-test-misc.c): Likewise.
40638 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
40640         [BZ #17797]
40641         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
40642         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
40643         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
40644         CLOCKS_PER_SEC == 1000000.
40645         * time/clocktest.c (main): Replace %ld with %jd and cast to
40646         intmax_t.
40648 2015-01-05  Roland McGrath  <roland@hack.frob.com>
40650         * sysdeps/generic/unwind-resume.h: New file.
40651         * sysdeps/gnu/unwind-resume.c: Include it.
40652         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
40653         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
40654         argument list.
40655         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
40656         global rather than static.
40657         (_Unwind_Resume): Update user.
40658         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
40659         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
40660         rather than static.  Add __attribute__ ((cold)).
40661         (_Unwind_Resume, __gcc_personality_v0): Update callers.
40662         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
40663         * sysdeps/arm/arm-unwind-resume.S: New file.
40664         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
40665         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
40666         * sysdeps/arm/Makefile [$(subdir) = csu]
40667         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
40668         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
40669         Add rt-arm-unwind-resume.
40670         [$(subdir) = nptl]
40671         (libpthread-sysdep_routines, libpthread-shared-only-routines):
40672         Add pt-arm-unwind-resume.
40673         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
40674         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
40676 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
40678         [BZ #17748]
40679         * include/fenv.h (__feholdexcept): Declare.  Use
40680         libm_hidden_proto.
40681         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
40682         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
40683         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40684         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
40685         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
40686         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
40687         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
40688         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40689         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
40690         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
40691         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40692         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
40693         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
40694         (feholdexcept): Likewise.
40695         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40696         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40697         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40698         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40699         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
40700         __feholdexcept instead of feholdexcept.
40701         (default_libc_feholdexcept_setround): Likewise.
40703 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
40705         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
40706         to avoid using stl/str to align destination.
40708 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
40710         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
40712 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
40714         [BZ #17796]
40715         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
40716         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
40717         Define as weak alias not strong alias.
40719 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
40721         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
40722         bltzal with addiupc.
40723         (RTLD_START): Ditto.
40725 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
40727         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
40728         for __vdso_* functions in declarations.
40729         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
40730         definitions.
40731         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
40732         INTERNAL_VSYSCALL): Use struct return types to check for error.
40734         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
40735         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
40736         function with cast from llround().
40737         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
40738         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
40739         Define.
40741 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
40743         [BZ #17793]
40744         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
40745         Define as weak alias not strong alias.
40747         [BZ #17635]
40748         * ctype/ctype-c99.c: New file.  isblank implementation moved from
40749         ...
40750         * ctype/ctype-extn.c: ... here.
40751         (__isblank_l): Move to ...
40752         * ctype/ctype-c99_l.c: ... here.  New file.
40753         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
40754         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
40755         Remove variable.
40756         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
40757         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
40758         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
40759         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
40760         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
40762         [BZ #17777]
40763         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
40764         (posix_fadvise64): Define as weak alias not strong alias.
40765         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40766         (posix_fallocate64): Likewise.
40767         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
40768         Remove variable.
40769         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
40770         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
40771         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
40772         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
40773         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
40775 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
40777         [BZ #16191]
40778         * NEWS: Mention bug fix.
40779         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
40780         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
40781         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
40782         (HOST_STACK_END_ADDR): Likewise.
40784 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
40786         [BZ #17748]
40787         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
40788         * math/fegetround.c (fegetround): Rename to __fegetround and
40789         define as weak alias of __fegetround.  Use libm_hidden_weak.
40790         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
40791         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
40792         * sysdeps/arm/fegetround.c (fegetround): Likewise.
40793         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
40794         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40795         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
40796         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
40797         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
40798         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40799         Undefine after rather than before function definition; use
40800         parentheses around function name in definition.
40801         (__fegetround): Also undefine macro after function definition.
40802         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
40803         __fegetround and define as weak alias of __fegetround.  Use
40804         libm_hidden_weak.  Do not undefine as macro.
40805         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40806         Likewise.
40807         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
40808         __fegetround and define as weak alias of __fegetround.  Use
40809         libm_hidden_weak.
40810         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40811         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40812         * sysdeps/tile/math_private.h (__fegetround): New inline function.
40813         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
40814         __fegetround and define as weak alias of __fegetround.  Use
40815         libm_hidden_weak.
40816         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
40817         __fegetround instead of fegetround.
40819         [BZ #17782]
40820         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
40821         Condition macro definition on [__USE_MISC].
40823         [BZ #17781]
40824         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
40825         (struct sigaction): Change type of sa_flags field to int.
40827         [BZ #17780]
40828         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
40829         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
40830         __glibc_reserved0.
40832         * nptl/version.c (banner): Use single year in copyright notice.
40834         * NEWS: Update copyright dates.
40835         * catgets/gencat.c (print_version): Likewise.
40836         * csu/version.c (banner): Likewise.
40837         * debug/catchsegv.sh: Likewise.
40838         * debug/pcprofiledump.c (print_version): Likewise.
40839         * debug/xtrace.sh (do_version): Likewise.
40840         * elf/ldconfig.c (print_version): Likewise.
40841         * elf/ldd.bash.in: Likewise.
40842         * elf/pldd.c (print_version): Likewise.
40843         * elf/sotruss.sh: Likewise.
40844         * elf/sprof.c (print_version): Likewise.
40845         * iconv/iconv_prog.c (print_version): Likewise.
40846         * iconv/iconvconfig.c (print_version): Likewise.
40847         * locale/programs/locale.c (print_version): Likewise.
40848         * locale/programs/localedef.c (print_version): Likewise.
40849         * login/programs/pt_chown.c (print_version): Likewise.
40850         * malloc/memusage.sh (do_version): Likewise.
40851         * malloc/memusagestat.c (print_version): Likewise.
40852         * malloc/mtrace.pl: Likewise.
40853         * manual/libc.texinfo: Likewise.
40854         * nptl/version.c (banner): Likewise.
40855         * nscd/nscd.c (print_version): Likewise.
40856         * nss/getent.c (print_version): Likewise.
40857         * nss/makedb.c (print_version): Likewise.
40858         * posix/getconf.c (main): Likewise.
40859         * scripts/test-installation.pl: Likewise.
40860         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
40862 2015-01-02  Will Newton  <will.newton@linaro.org>
40864         * sysdeps/arm/armv7/configure: Removed.
40865         * sysdeps/arm/armv7/configure.ac: Likewise.
40867 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
40869         * All files with FSF copyright notices: Update copyright dates
40870         using scripts/update-copyrights.
40871         * intl/plural.c: Regenerated.
40872         * locale/programs/charmap-kw.h: Likewise.
40873         * locale/programs/locfile-kw.h: Likewise.
40875 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40877         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
40879 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
40881         [BZ #17748]
40882         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
40883         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
40884         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40885         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
40886         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40887         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
40888         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40889         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
40890         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40891         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40892         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40893         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40894         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40895         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40896         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
40897         libm_hidden_def.
40898         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
40899         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
40900         Likewise.
40901         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40902         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40903         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40904         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40905         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
40906         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40907         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
40908         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
40909         __fegetenv instead of fegetenv.
40910         (libc_feholdsetround_noex_ctx): Likewise.
40912 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
40914         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
40915         (Elf_MIPS_ABIFlags_v0): New structure.
40916         (EF_MIPS_FP64): Define.
40917         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
40918         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
40919         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
40920         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
40921         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
40922         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
40923         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
40924         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
40925         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
40926         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
40927         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
40928         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
40929         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
40930         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
40931         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
40932         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
40933         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
40934         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
40935         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
40936         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
40937         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
40938         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
40939         field.
40940         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
40941         EF_MIPS_FP64.
40942         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
40943         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
40944         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
40945         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
40946         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
40947         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
40948         * sysdeps/mips/tst-abi-interlink.c: Likewise.
40949         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
40950         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
40951         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
40952         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
40953         record the current FP ABI extension.
40954         (mips-mode-switch): Define to show if kernel headers support mode
40955         switching.
40956         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
40957         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
40958         supported SYSV ABI version to 3.
40959         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
40960         feature.
40962 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40963             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40965         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
40966         path.
40967         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
40969 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
40971         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
40972         __fegetround and redefine to call __fegetround.  Remove condition
40973         on [!__NO_MATH_INLINES].
40974         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
40975         function.
40976         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
40977         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40978         Remove macro.
40979         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
40980         instead of <fenv_libc.h>.
40981         (__llrintl): Call fegetround instead of __fegetround.
40982         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
40983         instead of <fenv_libc.h>.
40984         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40985         (__lrintl): Call fegetround instead of __fegetround.
40986         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
40987         instead of <fenv_libc.h>.
40988         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40989         (__rintl): Call fegetround instead of __fegetround.
40991 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40993         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
40994         arrays.
40996 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
40998         [BZ #17775]
40999         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41000         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41001         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41003 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
41005         * sysdeps/i386/tls-macros.h: Include <features.h>.
41006         (TLS_LE): Use non-PIC version for GCC >= 5.0.
41007         (TLS_IE): Likewise.
41008         (TLS_LD): Likewise.
41009         (TLS_GD): Likewise.
41010         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41011         define for GCC >= 5.0.
41013 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
41015         * math/test-fenv.c (test_single_exception, set_single_exc,
41016         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41017         feexcp_mask_test, feenable_test, fe_single_test): Add
41018         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41019         case where they are not used.
41020         * math/libm-test.inc: Likewise.
41021         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41022         unused in the absence of FP rounding/exception support.
41023         * stdio-common/tst-printf-round.c: Likewise.
41024         * stdlib/tst-strtod-round.c: Likewise.
41025         * stdlib/tst-strtod-underflow.c: Likewise.
41027 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
41029         [BZ #17723]
41030         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41031         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41032         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41033         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41034         libm_hidden_weak.
41035         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41036         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41037         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41038         libm_hidden_def.
41039         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41040         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41041         libm_hidden_weak.
41042         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41043         Likewise.
41044         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41045         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41046         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41047         libm_hidden_weak.
41048         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41049         libm_hidden_def.
41050         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41051         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41052         (__feraiseexcept): Likewise.
41053         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41054         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41055         libm_hidden_weak.
41056         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41057         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41058         libm_hidden_def.
41059         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41060         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41061         Use libm_hidden_def.
41062         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41063         libm_hidden_def.
41064         (feraiseexcept): Define as weak not strong alias.  Use
41065         libm_hidden_weak.
41066         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41067         New inline function.  Factored out of ...
41068         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
41069         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41070         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41071         feraiseexcept.
41072         * math/w_acos.c (__acos): Likewise.
41073         * math/w_asin.c (__asin): Likewise.
41074         * math/w_ilogb.c (__ilogb): Likewise.
41075         * math/w_j0.c (y0): Likewise.
41076         * math/w_j1.c (y1): Likewise.
41077         * math/w_jn.c (yn): Likewise.
41078         * math/w_log.c (__log): Likewise.
41079         * math/w_log10.c (__log10): Likewise.
41080         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41081         * sysdeps/aarch64/fpu/math_private.h
41082         (libc_feupdateenv_test_aarch64): Likewise.
41083         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41084         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41085         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41086         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41087         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41088         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41089         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41090         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41091         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41092         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41094 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
41096         [BZ #17732]
41097         * io/test-utime.c (main): Replace %ld with %jd and cast to
41098         intmax_t.
41099         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
41100         * nptl/tst-mutex5.c: Include <stdint.h>.
41101         (do_test): Replace %ld with %jd and cast to intmax_t.
41102         * posix/tst-regex.c (run_test): Likewise.
41103         (run_test_backwards): Likewise.
41104         * rt/tst-clock.c: Include <stdint.h>.
41105         (clock_test): Replace %ld with %jd and cast to intmax_t.
41106         * rt/tst-cpuclock1.c: Include <stdint.h>.
41107         (do_test): Replace %lu with %ju and cast to uintmax_t.
41108         * rt/tst-cpuclock2.c: Include <stdint.h>.
41109         (do_test): Replace %lu with %ju and cast to uintmax_t.
41110         * rt/tst-mqueue1.c: Include <stdint.h>.
41111         (check_attrs): Replace %ld with %jd and cast to intmax_t.
41112         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
41113         intmax_t.
41114         * rt/tst-mqueue4.c (do_test): Likewise.
41115         * rt/tst-timer4.c: Include <stdint.h>.
41116         (check_ts): Replace %ld with %jd and cast to intmax_t.
41117         (do_test): Likewise.
41118         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
41119         and cast to intmax_t.
41120         * sysdeps/pthread/tst-timer.c (main): Likewise.
41121         * time/clocktest.c (main): Likewise.
41122         * time/tst-posixtz.c (do_test): Likewise.
41123         * timezone/tst-timezone.c (main): Likewise.
41125 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
41126             H.J. Lu  <hongjiu.lu@intel.com>
41128         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
41129         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
41130         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
41131         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
41132         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
41133         version if bit_Fast_Unaligned_Load is set.
41134         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41135         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41136         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41137         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41138         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41139         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41140         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41141         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
41142         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
41143         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
41144         to 4.
41145         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
41146         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
41147         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
41148         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
41150 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
41152         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
41153         instead of #if to avoid a Wundef warning.
41154         * stdlib/tst-limits.c (do_test): Likewise.
41156         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
41157         parallel other exception macros.
41158         (fegetenv): Convert from macro to extern inline so that it applies
41159         retroactively to inline functions already seen by the compiler.
41160         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
41162         * posix/Makefile (before-compile): Use $(objpfx) for
41163         posix-conf-vars-def.h.
41165 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41167         * posix/getconf.c (main): Use size_t for type of I.
41168         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
41169         NSPEC.
41171         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
41172         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
41173         * posix/posix-envs.def: Likewise.
41174         * sysdeps/posix/sysconf.c: Likewise.
41175         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
41176         (specs): Remove array.
41177         * scripts/gen-posix-conf-vars.awk: Support generation of specs
41178         array.
41180         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
41181         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
41182         (__sysconf): Use CONF_IS_* macros.
41184         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
41185         ($(objpfx)posix-conf-vars-def.h): New target.
41186         * posix/posix-conf-vars.list: New file.
41187         * posix/posix-conf-vars.h: New file.
41188         * posix/confstr.c: Include posix-conf-vars.h.
41189         (confstr): Use CONF_IS_* macros.
41190         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
41191         CONF_IS_* macros.
41192         * scripts/gen-posix-conf-vars.awk: New file.
41194 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
41196         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
41197         fegetround): Add no-op macros to avoid linknamespace issues.
41199         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
41200         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
41202         * sysdeps/unix/sysv/linux/tile/sysdep.h
41203         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
41204         assembly-specific section to avoid a redefinition warning.
41206         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
41207         long before casting to pointer to avoid a cast warning.
41209 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
41211         * sysdeps/tile/tilegx/Implies: New file.
41213 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
41215         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
41217 2014-12-23  Florian Weimer  <fweimer@redhat.com>
41219         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
41221 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41223         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
41224         not define.
41225         * sysdeps/unix/sysv/linux/utimes.c: Do not include
41226         <kernel-features.h>.
41227         (__utimes) [__NR_utimes]: Make code unconditional.
41228         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
41229         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41230         (__ASSUME_UTIMES): Do not undefine.
41231         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41232         (__ASSUME_UTIMES): Likewise.
41233         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41234         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
41235         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
41236         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
41238 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
41240         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
41242 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
41244         [BZ #17747]
41245         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
41246         alias to weak alias for j0l, y0l.
41247         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
41248         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
41250         [BZ #17746]
41251         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
41252         conversion.
41254 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
41256         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
41257         to zero if not already defined.
41259 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41261         [BZ #17724]
41262         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
41263         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
41264         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
41265         (char *) casts added.
41266         * sysdeps/ieee754/k_standardf.c: New file.
41267         * sysdeps/ieee754/k_standardl.c: Likewise.
41268         * math/Makefile (libm-support): Remove k_standard.
41269         (libm-calls): Add k_standard.
41271 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41273         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41274         Optimize to avoid an unnecessary FPCR read.
41276 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41278         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
41279         Optimize to reduce FPCR/FPSR accesses.
41281 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41283         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
41284         Call libc_fetestexcept_aarch64.
41286 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41288         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
41289         Call libc_fesetround_aarch64.
41291 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41293         [BZ #17733]
41294         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
41295         (__bind): Do not define as weak alias.
41296         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
41297         define.
41298         (__getsockname): Do not define as weak alias.
41300 2014-12-22  Will Newton  <will.newton@linaro.org>
41302         * manual/install.texi: Document that we require bison 2.7
41303         or above.
41304         * INSTALL: Regenerate.
41305         * configure.ac: Use AC_CHECK_PROG_VER instead of
41306         AC_PATH_PROG when checking for bison and check for
41307         version 2.7 or above.
41308         * configure: Regenerate.
41310 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
41312         [BZ #17745]
41313         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
41314         * sysdeps/tile/ffsll.c (ffsll): To here.
41316         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
41318 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
41320         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
41321         if not defined.
41322         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
41323         definition.
41324         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41325         hidden ___tls_get_addr.
41326         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41327         hidden __tls_get_addr.
41328         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
41329         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
41330         Likewise.
41332 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41334         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
41335         _dl_init call.
41337 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
41339         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
41340         from "call _dl_init@PLT".
41341         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
41343 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
41345         * manual/search.texi: (Array Sort Function): Clarify stable sorting
41346         guarantees.
41348 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
41350         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
41352 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
41354         [BZ #17744]
41355         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
41356         strnlen.
41358 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
41360         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
41361         of multu on MIPSr6.
41362         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
41363         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
41364         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
41365         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
41366         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
41368 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
41370         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
41371         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
41372         (PTR_SUBU): Use subu for mips32r6/mips64r6.
41373         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
41374         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
41375         mips32r6/mips64r6.
41376         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
41378 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
41380         * string/strncat.c (STRNCAT): Simplify implementation.
41382 2014-12-19  David S. Miller  <davem@davemloft.net>
41384         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
41385         access the quad as both a long double and as a series of 4 words.
41387         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
41388         link_map->l_info array access.
41390 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
41392         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
41394         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
41395         * math/atest-exp2.c (TIMEOUT): Likewise.
41396         * math/atest-sincos.c (TIMEOUT): Likewise.
41398 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
41400         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
41401         -Wno-error with -fno-builtin-lround.
41403 2014-12-19  Torvald Riegel  <triegel@redhat.com>
41405         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
41406         Contains futex constants and functions moved over from ...
41407         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
41408         <lowlevellock-futex.h>.
41409         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41410         (lll_timedwait_tid): Add comments and parentheses around macro
41411         arguments.
41413 2014-12-19  Torvald Riegel  <triegel@redhat.com>
41415         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
41416         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
41417         (__lll_private_flag): Remove.
41418         (lll_futex_wait): Likewise.
41419         (lll_futex_timed_wait): Likewise.
41420         (lll_futex_wake): Likewise.
41421         (lll_futex_requeue): Likewise.
41422         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41423         (__lll_timedwait_tid): Spell out argument names.
41424         (lll_timedwait_tid): Add comments and parentheses around macro
41425         arguments.
41426         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
41427         LLL_SHARED and LLL_PRIVATE usable from assembly code.
41429 2014-12-19  Torvald Riegel  <triegel@redhat.com>
41431         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
41432         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41433         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41434         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
41435         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
41436         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
41437         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
41438         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
41439         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
41440         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
41441         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
41442         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
41443         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
41444         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
41445         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
41446         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
41447         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
41448         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
41449         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
41451 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
41453         * sysdeps/x86_64/x32/Makefile: New file.
41455 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
41457         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
41458         1L with (mp_limb_t) 1.
41460 2014-12-17  Roland McGrath  <roland@hack.frob.com>
41462         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
41463         * nptl/libc_pthread_init.c: ... here.
41464         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
41465         * nptl/register-atfork.c: ... here.
41467         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
41468         Use pthread_sigmask rather than INTERNAL_SYSCALL.
41469         Use assert_perror to check its return value.
41470         (__gai_create_helper_thread): Likewise.
41472         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
41474         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
41476 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
41478         [BZ #17725]
41479         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
41480         __profil_counter.
41481         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
41482         Likewise.
41483         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
41484         Likewise.
41485         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
41486         Likewise.
41487         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
41488         (profil_counter): Likewise.
41489         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
41490         (profil_counter): Likewise.
41491         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
41492         Likewise.
41493         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
41494         Likewise.
41495         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
41496         (profil_counter): Likewise.
41497         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
41498         Likewise.
41499         [!__profil_counter] (profil_counter): Define as weak alias of
41500         __profil_counter.
41501         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
41502         (profil_counter): Rename to __profil_counter.
41503         [!__profil_counter] (profil_counter): Define as weak alias of
41504         __profil_counter.
41505         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
41506         (profil_counter): Rename to __profil_counter.
41507         [!__profil_counter] (profil_counter): Define as weak alias of
41508         __profil_counter.
41509         * sysdeps/posix/profil.c: Update comment referring to
41510         profil_counter.
41511         (__profil): Use __profil_counter instead of profil_counter.
41512         * sysdeps/posix/sprofil.c (profil_counter): Rename to
41513         __profil_counter.  Use __profil_counter_ushort and
41514         __profil_counter_uint in definitions.
41515         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
41516         instead of profil_counter_uint and profil_counter_ushort.
41518         [BZ #17722]
41519         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
41520         define as weak alias of __inet_makeaddr.
41521         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
41522         as weak alias of __inet_addr.
41523         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
41524         as weak alias of __inet_pton.  Use libc_hidden_weak.
41525         * include/arpa/inet.h (__inet_pton): Declare.  Use
41526         libc_hidden_proto.
41527         (inet_makeaddr): Don't use libc_hidden_proto.
41528         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
41529         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
41530         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
41531         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
41532         Remove variable.
41533         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
41534         (test-xfail-POSIX/time.h/linknamespace): Likewise.
41536 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
41538         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
41540 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
41542         * stdio-common/bug-vfprintf-nargs.c (do_test):
41543         Cast value to intptr_t to avoid format warning
41544         for usage with PRIdPTR printing macro.
41546 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
41548         * libio/tst-widetext.c (do_test):
41549         Use format type %td instead of %Zd for ptrdiff_t
41550         in order to avoid format warning.
41552 2014-12-17  Andreas Schwab  <schwab@suse.de>
41554         * nscd/mem.c (gc): Add size_t cast to match printf format.
41556 2014-12-16  Roland McGrath  <roland@hack.frob.com>
41558         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
41559         (init): Apply PTR_MANGLE to pointers before storing them.
41560         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
41561         before using them.
41563 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
41565         [BZ #17719]
41566         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
41567         define as weak alias of __memrchr.
41568         (__memrchr): Do not define as strong alias of memrchr.
41569         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
41570         Remove variable.
41571         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
41572         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
41573         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
41575         [BZ #17717]
41576         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
41577         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
41578         (if_indextoname): Rename to __if_indextoname and define as weak
41579         alias of __if_indextoname.  Use libc_hidden_weak.
41580         (if_freenameindex): Rename to __if_freenameindex and define as
41581         weak alias of __if_freenameindex.
41582         (if_nameindex): Rename to __if_nameindex and define as weak alias
41583         of __if_nameindex.
41584         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
41585         __if_nametoindex and define as weak alias of __if_nametoindex.
41586         Use libc_hidden_weak.
41587         (if_freenameindex): Rename to __if_freenameindex and define as
41588         weak alias of __if_freenameindex.
41589         (if_nameindex): Rename to __if_nameindex and define as weak alias
41590         of __if_nameindex.
41591         (if_indextoname): Rename to __if_indextoname and define as weak
41592         alias of __if_indextoname.  Use libc_hidden_weak.
41593         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
41594         __if_nametoindex and define as weak alias of __if_nametoindex.
41595         Use libc_hidden_weak.
41596         (if_freenameindex): Rename to __if_freenameindex and define as
41597         weak alias of __if_freenameindex.  Use libc_hidden_weak.
41598         (if_nameindex_netlink): Use __if_freenameindex instead of
41599         if_freenameindex.
41600         (if_nameindex): Rename to __if_nameindex and define as weak alias
41601         of __if_nameindex.  Use libc_hidden_weak.
41602         (if_indextoname): Rename to __if_indextoname and define as weak
41603         alias of __if_indextoname.  Use libc_hidden_weak.
41604         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
41605         libc_hidden_proto.
41606         [!_ISOMAC] (__if_freenameindex): Likewise.
41607         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
41608         if_nametoindex.
41609         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
41610         variable.
41611         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
41612         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
41613         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
41614         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
41615         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
41616         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
41617         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
41619         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
41620         Remove variable.
41621         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
41622         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
41624 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41626         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
41627         subscript above bounds'
41629         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
41630         bounds.
41632 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
41634         * libio/tst-fopenloc.c: Use test-skeleton.c.
41636         * stdlib/tst-bsearch.c: Use test-skeleton.c.
41637         (entry): Rename to ITEM.
41638         (do_test, comp): Adjust.
41640         * stdio-common/tst-fseek.c: Use test-skeleton.c.
41642 2014-12-16  Torvald Riegel  <triegel@redhat.com>
41644         * string/tester.c: Include <libc-internal.h>.
41645         (test_memset): Ignore -Wmemset-transposed-args.
41647 2014-12-16  Torvald Riegel  <triegel@redhat.com>
41649         * misc/tst-mntent2.c (do_test): Fix warning.
41651 2014-12-16  Torvald Riegel  <triegel@redhat.com>
41653         * elf/tst-unique4lib.cc(a): Mark as used.
41655 2014-12-16  Florian Weimer  <fweimer@redhat.com>
41657         [BZ #17630]
41658         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
41659         names.
41661 2014-12-16  Allan McRae  <allan@archlinux.org>
41663         * stdio-common/Makefile (tests): Re-add bug26.
41665 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
41667         [BZ #17657]
41668         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
41669         static array.
41671 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
41673         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
41674         (__lll_lock_wait): Likewise.
41675         (__lll_timedlock_wait): Likewise.
41676         (__lll_timedwait_tid): Likewise.
41677         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
41678         (__lll_robust_timedlock_wait): Likewise.
41679         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
41680         (lll_cond_trylock): Likewise.
41681         (__lll_lock): Likewise.
41682         (__lll_robust_lock): Likewise.
41683         (__lll_cond_lock): Likewise.
41684         (lll_robust_cond_lock): Likewise.
41685         (__lll_timedlock): Likewise.
41686         (__lll_robust_timedlock): Likewise.
41687         (__lll_unlock): Likewise.
41688         (__lll_robust_unlock): Likewise.
41689         (lll_wait_tid): Likewise.
41690         (lll_timedwait_tid): Likewise.
41692 2014-12-15  Torvald Riegel  <triegel@redhat.com>
41694         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
41696 2014-12-15  Torvald Riegel  <triegel@redhat.com>
41698         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
41700 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
41702         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
41703         * stdio-common/tst-sprintf.c: Likewise.
41705 2014-12-15  Torvald Riegel  <triegel@redhat.com>
41707         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
41709 2014-12-15  Jeff Law  <law@redhat.com>
41711         [BZ #16617]
41712         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
41713         on the heap.  (CVE-2012-3406)
41714         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
41715         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
41716         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
41718 2014-12-15  Will Newton  <will.newton@linaro.org>
41720         * manual/install.texi: Bump required version of texinfo
41721         to 4.7 from 4.5.
41722         * INSTALL: Regenerated.
41723         * configure.ac: Check for makeinfo version 4.7 and above.
41724         * configure: Regenerated.
41726 2014-12-12  Roland McGrath  <roland@hack.frob.com>
41728         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
41729         PREFIX, string constant to insert between directory and name.
41730         * sysdeps/posix/shm_open.c: Update caller.
41731         * sysdeps/posix/shm_unlink.c: Likewise.
41732         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
41733         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
41734         (SEM_SHM_PREFIX): New macro.
41735         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
41736         [$(have-thread-library) = no].
41737         * nptl/Makefile (libpthread-routines): Add shm-directory.
41738         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
41739         * sysdeps/nptl/shm-directory.h: New file.
41740         * sysdeps/posix/shm-directory.c
41741         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
41742         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
41743         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
41744         INTERNAL_SYSCALL.
41745         (__where_is_shmfs): Function removed.
41746         (mountpoint, defaultmount, defaultdir, __namedsem_once):
41747         Variables removed.
41748         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
41749         Use SHM_GET_NAME.
41750         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
41752         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
41753         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
41754         unconditional for use inside libpthread.
41755         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
41757 2014-12-12  Roland McGrath  <roland@hack.frob.com>
41759         * nptl/pthread_getaffinity.c: New file.
41760         * nptl/pthread_setaffinity.c: New file.
41761         * nptl/pthread_getname.c: New file.
41762         * nptl/pthread_setname.c: New file.
41764         * nptl/pthread_create.c (START_THREAD_DEFN)
41765         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
41767 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
41768             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41770         * resolv/res_send.c (send_vc): Disable warning resplen may
41771         be used uninitialized.
41773 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
41775         * nptl/tst-mutex6.c
41776         (ATTR_NULL): New define checks ATTR against NULL.
41777         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
41778         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
41780 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
41782         [BZ #17581]
41783         * malloc/hooks.c
41784         (mem2mem_check): Revert my previous change.
41785         (malloc_check_get_size): Revert my previous change.
41786         (mem2chunk_check): Revert my previous change.
41788 2014-12-11  Roland McGrath  <roland@hack.frob.com>
41790         * sysdeps/posix/shm-directory.c: New file.
41791         * sysdeps/posix/shm-directory.h: New file.
41792         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
41793         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
41794         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
41795         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
41796         Transmute EPERM to EACCES.
41797         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
41798         from ...
41799         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
41800         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
41802 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41804         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
41805         pointer and cast to uintptr_t.
41806         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
41807         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
41808         Add cast to avoid warning.
41809         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
41811 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
41813         * nptl/semaphore.h: Move to ...
41814         * sysdeps/pthread/semaphore.h: ... here.
41815         * Makefile (installed-headers): Change nptl/semaphore.h to
41816         sysdeps/pthread/semaphore.h.
41818 2014-12-11  Roland McGrath  <roland@hack.frob.com>
41820         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
41821         generated error format strings.
41823         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
41824         -Wformat-extra-args warnings for scanf formats.
41825         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
41826         test of zero-length format (duh).
41827         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
41828         corner-case scanf format test.
41829         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
41830         generated fprintf format string.
41831         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
41832         corner-case sprintf format tests.
41833         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
41834         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
41835         -Wformat-extra-args warnings throughout.
41836         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
41837         (CFLAGS-scanf4.c): Likewise.
41838         (CFLAGS-scanf7.c): Likewise.
41839         (CFLAGS-tst-sprintf.c): Likewise.
41840         (CFLAGS-tst-printf.c): Likewise.
41841         (CFLAGS-tst-printfsz.c): Likewise.
41843 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
41845         * include/cpio.h: New file.
41846         * include/fmtmsg.h: Likewise.
41848         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
41849         corresponding format argument to size_t.
41850         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
41851         arguments.
41852         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
41853         corresponding format argument to size_t.
41854         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
41855         arguments.
41856         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
41857         corresponding format argument to size_t.
41858         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
41859         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
41860         (CFLAGS-tst-mbswcs2.c): Likewise.
41861         (CFLAGS-tst-mbswcs3.c): Likewise.
41862         (CFLAGS-tst-mbswcs4.c): Likewise.
41863         (CFLAGS-tst-mbswcs5.c): Likewise.
41864         (CFLAGS-tst-trans.c): Likewise.
41866 2014-12-11  Roland McGrath  <roland@hack.frob.com>
41868         * posix/regexbug1.c (main): Use "%s" format with regerror results,
41869         rather than assuming they won't contain any '%'s.
41871 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
41873         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
41874         inhibit_loop_to_libcall to avoid recursive calls.
41875         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
41876         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
41878 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
41880         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
41881         prototype.
41883 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
41885         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
41886         integer value instead of boolean.
41888 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
41890         * malloc/malloc.c: Fix powerof2 check.
41892 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41894         * locale/programs/locfile.h (maybe_swap_uint32):
41895         Remove inline and add unused attribute.
41897 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41899         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
41900         Truncating assembler expression to a .long expression.
41902 2014-12-11  Andreas Schwab  <schwab@suse.de>
41904         * elf/rtld.c (struct map_args): Constify str member.
41905         (do_preload): Constify fname argument.
41907 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41909         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
41910         constants definition.
41912 2014-12-11  Andreas Schwab  <schwab@suse.de>
41914         [BZ #16657]
41915         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
41916         FORCE_ELISION instead of DO_ELISION.
41917         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
41918         Remove.
41919         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
41920         Likewise.
41922         * iconvdata/gconv-modules: Remove duplicate entry.
41924 2014-12-11  Will Newton  <will.newton@linaro.org>
41926         Merge gettext 0.19.3 into intl/.
41928         This involves a number of cosmetic changes to comments
41929         and ANSI function definitions and prototypes throughout
41930         all the files. The gettext copyright header is used but
41931         with the date ranges taken from the glibc copy.
41933         * NEWS: Add gettext merge to 2.21.
41934         * intl/bindtextdom.c: Switch to gettext copyright.
41935         Use ANSI definitions and prototypes.
41936         Use gl_* locking primitives rather than __libc_* ones.
41937         Use __builtin_expect rather than __glibc_likely/unlikely.
41938         * intl/dcgettext.c: Switch to gettext copyright.
41939         Use ANSI definitions and prototypes.
41940         * intl/dcigettext.c: Switch to gettext copyright.
41941         Use ANSI definitions and prototypes.
41942         (INTDIV0_RAISES_SIGFPE): New define.
41943         Use gl_* locking primitives rather than __libc_* ones.
41944         Include eval-plural.h instead of plural-eval.c.
41945         Use __builtin_expect rather than __glibc_likely/unlikely.
41946         * intl/dcngettext.c: Switch to gettext copyright.
41947         Use ANSI definitions and prototypes.
41948         * intl/dgettext.c: Likewise.
41949         * intl/dngettext.c: Likewise.
41950         * intl/plural-eval.c: Renamed to...
41951         * intl/eval-plural.h: ...this.
41952         * intl/explodename.c: Switch to gettext copyright.
41953         Use ANSI definitions and prototypes.
41954         (_nl_explode_name): Use strchr instead of __rawmemchr.
41955         * intl/finddomain.c: Switch to gettext copyright.
41956         Use ANSI definitions and prototypes.
41957         Use gl_* locking primitives rather than __libc_* ones.
41958         (_nl_find_domain): Use malloc rather than alloca for
41959         allocation of temporary locale name.
41960         * intl/gettext.c: Switch to gettext copyright.
41961         Use ANSI definitions and prototypes.
41962         * intl/gettextP.h: Switch to gettext copyright.
41963         Use ANSI definitions and prototypes.
41964         Use gl_* locking primitives rather than __libc_* ones.
41965         * intl/gmo.h: Switch to gettext copyright.
41966         (struct sysdep_string): Move struct segment_pair outside of
41967         struct definition.
41968         * intl/hash-string.c: Use ANSI definitions and prototypes.
41969         * intl/hash-string.h: Switch to gettext copyright.
41970         Use ANSI definitions and prototypes.
41971         * intl/l10nflist.c: Switch to gettext copyright.
41972         Use ANSI definitions and prototypes.
41973         (_nl_normalize_codeset): Avoid integer overflow.
41974         * intl/loadinfo.h: Switch to gettext copyright.
41975         Use ANSI definitions and prototypes.
41976         (LIBINTL_DLL_EXPORTED): New define.
41977         (PATH_SEPARATOR): New define.
41978         * intl/loadmsgcat.c: Switch to gettext copyright.
41979         * intl/localealias.c: Switch to gettext copyright.
41980         Use ANSI definitions and prototypes.
41981         (_nl_expand_alias): Use PATH_SEPARATOR.
41982         * intl/ngettext.c: Switch to gettext copyright.
41983         Use ANSI definitions and prototypes.
41984         * intl/plural-exp.c: Likewise.
41985         * intl/plural-exp.h: Switch to gettext copyright.
41986         Use ANSI definitions and prototypes.
41987         (struct expression): Move definition of enum operator outside
41988         of struct definition.
41989         * intl/plural.c: Regenerate.
41990         * intl/plural.y: Switch to gettext copyright.
41991         Use ANSI definitions and prototypes.
41992         Port to bison 3.0.
41993         * intl/textdomain.c: Switch to gettext copyright.
41994         Use ANSI definitions and prototypes.
41995         Use gl_* locking primitives rather than __libc_* ones.
41997 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
41999         * debug/warning-nop.c: Add used atrribute.
42001 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42003         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42005         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42006         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42007         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42009 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42010             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42012         [BZ #17634]
42013         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42014         Undefine after defining function.  Define as weak alias of
42015         __wcschr.  Use libc_hidden_weak.
42016         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
42017         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42018         (libc_hidden_def): Also define __GI___wcschr alias.
42019         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42020         __wcschr and define as weak alias of __wcschr.
42021         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42022         __wcschr.
42023         [!WCSCHR] (DEFAULT_WCSCHR): Define.
42024         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42025         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
42026         libc_hidden_weak.  Do not use libc_hidden_def.
42027         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42028         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42029         __GI___wcschr alias.
42030         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42031         [IS_IN (libc)] (wcschr): Define as macro expanding to
42032         __redirect_wcschr.
42033         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42034         [IS_IN (libc)] (__wcschr_power6): Likewise.
42035         [IS_IN (libc)] (__wcschr_power7): Likewise.
42036         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
42037         instead of wcschr.
42038         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42039         __libc_wcschr.
42040         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42041         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42042         __wcschr and define as weak alias of __wcschr.  Use
42043         libc_hidden_builtin_def.
42044         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42045         as weak alias of __wcschr.  Use libc_hidden_weak.
42046         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42047         wcschr.
42048         * time/era.c (_nl_init_era_entries): Likewise.
42049         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42050         variable.
42051         (test-xfail-XPG3/time.h/linknamespace): Likewise.
42052         (test-xfail-XPG4/time.h/linknamespace): Likewise.
42054 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42056         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42057         format for long int variable.
42059 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
42061         [BZ #10672]
42062         * manual/search.texi: (Array Sort Function): Remove claim how to make
42063         qsort stable.
42065 2014-12-10  Andreas Schwab  <schwab@suse.de>
42067         [BZ #12847]
42068         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42069         user-controlled locks.
42071 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
42073         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42074         register.
42076 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42078         * configure.ac (--disable-werror): New configure option.
42079         (enable_werror): New AC_SUBST.
42080         * configure: Regenerated.
42081         * config.make.in (enable-werror): New variable.
42082         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42083         -Wno-error=undef.
42084         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42085         * manual/install.texi (Configuring and compiling): Document
42086         --disable-werror.
42087         * INSTALL: Regenerated.
42088         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42089         (CFLAGS-tst-chk2.c): Likewise.
42090         (CFLAGS-tst-chk3.c): Likewise.
42091         (CFLAGS-tst-chk4.cc): Likewise.
42092         (CFLAGS-tst-chk5.cc): Likewise.
42093         (CFLAGS-tst-chk6.cc): Likewise.
42094         (CFLAGS-tst-lfschk1.c): Likewise.
42095         (CFLAGS-tst-lfschk2.c): Likewise.
42096         (CFLAGS-tst-lfschk3.c): Likewise.
42097         (CFLAGS-tst-lfschk4.cc): Likewise.
42098         (CFLAGS-tst-lfschk5.cc): Likewise.
42099         (CFLAGS-tst-lfschk6.cc): Likewise.
42101         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
42102         (main): Disable -Wdeprecated-declarations around calls to
42103         register_printf_function.
42105         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42106         (do_test): Disable -Wdiv-by-zero around some calls to
42107         fwrite_unlocked and fread_unlocked.
42109         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
42110         (DIAG_POP_NEEDS_COMMENT): Likewise.
42111         (_DIAG_STR1): Likewise.
42112         (_DIAG_STR): Likewise.
42113         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
42114         * stdio-common/bug21.c: Include <libc-internal.h>.
42115         (do_test): Disable -Wformat around call to sscanf.
42116         * stdio-common/scanf14.c: Include <libc-internal.h>.
42117         (main): Disable -Wformat around some calls to scanf functions.
42119 2014-12-09  Torvald Riegel  <triegel@redhat.com>
42121         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
42123 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42125         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
42126         stack variable alignment.
42128 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
42130         [BZ #17682]
42131         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
42132         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
42133         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
42134         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
42135         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
42136         __getrlimit instead of getrlimit.
42137         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
42138         __gettimeofday instead of gettimeofday.
42139         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42140         Likewise.
42141         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42142         Likewise.
42143         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42144         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
42145         Remove variable.
42146         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42147         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42149 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42151         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
42152         for wide-character tests.
42154 2014-12-04  Roland McGrath  <roland@hack.frob.com>
42156         * io/openat64.c: #include <libc-internal.h>
42157         (__openat64): Prototypify.  Use ignore_value on MODE.
42158         * io/openat.c: Likewise.
42159         * misc/reboot.c: #include <libc-internal.h>
42160         (reboot): Prototypify.  Use ignore_value on HOWTO.
42161         * misc/ptrace.c: #include <libc-internal.h>
42162         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
42164 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
42166         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
42167         XPG4, UNIX98 and XOPEN2K.
42168         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
42169         Remove variable.
42170         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42172 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42174         * libio/fileops.c: Use ISO C style for function definitions.
42175         * libio/iofopen.c: Likewise.
42176         * libio/wfileops.c: Likewise.
42178         [BZ #17653]
42179         * libio/fileops.c (_IO_new_file_underflow): Unset cached
42180         offset on EOF.
42181         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
42182         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
42183         (fgets_func): Function pointer to fgets and fgetws.
42184         (do_ftell_test): Add test to verify ftell value after read
42185         EOF.
42186         (do_test): Set fgets_func.
42188         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
42189         O_TRUNC flag for w and w+ modes.
42190         (do_rewind_test): Likewise.
42191         (do_ftell_test): Likewise.
42192         (do_write_test): Likewise.
42194         [BZ #17647]
42195         * libio/fileops.c (do_ftell): Seek only when there are
42196         unflushed writes.
42197         * libio/wfileops.c (do_ftell_wide): Likewise.
42198         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
42199         test case.
42200         (do_one_test): Call it.
42202 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
42204         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
42205         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
42206         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
42207         Remove variable.
42208         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42209         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42210         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42212 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
42214         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
42215         Remove variable.
42216         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42218         [BZ #17668]
42219         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
42220         as weak alias of __getifaddrs.  Use libc_hidden_weak.
42221         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42222         __freeifaddrs.  Use libc_hidden_weak.
42223         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
42224         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
42225         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42226         __freeifaddrs.  Use libc_hidden_weak.
42227         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
42228         __getifaddrs and define as weak alias of __getifaddrs.  Use
42229         libc_hidden_weak.
42230         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42231         __freeifaddrs.  Use libc_hidden_weak.
42232         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
42233         Remove variable.
42234         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42235         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42237 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
42239         [BZ #17601]
42240         * sysdeps/mips/start.S (__start): Use indirect jump to call
42241         __libc_start_main.
42243 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
42245         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
42247         * nptl/tst-mutex1.c: Include <stdbool.h>.
42248         [!ATTR] (ATTR_NULL): New macro.
42249         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
42250         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
42251         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
42253         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
42254         to char *.
42256         [BZ #17665]
42257         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
42258         Change conditional to [__USE_MISC].
42260         [BZ #17664]
42261         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
42262         fgets_unlocked.
42263         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
42264         __fgets_unlocked.
42265         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
42266         fgets_unlocked.
42267         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
42268         Remove variable.
42269         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42270         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42271         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42272         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42273         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42274         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42275         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42276         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42277         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42279         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
42281 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42283         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42284         Remove strpbrk objects.
42285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42286         (__libc_ifunc_impl_list): Remove strpbrk implementation.
42287         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
42288         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
42289         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
42290         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
42292         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42293         Remove strcspn objects.
42294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42295         (__libc_ifunc_impl_list): Remove strcspn implementation.
42296         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
42297         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
42298         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
42299         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
42301         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42302         Remove strspn objetcs.
42303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42304         (__libc_ifunc_impl_list): Remove strspn implementation.
42305         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
42306         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42307         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
42308         * sysdeps/powerpc/powerpc64/strspn.S: New file.
42310 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
42312         [BZ #17581]
42313         * malloc/hooks.c
42314         (mem2mem_check): Add a terminator to the chain of checking blocks.
42315         (malloc_check_get_size): Use it here.
42316         (mem2chunk_check): Ditto.
42318 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42320         * sysdeps/powerpc/powerpc64/strtok.S: New file.
42321         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
42323 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
42325         * bits/ioctl-types.h: Indent preprocessor directives correctly.
42327         * nptl/nptl-init.c: Include libc-internal.h.
42328         (__pthread_initialize_minimal_internal): Use ROUND_UP.
42330         * elf/ldconfig.c (search_dir): Expand comment.
42332 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
42334         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
42335         variable.
42336         (linknamespace-symlist-stdlibs-tests): Likewise.
42337         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
42338         instead of $(objpfx)symlist-stdlibs.
42339         (linknamespace-libs-isoc): New variable.
42340         (linknamespace-libs): Use $(linknamespace-libs-isoc).
42341         (linknamespace-libs-ISO): New variable.
42342         (linknamespace-libs-ISO99): Likewise.
42343         (linknamespace-libs-ISO11): Likewise.
42344         (linknamespace-libs-XPG3): Likewise.
42345         (linknamespace-libs-XPG4): Likewise.
42346         (linknamespace-libs-POSIX): Likewise.
42347         (linknamespace-libs-UNIX98): Likewise.
42348         (linknamespace-libs-XOPEN2K): Likewise.
42349         (linknamespace-libs-POSIX2008): Likewise.
42350         (linknamespace-libs-XOPEN2K8): Likewise.
42351         ($(objpfx)symlist-stdlibs): Replace by
42352         $(linknamespace-symlist-stdlibs-tests).  Use
42353         $(linknamespace-libs-$*) as set of libraries.
42354         ($(linknamespace-header-tests)): Update dependencies.  Use
42355         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
42356         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
42357         * conform/linknamespace.pl: Remove comment about considering
42358         definitions of symbols from irrelevant libraries.
42360 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
42362         [BZ #13862]
42363         * elf/dl-tls.c: Include <atomic.h>.
42364         (oom): Remove #ifdef SHARED/#endif.
42365         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
42366         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
42367         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
42368         big enough.
42369         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
42370         * nptl/Makefile (tests): Add tst-stack4.
42371         (modules-names): Add tst-stack4mod.
42372         ($(objpfx)tst-stack4): New.
42373         (tst-stack4mod.sos): Likewise.
42374         ($(objpfx)tst-stack4.out): Likewise.
42375         ($(tst-stack4mod.sos)): Likewise.
42376         (clean): Likewise.
42377         * nptl/tst-stack4.c: New file.
42378         * nptl/tst-stack4mod.c: Likewise.
42380 2014-11-27  J. Brown  <jb999@gmx.de>
42382         * sysdeps/x86/bits/string.h: Add recent CPUs.
42384 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
42386         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
42387         sigblock.
42389         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
42390         feof.
42392         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
42393         variable.
42395 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
42397         * nscd/connections.c: Include libc-internal.h because of macro
42398         usage ignore_value.
42400 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42402         * string/bits/string3.h (__warn_memset_zero_len): Don't
42403         declare for gcc newer than 5.0.
42404         (memset): Don't test for zero-length __LEN for gcc newer than
42405         5.0.
42407 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
42409         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
42410         size_t for %zu format.
42412         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
42413         difference, not %ju.
42415 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
42417         * include/libc-internal.h (ignore_value): New macro.
42418         * nscd/connections.c (restart): Wrap calls to setuid and setgid
42419         with ignore_value.
42421         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
42422         definition.
42424         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
42425         pthread_cleanup_push to void *.
42427         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
42428         Undefine.
42430         [BZ #16619]
42431         [BZ #16740]
42432         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
42433         instead of 1L << 52.
42435         * libio/bug-rewind.c (do_test): Check fwscanf return values.
42436         * libio/bug-rewind2.c (do_test): Likewise.
42438         * debug/test-stpcpy_chk-ifunc.c: Remove file.
42439         * debug/test-strcpy_chk-ifunc.c: Likewise.
42440         * wcsmbs/test-wcschr-ifunc.c: Likewise.
42441         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42442         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42443         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42444         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42445         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42446         * Rules [$(multi-arch) = no] (tests): Do not filter out
42447         $(tests-ifunc).
42448         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
42449         * debug/Makefile (tests-ifunc): Remove variable.
42450         (tests): Do not add $(tests-ifunc).
42451         * wcsmbs/Makefile (tests-ifunc): Remove variable.
42452         (tests): Do not add $(tests-ifunc).
42453         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
42454         [TEST_IFUNC]: Remove conditionals.
42455         * string/test-string.h (TEST_IFUNC): Remove macro.
42456         [TEST_IFUNC]: Remove conditionals.
42458         * string/test-strchr.c [!WIDE] (L): New macro.
42459         [WIDE] (L): Likewise.
42460         (check1): Use CHAR instead of char.  Use L on string and character
42461         constants.
42463 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
42465         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
42466         tests.
42467         * sysdeps/powerpc/bits/atomic.h
42468         (__arch_atomic_exchange_and_add_32_acq): Add definition.
42469         (__arch_atomic_exchange_and_add_32_rel): Likewise.
42470         (atomic_exchange_and_add_acq): Likewise.
42471         (atomic_exchange_and_add_rel): Likewise.
42472         * sysdeps/powerpc/powerpc32/bits/atomic.h
42473         (__arch_atomic_exchange_and_add_64_acq): Add definition.
42474         (__arch_atomic_exchange_and_add_64_rel): Likewise.
42475         * sysdeps/powerpc/powerpc64/bits/atomic.h
42476         (__arch_atomic_exchange_and_add_64_acq): Add definition.
42477         (__arch_atomic_exchange_and_add_64_rel): Likewise.
42479 2014-11-26  Torvald Riegel  <triegel@redhat.com>
42481         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
42482         Change synchronization of __sched_fifo_min_prio and
42483         __sched_fifo_max_prio.
42484         * nptl/pthread_mutexattr_getprioceiling.c
42485         (pthread_mutexattr_getprioceiling): Likewise.
42486         * nptl/pthread_mutexattr_setprioceiling.c
42487         (pthread_mutexattr_setprioceiling): Likewise.
42488         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
42489         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
42490         Likewise.
42492 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
42494         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
42495         void.
42497 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
42499         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
42500         third argument const.
42502 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
42504         fnmatch: work around GCC compiler warning bug with uninit var
42505         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
42506         This works around a bug with x86-64 GCC 4.9.2 and earlier
42507         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
42508         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
42509         used uninitialized in this function [-Wmaybe-uninitialized]".
42511 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
42513         * posix/bug-regex31.c (main): Return RES not 0.
42515 2014-11-25  Anton Blanchard <anton@samba.org>
42517         * sysdeps/powerpc/bits/atomic.h
42518         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
42520 2014-11-24  Sterling Augustine  <saugustine@google.com>
42522         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
42524 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
42526         [BZ #17608]
42527         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
42529 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
42531         [BZ #17633]
42532         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
42533         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
42534         variable.
42535         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42536         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42538 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
42540         * string/strncpy.c (strncpy): Improve performance by using memset.
42542 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
42544         * string/strcpy.c (strcpy):
42545         Improve performance by using strlen and memcpy.
42547 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
42549         * string/strcoll_l.c (get_next_seq): __always_inline.
42550         * string/strcoll_l.c (do_compare): __always_inline.
42552 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42554         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
42555         defined.
42556         * include/mqueue.h: Likewise.
42557         * include/stdlib.h: Likewise.
42559         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
42560         (get_null_defines): Adjust.
42561         * sunrpc/Makefile: Adjust comment.
42562         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
42563         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
42564         (CFLAGS-interp.c): Likewise.
42565         (CFLAGS-ldconfig.c): Likewise.
42566         (CPPFLAGS-.os): Likewise.
42567         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42568         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
42569         * extra-modules.mk (extra-modules.mk): Likewise.
42570         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
42571         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
42572         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
42573         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
42574         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
42575         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
42576         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
42577         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
42578         * iconvdata/Makefile (CPPFLAGS): Likewise.
42579         (cpp-srcs-left): Add libof for all iconvdata routines.
42580         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
42581         * include/assert.h: Likewise.
42582         * include/ctype.h: Likewise.
42583         * include/errno.h: Likewise.
42584         * include/libc-symbols.h: Likewise.
42585         * include/math.h: Likewise.
42586         * include/netdb.h: Likewise.
42587         * include/resolv.h: Likewise.
42588         * include/stdio.h: Likewise.
42589         * include/stdlib.h: Likewise.
42590         * include/string.h: Likewise.
42591         * include/sys/stat.h: Likewise.
42592         * include/wctype.h: Likewise.
42593         * intl/l10nflist.c: Likewise.
42594         * libidn/idn-stub.c: Likewise.
42595         * libio/libioP.h: Likewise.
42596         * nptl/libc_multiple_threads.c: Likewise.
42597         * nptl/pthreadP.h: Likewise.
42598         * posix/regex_internal.h: Likewise.
42599         * resolv/res_hconf.c: Likewise.
42600         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
42601         * sysdeps/arm/memmove.S: Likewise.
42602         * sysdeps/arm/sysdep.h: Likewise.
42603         * sysdeps/generic/_itoa.h: Likewise.
42604         * sysdeps/generic/symbol-hacks.h: Likewise.
42605         * sysdeps/gnu/errlist.awk: Likewise.
42606         * sysdeps/gnu/errlist.c: Likewise.
42607         * sysdeps/i386/i586/memcpy.S: Likewise.
42608         * sysdeps/i386/i586/memset.S: Likewise.
42609         * sysdeps/i386/i686/memcpy.S: Likewise.
42610         * sysdeps/i386/i686/memmove.S: Likewise.
42611         * sysdeps/i386/i686/mempcpy.S: Likewise.
42612         * sysdeps/i386/i686/memset.S: Likewise.
42613         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42614         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42615         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
42616         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
42617         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42618         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42619         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
42620         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42621         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42622         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42623         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42624         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42625         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42626         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42627         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42628         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42629         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
42630         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
42631         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
42632         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42633         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42634         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42635         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42636         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42637         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42638         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42639         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
42640         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42641         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
42642         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42643         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42644         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42645         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42646         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42647         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42648         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42649         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42650         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42651         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42652         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42653         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42654         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42655         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42656         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42657         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42658         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42659         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
42660         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
42661         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42662         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42663         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42664         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
42665         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
42666         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42667         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42668         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
42669         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42670         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
42671         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
42672         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42673         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42674         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42675         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
42676         * sysdeps/nptl/bits/libc-lock.h: Likewise.
42677         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
42678         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
42679         * sysdeps/posix/closedir.c: Likewise.
42680         * sysdeps/posix/opendir.c: Likewise.
42681         * sysdeps/posix/readdir.c: Likewise.
42682         * sysdeps/posix/rewinddir.c: Likewise.
42683         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
42684         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
42685         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
42686         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42687         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42688         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
42689         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
42690         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
42691         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
42692         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
42693         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
42694         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
42695         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
42696         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
42697         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
42698         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
42699         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
42700         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
42701         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
42702         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
42703         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
42704         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
42705         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
42706         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
42707         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
42708         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
42709         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
42710         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
42711         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
42712         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
42713         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
42714         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
42715         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
42716         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
42717         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
42718         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
42719         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42720         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42721         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
42722         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
42723         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
42724         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
42725         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
42726         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
42727         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
42728         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
42729         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
42730         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
42731         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
42732         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
42733         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
42734         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
42735         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
42736         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
42737         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
42738         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
42739         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
42740         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
42741         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
42742         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
42743         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
42744         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
42745         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
42746         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
42747         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
42748         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
42749         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
42750         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
42751         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
42752         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
42753         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
42754         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
42755         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
42756         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
42757         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
42758         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
42759         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
42760         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
42761         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42762         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
42763         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
42764         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42765         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
42766         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
42767         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
42768         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
42769         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
42770         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42771         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42772         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42773         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
42774         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
42775         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
42776         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42777         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42778         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
42779         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42780         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42781         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
42782         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
42783         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42784         * sysdeps/unix/alpha/sysdep.S: Likewise.
42785         * sysdeps/unix/alpha/sysdep.h: Likewise.
42786         * sysdeps/unix/make-syscalls.sh: Likewise.
42787         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42788         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42789         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42790         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
42791         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42792         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
42793         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
42794         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42795         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42796         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
42797         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42798         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42799         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42800         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
42801         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42802         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42803         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42804         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
42805         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
42806         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42807         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
42808         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42809         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42810         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42811         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42812         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42813         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
42815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
42816         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
42817         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42818         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42819         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42820         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42821         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
42822         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42823         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42824         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42825         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
42826         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42827         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42828         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42829         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42830         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42831         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42832         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42833         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42834         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42835         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42836         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42837         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42838         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42839         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42840         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42841         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
42842         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42843         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42844         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42845         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
42846         * sysdeps/x86_64/memcpy.S: Likewise.
42847         * sysdeps/x86_64/memmove.c: Likewise.
42848         * sysdeps/x86_64/memset.S: Likewise.
42849         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
42850         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42851         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
42852         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
42853         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
42854         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42855         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42856         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42857         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42858         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42859         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42860         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42861         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
42862         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42863         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42864         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
42865         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
42866         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42867         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42868         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42869         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
42870         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42871         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42872         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42873         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42874         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42875         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42876         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
42877         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42878         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42879         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
42880         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42881         * sysdeps/x86_64/strcmp.S: Likewise.
42883         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
42885         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
42886         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
42887         * elf/rtld-Rules: Likewise.
42888         * elf/setup-vdso.h: Likewise.
42889         * include/assert.h: Likewise.
42890         * include/bits/stdlib-float.h: Likewise.
42891         * include/errno.h: Likewise.
42892         * include/sys/stat.h: Likewise.
42893         * include/unistd.h: Likewise.
42894         * sysdeps/aarch64/setjmp.S: Likewise.
42895         * sysdeps/alpha/setjmp.S: Likewise.
42896         * sysdeps/arm/__longjmp.S: Likewise.
42897         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
42898         * sysdeps/arm/setjmp.S: Likewise.
42899         * sysdeps/arm/sysdep.h: Likewise.
42900         * sysdeps/generic/_itoa.h: Likewise.
42901         * sysdeps/generic/dl-sysdep.h: Likewise.
42902         * sysdeps/generic/ldsodefs.h: Likewise.
42903         * sysdeps/i386/dl-tls.h: Likewise.
42904         * sysdeps/i386/setjmp.S: Likewise.
42905         * sysdeps/m68k/setjmp.c: Likewise.
42906         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
42907         * sysdeps/mach/hurd/opendir.c: Likewise.
42908         * sysdeps/posix/getcwd.c: Likewise.
42909         * sysdeps/posix/opendir.c: Likewise.
42910         * sysdeps/posix/profil.c: Likewise.
42911         * sysdeps/powerpc/dl-procinfo.h: Likewise.
42912         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42913         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42914         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42915         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42916         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
42917         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
42918         * sysdeps/s390/dl-tls.h: Likewise.
42919         * sysdeps/s390/s390-32/setjmp.S: Likewise.
42920         * sysdeps/s390/s390-64/setjmp.S: Likewise.
42921         * sysdeps/sh/sh3/setjmp.S: Likewise.
42922         * sysdeps/sh/sh4/setjmp.S: Likewise.
42923         * sysdeps/unix/alpha/sysdep.h: Likewise.
42924         * sysdeps/unix/arm/sysdep.S: Likewise.
42925         * sysdeps/unix/i386/sysdep.S: Likewise.
42926         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42927         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42928         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42929         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42930         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42931         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
42932         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
42933         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42934         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
42935         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
42936         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
42937         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42938         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42941         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42942         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42943         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42944         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42945         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42946         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42947         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42948         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42949         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42950         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42951         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42952         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42953         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42954         * sysdeps/x86_64/setjmp.S: Likewise.
42956         * include/math.h: Use IS_IN instead of IS_IN_libm.
42957         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
42958         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42959         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42960         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
42961         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42962         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42963         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42964         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42965         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42966         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42967         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
42968         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
42969         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
42970         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
42971         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
42972         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
42973         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
42974         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
42975         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
42976         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
42977         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
42978         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
42979         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
42980         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
42981         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
42982         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
42983         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
42984         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
42985         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
42986         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
42987         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
42988         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42989         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
42991         Likewise.
42992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
42993         Likewise.
42994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
42995         Likewise.
42996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
42997         Likewise.
42998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
42999         Likewise.
43000         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43001         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43002         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43003         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43004         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43005         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43011         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43012         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43013         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43014         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43015         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43016         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43017         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43018         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43019         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43020         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43021         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43022         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43023         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43024         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43026         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43028         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43029         * nptl/pthreadP.h: Likewise.
43030         * nptl_db/structs.def: Likewise.
43031         * sysdeps/arm/sysdep.h: Likewise.
43032         * sysdeps/nptl/bits/libc-lock.h: Likewise.
43033         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43034         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43035         * sysdeps/unix/alpha/sysdep.h: Likewise.
43036         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43037         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43038         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43039         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43040         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43041         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43042         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43043         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43044         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43045         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43046         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43047         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43048         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43049         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43052         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43053         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43054         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43055         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43056         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43057         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43058         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43059         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43060         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43061         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43063         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43064         * nptl/pthreadP.h: Likewise.
43065         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43066         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43067         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43068         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43069         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43070         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43071         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43072         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43073         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43074         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43075         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43076         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43078         Likewise.
43079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43080         Likewise.
43081         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43082         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43083         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43084         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43085         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43086         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43087         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43088         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43090         * dlfcn/dladdr.c: Use IS_IN.
43091         * dlfcn/dladdr1.c: Likewise.
43092         * dlfcn/dlclose.c: Likewise.
43093         * dlfcn/dlerror.c: Likewise.
43094         * dlfcn/dlinfo.c: Likewise.
43095         * dlfcn/dlmopen.c: Likewise.
43096         * dlfcn/dlopen.c: Likewise.
43097         * dlfcn/dlsym.c: Likewise.
43098         * dlfcn/dlvsym.c: Likewise.
43100         * include/ifaddrs.h: Use IS_IN.
43101         * inet/check_pf.c: Likewise.
43102         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43103         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
43105         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
43106         IS_IN_ldconfig.
43107         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
43108         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
43110         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
43111         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
43112         IS_IN (libc).
43114         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
43116         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
43117         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43118         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43119         * include/libc-symbols.h (IS_IN_LIB): New macro.
43120         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
43121         * include/netdb.h: Likewise.
43122         * include/stap-probe.h: Remove all uses of IN_LIB.
43124         * Makeconfig (module-cppflags-real): Define MODULE_NAME
43125         instead of IN_MODULE.
43126         * include/libc-symbols.h (IN_MODULE): Define using
43127         MODULE_NAME.
43128         (PASTE_NAME, PASTE_NAME1): New macros.
43129         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43130         of IN_LIB.
43131         (STAP_PROBE_ASM): Likewise.
43133 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43135         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
43136         __mach_init in dlopened libc.
43138 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
43140         * sysdeps/arm/preconfigure.ac: Delete EABI check.
43141         * sysdeps/arm/preconfigure: Regenerate.
43143 2014-11-21  Roland McGrath  <roland@hack.frob.com>
43145         * nptl/pthread_create.c (__pthread_create_2_1): Set
43146         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
43147         when copying values from IATTR into PD.
43149 2014-11-21  Will Newton  <will.newton@linaro.org>
43150             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
43152         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
43153         Refactor inline-asm.  Also add comment.
43155         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43156         ElfW macro instead of hardcoded Elf64 types.
43157         (la_aarch64_gnu_pltenter): Likewise.
43158         * sysdeps/aarch64/dl-machine.h
43159         (elf_machine_runtime_setup): Use ElfW(Addr).
43161         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
43162         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
43163         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43164         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
43165         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
43166         (R_AARCH64_TLS_DTPMOD64): Rename to ..
43167         (R_AARCH64_TLS_DTPMOD): This.
43168         (R_AARCH64_TLS_DTPREL64): Rename to ...
43169         (R_AARCH64_TLS_DTPREL): This.
43170         (R_AARCH64_TLS_TPREL64): Rename to ...
43171         (R_AARCH64_TLS_TPREL): This.
43172         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
43173         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
43174         R_AARCH64_TLS_TPREL64.
43175         (elf_machine_rela): Likewise.
43177 2014-11-21  Torvald Riegel  <triegel@redhat.com>
43179         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
43180         by setting it to 0.  64b atomics are not supported currently.
43182 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43184         [BZ #16469]
43185         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
43186         search domain names.
43188 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43190         [BZ #16469]
43191         * NEWS: Update.
43192         * resolv/res_query.c (__libc_res_nquerydomain): Retain
43193         trailing dot.
43194         * posix/tst-getaddrinfo5.c: New.
43195         * posix/Makefile (tests): Add it.
43197 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43199         [BZ #14498]
43200         * NEWS: Fixed.
43201         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
43202         after parsing line but before break_if_match.
43203         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
43204         if there is a protocol mismatch.
43206 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
43208         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
43209         because the potential race is on the user-supplied stream.
43211 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43213         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
43214         string literal if not passed a buffer.
43215         * manual/job.texi (ctermid): Update reasoning, note deviation
43216         from posix, suggest mtasurace when not passed a buffer, for
43217         future non-preliminary safety notes.
43219 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43221         * manual/users.texi (cuserid): Fix MT-Safety note for the case
43222         of not passing it a buffer.
43223         Reported by Peng Haitao.
43225 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43227         * manual/Makefile ($(objpfx)stamp-summary): Require
43228         check-safety.sh to pass.
43229         * manual/check-safety.sh: Wish for verification that every
43230         @deftypefn and @deftypefun is followed by a @safety remark.
43232 2014-11-20  Roland McGrath  <roland@hack.frob.com>
43234         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
43236         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
43237         PTHREAD_CANCEL_ASYNCHRONOUS.
43238         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
43239         send SIGCANCEL.
43241         * nptl/default-sched.h: New file.
43242         * sysdeps/unix/sysv/linux/default-sched.h: New file.
43243         * nptl/pthread_create.c: Include it.
43244         (__pthread_create_2_1): Use collect_default_sched instead of making
43245         Linux syscalls here directly.
43247 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43249         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
43250         __pthread_once): Use C11 atomics.
43252 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43254         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
43256 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43258         * include/atomic.h (__atomic_link_error, __atomic_check_size,
43259         atomic_thread_fence_acquire, atomic_thread_fence_release,
43260         atomic_thread_fence_seq_cst, atomic_load_relaxed,
43261         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
43262         atomic_compare_exchange_weak_relaxed,
43263         atomic_compare_exchange_weak_acquire,
43264         atomic_compare_exchange_weak_release,
43265         atomic_exchange_acquire, atomic_exchange_release,
43266         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
43267         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
43268         atomic_fetch_and_acquire,
43269         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
43271 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43273         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
43274         USE_ATOMIC_COMPILER_BUILTINS): Define.
43275         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
43276         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43277         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
43278         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43279         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
43280         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43281         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
43282         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43283         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
43284         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43285         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
43286         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43287         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
43288         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43289         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
43290         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43291         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43292         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43293         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43294         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43295         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
43296         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43297         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43298         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43299         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
43300         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43301         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43302         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43303         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
43304         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43305         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
43306         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43307         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
43308         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43309         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
43310         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43311         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
43312         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43313         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
43314         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43316 2014-11-19  Roland McGrath  <roland@hack.frob.com>
43318         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
43319         the sched_priority value here.  It was already checked when the user
43320         called pthread_attr_setschedparam.
43322         * nptl/tst-bad-schedattr.c: New file.
43323         * nptl/Makefile (tests): Add it.
43325 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
43326             Florian Weimer  <fweimer@redhat.com>
43327             Joseph Myers  <joseph@codesourcery.com>
43328             Adam Conrad  <adconrad@0c3.net>
43329             Andreas Schwab  <schwab@suse.de>
43330             Brooks  <bmoses@google.com>
43332         [BZ #17625]
43333         * wordexp-test.c (__dso_handle): Add prototype.
43334         (__register_atfork): Likewise.
43335         (__app_register_atfork): New function.
43336         (registered_forks): New global.
43337         (register_fork): New function.
43338         (test_case): Add 3 new tests for WRDE_CMDSUB.
43339         (main): Call __app_register_atfork.
43340         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
43341         fork count is non-zero fail the test.
43342         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
43343         is set.
43344         (parse_dollars): Remove check for WRDE_NOCMD.
43345         (parse_dquote): Likewise.
43347 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43349         * Makeconfig (built-modules): List non-library modules to be
43350         built.
43351         (module-cppflags): Include libc-modules.h for
43352         everything except shlib-versions.v.i.
43353         (CPPFLAGS): Use it.
43354         (before-compile): Add libc-modules.h.
43355         ($(common-objpfx)libc-modules.h,
43356         $(common-objpfx)libc-modules.stmp): New targets.
43357         (common-generated): Add libc-modules.h and libc-modules.stmp.
43358         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
43359         * include/libc-symbols.h: Don't include libc-modules.h.
43360         * include/libc-modules.h: Remove file.
43361         * scripts/gen-libc-modules.awk: New script to generate
43362         libc-modules.h.
43363         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
43364         Depend on libc-modules.stmp.
43366         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
43368         * Makeconfig (in-module): Get value of libof set for the
43369         translation unit.
43370         (CPPFLAGS): Use $(in-module).
43371         * Makerules: Don't suffix routine names for nonlib.
43372         * include/libc-modules.h: New file.
43373         * include/libc-symbols.h: Include libc-modules.h
43374         (IS_IN): New macro to replace IS_IN_* macros.
43375         * elf/Makefile: Set libof-* for each routine.
43376         * elf/rtld-Rules: Likewise.
43377         * extra-modules.mk: Likewise.
43378         * iconv/Makefile: Likewise.
43379         * iconvdata/Makefile: Likewise.
43380         * locale/Makefile: Likewise.
43381         * malloc/Makefile: Likewise.
43382         * nss/Makefile: Likewise.
43383         * sysdeps/gnu/Makefile: Likewise.
43384         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
43385         * sysdeps/unix/sysv/linux/Makefile: Likewise.
43386         * sysdeps/s390/s390-64/Makefile: Likewise.
43387         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
43388         CPPFLAGS for nscd instead of nonlib.
43390 2014-11-18  Roland McGrath  <roland@hack.frob.com>
43392         * nptl/createthread.c: New file.
43394         * nptl/createthread.c: Moved ...
43395         * sysdeps/unix/sysv/linux/createthread.c: ... here.
43397         * nptl/createthread.c: Add proper top-line comment.
43398         (do_clone): Folded into ...
43399         (create_thread): ... here.  Take new arguments STOPPED_START and
43400         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
43401         increment __nptl_threads, do event-reporting logic, do
43402         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
43403         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
43404         resource cleanup if sched_setaffinity or sched_setscheduler fails,
43405         just send SIGCANCEL.
43406         * nptl/pthread_create.c: Forward-declare create_thread before
43407         including createthread.c.
43408         (start_thread): Use new macro START_THREAD_DEFN to replace defining
43409         declaration, and new macro START_THREAD_SELF to replace argument.
43410         Remove return statement.
43411         (report_thread_creation): New function.
43412         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
43413         synchronization logic, and __nptl_nthreads increment here, around
43414         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
43415         PD->parent_cancelhandling here, before create_thread.  When
43416         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
43417         __deallocate_stack, and ENOMEM translation here.
43419 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
43421         [BZ #17616]
43422         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
43423         (mptwo): Rename to __mptwo.
43424         (__inv): Use __mptwo instead of mptwo.
43425         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
43426         (mptwo): Rename to __mptwo.
43427         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
43428         of mpone and __mptwo instead of mptwo.
43429         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
43430         instead of mpone.
43431         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43432         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
43433         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
43434         of mpone and __mptwo instead of mptwo.
43435         (__mpranred): Use __mpone instead of mpone.
43436         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
43437         variable.
43438         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
43439         (test-xfail-ISO99/math.h/linknamespace): Likewise.
43440         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
43441         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
43442         (test-xfail-ISO11/math.h/linknamespace): Likewise.
43443         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
43444         (test-xfail-XPG3/math.h/linknamespace): Likewise.
43445         (test-xfail-XPG4/math.h/linknamespace): Likewise.
43446         (test-xfail-POSIX/math.h/linknamespace): Likewise.
43447         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
43448         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
43449         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
43450         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
43451         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
43452         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
43453         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
43454         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
43455         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
43456         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
43458 2014-11-18  Tom de Vries  <tom@codesoucery.com>
43460         * manual/signal.texi (Primitives Interrupted by Signals): In section,
43461         replace BSD Handler xref with BSD Signal Handling.
43463 2014-11-17  Richard Henderson  <rth@redhat.com>
43465         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
43466         (_FP_PACK_RAW_2): Remove.
43467         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
43468         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
43469         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
43470         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
43471         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
43472         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
43473         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
43474         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
43475         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
43476         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
43477         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
43478         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
43479         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
43480         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
43481         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
43482         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
43484 2014-11-14  Roland McGrath  <roland@hack.frob.com>
43486         * signal/signal.h [__USE_MISC]
43487         (struct sigvec): Remove type.
43488         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
43489         (sigvec): Remove declaration.
43490         * sysdeps/posix/sigvec.c: Moved ...
43491         * signal/sigvec.c: ... here, replacing old file.
43492         (struct sigvec): New type, copied from old signal.h definition.
43493         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
43494         (__sigvec): Convert definition to prototype.
43495         (sigvec): Replace weak_alias with compat_symbol.
43496         * signal/Versions (libc: GLIBC_2.21): New version set.
43497         * include/signal.h: Remove __sigvec declaration.
43498         * sysdeps/unix/bsd/sigvec.c: Remove file.
43499         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
43500         * manual/signal.texi (BSD Handler): Remove subsection.
43501         Move siginterrupt up to ...
43502         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
43503         (Blocking in BSD): Fold subsection into its parent.
43504         * NEWS: Mention sigvec removal.
43506 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
43508         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
43509         (DLA_FMS): Make definition conditional only on [__FMA4__].
43510         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
43511         definition.
43513         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
43514         Make definition conditional only on [PROF].
43515         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
43516         definition.
43517         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
43518         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
43520         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
43521         !__GNUC__].
43522         * include/signal.h (__sigpause): Move declaration above call to
43523         libc_hidden_proto.
43524         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
43525         variable.
43526         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
43527         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
43529 2014-11-14  David S. Miller  <davem@davemloft.net>
43531         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
43532         Define before including <string/memcpy.c> and <string/mempcpy.c>.
43534 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
43536         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
43537         * configure: Regenerated.
43538         * manual/install.texi (Tools for Compilation): Document a
43539         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
43540         compiler verified to work.
43541         * INSTALL: Regenerated.
43543         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
43544         redeclare with asm name.
43545         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
43546         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
43547         including <string.h>.
43548         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43549         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
43550         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43551         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
43552         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43553         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
43554         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43556 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
43558         * stdlib/strtol.c (__strtol): Use prototype definition.
43560         [BZ #17594]
43561         * stdlib/strtol.c (SYM__): New macro.
43562         (SYM__1): Likewise.
43563         (__strtol): Likewise.
43564         (strtol): Rename to __strtol and define as weak alias of
43565         __strtol.  Use libc_hidden_weak.
43567 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43569         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
43570         Use numbered labels in inline assembly.
43572 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43574         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
43575         Add setjmp LIBC_PROBE.
43576         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
43577         Likewise.
43578         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
43579         Add longjmp, longjmp_target LIBC_PROBE.
43580         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
43581         Likewise.
43583 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43585         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
43586         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
43587         to get rid of unused variable warning.
43589 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43591         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
43592         Check for unwind_backtrace ==  NULL only in SHARED case.
43593         (__backchain_backtrace): Compile only in SHARED case.
43594         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
43595         Likewise.
43596         (__backchain_backtrace): Declare as static.
43598 2014-11-12  Roland McGrath  <roland@hack.frob.com>
43600         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
43601         (__libc_multiple_threads_ptr): Variable moved ...
43602         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
43604 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
43606         * conform/GlibcConform.pm: New file.
43607         * conform/conformtest.pl: Use GlibcConform module.
43608         * conform/linknamespace.pl: New file.
43609         * conform/list-header-symbols.pl: Likewise.
43610         * conform/Makefile (linknamespace-symlists-base): New variable.
43611         (linknamespace-symlists-tests): Likewise.
43612         (linknamespace-header-base): Likewise.
43613         (linknamespace-header-tests): Likewise.
43614         (tests-special): Add new tests.
43615         ($(linknamespace-symlists-tests)): New rule.
43616         (linknamespace-libs): New variable.
43617         ($(objpfx)symlist-stdlibs): New rule.
43618         ($(linknamespace-header-tests)): Likewise.
43619         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
43620         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
43621         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
43622         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
43623         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
43624         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
43625         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
43626         (test-xfail-ISO/math.h/linknamespace): Likewise.
43627         (test-xfail-ISO/signal.h/linknamespace): Likewise.
43628         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
43629         (test-xfail-ISO/time.h/linknamespace): Likewise.
43630         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
43631         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
43632         (test-xfail-ISO99/math.h/linknamespace): Likewise.
43633         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
43634         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43635         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
43636         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
43637         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
43638         (test-xfail-ISO11/math.h/linknamespace): Likewise.
43639         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
43640         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43641         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
43642         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
43643         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
43644         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
43645         (test-xfail-XPG3/math.h/linknamespace): Likewise.
43646         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
43647         (test-xfail-XPG3/search.h/linknamespace): Likewise.
43648         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
43649         (test-xfail-XPG3/time.h/linknamespace): Likewise.
43650         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
43651         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
43652         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
43653         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
43654         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
43655         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
43656         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
43657         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
43658         (test-xfail-XPG4/math.h/linknamespace): Likewise.
43659         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
43660         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
43661         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
43662         (test-xfail-XPG4/search.h/linknamespace): Likewise.
43663         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
43664         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
43665         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
43666         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
43667         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
43668         (test-xfail-XPG4/time.h/linknamespace): Likewise.
43669         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
43670         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
43671         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
43672         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
43673         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
43674         (test-xfail-POSIX/math.h/linknamespace): Likewise.
43675         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
43676         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
43677         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
43678         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
43679         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
43680         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
43681         (test-xfail-POSIX/time.h/linknamespace): Likewise.
43682         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
43683         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
43684         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
43685         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
43686         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
43687         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
43688         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
43689         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
43690         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
43691         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
43692         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
43693         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
43694         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
43695         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
43696         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
43697         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
43698         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
43699         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
43700         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
43701         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
43702         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
43703         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
43704         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
43705         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
43706         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
43707         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
43708         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
43709         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
43710         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
43711         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
43712         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
43713         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
43714         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
43715         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
43716         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
43717         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
43718         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
43719         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
43720         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
43721         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
43722         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
43723         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
43724         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
43725         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
43726         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
43727         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
43728         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
43729         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
43730         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
43731         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
43732         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
43733         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
43734         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
43735         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
43736         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
43737         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
43738         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
43739         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
43740         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
43741         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
43742         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
43743         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
43744         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
43745         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
43746         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
43747         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
43748         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
43749         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
43750         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
43751         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
43752         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
43753         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
43754         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
43755         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
43756         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
43757         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
43758         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
43759         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
43760         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
43761         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
43762         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
43763         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
43764         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
43765         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
43766         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
43767         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
43768         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
43769         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
43770         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
43771         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
43772         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
43773         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
43774         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
43775         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
43776         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
43777         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
43778         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
43779         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
43781         [BZ #17589]
43782         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
43783         of fgets_unlocked.
43785         [BZ #17585]
43786         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
43787         (memmem): Rename to __memmem and define as weak alias of
43788         __memmem.  Use libc_hidden_weak.
43789         (__memmem): Use libc_hidden_def.
43790         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
43791         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
43792         memmem.
43794         [BZ #17582]
43795         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
43796         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
43797         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
43798         and define as weak alias of __fgets_unlocked.  Use
43799         libc_hidden_weak.
43800         (__fgets_unlocked): Use libc_hidden_def.
43801         * include/stdio.h (__fgets_unlocked): Declare.  Use
43802         libc_hidden_proto.
43803         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
43804         __fgets_unlocked instead of fgets_unlocked.
43805         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
43806         (GET_NPROCS_CONF_PARSER): Likewise.
43807         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
43808         (GET_NPROCS_CONF_PARSER): Likewise.
43810         [BZ #17574]
43811         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
43812         weak alias of __wmemset.  Use libc_hidden_weak.
43813         (__wmemset): Use libc_hidden_def.
43814         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
43815         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
43816         of wmemset.
43818         [BZ #17573]
43819         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
43820         with asm name __mempcpy.
43821         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
43823         [BZ #17572]
43824         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
43825         and define as weak alias of __rawmemchr.
43826         (__rawmemchr): Do not define as strong alias of rawmemchr.
43828         [BZ #17571]
43829         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
43830         alias of __qsort_r.
43831         (qsort): Call __qsort_r instead of qsort_r.
43832         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
43833         (__qsort_r): Declare.  Call libc_hidden_proto.
43834         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
43835         instead of qsort_r.
43836         * nscd/gai.c (__qsort_r): Define to qsort_r.
43837         * posix/tst-rfc3484.c (__qsort_r): Likewise.
43838         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
43839         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
43841         [BZ #17570]
43842         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
43843         define as weak alias of __malloc_info.
43845         [BZ #17584]
43846         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
43847         as weak alias of __rewinddir.  Don't use libc_hidden_def.
43848         (__rewinddir): Use libc_hidden_def.
43849         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
43850         as weak alias of __rewinddir.  Don't use libc_hidden_def.
43851         (__rewinddir): Use libc_hidden_def.
43852         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
43853         weak alias of __rewinddir.  Don't use libc_hidden_def.
43854         (__rewinddir): Use libc_hidden_def.
43855         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
43856         (__rewinddir): Use libc_hidden_proto.
43857         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
43858         rewinddir.
43859         (__getcwd): Use __rewinddir instead of rewinddir.
43861         [BZ #17583]
43862         * libio/fileno.c (fileno): Rename to __fileno and define as weak
43863         alias of __fileno.  Use libc_hidden_weak.
43864         (__fileno): Use libc_hidden_def.
43865         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
43866         * libio/ftello.c (ftello): Rename to __ftello and define as weak
43867         alias of __ftello.
43868         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
43869         __ftello.
43870         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
43871         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
43872         libc_hidden_def.
43873         (fread_unlocked): Don't use libc_hidden_ver.
43874         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
43875         and define as weak alias of __fread_unlocked.  Don't use
43876         libc_hidden_def.
43877         (__fread_unlocked): Use libc_hidden_def.
43878         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
43879         (ftello): Don't use libc_hidden_proto.
43880         (__ftello): Declare.  Use libc_hidden_proto.
43881         (fread_unlocked): Don't use libc_hidden_proto.
43882         (__fread_unlocked): Declare.  Use libc_hidden_proto.
43883         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
43884         and __ftello instead of fileno, fread_unlocked and ftello.
43886 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43888         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
43889         GOT12.
43890         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
43891         Likewise.
43892         (_dl_start_user): Likewise.
43893         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
43895 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
43896             Siddhesh Poyarekar  <siddhesh@redhat.com>
43898         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
43899         Move argv and envp down instead of moving argc up.
43900         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
43902 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
43904         [BZ #17506]
43905         * test-skeleton.c (main): Return successful if one of
43906         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
43907         * string/tst-strcoll-overflow.c: Define expected status.
43909 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
43911         [BZ #17475]
43912         * locale/iso-639.def: Define Bhili and Tulu language codes.
43914 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
43916         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
43918 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
43920         [BZ #17555]
43921         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
43923 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
43925         * configure.ac: Updated check of minimal required version to
43926         2.22.
43927         * manual/install.texi (Tools for Compilation): Updated version
43928         number.
43929         * configure: Regenerated.
43930         * INSTALL: Likewise.
43932 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
43934         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
43935         __tls_get_addr.
43937 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
43939         * include/sys/wait.h (__libc_waitpid): Remove declaration.
43940         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
43941         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43942         libc_hidden_weak.
43943         (waitpid): Define as alias of __waitpid.
43944         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
43945         __waitpid.
43946         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43947         libc_hidden_weak.
43948         (waitpid): Define as alias of __waitpid.
43949         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
43950         __libc_waitpid alias.
43951         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
43952         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
43953         Likewise.
43954         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
43955         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
43956         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
43957         alias.
43958         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
43959         __waitpid.
43960         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43961         libc_hidden_weak.
43962         (waitpid): Define as alias of __waitpid.
43964 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
43966         * manual/llio.texi: Add comment that write safety has been
43967         fixed in Linux.
43969         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
43970         (localplt-build-dso): Add elf/ld.so.
43971         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
43972         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
43973         and free for ld.so.
43974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
43975         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
43976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
43977         Likewise.
43978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43979         Likewise.
43980         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
43981         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
43982         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
43983         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
43984         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
43985         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
43986         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
43987         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
43988         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
43989         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
43990         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
43992 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
43994         [BZ #14132]
43995         * include/libc-symbols.h (INTUSE): Remove macro.
43996         (INTDEF): Likewise.
43997         (INTVARDEF): Likewise.
43998         (_INTVARDEF): Likewise.
43999         (INTDEF2): Likewise.
44000         (INTVARDEF2): Likewise.
44001         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44002         rtld_hidden_def instead of INTVARDEF.
44003         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44004         (_dl_starting_up_internal): Remove declaration.
44005         (_dl_starting_up): Use rtld_hidden_proto.
44006         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44007         declaration.
44008         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44009         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44010         _dl_starting_up.
44011         * elf/dl-writev.h (_dl_writev): Likewise.
44012         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44013         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44014         _dl_starting_up_internal.
44016 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44018         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44019         test-skeleton.c.
44021 2014-11-05  Will Newton  <will.newton@linaro.org>
44023         * benchtests/Makefile: (bench-malloc): Add malloc thread
44024         scalability benchmark.
44025         * benchtests/bench-malloc-threads.c: New file.
44027 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
44029         * sysdeps/aarch64/strchrnul.S: New file.
44031 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44033         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44034         definition.
44035         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44036         Likewise.
44037         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44038         Likewise.
44039         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44040         Likewise.
44041         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44042         Likewise.
44043         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44044         Likewise.
44046 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
44048         * catgets/test-gencat.c: Use test-skeleton.c.
44049         * catgets/tst-catgets.c: Likewise.
44050         * csu/tst-empty.c: Likewise.
44051         * elf/tst-audit2.c: Likewise.
44052         * elf/tst-global1.c: Likewise.
44053         * elf/tst-pathopt.c: Likewise.
44054         * elf/tst-piemod1.c: Likewise.
44055         * elf/tst-tls10.c: Likewise.
44056         * elf/tst-tls11.c: Likewise.
44057         * elf/tst-tls12.c: Likewise.
44058         * gnulib/tst-gcc.c: Likewise.
44059         * iconvdata/tst-e2big.c: Likewise.
44060         * iconvdata/tst-loading.c: Likewise.
44061         * iconv/tst-iconv1.c: Likewise.
44062         * iconv/tst-iconv2.c: Likewise.
44063         * inet/test-inet6_opt.c: Likewise.
44064         * inet/tst-gethnm.c: Likewise.
44065         * inet/tst-network.c: Likewise.
44066         * inet/tst-ntoa.c: Likewise.
44067         * intl/tst-codeset.c: Likewise.
44068         * intl/tst-gettext2.c: Likewise.
44069         * intl/tst-gettext3.c: Likewise.
44070         * intl/tst-ngettext.c: Likewise.
44071         * intl/tst-translit.c: Likewise.
44072         * io/test-stat.c: Likewise.
44073         * libio/test-fmemopen.c: Likewise.
44074         * libio/tst-freopen.c: Likewise.
44075         * libio/tst-sscanf.c: Likewise.
44076         * libio/tst-ungetwc1.c: Likewise.
44077         * libio/tst-ungetwc2.c: Likewise.
44078         * libio/tst-widetext.c: Likewise.
44079         * localedata/tst-ctype.c: Likewise.
44080         * localedata/tst-digits.c: Likewise.
44081         * localedata/tst-leaks.c: Likewise.
44082         * localedata/tst-mbswcs1.c: Likewise.
44083         * localedata/tst-mbswcs2.c: Likewise.
44084         * localedata/tst-mbswcs3.c: Likewise.
44085         * localedata/tst-mbswcs4.c: Likewise.
44086         * localedata/tst-mbswcs5.c: Likewise.
44087         * localedata/tst-setlocale.c: Likewise.
44088         * localedata/tst-trans.c: Likewise.
44089         * localedata/tst-wctype.c: Likewise.
44090         * localedata/tst-xlocale1.c: Likewise.
44091         * login/tst-grantpt.c: Likewise.
44092         * malloc/tst-calloc.c: Likewise.
44093         * malloc/tst-malloc.c: Likewise.
44094         * malloc/tst-mallocstate.c: Likewise.
44095         * malloc/tst-mcheck.c: Likewise.
44096         * malloc/tst-mtrace.c: Likewise.
44097         * malloc/tst-obstack.c: Likewise.
44098         * math/atest-exp2.c: Likewise.
44099         * math/atest-exp.c: Likewise.
44100         * math/atest-sincos.c: Likewise.
44101         * math/test-matherr.c: Likewise.
44102         * math/test-misc.c: Likewise.
44103         * math/test-powl.c: Likewise.
44104         * math/tst-definitions.c: Likewise.
44105         * misc/tst-dirname.c: Likewise.
44106         * misc/tst-efgcvt.c: Likewise.
44107         * misc/tst-fdset.c: Likewise.
44108         * misc/tst-hsearch.c: Likewise.
44109         * misc/tst-mntent2.c: Likewise.
44110         * nptl/tst-sem7.c: Likewise.
44111         * nptl/tst-sem8.c: Likewise.
44112         * nptl/tst-sem9.c: Likewise.
44113         * nss/test-netdb.c: Likewise.
44114         * posix/tst-fnmatch.c: Likewise.
44115         * posix/tst-getlogin.c: Likewise.
44116         * posix/tst-gnuglob.c: Likewise.
44117         * posix/tst-mmap.c: Likewise.
44118         * pwd/tst-getpw.c: Likewise.
44119         * resolv/tst-inet_ntop.c: Likewise.
44120         * rt/tst-timer.c: Likewise.
44121         * stdio-common/test-fseek.c: Likewise.
44122         * stdio-common/test-popen.c: Likewise.
44123         * stdio-common/test-vfprintf.c: Likewise.
44124         * stdio-common/tst-cookie.c: Likewise.
44125         * stdio-common/tst-fileno.c: Likewise.
44126         * stdio-common/tst-gets.c: Likewise.
44127         * stdio-common/tst-obprintf.c: Likewise.
44128         * stdio-common/tst-perror.c: Likewise.
44129         * stdio-common/tst-sprintf2.c: Likewise.
44130         * stdio-common/tst-sprintf3.c: Likewise.
44131         * stdio-common/tst-sprintf.c: Likewise.
44132         * stdio-common/tst-swprintf.c: Likewise.
44133         * stdio-common/tst-tmpnam.c: Likewise.
44134         * stdio-common/tst-unbputc.c: Likewise.
44135         * stdio-common/tst-wc-printf.c: Likewise.
44136         * stdlib/tst-environ.c: Likewise.
44137         * stdlib/tst-fmtmsg.c: Likewise.
44138         * stdlib/tst-limits.c: Likewise.
44139         * stdlib/tst-rand48-2.c: Likewise.
44140         * stdlib/tst-rand48.c: Likewise.
44141         * stdlib/tst-random2.c: Likewise.
44142         * stdlib/tst-random.c: Likewise.
44143         * stdlib/tst-strtol.c: Likewise.
44144         * stdlib/tst-strtoll.c: Likewise.
44145         * stdlib/tst-tls-atexit.c: Likewise.
44146         * stdlib/tst-xpg-basename.c: Likewise.
44147         * string/test-ffs.c: Likewise.
44148         * string/tst-bswap.c: Likewise.
44149         * string/tst-inlcall.c: Likewise.
44150         * string/tst-strtok.c: Likewise.
44151         * string/tst-strxfrm.c: Likewise.
44152         * sysdeps/x86_64/tst-audit10.c: Likewise.
44153         * sysdeps/x86_64/tst-audit3.c: Likewise.
44154         * sysdeps/x86_64/tst-audit4.c: Likewise.
44155         * sysdeps/x86_64/tst-audit5.c: Likewise.
44156         * time/tst-ftime_l.c: Likewise.
44157         * time/tst-getdate.c: Likewise.
44158         * time/tst-mktime3.c: Likewise.
44159         * time/tst-mktime.c: Likewise.
44160         * time/tst-posixtz.c: Likewise.
44161         * time/tst-strptime2.c: Likewise.
44162         * time/tst-strptime3.c: Likewise.
44163         * wcsmbs/tst-btowc.c: Likewise.
44164         * wcsmbs/tst-mbrtowc.c: Likewise.
44165         * wcsmbs/tst-mbsrtowcs.c: Likewise.
44166         * wcsmbs/tst-wchar-h.c: Likewise.
44167         * wcsmbs/tst-wcpncpy.c: Likewise.
44168         * wcsmbs/tst-wcrtomb.c: Likewise.
44169         * wcsmbs/tst-wcsnlen.c: Likewise.
44170         * wcsmbs/tst-wcstof.c: Likewise.
44172 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
44174         [BZ #14132]
44175         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
44176         INTDEF.
44177         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
44178         declaration.
44179         (_dl_mcount): Use rtld_hidden_proto.
44180         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
44181         _dl_mcount.
44182         * elf/rtld.c (_rtld_global_ro): Likewise.
44184         [BZ #14132]
44185         * elf/dl-init.c (_dl_init): Don't use INTDEF.
44186         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
44187         of _dl_init_internal.
44188         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
44189         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
44190         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
44191         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
44192         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
44193         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
44194         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
44195         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
44196         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
44197         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
44198         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
44199         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
44200         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44201         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44202         * sysdeps/tile/dl-start.S (_start): Likewise.
44203         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
44204         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
44206         [BZ #14132]
44207         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
44208         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
44209         (rtld_progname): Make macro definition unconditional.
44210         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
44211         INTDEF.
44212         (dlmopen_doit): Do not use INTUSE with _dl_argv.
44213         (dl_main): Likewise.
44214         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44215         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
44216         instead of _dl_argv_internal.
44217         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44218         __GI__dl_argv instead of INTUSE(_dl_argv).
44219         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
44220         __GI__dl_argv instead of _dl_argv_internal.
44222         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
44223         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
44224         macro.
44225         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
44226         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
44227         New macro.
44228         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
44229         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
44230         macro.
44231         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
44232         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
44234 2014-11-04  Andreas Schwab  <schwab@suse.de>
44236         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
44238 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44240         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
44241         mtvsrd instruction in binary form.
44243 2014-11-03  Andreas Schwab  <schwab@suse.de>
44245         [BZ #17522]
44246         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
44247         for less than MB_LEN_MAX use a local buffer of that size.
44248         * libio/tst-fputws.c: New file.
44249         * libio/Makefile (tests): Add tst-fputws.
44251 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
44253         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
44254         the size of the fpu_fr.fpu_dregs[] array.
44256 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
44258         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
44259         (__nanosleep): Do not define as alias.
44260         (nanosleep): Define as alias of __nanosleep.
44261         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
44262         __libc_nanosleep name.
44264 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
44266         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
44267         install.texi in comment.
44269 2014-10-31  Torvald Riegel  <triegel@redhat.com>
44271         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
44272         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
44273         ... add here and use lwsync or sync ...
44274         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
44275         ... and add here using lwsync.
44277 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
44279         * elf/dl-machine-reject-phdr.h: New file.
44280         * elf/dl-load.c: #include that.
44281         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
44282         if that returned true.
44284 2014-10-31  Roland McGrath  <roland@hack.frob.com>
44286         [BZ #17496]
44287         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
44288         gen-as-const-headers chunk.  Add a big scare comment after the last
44289         safe place to touch before-compile.
44291 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
44293         * manual/install.texi (Tools for Compilation): Update autoconf
44294         version requirements.
44295         * INSTALL: Regenerated.
44297         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
44298         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
44299         (__libc_pselect): Likewise.
44301         [BZ #14138]
44302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
44303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44307 2014-10-31  Torvald Riegel  <triegel@redhat.com>
44309         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
44310         correct barrier instruction.
44311         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
44312         Likewise.
44313         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
44314         Likewise.
44316 2014-10-30  Roland McGrath  <roland@hack.frob.com>
44318         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
44319         after defining inlines.  Instead, just use parens to defeat macro
44320         expansion of __isctype in its declaration.
44322 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
44324         * include/sys/uio.h (__libc_readv): Remove declaration.
44325         (__libc_writev): Likewise.
44326         * misc/readv.c (__libc_readv): Rename to __readv.
44327         (__readv): Do not define as alias.
44328         (readv): Define as alias of __readv.
44329         * misc/writev.c (__libc_writev): Rename to __writev.
44330         (__writev): Do not define as alias.
44331         (writev): Define as alias of __writev.
44332         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
44333         (__readv): Do not define as alias.
44334         (readv): Define unconditionally as alias of __readv.
44335         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
44336         (__writev): Do not define as alias.
44337         (writev): Define unconditionally as alias of __writev.
44338         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
44339         name.
44340         (writev): Do not define __libc_writev name.
44342 2014-10-30  Roland McGrath  <roland@hack.frob.com>
44344         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
44345         (convert_charseq): New function, broken out of ...
44346         (use_from_charmap): ... here.  Call it.
44347         (use_to_charmap): Use convert_charseq and free instead of duplicating
44348         its code with a variable-length stack struct.
44350 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
44352         * include/fcntl.h (__libc_creat): Remove declaration.
44353         * io/creat.c (__libc_creat): Rename to creat.
44354         (creat): Do not define as alias.
44355         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
44356         of creat instead of __libc_creat.
44357         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
44358         to creat.
44359         (creat): Do not define as alias.
44360         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
44361         __libc_creat.
44362         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
44363         __libc_creat name.
44364         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
44365         Likewise.
44367 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
44369         * manual/llio.texi: Add comments discussing why write() may be
44370         considered MT-unsafe on Linux.
44372 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
44374         * dl-load.c (local_strdup): Remove.
44375         (expand_dynamic_string_token): Use __strdup.
44376         (decompose_rpath): Likewise.
44377         (_dl_map_object): Likewise.
44379 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
44381         [BZ #14132]
44382         * sysdeps/generic/unwind-dw2-fde.c
44383         (__register_frame_info_bases_internal): Do not declare.
44384         (__register_frame_info_table_bases_internal): Likewise.
44385         (__deregister_frame_info_bases_internal): Likewise.
44386         (__register_frame_info_bases): Declare and use hidden_proto before
44387         definition.  Use hidden_def instead of INTDEF.
44388         (__register_frame_info_table_bases): Likewise.
44389         (__deregister_frame_info_bases): Likewise.
44390         (__register_frame_info): Do not use INTUSE.
44391         (__register_frame): Likewise.
44392         (__register_frame_info_table): Likewise.
44393         (__register_frame_table): Likewise.
44394         (__deregister_frame_info): Likewise.
44395         (__deregister_frame): Likewise.
44397 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
44399         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44400         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
44401         not undefine.
44402         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
44403         Likewise.
44404         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
44405         Likewise.
44407 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
44409         [BZ #14138]
44410         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
44411         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
44412         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
44413         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
44414         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
44415         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
44416         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
44417         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
44418         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
44419         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
44420         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
44421         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
44422         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
44423         syscall.
44424         (setfsuid): Likewise.
44425         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
44426         (setfsuid): Likewise.
44427         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
44428         (setfsuid): Likewise.
44429         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
44430         Likewise.
44431         (setfsuid): Likewise.
44432         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
44433         (setfsuid): Likewise.
44434         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
44435         Likewise.
44436         (setfsuid): Likewise.
44438 2014-10-27  Andreas Schwab  <schwab@suse.de>
44440         [BZ #17501]
44441         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
44442         check for Slow_SSE4_2 feature bit.
44443         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
44444         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44445         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
44446         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
44448 2014-10-24  Roland McGrath  <roland@hack.frob.com>
44450         * configure.ac: Validate compiler version with a empirical test of
44451         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
44452         $CC -v output.
44453         * configure: Regenerated.
44455         * inet/htons.c (htons): Prototypify.
44456         * inet/htonl.c (htonl): Likewise.
44458 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44460         * string/strncat.c (strncat): Improve performance by using strlen.
44462 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44464         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
44466 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44468         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
44469         Call libc_fetestexcept_aarch64.
44471 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44473         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
44474         Call libc_feholdexcept_aarch64.
44476 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44478         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
44479         Call get_rounding_mode.
44481 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44483         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
44484         Simplify logic.
44486 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44488         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
44489         Simplify logic.
44491 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
44493         [BZ #14138]
44494         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
44495         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
44496         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
44497         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
44498         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
44499         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
44500         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
44501         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
44502         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
44503         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
44504         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
44505         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
44506         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
44507         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
44508         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
44509         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
44510         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
44511         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
44512         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
44513         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
44514         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
44515         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
44516         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
44517         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
44518         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
44519         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
44520         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
44521         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
44522         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
44523         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
44524         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
44525         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
44526         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
44527         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
44528         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
44529         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
44530         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
44531         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
44532         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
44533         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
44534         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
44535         syscall.
44536         (geteuid): Likewise.
44537         (getgid): Likewise.
44538         (getuid): Likewise.
44539         (getresgid): Likewise.
44540         (getresuid): Likewise.
44541         (getgroups): Likewise.
44542         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
44543         (geteuid): Likewise.
44544         (getgid): Likewise.
44545         (getuid): Likewise.
44546         (getresgid): Likewise.
44547         (getresuid): Likewise.
44548         (getgroups): Likewise.
44549         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
44550         (geteuid): Likewise.
44551         (getgid): Likewise.
44552         (getuid): Likewise.
44553         (getresgid): Likewise.
44554         (getresuid): Likewise.
44555         (getgroups): Likewise.
44556         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
44557         Likewise.
44558         (geteuid): Likewise.
44559         (getgid): Likewise.
44560         (getuid): Likewise.
44561         (getresgid): Likewise.
44562         (getresuid): Likewise.
44563         (getgroups): Likewise.
44564         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
44565         (geteuid): Likewise.
44566         (getgid): Likewise.
44567         (getuid): Likewise.
44568         (getresgid): Likewise.
44569         (getresuid): Likewise.
44570         (getgroups): Likewise.
44571         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
44572         Likewise.
44573         (geteuid): Likewise.
44574         (getgid): Likewise.
44575         (getuid): Likewise.
44576         (getgroups): Likewise.
44578         [BZ #14138]
44579         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
44580         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
44581         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
44582         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44583         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
44584         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
44585         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
44586         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
44587         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
44588         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
44589         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
44590         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
44591         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
44592         __chown.
44593         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
44594         (lchown): Likewise.
44595         (fchown): Likewise.
44596         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
44597         Likewise.
44598         (lchown): Likewise.
44599         (fchown): Likewise.
44600         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
44601         (lchown): Likewise.
44602         (fchown): Likewise.
44603         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
44604         Likewise.
44605         (lchown): Likewise.
44606         (fchown): Likewise.
44608 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
44610         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
44611         Simplify logic.
44613 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
44615         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
44616         Cleanup logic.
44618 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
44620         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
44621         Remove unused include.
44623 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
44625         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
44626         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
44627         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
44628         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
44630 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
44631             Helge Deller <deller@gmx.de>
44633         [BZ #17508]
44634         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
44635         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
44636         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
44638 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
44640         [BZ #14132]
44641         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
44642         Remove macro definition.
44643         (__ashrdi3_v_glibc20): Likewise.
44644         (__lshrdi3_v_glibc20): Likewise.
44645         (__cmpdi2_v_glibc20): Likewise.
44646         (__ucmpdi2_v_glibc20): Likewise.
44647         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
44648         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
44649         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
44650         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
44651         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
44652         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
44654 2014-10-22  Roland McGrath  <roland@hack.frob.com>
44656         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
44657         old GNU extension [0] syntax.
44658         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
44659         alloca rather than an array member with variable length.
44660         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
44661         * nscd/nscd.c (invalidate_db): New function, broken out of ...
44662         (parse_opt): ... here.  Likewise use alloca there.
44663         Validate the -i argument before checking for rootness.
44664         (send_shutdown): New function, broken out of ...
44665         (parse_opt): ... here.
44667 2014-10-22  Roland McGrath  <roland@hack.frob.com>
44669         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
44670         macro to get at the _rt_local_ro field.
44671         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
44672         ([PIC] case) or _dl_hwcap ([!PIC] case).
44673         * sysdeps/arm/setjmp.S: Likewise.
44675         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
44676         * sysdeps/arm/configure.ac: New check to define it.
44677         * sysdeps/arm/configure: Regenerated.
44678         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
44679         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
44680         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
44681         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
44682         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
44683         Use move/movt pair instead of a load.
44684         (LDST_GLOBAL): Macro removed.
44685         (LDR_GLOBAL): New macro replaces it.
44686         (LDR_HIDDEN): New macro.
44687         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
44688         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
44690         * setjmp/tst-setjmp-static.c: New file.
44691         * setjmp/Makefile (tests): Add it.
44692         (tests-static): New variable.
44694 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
44696         [BZ #17485]
44697         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
44699 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
44701         [BZ #14132]
44702         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
44704 2014-10-21  Roland McGrath  <roland@hack.frob.com>
44706         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
44708 2014-10-20  Roland McGrath  <roland@hack.frob.com>
44710         * io/fts.c (dirent_not_directory): New function.
44711         (fts_build): Call it.
44713 2014-10-20  Roland McGrath  <roland@hack.frob.com>
44715         * nptl/version.c (__nptl_main): Use normal __write rather than
44716         INTERNAL_SYSCALL.
44717         (banner): Update copyright years.
44719         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
44720         gettimeofday.
44721         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
44722         * nptl/pthread_cond_timedwait.c: Likewise.
44723         * nptl/pthread_mutex_timedlock.c: Likewise.
44724         * nptl/sem_timedwait.c: Likewise.
44726         * sysdeps/nptl/bits/libc-lock.h
44727         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
44728         (__libc_lock_init_recursive): Return void, not 0.
44729         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
44730         (__libc_rwlock_init): Likewise.
44731         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
44733 2014-10-20  Torvald Riegel  <triegel@redhat.com>
44735         [BZ #15215]
44736         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
44737         (__pthread_once_slow): ... here.
44738         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
44739         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
44741 2014-10-20  Torvald Riegel  <triegel@redhat.com>
44743         [BZ #15215]
44744         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
44745         __PTHREAD_ONCE_FORK_GEN_INCR): New.
44746         * sysdeps/nptl/fork.c (__libc_fork): Use them.
44747         * nptl/pthread_once.c (__pthread_once): Likewise.
44748         Update comments.
44750 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
44752         [BZ #14138]
44753         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
44754         name.
44755         (writev): Use __libc_writev as strong name.
44756         * sysdeps/unix/sysv/linux/readv.c: Remove file.
44757         * sysdeps/unix/sysv/linux/writev.c: Likewise.
44759 2014-10-17  Roland McGrath  <roland@hack.frob.com>
44761         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
44763         * sysdeps/i386/nptl/tls.h
44764         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
44765         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
44766         New macros.
44767         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
44768         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
44769         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
44770         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
44771         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
44772         Call CHECK_THREAD_SYSINFO instead of doing an assert.
44774         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
44775         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
44776         on [__NR_futex].
44777         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
44778         broken out of ...
44779         (__pthread_mutex_init): ... here.  Call it.
44780         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
44781         Conditionalize PI cases on [__NR_futex].
44782         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
44783         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
44784         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
44786         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
44787         conditional on [SIGSETXID].
44788         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
44789         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
44790         is defined.  Likewise for SIGSETXID.
44791         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
44792         Conditionalize definitions on [SIGSETXID].
44793         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
44794         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
44795         unblocking on [SIGCANCEL].
44797         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
44798         [__NR_set_robust_list].
44800 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44802         * string/strcoll_l.c (get_next_seq): Fix up formatting.
44803         (do_compare): Likewise.
44805 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
44807         [BZ #15884]
44808         * string/strcoll_l.c: Don't include stdio.h.
44809         (coll_seq): Remove members idxarr and rulearr.
44810         (get_next_seq_cached): Remove function.
44811         (get_next_seq): Likewise.
44812         (get_next_seq_nocache): Rename to get_next_seq.
44813         (do_compare): Remove function.
44814         (do_compare_nocache): Rename to do_compare.
44815         (STRCOLL): Remove weight and rules cache.
44817 2014-10-16  Roland McGrath  <roland@hack.frob.com>
44819         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
44820         * sysdeps/arm/sfp-machine.h: ... to here.
44821         * sysdeps/arm/Implies: Remove arm/soft-fp.
44823 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
44825         * conform/data/sys/utsname.h-data (*_t): Allow.
44826         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
44827         [POSIX] (WEXITED): Do not expect constant.
44828         [POSIX] (WSTOPPED): Likewise.
44829         [POSIX] (WNOHANG): Likewise.
44830         [POSIX] (WNOWAIT): Likewise.
44831         [POSIX] (siginfo_t): Do not expect type or elements.
44832         [POSIX] (pid_t): Do not expect type.
44833         [POSIX] (signal.h): Do not allow header.
44834         [POSIX] (sys/resource.h): Likewise.
44835         [POSIX] (si_*): Do not allow pattern.
44836         [POSIX] (W*): Likewise.
44837         [POSIX] (P_*): Likewise.
44838         [POSIX] (BUS_*): Likewise.
44839         [POSIX] (CLD_*): Likewise.
44840         [POSIX] (FPE_*): Likewise.
44841         [POSIX] (ILL_*): Likewise.
44842         [POSIX] (POLL_*): Likewise.
44843         [POSIX] (SEGV_*): Likewise.
44844         [POSIX] (SI_*): Likewise.
44845         [POSIX] (TRAP_*): Likewise.
44846         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
44847         variable.
44849 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
44851         [BZ #12926]
44852         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
44853         infinite loop when __recvmsg returns 0.
44855 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
44857         * CANCEL-FCT-WAIVE: Remove file.
44858         * CANCEL-FILE-WAIVE: Likewise.
44860         [BZ #14132]
44861         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
44862         instead of INTVARDEF.
44863         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
44864         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
44865         rtld_hidden_data_def instead of INTVARDEF.
44866         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
44867         * elf/dl-deps.c (expand_dst): Likewise.
44868         * elf/dl-load.c (_dl_dst_count): Likewise.
44869         (_dl_dst_substitute): Likewise.
44870         (decompose_rpath): Likewise.
44871         (_dl_init_paths): Likewise.
44872         (open_path): Likewise.
44873         (_dl_map_object): Likewise.
44874         * elf/rtld.c (dl_main): Likewise.
44875         (process_dl_audit): Likewise.
44876         (process_envvars): Likewise.
44877         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
44878         Remove declaration.
44879         (__libc_enable_secure): Use rtld_hidden_proto.
44881 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44883         * elf/dl-load.c
44884         (add_path): New function broken out of _dl_rtld_di_serinfo.
44885         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
44887 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
44889         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
44890         parentheses around macro arguments.
44891         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
44892         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
44893         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
44894         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
44895         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
44896         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44897         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44898         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
44899         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
44900         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
44901         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
44902         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
44903         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
44904         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
44905         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
44906         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
44907         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
44908         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
44909         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
44910         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
44911         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
44912         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
44913         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
44914         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44915         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44916         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
44917         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
44918         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
44919         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
44920         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
44921         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
44922         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
44923         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
44924         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
44925         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
44926         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
44927         Likewise.
44928         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
44929         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
44930         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
44931         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
44932         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
44933         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
44934         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
44935         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
44936         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
44937         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
44938         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
44939         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
44940         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
44941         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
44942         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
44943         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
44944         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
44945         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
44946         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
44947         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
44948         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
44949         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
44950         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
44951         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
44952         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
44953         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
44954         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
44955         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
44956         (_FP_FRAC_SRS_1): Likewise.
44957         (_FP_FRAC_CLZ_1): Likewise.
44958         (_FP_MUL_MEAT_1_imm): Likewise.
44959         (_FP_MUL_MEAT_1_wide): Likewise.
44960         (_FP_MUL_MEAT_1_hard): Likewise.
44961         (_FP_SQRT_MEAT_1): Likewise.
44962         (_FP_FRAC_ASSEMBLE_1): Likewise.
44963         (_FP_FRAC_DISASSEMBLE_1): Likewise.
44964         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
44965         (__FP_CLZ_2): Likewise.
44966         (_FP_MUL_MEAT_2_wide): Likewise.
44967         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
44968         (_FP_MUL_MEAT_2_gmp): Likewise.
44969         (_FP_MUL_MEAT_2_120_240_double): Likewise.
44970         (_FP_SQRT_MEAT_2): Likewise.
44971         (_FP_FRAC_ASSEMBLE_2): Likewise.
44972         (_FP_FRAC_DISASSEMBLE_2): Likewise.
44973         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
44974         (_FP_FRAC_CLZ_4): Likewise.
44975         (_FP_MUL_MEAT_4_wide): Likewise.
44976         (_FP_MUL_MEAT_4_gmp): Likewise.
44977         (_FP_SQRT_MEAT_4): Likewise.
44978         (_FP_FRAC_ASSEMBLE_4): Likewise.
44979         (_FP_FRAC_DISASSEMBLE_4): Likewise.
44980         * soft-fp/op-common.h (_FP_CMP): Likewise.
44981         (_FP_CMP_EQ): Likewise.
44982         (_FP_CMP_UNORD): Likewise.
44983         (_FP_TO_INT): Likewise.
44984         (_FP_FROM_INT): Likewise.
44985         [!__FP_CLZ] (__FP_CLZ): Likewise.
44986         (_FP_DIV_HELP_imm): Likewise.
44987         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
44988         Likewise.
44989         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
44990         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
44991         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
44992         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
44993         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
44994         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
44995         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
44996         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
44997         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
44998         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
44999         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45000         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45001         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45002         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45003         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45004         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45005         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45006         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45007         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45008         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45009         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45010         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45011         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45012         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45013         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45014         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45015         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45016         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45017         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45018         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45019         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45020         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45021         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45022         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45023         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45024         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45025         (FP_UNPACK_RAW_SP): Likewise.
45026         (FP_PACK_RAW_S): Likewise.
45027         (FP_PACK_RAW_SP): Likewise.
45028         (FP_UNPACK_S): Likewise.
45029         (FP_UNPACK_SP): Likewise.
45030         (FP_UNPACK_SEMIRAW_S): Likewise.
45031         (FP_UNPACK_SEMIRAW_SP): Likewise.
45032         (FP_PACK_S): Likewise.
45033         (FP_PACK_SP): Likewise.
45034         (FP_PACK_SEMIRAW_S): Likewise.
45035         (FP_PACK_SEMIRAW_SP): Likewise.
45036         (_FP_SQRT_MEAT_S): Likewise.
45037         (FP_CMP_S): Likewise.
45038         (FP_CMP_EQ_S): Likewise.
45039         (FP_CMP_UNORD_S): Likewise.
45040         (FP_TO_INT_S): Likewise.
45041         (FP_FROM_INT_S): Likewise.
45043         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45045         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45046         (FP_EX_INVALID_IMZ): Likewise.
45047         (FP_EX_INVALID_IMZ_FMA): Likewise.
45048         (FP_EX_INVALID_ISI): Likewise.
45049         (FP_EX_INVALID_ZDZ): Likewise.
45050         (FP_EX_INVALID_IDI): Likewise.
45051         (FP_EX_INVALID_SQRT): Likewise.
45052         (FP_EX_INVALID_CVI): Likewise.
45053         (FP_EX_INVALID_VC): Likewise.
45054         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45055         "invalid" exceptions.
45056         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45057         (_FP_ADD_INTERNAL): Likewise.
45058         (_FP_MUL): Likewise.
45059         (_FP_FMA): Likewise.
45060         (_FP_DIV): Likewise.
45061         (_FP_CMP_CHECK_NAN): Likewise.
45062         (_FP_SQRT): Likewise.
45063         (_FP_TO_INT): Likewise.
45064         (FP_EXTEND): Likewise.
45066 2014-10-09  Allan McRae  <allan@archlinux.org>
45068         * po/fr.po: Update French translation from translation project.
45070 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
45072         [BZ #14132]
45073         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45074         of INTDEF.
45075         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45076         (__cxa_atexit): Use libc_hidden_proto.
45077         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45079         [BZ #14132]
45080         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45081         declaration.
45082         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45083         [!_ISOMAC] (__iswspace_l_internal): Likewise.
45084         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45085         [!_ISOMAC] (__iswctype_internal): Likewise.
45086         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45087         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45088         alias.
45089         (fcntl): Remove __fcntl_internal alias.
45090         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45091         __connect_internal alias.
45092         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45093         Likewise.
45095         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45096         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45097         FP_DENORM_ZERO.
45098         (_FP_CHECK_FLUSH_ZERO): New macro.
45099         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
45100         (_FP_CMP): Likewise.
45101         (_FP_CMP_EQ): Likewise.
45102         (_FP_TO_INT): Do not set inexact for subnormal arguments if
45103         FP_DENORM_ZERO.
45104         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
45105         (FP_TRUNC): Likewise.
45107         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
45108         treated as invalid conversion, not as normal exponent.
45110         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
45111         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
45112         (_FP_CMP_EQ): Likewise.
45113         (_FP_CMP_UNORD): Likewise.
45114         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
45115         (FP_CMP_EQ_D): Likewise.
45116         (FP_CMP_UNORD_D): Likewise.
45117         * soft-fp/extended.h (FP_CMP_E): Likewise.
45118         (FP_CMP_EQ_E): Likewise.
45119         (FP_CMP_UNORD_E): Likewise.
45120         * soft-fp/quad.h (FP_CMP_Q): Likewise.
45121         (FP_CMP_EQ_Q): Likewise.
45122         (FP_CMP_UNORD_Q): Likewise.
45123         * soft-fp/single.h (FP_CMP_S): Likewise.
45124         (FP_CMP_EQ_S): Likewise.
45125         (FP_CMP_UNORD_S): Likewise.
45126         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
45127         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
45128         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
45129         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
45130         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
45131         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
45132         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
45133         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
45134         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
45135         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
45136         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45137         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
45138         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
45139         to FP_CMP_Q.
45140         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
45141         FP_CMP_Q.
45142         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
45143         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
45144         FP_CMP_EQ_Q.
45145         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
45146         FP_CMP_Q.
45147         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
45148         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
45149         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
45150         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
45151         FP_CMP_EQ_Q.
45152         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
45153         FP_CMP_Q.
45154         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
45155         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
45156         FP_CMP_EQ_Q.
45157         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
45158         FP_CMP_Q.
45159         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
45160         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
45161         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
45162         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
45163         FP_CMP_EQ_Q.
45165         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
45166         a subnormal result, set the underflow exception if trapping on
45167         underflow is enabled.
45168         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
45169         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
45170         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
45171         redefine to 0.
45172         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
45173         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45174         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45175         * soft-fp/extendxftf2.c (__extendxftf2): Use
45176         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
45178         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
45179         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
45180         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45181         FP_HANDLE_EXCEPTIONS.
45182         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
45183         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45184         FP_HANDLE_EXCEPTIONS.
45185         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
45186         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45187         FP_HANDLE_EXCEPTIONS.
45188         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
45189         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45190         FP_HANDLE_EXCEPTIONS.
45192 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
45194         [BZ #14132]
45195         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
45196         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
45197         use INTUSE.
45198         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
45199         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
45200         Remove alias.
45201         (__adjtimex): Define using libc_hidden_ver.
45202         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
45203         Remove declaration.
45204         (ntp_gettime): Call __adjtimex directly.
45205         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
45206         Remove declaration.
45207         (ntp_gettimex): Call __adjtimex directly.
45208         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
45209         __adjtimex_internal alias.
45211 2014-10-08  Roland McGrath  <roland@hack.frob.com>
45213         [BZ #17460]
45214         * nscd/nscd.c (more_help): Rewrite list of tables collection
45215         using xstrdup and asprintf.
45217         * nscd/nscd_conf.c: Remove local xstrdup declaration.
45219 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45220             Roland McGrath  <roland@hack.frob.com>
45222         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
45223         (do_lookup_unique): ... local function 'enter' here; update callers.
45225 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
45227         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
45228         compat_symbol calls on [SHARED].
45229         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
45230         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
45231         Remove.
45232         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45233         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
45234         (oldsetrlimit): Remove.
45235         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45237         (lchown): New syscall entry.
45238         (oldsetrlimit): Remove.
45239         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45240         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
45241         (oldsetrlimit): Remove.
45242         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45244         [BZ #14138]
45245         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
45246         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
45247         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
45248         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
45249         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45250         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
45251         (fchown): Likewise.
45252         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
45253         (fchown): Likewise.
45254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
45255         Likewise.
45257 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45259         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
45260         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
45261         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
45262         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
45263         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
45264         Likewise.
45265         (__old_sem_post): Likewise.
45267 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
45269         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
45270         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
45271         HAVE_CLOCK_GETTIME_VSYSCALL macros.
45272         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
45273         Use INLINE_VSYSCALL macro.
45274         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
45275         __vdso_clock_gettime.
45276         * sysdeps/unix/sysv/linux/tile/init-first.c
45277         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
45278         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
45279         __vdso_clock_gettime.
45281         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
45282         to set up frame more cleanly.
45284         * sysdeps/tile/memcmp.c: New file.
45286         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
45288         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
45289         * sysdeps/tile/tilegx/strcasestr.c: New file.
45290         * sysdeps/tile/tilegx/strnlen.c: New file.
45291         * sysdeps/tile/tilegx/strstr.c: New file.
45293         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
45295 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
45297         * nptl/tst-setuid3.c: Write errors to stdout.
45299 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45301         * elf/dl-deps.c
45302         (preload): New functions broken out of _dl_map_object_deps.
45303         (_dl_map_object_deps):  Remove a nested function. Update call sites.
45305 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
45307         [BZ #14138]
45308         * sysdeps/unix/sysv/linux/execve.c: Remove file.
45309         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
45311 2014-10-01  Steve Ellcey  <sellcey@mips.com>
45313         * sysdeps/mips/strcmp.S: New.
45315 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
45317         [BZ #14138]
45318         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
45319         (linkat): Likewise.
45320         (mkdirat): Likewise.
45321         (readlinkat): Likewise.
45322         (renameat): Likewise.
45323         (symlinkat): Likewise.
45324         (unlinkat): Likewise.
45325         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
45326         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
45327         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
45328         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
45329         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
45330         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
45331         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
45333 2014-09-30  Will Newton  <will.newton@linaro.org>
45335         * math/math.h: Define long double math functions if
45336         _LIBC_TEST is defined.
45337         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
45339         * localedata/Makefile: Move assignment to tests-special
45340         into an ifdef testing run-built-tests.
45341         * timezone/Makefile: Likewise.
45343 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
45345         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
45346         with $(BASH) not $(SHELL).
45348 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
45349             Matthew LeGendre  <legendre1@llnl.gov>
45351         [BZ #17411]
45352         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
45353         l_reloc_result.
45355 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45357         * stdio-common/printf_fp.c
45358         (hack_digit): New function, broken out of ...
45359         (__printf_fp): ... local function here.  Update call sites.
45360         hack_digit now takes an additional parameter that is a pointer
45361         to a struct of the referenced locals.  Those locals moved inside
45362         the struct and references updated.
45364 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
45366         * aclocal.m4: Require autoconf 2.69.
45367         * configure: Regenerated.
45368         * sysdeps/aarch64/configure: Likewise.
45369         * sysdeps/alpha/configure: Likewise.
45370         * sysdeps/arm/armv7/configure: Likewise.
45371         * sysdeps/arm/configure: Likewise.
45372         * sysdeps/ia64/configure: Likewise.
45373         * sysdeps/mach/configure: Likewise.
45374         * sysdeps/mips/configure: Likewise.
45375         * sysdeps/s390/configure: Likewise.
45376         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
45377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
45379         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
45380         file.
45381         * sysdeps/ia64/configure.ac: Likewise.
45383 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
45385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
45386         specify symbol version for ld.so.  Do not include entry for
45387         libpthread.
45388         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45389         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
45390         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45392         [BZ #14171]
45393         * Makeconfig [$(build-shared) = yes]
45394         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
45395         makefiles.
45396         [$(build-shared) = yes && $(soversions.mk-done) = t]
45397         ($(common-objpfx)gnu/lib-names.h): Remove rule.
45398         [$(build-shared) = yes && $(soversions.mk-done) = t]
45399         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
45400         to Makerules.
45401         [$(build-shared) = yes && $(soversions.mk-done) = t]
45402         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
45403         here.
45404         [$(build-shared) = yes && $(soversions.mk-done) = t]
45405         (common-generated): Don't append gnu/lib-names.h and
45406         gnu/lib-names.stmp here.
45407         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
45408         (lib-names-h-abi): New variable.
45409         [$(build-shared) = yes && $(soversions.mk-done) = t]
45410         (lib-names-stmp-abi): Likewise.
45411         [$(build-shared) = yes && $(soversions.mk-done) = t &&
45412         abi-variants] (before-compile): Append
45413         $(common-objpfx)$(lib-names-h-abi).
45414         [$(build-shared) = yes && $(soversions.mk-done) = t &&
45415         abi-variants] (common-generated): Append gnu/lib-names.h.
45416         [$(build-shared) = yes && $(soversions.mk-done) = t &&
45417         abi-variants] (install-others-nosubdir): Depend on
45418         $(inst_includedir)/$(lib-names-h-abi).
45419         [$(build-shared) = yes && $(soversions.mk-done) = t &&
45420         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
45421         [$(build-shared) = yes && $(soversions.mk-done) = t]
45422         ($(common-objpfx)$(lib-names-h-abi)): New rule.
45423         [$(build-shared) = yes && $(soversions.mk-done) = t]
45424         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
45425         [$(build-shared) = yes && $(soversions.mk-done) = t]
45426         (common-generated): Append $(lib-names-h-abi) and
45427         $(lib-names-stmp-abi).
45428         * scripts/lib-names.awk: Do not handle multi being set.
45429         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
45430         Remove variable.
45431         (abi-lp64_be-ld-soname): Likewise.
45432         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
45433         Likewise.
45434         (abi-hard-ld-soname): Likewise.
45435         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
45436         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
45437         Remove variable.
45438         (abi-o32_hard-ld-soname): Likewise.
45439         (abi-o32_soft_2008-ld-soname): Likewise.
45440         (abi-o32_hard_2008-ld-soname): Likewise.
45441         (abi-n32_soft-ld-soname): Likewise.
45442         (abi-n32_hard-ld-soname): Likewise.
45443         (abi-n32_soft_2008-ld-soname): Likewise.
45444         (abi-n32_hard_2008-ld-soname): Likewise.
45445         (abi-n64_soft-ld-soname): Likewise.
45446         (abi-n64_hard-ld-soname): Likewise.
45447         (abi-n64_soft_2008-ld-soname): Likewise.
45448         (abi-n64_hard_2008-ld-soname): Likewise.
45449         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
45450         Likewise.
45451         (abi-64-v2-ld-soname): Likewise.
45452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
45453         ld.so entries.
45454         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
45455         variable.
45456         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
45457         entry.
45458         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
45459         variable.
45460         (abi-64-ld-soname): Likewise.
45461         (abi-x32-ld-soname): Likewise.
45462         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
45463         entry.
45464         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45466 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
45468         [BZ #14138]
45469         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
45470         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
45471         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
45472         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
45473         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
45474         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
45475         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
45476         syscall entry for GLIBC_2.2 symbol version.
45477         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
45478         Likewise.
45479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45480         (setrlimit): Likewise.
45481         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
45482         Likewise.
45484 2014-09-23  Will Newton  <will.newton@linaro.org>
45486         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
45487         _LINUX_ARM_SYSDEP_H include guard too.
45488         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
45489         define.
45491 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
45493         * sysdeps/unix/sysv/linux/eventfd.c:
45494         Make first argument unsigned.
45495         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
45496         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
45498 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
45500         [BZ #16852]
45501         * socket/recvmmsg.c (recvmmsg): Drop const argument.
45502         * socket/sys/socket.h: Likewise.
45503         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
45505 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45507         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
45509 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
45511         * time/tst-ftime.c: New test.
45512         * time/Makefile (tests): Add tst-ftime.
45514 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
45516         * soft-fp/extended.h: Fix comment formatting.
45517         * soft-fp/op-1.h: Likewise.
45518         * soft-fp/op-2.h: Likewise.
45519         * soft-fp/op-4.h: Likewise.
45520         * soft-fp/op-8.h: Likewise.
45521         * soft-fp/op-common.h: Likewise.
45522         * soft-fp/soft-fp.h: Likewise.
45524         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
45526 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
45528         [BZ #6652]
45529         * Makeconfig (soversions-default-setname): Remove variable.
45530         ($(common-objpfx)soversions.i): Don't pass default_setname to
45531         soversions.awk.
45532         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
45533         oldest_abi to abi-versions.awk.
45534         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
45535         * config.make.in (oldest-abi): Remove variable.
45536         * configure.ac (--enable-oldest-abi): Remove configure option.
45537         * configure: Regenerated.
45538         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
45539         text.
45540         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
45541         * scripts/soversions.awk: Do not handle default_setname variable.
45542         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
45543         variable.
45544         * sysdeps/mach/hurd/configure: Regenerated.
45545         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
45546         variable.
45547         * sysdeps/unix/sysv/linux/configure: Regenerated.
45549 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45551         * elf/Makefile (CFLAGS-interp.c): Remove.
45552         ($(elf-objpfx)runtime-linker.h): Generate header with linker
45553         path string.
45554         * elf/interp.c: Include generated runtime-linker.h
45556         * Makerules (lib%.so): Don't include $(+interp) in
45557         prerequisites.
45558         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
45559         * dlfcn/eval.c: Remove file.
45561         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
45562         macros.
45564         [BZ #17266]
45565         * misc/sys/cdefs.h: Define __extern_always_inline for clang
45566         4.2 and newer.
45568         [BZ #17370]
45569         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
45571 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45572             Jakub Jelinek  <jakub@redhat.com>
45574         [BZ #17266]
45575         * libio/stdio.h: Check definition of __fortify_function
45576         instead of __extern_always_inline to include bits/stdio2.h.
45577         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
45578         check if __extern_always_inline is defined.
45579         [__USE_MISC || __USE_XOPEN]: Likewise.
45580         [__USE_ISOC99] Likewise.
45581         * misc/sys/cdefs.h (__fortify_function): Define only if
45582         __extern_always_inline is defined.
45583         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
45584         __extern_always_inline and __extern_inline only for g++-4.3
45585         and newer or a compatible gcc.
45587 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
45589         [BZ #17371]
45590         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
45591         last change to handle zero prefix length.
45593 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45595         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
45596         _SC_REGEX_VERSION.
45598         * posix/getconf.c (vars): Add _POSIX_IPV6 and
45599         _POSIX_RAW_SOCKETS.
45601 2014-09-13  Allan McRae  <allan@archlinux.org>
45603         * po/ru.po: Update Russian translation from translation project.
45605 2014-09-12  Roland McGrath  <roland@hack.frob.com>
45607         * locale/programs/locale.c (show_locale_vars): Inline local function
45608         into its sole call site.  Clean up some style nits.
45609         (print_item): New function, broken out of ...
45610         (show_info): ... local function here.  Clean up style nits.
45612         * locale/programs/ld-ctype.c (set_one_default): New function, broken
45613         out of ...
45614         (set_class_defaults): ... local function set_default here.
45615         Define set_default as a macro locally to pass constant parameters.
45616         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
45617         rather than a shared local.
45619         * stdlib/rpmatch.c (try): New function, broken out of ...
45620         (rpmatch): ... local function here.  Also, prototypify definition.
45622 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
45624         * scripts/soversions.awk: Do not handle configuration names.
45625         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
45626         vendor and os variables to soversions.awk.
45627         * configure.ac: Do not modify gnu-* host_os.
45628         * configure: Regenerated
45629         * shlib-versions: Remove first column with configuration names.
45630         * nptl/shlib-versions: Likewise.
45631         * nptl_db/shlib-versions: Likewise.
45632         * sysdeps/hppa/shlib-versions: Likewise.
45633         * sysdeps/m68k/shlib-versions: Likewise.
45634         * sysdeps/mach/hurd/shlib-versions: Likewise.
45635         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
45636         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
45637         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
45638         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
45639         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
45640         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
45641         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
45642         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
45643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
45644         Likewise.
45645         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45646         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
45647         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
45648         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
45649         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
45650         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
45651         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
45652         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
45655         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
45656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
45657         Regenerated.
45658         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
45659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
45660         Condition symbol version definitions on [HAVE_ELFV2_ABI].
45662         * shlib-versions: Remove OS-specific entries.  Moved to files in
45663         sysdeps.
45664         * sysdeps/mach/hurd/shlib-versions: New file.
45665         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
45667         * nptl/shlib-versions: Remove architecture-specific entries.
45668         Moved to files in sysdeps.
45669         * shlib-versions: Likewise.
45670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
45671         file.
45672         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45673         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
45674         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
45675         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
45677         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
45678         (UDP_NO_CHECK6_RX): Likewise.
45680 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45682         * sysdeps/posix/sysconf.c (__sysconf): Spell
45683         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
45685 2014-08-12  Florian Weimer  <fweimer@redhat.com>
45687         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
45688         loading.
45689         * iconv/Versions (__gconv_transliterate): Export for use from
45690         gconv modules.
45691         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
45692         (struct __gconv_trans_data, __gconv_trans_fct,
45693         __gconv_trans_context_fct, __gconv_trans_query_fct,
45694         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
45695         definitions.
45696         (struct __gconv_step_data): Remove __trans member.
45697         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
45698         longer hidden.  Remove unused trans_data argument.
45699         * iconv/gconv_int.h (struct trans_struct): Remove definition.
45700         (__gconv_translit_find): Remove declaration.
45701         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
45702         prototype.
45703         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
45704         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
45705         trans_data argument.  Add hidden definition.
45706         (__gconv_translit_find): Remove.
45707         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
45708         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
45709         * iconv/skeleton.c: Remove transliteration initialization.
45710         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
45711         __gconv_step_data initialization.
45712         * libio/iofwide.c (__libio_translit_): Remove.
45713         (_IO_fwide): Adjust struct __gconv_step_data initialization.
45714         * wcsmbs/btowc.c (__btowc): Likewise.
45715         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
45716         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
45717         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
45718         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
45719         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
45720         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
45721         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
45722         * wcsmbs/wctob.c (wctob): Likewise.
45724 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45726         [BZ #16194]
45727         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
45728         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
45729         register usage.
45730         * sysdeps/x86/Makefile: Adjust.
45732 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45733             Roland McGrath  <roland@hack.frob.com>
45735         * locale/weight.h: Add include guard.
45736         (findidx): Make static rather than auto; take new parameters
45737         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
45738         * locale/weightwc.h: Likewise.
45739         * posix/fnmatch_loop.c
45740         (FCT): Change type of EXTRA from int32_t to wint_t.
45741         Don't include either header inside the function.
45742         Call FINDIDX rather than findidx, and pass new arguments.
45743         #undef FINDIDX at the end of the file.
45744         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
45745         FINDIDX before including fnmatch_loop.c for the non-wide version.
45746         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
45747         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
45748         for the wide version.
45749         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
45750         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
45751         Pass new arguments to findidx.
45752         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
45753         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
45754         Don't #include it inside the function.  Pass new arguments to findidx.
45755         * posix/regex_internal.h
45756         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
45757         (re_string_elem_size_at): Don't #include it inside the function.
45758         Pass new arguments to findidx.
45759         * string/strcoll_l.c: #include WEIGHT_H at top level.
45760         (get_next_seq): Don't #include it inside the function.
45761         Pass new arguments to findidx.
45762         (get_next_seq_nocache): Likewise.
45763         * string/strxfrm_l.c: #include WEIGHT_H at top level.
45764         (STRXFRM): Don't #include it inside the function.
45765         Pass new arguments to findidx.
45767 2014-09-11  Florian Weimer  <fweimer@redhat.com>
45769         [BZ #17344]
45770         * malloc/malloc.c (unlink): Turn asserts into a call to
45771         malloc_printerr.
45773 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
45775         [BZ #17370]
45776         * libio/wfileops (do_ftell_wide): Free OUT.
45778 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
45780         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
45782 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45784         [BZ #17363]
45785         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
45786         group if the current group is empty.
45788 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45790         * benchtests/bench-memset.c (test_main): Add more test from size
45791         from 32 to 512 bytes.
45792         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
45793         Add POWER8 memset object.
45794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45795         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
45796         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
45797         implementation.
45798         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
45799         Likewise.
45800         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
45801         multiarch POWER8 memset optimization.
45802         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
45803         POWER8 memset optimization.
45805         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
45806         Remove bzero multiarch objects.
45807         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
45808         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
45809         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
45810         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
45811         Remove define.
45812         [__bzero]: Redefine to specific name.
45813         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
45814         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
45815         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
45816         define.
45817         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45818         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45820 2014-09-10  Florian Weimer  <fweimer@redhat.com>
45822         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
45823         warnings into errors.
45825         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
45826         __cxa_thread_atexit_impl prototype.
45828 2014-09-09  Steve Ellcey  <sellcey@mips.com>
45830         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
45831         Fix capitalization of error message.
45833 2014-09-09  Steve Ellcey  <sellcey@mips.com>
45835         * sysdeps/mips/preconfigure: Modify ABI tests.
45837 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
45839         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
45841 2014-09-07  Roland McGrath  <roland@hack.frob.com>
45842             Carlos O'Donell  <carlos@systemhalted.org>
45844         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
45845         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
45846         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
45847         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
45848         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
45849         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
45850         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
45851         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
45852         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
45853         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
45854         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
45855         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
45856         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
45857         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
45858         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
45859         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
45860         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
45861         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
45862         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
45863         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
45864         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
45865         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
45866         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
45867         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
45868         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
45869         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
45870         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
45871         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
45872         Deconditionalize the code that was previously under [RESET_PID].
45873         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
45874         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
45875         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
45876         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
45877         include sysdep.h.
45879 2014-09-08  Allan McRae  <allan@archlinux.org>
45881         * version.h (RELEASE): Set to "development".
45882         (VERSION): Set to "2.20.90"
45884 2014-09-07  Allan McRae  <allan@archlinux.org
45886         * version.h (RELEASE): Set to "stable".
45887         (VERSION): Set to "2.20"
45888         * include/features.h (__GLIBC_MINOR__): Set to 20.
45890         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
45891         Liebler.
45893         * po/ko.po: Update Korean translation from translation project.
45895 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
45897         [BZ #17354]
45898         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
45899         macro for handling signed relocations.
45901 2014-09-03  Florian Weimer  <fweimer@redhat.com>
45903         [BZ #17325]
45904         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
45905         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
45906         assert.
45907         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
45908         * iconvdata/ibm935.c (BODY): Likewise.
45909         * iconvdata/ibm937.c (BODY): Likewise.
45910         * iconvdata/ibm939.c (BODY): Likewise.
45911         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
45912         assert.
45913         * iconvdata/Makefile (iconv-test.out): Pass module list to test
45914         script.
45915         * iconvdata/run-iconv-test.sh: New test loop for checking for
45916         decoder crashers.
45918 2014-09-02  Khem Raj  <raj.khem@gmail.com>
45920         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
45921         libm_hidden_ver.
45923 2014-09-01  Allan McRae  <allan@archlinux.org>
45925         * po/eo.po: Update Esperanto translation from translation project.
45927         * po/ca.po: Update Catalan translation from translation project.
45929 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45931         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
45932         __proc_dostop call.
45934 2014-08-27  Mark Wielaard  <mjw@redhat.com>
45936         [BZ #17319]
45937         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
45938         to call set_thread_area instead of hand written asm.
45939         (__NR_set_thread_area): Removed define.
45940         (TLS_FLAG_WRITABLE): Likewise.
45941         (__ASSUME_SET_THREAD_AREA): Remove check.
45942         (TLS_EBX_ARG): Remove define.
45943         (TLS_LOAD_EBX): Likewise.
45945 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45947         Simplify atomicity of socket creation in bind.
45949         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
45950         looking up the name after linking the file.
45952 2014-08-27  Allan McRae  <allan@archlinux.org>
45954         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45956 2014-08-26  Florian Weimer  <fweimer@redhat.com>
45958         [BZ #17187]
45959         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
45960         trans_compare, open_translit, __gconv_translit_find):
45961         Remove module loading code.
45963 2014-08-26  Allan McRae  <allan@archlinux.org>
45965         * po/vi.po: Update Vietnamese translation from translation project.
45967         * po/uk.po: Update Ukrainian translation from translation project.
45969         * po/fr.po: Update French translation from translation project.
45971         * po/ru.po: Update Russian translation from translation project.
45973         * po/pl.po: Update Polish translation from translation project.
45975         * po/cs.po: Update Czech translation from translation project.
45977         * po/de.po: Update German translation from translation project.
45979         * po/bg.po: Update Bulgarian translation from translation project.
45981         * po/sv.po: Update Sweedish translation from translation project.
45983         * po/nl.po: Update Dutch translation from translation project.
45985         * po/es.po: Update Spanish translation from translation project.
45987 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45989         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
45991         * catgets/Makefile (CPPFLAGS-gencat): Remove.
45992         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
45993         (CPPFLAGS-iconvconfig): Likewise.
45994         * timezone/Makefile (CPPFLAGS-zic): Likewise.
45996         * include/libc-symbols.h: Remove unnecessary check for
45997         NOT_IN_libc.
45998         * nptl/pthreadP.h: Likewise.
45999         * sysdeps/aarch64/setjmp.S: Likewise.
46000         * sysdeps/alpha/setjmp.S: Likewise.
46001         * sysdeps/arm/sysdep.h: Likewise.
46002         * sysdeps/i386/setjmp.S: Likewise.
46003         * sysdeps/m68k/setjmp.c: Likewise.
46004         * sysdeps/posix/getcwd.c: Likewise.
46005         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46006         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46007         * sysdeps/s390/s390-32/setjmp.S: Likewise.
46008         * sysdeps/s390/s390-64/setjmp.S: Likewise.
46009         * sysdeps/sh/sh3/setjmp.S: Likewise.
46010         * sysdeps/sh/sh4/setjmp.S: Likewise.
46011         * sysdeps/unix/alpha/sysdep.h: Likewise.
46012         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46013         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46014         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46015         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46018         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46019         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46020         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46021         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46022         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46023         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46024         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46025         * sysdeps/x86_64/setjmp.S: Likewise.
46027 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
46029         [BZ #17263]
46030         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46031         <stdint.h>.
46032         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46033         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46035 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46037         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46039         [BZ #17262]
46040         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46041         and __x86_64__ when disabling x87 inline functions.
46043 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46045         [BZ #17259]
46046         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46047         asm statement with __cpuid_count.
46049 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
46051         * configure.ac: Change __ehdr_start code to dereference the struct.
46052         Run readelf on the output to look for relocations.
46053         * configure: Regenerated.
46055 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
46057         [BZ #17261]
46058         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46059         value to 0.
46060         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46062 2014-08-12  Roland McGrath  <roland@hack.frob.com>
46064         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46066 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
46068         [BZ #16892]
46069         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46070         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46072 2014-08-12  Sean Anderson  <seanga2@gmail.com>
46074         * malloc/malloc.c: Fix typo in comment.
46076 2014-08-09  Allan McRae  <allan@archlinux.org>
46078         * Regenerate libc.po.
46080 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
46082         * intl/tst-gettext2.sh: Check every lang file for creation.
46084 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
46086         * sysdeps/aarch64/fpu/math_private.h
46087         (libc_feholdsetround_noex_aarch64_ctx): New function.
46089 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
46091         * sysdeps/arm/armv6/strcpy.S (strcpy):
46092         Fix performance issue in misaligned cases.
46094 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46096         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46097         Move definition from termios.h.
46098         (struct termio): Likewise.
46099         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46100         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46101         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46102         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46103         Likewise.
46104         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
46105         Move definition to ioctl-types.h
46106         (struct termio): Likewise.
46107         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46108         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46109         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46110         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46111         Likewise.
46113 2014-08-05  Richard Henderson  <rth@redhat.com>
46115         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
46116         exceptions.
46117         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
46118         Add fraiseexcpt.
46119         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
46120         Use __feraiseexcept.
46121         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
46122         Protect libm symbols with IS_IN_libm.
46124         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
46126 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
46128         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
46130 2014-08-04  Will Newton  <will.newton@linaro.org>
46132         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
46133         file.
46135 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
46137         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
46138         variants for each function.
46140 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46142         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
46143         appended ...
46144         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
46145         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
46146         appended ...
46147         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
46148         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
46149         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
46150         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
46151         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
46152         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
46153         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
46154         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
46155         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
46156         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
46157         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46158         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
46159         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
46160         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
46161         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
46162         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
46163         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
46164         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
46165         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
46166         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
46167         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
46168         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
46169         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
46170         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
46171         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
46172         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
46173         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
46174         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
46175         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
46176         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
46177         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
46178         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
46179         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
46180         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
46181         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
46182         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
46183         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
46184         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
46185         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
46186         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
46187         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
46188         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
46189         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
46190         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
46191         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
46192         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
46193         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
46194         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
46195         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
46196         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
46197         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
46198         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
46199         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
46200         Update #include.
46201         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
46202         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
46204 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46206         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
46207         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
46208         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
46209         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
46210         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
46211         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
46213 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46215         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
46216         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
46217         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46218         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
46220 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46222         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
46223         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
46224         (__libc_vfork): Define function under this name.
46225         (__vfork): Define as an alias.
46226         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
46227         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
46229 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46231         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
46232         that was previously under [RESET_PID].
46233         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
46235 2014-08-04  Andreas Schwab  <schwab@suse.de>
46237         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
46239 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
46241         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
46242         (main): Likewise.
46244 2014-08-01  Roland McGrath  <roland@hack.frob.com>
46246         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
46248 2014-08-01  Richard Henderon  <rth@redhat.com>
46250         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
46251         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
46252         typo in exact zero test.
46253         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46254         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46255         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46257 2014-08-01  Roland McGrath  <roland@hack.frob.com>
46259         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
46260         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
46261         * sysdeps/arm/sysdep.h: ... here.
46262         [!__ASSEMBLER__]: Include <stdint.h>.
46264 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46266         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
46267         (HAVE_WCTYPE_H): Likewise.
46268         (HAVE_ISWCTYPE): Likewise.
46269         (ENABLE_NLS): Likewise.
46270         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
46271         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
46273         * posix/regex_internal.c: Check if DEBUG is defined and is
46274         set.
46276         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
46277         (HAVE_MBSRTOWCS): Likewise.
46278         * posix/fnmatch.c: Include string.h unconditionally.
46280 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
46282         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
46283         reversal.
46285 2014-07-31  Roland McGrath  <roland@hack.frob.com>
46287         * sysdeps/generic/safe-fatal.h: New file.
46288         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
46289         * nptl/forward.c: Include it.
46290         (__pthread_unwind): Use __safe_fatal as default action, rather
46291         than a bogus use of INTERNAL_SYSCALL that could never work.
46293         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
46294         * configure.ac (libc_cv_builtin_trap): New test.
46295         * configure: Regenerated.
46296         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
46297         (ABORT_INSTRUCTION): Define using __builtin_trap.
46299         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
46300         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
46301         * sysdeps/nptl/nptl-signals.h: New file.
46302         * nptl/pthreadP.h: Include <nptl-signals.h>.
46304 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
46306         * sysdeps/s390/s390-64/utf16-utf32-z9.c
46307         (ONE_DIRECTION): Define.
46308         * sysdeps/s390/s390-64/utf8-utf16-z9.c
46309         (ONE_DIRECTION): Define.
46310         * sysdeps/s390/s390-64/utf8-utf32-z9.c
46311         (ONE_DIRECTION): Define.
46313 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
46315         * sysdeps/s390/Makefile: Delete file.
46316         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
46317         * sysdeps/s390/__longjmp.c: Delete file.
46318         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
46319         Remove fields __flags and __reserved.
46320         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
46321         and add versioning.
46322         * sysdeps/s390/rtld-__longjmp.c: Delete file.
46323         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
46324         * sysdeps/s390/rtld-setjmp.S: Likewise.
46325         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
46326         * sysdeps/s390/s390-32/__longjmp.c: ... here.
46327         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
46328         * sysdeps/s390/s390-32/setjmp.S: ... here.
46329         Add versioning.
46330         (__sigsetjmp): Remove setting __flags field.
46331         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
46332         * sysdeps/s390/s390-64/__longjmp.c: ... here.
46333         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
46334         * sysdeps/s390/s390-64/setjmp.S: ... here.
46335         Add versioning.
46336         (__sigsetjmp): Remove setting __flags field.
46337         * sysdeps/s390/setjmp.S: Delete file.
46338         * sysdeps/s390/sigjmp.c: Likewise.
46339         * sysdeps/s390/v1-longjmp.c: Likewise.
46340         * sysdeps/s390/v1-setjmp.h: Likewise.
46341         * sysdeps/s390/v1-sigjmp.c: Likewise.
46342         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
46343         Remove v1-longjmp_chk.
46344         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
46345         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
46346         Include debug/longjmp_chk.c and add versioning.
46347         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
46348         Include nptl/pt-longjmp.c and add versioning.
46349         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
46350         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
46351         Include __longjmp.c.
46352         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
46353         Move to ...
46354         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
46355         (__getcontext): Remove setting __flags field.
46356         Add versioning.
46357         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46358         Don't restore upper high grps.
46359         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
46360         Likewise.
46361         (__swapcontext): Remove setting uc_flags field.
46362         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
46363         Delete file.
46364         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
46365         Include __longjmp.c.
46366         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
46367         Move to ...
46368         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
46369         (__getcontext): Remove setting __flags field.
46370         Add versioning.
46371         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
46372         (__swapcontext): Remove setting uc_flags field.
46373         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
46374         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
46375         Remove fields uc_high_gprs and __reserved.
46376         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
46377         New file with reverted content.
46378         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
46379         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
46380         Regenerated.
46381         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
46382         Regenerated.
46384 2014-07-31  Andreas Schwab  <schwab@suse.de>
46386         * config.h.in (HAVE_IFUNC): Define to 0.
46387         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
46388         definedness.
46390 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
46392         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46393         memmove-avx-unaligned, memcpy-avx-unaligned and
46394         mempcpy-avx-unaligned.
46395         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46396         Add tests for AVX memcpy functions.
46397         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
46398         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
46399         memcpy_chk.
46400         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
46401         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
46402         memmove_chk.
46403         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
46404         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
46405         mempcpy_chk.
46406         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
46407         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
46408         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
46410 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46412         [BZ #17213]
46413         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
46414         powerpc64le.
46416 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
46418         [BZ #16839]
46419         * manual/llio.texi: Add section about open file description locks.
46420         * manual/examples/ofdlocks.c: Example of open file description
46421         lock usage.
46422         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
46423         F_OFD_SETLK, and F_OFD_SETLKW.
46425 2014-07-23  Allan McRae  <allan@archlinux.org>
46427         * po/es.po: Update Spanish translation from translation project.
46429 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
46431         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
46433 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
46435         [BZ #17078]
46436         * sysdeps/arm/dl-machine.h (elf_machine_rela)
46437         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
46438         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
46440 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
46442         [BZ #17088]
46443         * math/fesetenv.c (__fesetenv)
46444         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
46445         * math/feupdateenv.c (__feupdateenv)
46446         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
46448         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
46449         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46450         (__ASSUME_SOCKETCALL): Do not define.
46452         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
46453         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
46454         (__ASSUME_SOCKETCALL): Do not define.
46455         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
46456         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
46457         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46458         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
46459         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46460         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
46461         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46462         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46464         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
46465         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
46466         (__ASSUME_SOCKETCALL): Do not define.
46467         (__ASSUME_IPC64): Define unconditionally.
46468         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
46469         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46470         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
46471         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46472         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
46473         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46474         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
46475         Likewise.
46477         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
46478         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
46479         (__ASSUME_SOCKETCALL): Do not define.
46480         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
46481         (__ASSUME_FUTEX_LOCK_PI): Likewise.
46482         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46483         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46484         (__ASSUME_REQUEUE_PI): Define unconditionally.
46485         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
46486         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
46487         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46488         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
46489         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46490         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46492         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
46493         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
46494         (__ASSUME_SOCKETCALL): Do not define.
46495         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
46496         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46497         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46498         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
46499         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46500         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46502         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
46503         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
46504         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46505         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
46506         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46507         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
46508         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46509         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
46510         (__ASSUME_GETCPU_SYSCALL): Likewise.
46512         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
46513         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
46514         cases for individual architectures.
46515         * sysdeps/gnu/configure: Regenerated.
46516         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
46517         LIBC_SLIBDIR_RTLDDIR.
46518         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
46519         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
46520         LIBC_SLIBDIR_RTLDDIR.
46521         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
46522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
46523         LIBC_SLIBDIR_RTLDDIR.
46524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46525         Regenerated.
46526         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
46527         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
46528         file.
46529         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
46530         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
46531         file.
46532         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
46533         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
46534         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
46535         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
46537         * sysdeps/aarch64/shlib-versions: Move to ...
46538         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
46539         * sysdeps/alpha/shlib-versions: Move to ...
46540         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
46541         * sysdeps/arm/shlib-versions: Move to ...
46542         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
46543         * sysdeps/hppa/shlib-versions: Move all contents except for
46544         libgcc_s entry to ...
46545         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
46546         entry from ...
46547         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
46548         * sysdeps/ia64/shlib-versions: Move to ...
46549         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
46550         entry from ...
46551         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
46552         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
46553         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
46554         * sysdeps/microblaze/shlib-versions: Move to ...
46555         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
46556         * sysdeps/mips/shlib-versions: Move to ...
46557         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
46558         entry from ...
46559         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
46560         * sysdeps/tile/shlib-versions: Move to ...
46561         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
46562         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
46563         from ...
46564         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
46565         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
46566         entry from ...
46567         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
46569 2014-07-17  Will Newton  <will.newton@linaro.org>
46571         * sysdeps/arm/bits/atomic.h
46572         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
46573         (__arch_compare_and_exchange_bool_16_int): Likewise.
46574         (__arch_compare_and_exchange_bool_64_int): Likewise.
46576         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
46577         into an #else block.
46579 2014-07-16  Roland McGrath  <roland@hack.frob.com>
46581         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
46582         just Linux configurations.  Test empirically that the compiler sets
46583         __ARM_EABI__, rather than using the tuple to decide.
46584         * sysdeps/arm/preconfigure: Regenerated.
46585         * sysdeps/unix/sysv/linux/arm/configure: File removed.
46586         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
46587         contents appended ...
46588         * sysdeps/arm/configure.ac: ... here.
46589         * sysdeps/arm/configure: Regenerated.
46591 2014-07-15  Roland McGrath  <roland@hack.frob.com>
46593         * nptl/pthread_kill.c: New file.
46594         * nptl/pthread_sigmask.c: New file.
46595         * nptl/pthread_sigqueue.c: New file.
46597         * sysdeps/nptl/lowlevellock.h: New file.
46598         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
46599         * sysdeps/nptl/lowlevellock-futex.h: New file.
46601         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
46602         Remove dead declarations.
46604 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
46606         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
46607         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
46608         config-cflags-avx2.
46609         * sysdeps/x86_64/configure.ac: Likewise.
46610         * sysdeps/i386/configure: Regenerated.
46611         * sysdeps/x86_64/configure: Likewise.
46612         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46613         memset-avx2 only if config-cflags-avx2 is yes.
46614         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46615         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
46616         defined.
46617         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
46618         only if HAVE_AVX2_SUPPORT is defined.
46619         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46621 2014-07-14  Alan Modra  <amodra@gmail.com>
46623         [BZ #17153]
46624         * elf/elf.h (DT_PPC64_NUM): Correct value.
46625         * NEWS: Add to fixed bug list.
46627 2014-07-13  Jim Meyering  <meyering@fb.com>
46629         [BZ 17150]
46630         regex: don't deref NULL upon heap allocation failure
46631         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
46632         failure in one more place.
46633         To trigger the segfault, configure grep -with-included-regex,
46634         build it, and run these commands:
46635         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
46637 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
46639         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
46641 2014-07-11  Richard Henderson  <rth@redhat.com>
46643         * sysdeps/aarch64/libm-test-ulps: Update.
46645 2014-07-10  Florian Weimer  <fweimer@redhat.com>
46647         [BZ #17135]
46648         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
46649         * nptl/allocatestack.c (__nptl_setxid_error): New function.
46650         (__nptl_setxid): Initialize error member.  Call
46651         __nptl_setxid_error.
46652         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
46653         * nptl/descr.h (struct xid_command): Add error member.
46654         * nptl/tst-setuid3.c: New file.
46655         * nptl/Makefile (tests): Add it.
46657 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46659         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
46660         New define.
46661         (__lll_trylock): Use __lll_base_trylock.
46662         (__lll_cond_trylock): Likewise.
46664 2014-07-10  Roland McGrath  <roland@hack.frob.com>
46666         * nptl/pthread_create.c (start_thread): Use atomic_or and
46667         lll_futex_wake directly rather than lll_robust_dead.
46668         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
46669         (lll_robust_dead): Macro removed.
46670         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
46671         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
46672         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
46673         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
46674         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
46675         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
46676         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
46677         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
46678         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
46679         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
46680         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
46681         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
46682         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
46683         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
46684         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
46686         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
46687         Use atomic_compare_and_exchange_val_acq directly rather than
46688         lll_robust_trylock.
46689         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
46690         (__lll_robust_trylock, lll_robust_trylock): Removed.
46691         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
46692         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
46693         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
46694         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
46695         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
46696         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
46697         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
46698         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
46699         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
46700         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
46701         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
46702         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
46703         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
46704         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
46706 2014-07-02  Florian Weimer  <fweimer@redhat.com>
46708         * manual/locale.texi (Locale Names): New section documenting
46709         locale name syntax.  Adjust menu and node chaining accordingly.
46710         (Choosing Locale): Reference Locale Names, Locale Categories.
46711         Mention setting LC_ALL=C.  Reflect that name syntax is now
46712         documented.
46713         (Locale Categories): New section title.  Reference Locale Names.
46714         LC_ALL is an environment variable, but not a category.
46715         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
46716         description, now in Locale Name.  Reference that section.  Locale
46717         name syntax is now documented.
46719 2014-07-02  Florian Weimer  <fweimer@redhat.com>
46721         [BZ #17137]
46722         * locale/findlocale.c (name_present, valid_locale_name): New
46723         functions.
46724         (_nl_find_locale): Use the loc_name variable to store name
46725         candidates.  Call name_present and valid_locale_name to check and
46726         validate locale names.  Return an error if the locale is invalid.
46728 2014-07-02  Florian Weimer  <fweimer@redhat.com>
46730         * locale/setlocale.c (setlocale): Use strdup for allocating
46731         composite name copy.
46733 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46735         Sync up with gnulib.
46736         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
46737         [!_LIBC && ENABLE_NLS]: Include gettext.h.
46738         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
46739         and _GL_ARG_NONNULL.
46740         [USE_UNLOCKED_IO]: Include unlocked-io.h.
46741         [!_LIBC]: Include code for Windows and Cygwin.
46742         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
46743         Include prototype for int strerror_r.
46744         [!_LIBC] (is_open): New function.
46745         (flush_stdout): New function.
46746         (print_errno_message): Use it.
46747         (error): Likewise.
46748         (error_at_line): Likewise.
46749         (error_tail) Add function attribute macros.  Use
46750         __builtin_expect.
46752         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
46754         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
46756         * io/ftw.c: Include sys/param.h unconditionally.
46758         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
46760         [BZ #17125]
46761         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
46762         libc_freeres_ptr.
46763         (freecache): New function to free CACHE on exit.
46765         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
46766         initialization.
46768 2014-07-09  David S. Miller  <davem@davemloft.net>
46770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46772         * sysdeps/sparc/nptl/internaltypes.h: Delete.
46773         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
46774         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
46775         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
46776         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
46777         * sysdeps/sparc/nptl/sem_init.c: Likewise.
46778         * sysdeps/sparc/nptl/sem_post.c: Likewise.
46779         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
46780         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
46781         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
46782         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
46783         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
46784         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
46786 2014-07-09  Andreas Schwab  <schwab@suse.de>
46788         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
46789         output.
46790         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
46791         (do_test): Likewise.
46793         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46795 2014-07-09  Will Newton  <will.newton@linaro.org>
46797         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
46798         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
46799         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
46800         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
46801         * sysdeps/hppa/start.S (_start): Likewise.
46803 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
46805         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
46807         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
46808         defined.
46810 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46812         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
46813         after checking that it is non-NULL.
46815         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
46817 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46819         * sysdeps/powerpc/memmove.c: Remove file.
46820         * sysdeps/powerpc/powerpc32/power4/memcopy.h
46821         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
46822         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
46823         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
46824         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
46825         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
46826         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
46827         string memmove instead of removed powerpc one.
46829         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
46830         [weak_alias]: Fix compiler warning due trailing data.
46831         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
46832         [weak_alias]: Likewise.
46833         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
46834         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
46836         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46837         (__libc_ifunc_impl_list): Add memmove functions.
46839 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46841         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
46842         Remove code.
46843         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
46844         Likewise.
46845         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
46846         Likewise.
46847         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
46848         Likewise.
46849         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
46850         Likewise.
46851         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
46852         Likewise.
46853         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
46854         Likewise.
46855         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
46856         Likewise.
46857         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
46858         Likewise.
46859         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
46860         Likewise.
46861         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
46862         Likewise.
46863         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
46864         Likewise.
46865         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
46866         Likewise.
46867         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
46868         Likewise.
46869         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
46870         Likewise.
46871         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
46872         Likewise.
46873         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
46874         Likewise.
46876 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46878         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
46879         to avoid alignment traps in non-cacheable memory.
46880         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46882         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
46883         multiarch objects.
46884         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
46885         file: multiarch power7 memmove.
46886         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
46887         multiarch default memmove.
46888         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
46889         multiarch memove for powerpc32/power4.
46891         * string/bcopy.c: Use full path to include memmove.c.
46892         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
46893         multiarch objects.
46894         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
46895         bcopy for powerpc64.
46896         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
46897         bcopy for powerpc64.
46898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
46899         and memmove implementations.
46900         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
46901         optimized multiarch memmove for POWER7/powerpc64.
46902         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
46903         default multiarch memmove for powerpc64.
46904         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
46905         multiarch for powerpc64.
46906         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
46907         for POWER7/powerpc64.
46908         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
46909         memmove for POWER7/powerpc64.
46911         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
46912         glibc default one.
46914         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
46915         __ELF_NATIVE_CLASS equal to 64.
46917 2014-07-07  Roland McGrath  <roland@hack.frob.com>
46919         * sysdeps/nptl/lowlevellock.h: File removed.
46921         * NEWS: NPTL is no longer an add-on!
46922         * nptl/internaltypes.h: Moved ...
46923         * sysdeps/nptl/internaltypes.h: ... here.
46924         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
46925         * sysdeps/nptl/fork.c: Likewise.
46926         * sysdeps/nptl/gai_misc.h: Likewise.
46927         * sysdeps/nptl/librt-cancellation.c: Likewise.
46928         * sysdeps/nptl/jmp-unwind.c: Likewise.
46929         * sysdeps/nptl/setxid.h: Likewise.
46930         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
46931         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
46932         * sysdeps/unix/sysv/linux/arm/Implies: New file.
46933         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
46934         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
46935         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
46936         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
46937         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
46938         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
46939         * sysdeps/unix/sysv/linux/mips/Implies: New file.
46940         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
46941         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
46942         * sysdeps/unix/sysv/linux/sh/Implies: New file.
46943         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
46944         * sysdeps/unix/sysv/linux/tile/Implies: New file.
46945         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
46946         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
46947         * nptl/Makeconfig: Moved ...
46948         * sysdeps/nptl/Makeconfig: ... here.
46949         * nptl/configure: File removed.
46950         * nptl/ANNOUNCE: File removed.
46951         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
46952         * sysdeps/unix/sysv/linux/configure: Regenerated.
46954         * nptl/Makefile (routines): Add libc_pthread_init,
46955         libc_multiple_threads, register-atfork and unregister-atfork.
46956         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
46957         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
46958         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
46959         pthread-pi-defines.sym, structsem.sym.
46960         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
46961         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
46962         [$(subdir) = nptl] (tests): Add tst-setgetname.
46963         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
46964         * sysdeps/unix/sysv/linux/sigaction.c: Just include
46965         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
46966         [!LIBC_SIGACTION]: Remove aliases.
46967         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
46968         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
46969         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
46970         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
46971         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
46972         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
46973         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46974         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46975         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
46976         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
46977         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
46978         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
46979         __libc_allocate_rtsig_private.
46980         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
46981         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
46982         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
46983         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
46984         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
46985         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
46986         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
46987         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
46988         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
46989         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
46990         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
46991         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
46992         * nptl/internaltypes.h: ... here.
46993         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
46994         * sysdeps/nptl/jmp-unwind.c: ... here.
46995         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
46996         * nptl/libc-lowlevellock.c: ... here.
46997         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
46998         * nptl/libc_multiple_threads.c: ... here.
46999         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47000         * nptl/libc_pthread_init.c: ... here.
47001         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47002         * nptl/lowlevelbarrier.sym: ... here.
47003         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47004         * nptl/lowlevelcond.sym: ... here.
47005         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47006         * nptl/lowlevellock.c: ... here.
47007         * nptl/lowlevellock.h: Moved ...
47008         * sysdeps/nptl/lowlevellock.h: ... here.
47009         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47010         * nptl/lowlevelrobustlock.c: ... here.
47011         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47012         * nptl/lowlevelrobustlock.sym: ... here.
47013         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47014         * nptl/lowlevelrwlock.sym: ... here.
47015         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47016         * nptl/pt-fork.c: ... here.
47017         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47018         * nptl/pthread-pi-defines.sym: ... here.
47019         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47020         * nptl/pthread_attr_getaffinity.c: ... here.
47021         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47022         * nptl/pthread_attr_setaffinity.c: ... here.
47023         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47024         * nptl/pthread_mutex_cond_lock.c: ... here.
47025         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47026         Update #include.
47027         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47028         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47029         * nptl/pthread_once.c: ... here, replacing old file.
47030         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47031         * nptl/pthread_yield.c: ... here.
47032         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47033         * nptl/register-atfork.c: ... here.
47034         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47035         * nptl/sem_post.c: ... here.
47036         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47037         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47038         * nptl/sem_timedwait.c: ... here.
47039         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47040         * nptl/sem_trywait.c: ... here.
47041         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47042         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47043         * nptl/sem_wait.c: ... here.
47044         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47045         * nptl/structsem.sym: ... here.
47046         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47047         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47048         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47049         * nptl/unregister-atfork.c: ... here.
47050         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47051         * nptl/unwindbuf.sym: ... here.
47052         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47053         * sysdeps/nptl/fork.c: ... here.
47054         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47055         * sysdeps/nptl/fork.h: ... here.
47056         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47057         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47058         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47059         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47060         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47061         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47062         * sysdeps/unix/sysv/linux/getpid.c: ... here.
47063         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47064         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47065         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47066         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47067         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47068         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47069         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47070         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47071         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47072         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47073         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47074         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47075         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47076         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47077         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47078         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47079         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47080         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47081         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47082         * sysdeps/unix/sysv/linux/raise.c: ... here.
47083         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47084         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47085         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47086         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47087         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47088         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47089         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47090         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47091         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47092         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47093         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47094         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47095         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47096         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47097         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47099 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47101         * sysdeps/generic/memcopy.h: Add comment for
47102         MEMCPY_OK_FOR_FWD_MEMMOVE.
47104 2014-07-04  Will Newton  <will.newton@linaro.org>
47106         * string/memchr.c: Merge from gnulib.
47107         [_LIBC]: Remove conditionals.
47108         (__ptr_t): Remove define.
47109         (LONG_MAX_32_BITS): Likewise.
47110         (LONG_MAX): Likewise.
47111         (MEMCHR): Use ANSI prototype and optimize algorithm.
47113         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
47115 2014-07-03  Roland McGrath  <roland@hack.frob.com>
47117         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
47118         (lll_futex_timed_wait_bitset): Fix syscall argument count.
47120         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
47121         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
47122         in a bare environment with no <stdlib.h> installed.
47123         * sysdeps/nptl/configure: Regenerated.
47125         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
47127         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
47128         AC_EGREP_CPP for kernel header checks, so they only succeed if
47129         including <linux/version.h> actually works right.
47130         * sysdeps/unix/sysv/linux/configure: Regenerated.
47132         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
47133         value so it's not diagnosed as unused.
47135         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
47136         thing) with "ifeq ($(subdir),rt)".
47138 2014-07-03  Richard Henderson  <rth@redhat.com>
47140         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
47141         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
47142         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
47144         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
47145         (math_force_eval): New.
47147         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
47148         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
47150         * sysdeps/alpha/fpu/s_round.c: Remove file.
47151         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
47153         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
47154         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
47155         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
47156         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47157         (_dl_start, print_statistics): Likewise.
47158         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
47159         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47161         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47162         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47163         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47164         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47165         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47166         (HP_SMALL_TIMING_AVAIL): Define.
47167         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47168         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47169         (HP_SMALL_TIMING_AVAIL): Define.
47170         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47171         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47173         * sysdeps/aarch64/hp-timing.h: New file.
47175         * sysdeps/generic/hp-timing.h: Remove dead comment.
47176         * sysdeps/generic/hp-timing-common.h: New file.
47177         * sysdeps/alpha/hp-timing.h: Include it.
47178         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
47179         * sysdeps/i386/i686/hp-timing.h: Likewise.
47180         * sysdeps/ia64/hp-timing.h: Likewise.
47181         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47182         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47183         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47184         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47185         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
47186         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
47187         (hp_timing_t): New.
47189         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
47190         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
47191         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
47192         * elf/rtld.c (_dl_start_final): Likewise.
47193         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
47194         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47195         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47196         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47197         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47198         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47199         (HP_TIMING_DIFF_INIT): Remove.
47200         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47201         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47202         (HP_TIMING_DIFF_INIT): Remove.
47203         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47204         * sysdeps/i386/i686/hp-timing.c: Remove file.
47205         * sysdeps/x86_64/hp-timing.c: Remove file.
47206         * sysdeps/ia64/hp-timing.c: Remove file.
47207         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
47208         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
47209         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
47210         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
47212         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
47213         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
47214         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
47215         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47216         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47217         (HP_TIMING_ACCUM): Remove.
47218         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47219         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
47220         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47222         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
47223         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
47224         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
47225         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
47226         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
47227         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47228         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
47229         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47231         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
47233 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
47235         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
47237 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47239         Sync up with gettext.
47240         * intl/loadmsgcat.c: Define O_BINARY if not defined.
47241         [_MSC_VER]: Include malloc.h
47242         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
47243         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
47244         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
47245         TEMP_FAILURE_RETRY.  Cast return of alloca.
47246         [!_LIBC] Call gl_rwlock_init.
47247         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
47249 2014-07-02  Roland McGrath  <roland@hack.frob.com>
47251         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
47252         before checking its value.
47254 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47256         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
47258         * debug/memcpy_chk.c: Don't include pagecopy.h.
47259         * debug/mempcpy_chk.c: Likewise.
47260         * string/memcpy.c: Likewise.
47261         * string/memmove.c: Likewise.
47262         * sysdeps/powerpc/memmove.c: Likewise.
47263         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
47264         definition of PAGE_COPY_FWD_MAYBE here...
47265         * sysdeps/generic/pagecopy.h: ... from here.
47266         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
47268 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47269             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47271         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
47272         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
47273         optimizations.
47274         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47275         (__libc_ifunc_impl_list): Likewise.
47276         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
47277         multiarch strcat for PPC64.
47278         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
47279         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
47281 2014-07-02  Roland McGrath  <roland@hack.frob.com>
47283         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
47285 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47287         * intl/loadmsgcat.c: Remove declaration of
47288         get_sysdep_segment_value.
47289         (get_sysdep_segment_value): Use ISO C style.
47290         (_nl_load_domain): Use ISO C style.  Get rid of redundant
47291         semicolon.  Fix typo and formatting in comment.
47292         (_nl_unload_domain): Use ISO C style.
47294         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
47296 2014-07-02  Will Newton  <will.newton@linaro.org>
47298         * malloc/obstack.c: Merge from gnulib master.
47299         [HAVE_CONFIG_H]: Remove conditional code.
47300         [!_LIBC]: Include config.h.
47301         [!ELIDE_CODE]: Don't include inttypes.h, include
47302         stdint.h unconditionally.
47303         (print_and_abort): Mark as _Noreturn.
47304         (_obstack_allocated_p): Mark as __attribute_pure__.
47305         (obstack_free): Rename to __obstack_free.
47306         [!__attribute__]: Remove conditional code.
47307         * malloc/obstack.h: Merge from gnulib master.
47308         [__cplusplus]: Move conditional down.
47309         [!__attribute_pure__]: Define __attribute_pure__ here
47310         if it is not already defined.
47311         (_obstack_memory_used): Mark as __attribute_pure__.
47312         [!__obstack_free]: Define as obstack_free.
47313         [__GNUC__]: Remove check for ancient NeXT gcc.
47315 2014-07-02  Will Newton  <will.newton@linaro.org>
47316             Paul Eggert  <eggert@cs.ucla.edu>
47318         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
47320 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47322         * resolv/gethnamaddr.c: Add comment warning that the file is
47323         not maintained.
47325 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
47327         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
47328         entries.
47330         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
47331         entry for aio_cancel and aio_cancel64.
47332         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
47333         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
47334         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
47335         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
47336         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
47337         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
47338         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
47339         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
47340         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
47341         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
47342         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
47343         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
47344         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
47346 2014-07-01  Roland McGrath  <roland@hack.frob.com>
47348         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
47349         * nptl/pthread_mutex_lock.c: Likewise.
47350         * nptl/pthread_mutex_timedlock.c: Likewise.
47351         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
47353 2014-07-01  Richard henderson  <rth@redhat.com>
47355         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
47356         (__isnan, __isnanl): Remove.
47357         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
47359         * sysdeps/alpha/fpu/libm-test-ulps: Update.
47361 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
47363         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47365 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
47367         * resolv/nss_dns/dns-host.c (getanswer_r)
47368         [MULTI_PTRS_ARE_ALIASES]: Remove code.
47370 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
47372         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47373         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
47374         undefine.
47375         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
47376         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
47378 2014-07-01  Roland McGrath <roland@hack.frob.com>
47380         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
47381         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
47383         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
47384         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
47386         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
47387         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
47388         ... here.
47389         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
47390         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
47392         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
47393         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
47394         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
47395         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
47397         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
47398         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
47399         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
47400         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
47401         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
47402         Moved ...
47403         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
47404         ... here.
47405         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
47406         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
47407         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
47408         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
47409         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
47410         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
47411         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
47412         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
47413         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
47414         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
47415         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
47416         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
47417         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
47418         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
47419         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
47420         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
47421         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
47422         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
47423         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
47424         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
47425         ... here.
47426         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
47427         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
47428         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
47429         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
47430         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
47431         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
47432         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
47433         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
47435 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
47437         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
47438         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
47439         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
47440         Add sysdep.
47442 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47446 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
47448         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
47449         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
47451         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47453         * sysdeps/arm/libm-test-ulps: Regenerated.
47455 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
47456             Roland McGrath <roland@hack.frob.com>
47458         * test-skeleton.c (signal_handler): Kill the whole process group
47459         before killing the child individually.
47460         (main): Report any failure on `setpgid'.
47462 2014-06-30  Roland McGrath  <roland@hack.frob.com>
47464         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
47465         from _TLS_H to _ARM_NPTL_TLS_H.
47466         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
47467         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
47469 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
47471         [BZ #16539]
47472         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
47473         (__expm1l): Return argument unchanged when small but not
47474         subnormal.
47476         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
47477         include macro name.
47478         (_FP_UNPACK_RAW_1_P): Likewise.
47479         (_FP_PACK_RAW_1): Likewise.
47480         (_FP_PACK_RAW_1_P): Likewise.
47481         (_FP_MUL_MEAT_1_wide): Likewise.
47482         (_FP_MUL_MEAT_DW_1_hard): Likewise.
47483         (_FP_MUL_MEAT_1_hard): Likewise.
47484         (_FP_DIV_MEAT_1_imm): Likewise.
47485         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
47486         (_FP_DIV_MEAT_1_udiv): Likewise.
47487         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
47488         (_FP_UNPACK_RAW_2): Likewise.
47489         (_FP_UNPACK_RAW_2_P): Likewise.
47490         (_FP_PACK_RAW_2): Likewise.
47491         (_FP_PACK_RAW_2_P): Likewise.
47492         (_FP_MUL_MEAT_DW_2_wide): Likewise.
47493         (_FP_MUL_MEAT_2_wide): Likewise.
47494         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
47495         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
47496         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
47497         (_FP_MUL_MEAT_2_gmp): Likewise.
47498         (_FP_DIV_MEAT_2_udiv): Likewise.
47499         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
47500         (_FP_FRAC_SRL_4): Likewise.
47501         (_FP_FRAC_SRST_4): Likewise.
47502         (_FP_FRAC_SRS_4): Likewise.
47503         (_FP_UNPACK_RAW_4): Likewise.
47504         (_FP_UNPACK_RAW_4_P): Likewise.
47505         (_FP_PACK_RAW_4): Likewise.
47506         (_FP_PACK_RAW_4_P): Likewise.
47507         (_FP_MUL_MEAT_DW_4_wide): Likewise.
47508         (_FP_MUL_MEAT_4_wide): Likewise.
47509         (_FP_MUL_MEAT_4_gmp): Likewise.
47510         (umul_ppppmnnn): Likewise.
47511         (_FP_DIV_MEAT_4_udiv): Likewise.
47512         (__FP_FRAC_ADD_4): Likewise.
47513         (__FP_FRAC_SUB_3): Likewise.
47514         (__FP_FRAC_SUB_4): Likewise.
47515         (__FP_FRAC_DEC_3): Likewise.
47516         (__FP_FRAC_DEC_4): Likewise.
47517         (__FP_FRAC_ADDI_4): Likewise.
47518         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
47519         (_FP_FRAC_SRL_8): Likewise.
47520         (_FP_FRAC_SRS_8): Likewise.
47522         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
47523         include macro name.
47524         (FP_UNPACK_RAW_EP): Likewise.
47525         (FP_PACK_RAW_E): Likewise.
47526         (FP_PACK_RAW_EP): Likewise.
47527         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
47528         (_FP_ISSIGNAN): Likewise.
47529         (_FP_ADD_INTERNAL): Likewise.
47530         (_FP_FMA): Likewise.
47531         (_FP_CMP): Likewise.
47532         (_FP_SQRT): Likewise.
47533         (_FP_TO_INT): Likewise.
47534         (_FP_FROM_INT): Likewise.
47535         (FP_EXTEND): Likewise.
47536         (_FP_DIV_MEAT_N_loop): Likewise.
47538 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
47540         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
47541         throughout.
47543 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
47545         [BZ #17097]
47546         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
47547         result with correct sign in case of exponents that produce
47548         overflow except for X very close to 1.
47550 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
47552         mktime: merge #if/#ifdef usage from glibc
47553         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
47554         as that works with both Glibc's and Gnulib's style.
47555         See thread starting at Siddhesh Poyarekar's bug report at:
47556         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
47558 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47560         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
47561         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
47562         * sysdeps/tile/tilegx/memmove.c: Remove file.
47564 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
47566         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
47567         abi-name definition.
47568         * scripts/soversions.awk: Do not handle or generate ABI lines.
47569         * shlib-versions: Remove ABI entries.
47570         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
47571         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
47573 2014-06-27  Roland McGrath  <roland@hack.frob.com>
47575         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
47576         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
47577         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
47578         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
47579         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
47580         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
47581         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
47582         Moved ...
47583         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
47584         ... here.
47585         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
47586         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
47587         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
47588         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
47589         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
47590         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
47591         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
47592         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
47593         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
47594         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
47595         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
47596         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
47597         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
47598         Moved ...
47599         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
47600         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
47601         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
47602         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
47603         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
47604         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
47605         Moved ...
47606         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
47607         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
47608         Moved ...
47609         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
47610         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
47611         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
47612         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
47613         Moved ...
47614         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
47615         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
47616         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
47617         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
47618         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
47619         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
47620         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
47621         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
47622         Moved ...
47623         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
47624         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
47625         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
47626         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
47627         Moved ...
47628         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
47629         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
47630         Moved ...
47631         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
47632         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
47633         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
47634         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
47635         Moved ...
47636         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
47637         ... here.
47638         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
47639         Identical file removed.
47640         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
47641         Moved ...
47642         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
47643         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
47644         Identical file removed.
47645         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
47646         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
47647         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
47648         Moved ...
47649         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
47650         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
47651         Identical file removed.
47652         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
47653         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
47654         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
47655         Identical file removed.
47656         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
47657         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
47658         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
47659         Identical file removed.
47660         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
47661         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
47662         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
47663         Identical file removed.
47664         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
47665         Moved ...
47666         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
47667         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
47668         Identical file removed.
47669         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
47670         Moved ...
47671         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
47672         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
47673         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
47674         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
47675         Identical file removed.
47676         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
47677         Moved ...
47678         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
47679         ... here.
47680         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
47681         Identical file removed.
47682         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
47683         Moved ...
47684         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
47685         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
47686         Identical file removed.
47687         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
47688         Moved ...
47689         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
47690         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
47691         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
47692         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
47693         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
47694         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
47695         Moved ...
47696         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
47697         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
47698         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
47700         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
47701         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
47702         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
47703         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
47704         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
47706 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
47708         [BZ #17092]
47709         * nscd/nscd.c (monitor_child): Return exit status of child
47710         instead of return value from wait syscall.
47712 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
47714         * configure.ac (libc_commonpagesize): Remove variable.
47715         (libc_relro_required): Likewise.
47716         (libc_cv_z_relro): Remove configure test.
47717         * configure: Regenerated.
47718         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
47719         variable.
47720         (libc_relro_required): Likewise.
47721         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
47722         (libc_relro_required): Likewise.
47723         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
47724         (libc_relro_required): Likewise.
47725         * sysdeps/arm/preconfigure: Regenerated.
47726         * sysdeps/ia64/preconfigure: Remove file.
47727         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
47728         variable.
47729         (libc_relro_required): Likewise.
47731         [BZ #16561]
47732         [BZ #16562]
47733         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
47734         (__ieee754_yn): Set FE_TONEAREST mode internally and then
47735         recompute overflowing results in original rounding mode.
47736         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
47737         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
47738         recompute overflowing results in original rounding mode.
47739         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
47740         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47741         recompute overflowing results in original rounding mode.
47742         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
47743         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47744         recompute overflowing results in original rounding mode.
47745         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
47746         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47747         recompute overflowing results in original rounding mode.
47748         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
47749         (libc_feholdsetround_ctx): New macro.
47750         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
47751         * sysdeps/i386/fpu/libm-test-ulps: Update.
47752         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
47754 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
47756         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
47757         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
47758         corresponding .cpsetup call.
47760 2014-06-26  Roland McGrath  <roland@hack.frob.com>
47762         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
47763         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
47764         * sysdeps/arm/Makefile [$(subdir) = csu]
47765         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
47766         (static-only-routines): Add aeabi_read_tp here.
47767         (shared-only-routines): Add libc-aeabi_read_tp here.
47768         (CFLAGS-libc-start.c): Add -fexceptions here.
47769         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
47770         (sysdep_routines, static-only-routines, shared-only-routines):
47771         Don't add to these here.
47772         (CFLAGS-libc-start.c): Likewise.
47774         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
47775         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
47776         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
47777         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
47778         * sysdeps/arm/Makefile [$(subdir) = rt]
47779         (librt-sysdep_routines, librt-shared-only-routines):
47780         Append rt-aeabi_unwind_cpp_pr1 here.
47781         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
47782         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
47783         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
47784         (libpthread-sysdep_routines, libpthread-shared-only-routines):
47785         Append nptl-aeabi_unwind_cpp_pr1 here.
47786         (tests): Filter out tst-cleanupx4 here.
47787         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
47788         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
47789         Don't do those here.
47791 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
47793         * scripts/list-sources.sh: Do not handle ports specially.
47795 2014-06-26  Roland McGrath  <roland@hack.frob.com>
47797         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
47798         * sysdeps/arm/feupdateenv.c: Likewise.
47800         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
47802 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
47804         * manual/texinfo.tex: Update to version 2014-05-05.10 with
47805         trailing whitespace removed.
47806         * scripts/config.guess: Update to version 2014-03-23.
47807         * scripts/config.sub: Update to version 2014-05-01
47808         * scripts/install-sh: Update to version 2013-12-25.23.
47809         * scripts/move-if-change: Update from gnulib.
47811 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47813         * debug/memmove_chk.c: Remove pagecopy.h include.
47815 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
47817         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
47818         identical to gnulib mktime.
47820 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
47822         * configure.ac: Do not test for machine being rs6000.  Do not test
47823         for powerpc*-*soft.
47824         * configure: Regenerated.
47826         [BZ #11505]
47827         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
47828         test.
47829         * configure: Regenerated.
47830         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
47831         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
47832         Remove configure test.
47833         * sysdeps/arm/configure: Regenerated.
47834         * sysdeps/nptl/configure.ac: Do not check
47835         libc_cv_asm_cfi_directives.
47836         * sysdeps/nptl/configure: Regenerated.
47837         * sysdeps/x86_64/nptl/configure.ac: Remove file.
47838         * sysdeps/x86_64/nptl/configure: Remove generated file.
47839         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
47840         unconditional.
47841         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
47843 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47845         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
47846         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
47847         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
47848         it is defined.
47850         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
47851         instead of whether it is defined.
47852         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
47853         * sysdeps/hppa/dl-machine.h: Likewise.
47854         * sysdeps/ia64/dl-machine.h: Likewise.
47855         * sysdeps/m68k/dl-machine.h: Likewise.
47856         * sysdeps/microblaze/dl-machine.h: Likewise.
47857         * sysdeps/mips/dl-machine.: Likewise.
47858         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47859         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47860         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47861         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47862         * sysdeps/sh/dl-machine.h: Likewise.
47863         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47864         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47865         * sysdeps/tile/dl-machine.h: Likewise.
47866         * sysdeps/x86_64/dl-machine.h: Likewise.
47868         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
47869         code.
47870         (verify_persistent_db): Likewise.
47872 2014-06-26  Roland McGrath  <roland@hack.frob.com>
47874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
47875         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
47876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
47877         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
47878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47879         Moved ...
47880         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
47881         ... here.
47882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
47883         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
47884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
47885         Identical file removed.
47886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
47887         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
47888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
47889         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
47890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
47891         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
47892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
47893         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
47894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
47895         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
47896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47897         Moved ...
47898         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
47899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
47900         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
47901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
47902         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
47903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47904         Moved ...
47905         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
47906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
47907         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
47908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
47909         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
47910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47911         Identical file removed.
47912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
47913         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
47914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
47915         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
47916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47917         Moved ...
47918         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
47919         ... here.
47920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
47921         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
47922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
47923         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
47924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
47925         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
47926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
47927         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
47928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
47929         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
47930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47931         Moved ...
47932         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
47933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
47934         Moved ...
47935         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
47936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
47937         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
47938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47939         Moved ...
47940         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
47941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
47942         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
47944         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
47945         folded into ...
47946         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
47947         * sysdeps/unix/sysv/linux/s390/Versions
47948         (libpthread: GLIBC_2.19): New version set.
47949         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
47950         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
47951         (librt: GLIBC_2.3.3): New version set.
47952         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
47953         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
47954         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
47955         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
47956         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
47957         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
47958         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
47959         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
47960         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
47961         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
47962         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
47963         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
47964         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
47965         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
47966         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
47967         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
47968         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
47969         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
47970         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
47971         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
47972         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
47973         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
47974         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
47975         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
47976         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
47977         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
47978         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
47979         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
47980         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
47981         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
47982         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
47983         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
47984         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
47985         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
47986         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
47987         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
47988         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
47989         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
47990         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
47991         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
47992         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
47993         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
47994         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
47995         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
47996         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
47998         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
47999         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48000         (__libc_vfork): Define the function under this name.
48001         [!NOT_IN_libc] (__vfork): Make this an alias.
48002         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48003         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48004         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48005         (__libc_vfork): Define the function under this name.
48006         [!NOT_IN_libc] (__vfork): Make this an alias.
48007         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48008         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48009         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48010         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48011         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48012         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48014         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48015         code that was previously under [RESET_PID].
48016         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48017         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48018         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48020         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48021         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48022         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48023         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48024         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48025         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48026         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48027         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48028         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48029         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48030         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48031         Moved ...
48032         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48033         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48034         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48035         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48036         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48037         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48038         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48039         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48040         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48041         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48042         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48043         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48044         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48045         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48046         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48047         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48048         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48049         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48050         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48051         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48052         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48053         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48054         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48055         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48056         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48057         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48058         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48059         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48060         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48062 2014-06-25  Roland McGrath  <roland@hack.frob.com>
48064         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48065         that was previously under [RESET_PID].
48066         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48068 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
48070         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48071         not undefine and redefine.
48072         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48073         [O_CLOEXEC]: Make code unconditional.
48074         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48075         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48076         <kernel-features.h>.
48077         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48078         conditional variable definition.
48079         (shm_open) [O_CLOEXEC]: Make code unconditional.
48080         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48081         code.
48083         * configure.ac (USE_REGPARMS): Don't define here.
48084         * configure: Regenerated.
48085         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48086         * sysdeps/i386/configure: Regenerated.
48088         * nptl/createthread.c: Don't include kernel-features.h.
48089         * nptl/pthread_cancel.c: Likewise.
48090         * nptl/pthread_condattr_setclock.c: Likewise.
48091         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48092         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48093         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48094         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48095         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48096         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48097         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48098         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48099         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
48100         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
48101         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
48102         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
48103         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
48104         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
48105         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
48106         * nscd/gai.c: Likewise.
48107         * nss/nss_db/db-open.c: Likewise.
48108         * sysdeps/generic/ldsodefs.h: Likewise.
48109         * sysdeps/sh/nptl/tls.h: Likewise.
48110         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
48111         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
48112         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
48113         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
48114         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48115         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
48116         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
48117         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48118         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48119         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
48120         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
48121         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48122         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
48123         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
48124         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
48125         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
48126         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
48127         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48128         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
48129         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
48130         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
48131         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
48132         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48133         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
48134         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48135         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
48136         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
48137         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
48138         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
48139         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
48140         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
48141         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
48142         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
48143         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48144         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48145         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
48146         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48147         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
48148         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
48149         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
48150         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48151         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
48152         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
48153         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48154         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
48155         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
48156         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
48157         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
48158         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
48159         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
48160         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
48161         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
48162         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
48163         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
48164         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
48165         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48166         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
48167         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
48168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
48170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
48171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
48172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
48173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
48174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
48175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
48176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
48179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
48180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
48181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
48182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
48188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
48189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
48190         * sysdeps/unix/sysv/linux/pread.c: Likewise.
48191         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
48192         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
48193         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
48194         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
48195         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
48196         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
48197         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
48198         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
48199         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
48200         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
48201         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
48202         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
48203         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
48204         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
48205         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
48206         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48207         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
48208         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
48209         * sysdeps/unix/sysv/linux/system.c: Likewise.
48210         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
48211         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
48212         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48213         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48214         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48215         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
48216         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48218         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
48219         * configure: Regenerated.
48220         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
48222         * configure.ac (base_machine): Do not set specially for particular
48223         machines here.
48224         * configure: Regenerated.
48225         * sysdeps/powerpc/preconfigure: Move machine and base_machine
48226         settings from configure.ac.
48227         * sysdeps/i386/preconfigure: New file.
48228         * sysdeps/s390/preconfigure: Likewise.
48229         * sysdeps/sh/preconfigure: Likewise.
48230         * sysdeps/sparc/preconfigure: Likewise.
48232 2014-06-25  Roland McGrath  <roland@hack.frob.com>
48234         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
48235         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
48236         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
48237         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
48238         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
48239         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
48240         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
48241         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
48242         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
48243         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
48244         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
48245         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
48246         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
48247         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
48248         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
48249         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
48250         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
48251         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
48252         * sysdeps/sparc/sparc64/Makefile: ... appended here.
48254         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
48255         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
48256         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
48257         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
48258         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
48259         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
48260         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
48261         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
48262         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
48263         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
48264         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
48265         * sysdeps/sparc/sparc32/sem_post.c: ... here.
48266         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
48267         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
48268         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
48269         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
48270         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
48271         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
48272         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
48273         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
48274         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
48275         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
48276         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
48277         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
48278         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
48279         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
48280         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
48281         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
48282         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
48283         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
48284         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
48285         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
48286         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
48287         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
48288         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
48289         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
48290         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
48291         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
48293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
48294         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
48295         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
48296         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
48297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48298         Moved ...
48299         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
48300         ... here.
48301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
48302         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
48303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
48304         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
48305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
48306         Moved ...
48307         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
48308         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
48309         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
48310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
48311         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
48312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
48313         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
48314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48315         Moved ...
48316         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
48317         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48318         Moved ...
48319         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
48320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
48321         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
48322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48323         Moved ...
48324         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
48325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
48326         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
48327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
48328         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
48329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
48330         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
48331         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
48332         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
48333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48334         Moved ...
48335         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
48336         ... here.
48337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
48338         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
48339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
48340         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
48341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
48342         Moved ...
48343         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
48344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
48345         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
48346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
48347         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
48348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
48349         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
48350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48351         Moved ...
48352         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
48353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48354         Moved ...
48355         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
48356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
48357         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
48358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48359         Moved ...
48360         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
48361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
48362         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
48363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
48364         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
48366 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
48368         * timezone/checktab.awk: Update from tzcode 2014e.
48369         * timezone/private.h: Likewise.
48370         * timezone/tzfile.h: Likewise.
48371         * timezone/zdump.c: Likewise.
48372         * timezone/zic.c: Likewise.
48374         * sysdeps/unix/sysv/linux/kernel-features.h
48375         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
48376         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
48377         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
48378         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48379         Remove conditional code.
48381 2014-06-25  Will Newton  <will.newton@linaro.org>
48383         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
48384         (_dl_arm_cap_flags): Add HWCAP2 values.
48385         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
48386         (_DL_HWCAP_COUNT): Increase to 37.
48387         (_DL_HWCAP_LAST): New define.
48388         (_DL_HWCAP2_LAST): New define.
48389         (_dl_procinfo): Add support for printing
48390         AT_HWCAP2 entries.
48391         (_dl_string_hwcap): Use _dl_hwcap_string.
48393 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48397 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
48399         * README: Do not mention ports directory.
48401         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
48402         Remove macro.
48403         * sysdeps/unix/sysv/linux/futimes.c: Do not include
48404         <kernel-features.h>.
48405         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
48406         conditional variable definition.
48407         (__futimes): Update comment.
48408         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
48409         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
48411         [BZ #16560]
48412         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
48413         arguments close to 0.
48414         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
48415         Likewise.
48416         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
48417         Likewise.
48418         * math/auto-libm-test-in: Add more tests of exp10.
48419         * math/auto-libm-test-out: Regenerated.
48420         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48422         * sysdeps/unix/sysv/linux/kernel-features.h
48423         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
48424         * sysdeps/unix/sysv/linux/readv.c: Do not include
48425         <kernel-features.h>.
48426         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48427         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48428         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48429         unconditional.
48430         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48431         conditional code.
48432         * sysdeps/unix/sysv/linux/writev.c: Do not include
48433         <kernel-features.h>.
48434         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48435         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48436         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48437         unconditional.
48438         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48439         conditional code.
48441 2014-06-25  Will Newton  <will.newton@linaro.org>
48443         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
48444         comment changes throughout the file.  Remove checks
48445         for HAVE_*_H definitions that are not required.
48446         (__gen_tempname): Call abort if an unknown kind value is
48447         passed.
48449 2014-06-25  Andreas Schwab  <schwab@suse.de>
48451         [BZ #17086]
48452         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
48453         scalbln, scalblnf, scalblnl in libc.
48455 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48457         [BZ #17086]
48458         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
48459         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
48460         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
48462 2014-06-24  Roland McGrath  <roland@hack.frob.com>
48464         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
48465         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
48466         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
48467         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
48468         Update #include.
48469         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
48470         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
48471         Update #include.
48472         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
48473         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
48474         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
48475         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
48476         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
48477         * sysdeps/x86/bits/pthreadtypes.h: ... here.
48478         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
48479         * sysdeps/x86/bits/semaphore.h: ... here.
48480         * sysdeps/x86/nptl/elide.h: Moved ...
48481         * sysdeps/x86/elide.h: ... here.
48482         * sysdeps/x86_64/nptl/Implies: File removed.
48483         * sysdeps/i386/nptl/Implies: File removed.
48485 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
48487         [BZ #16539]
48488         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
48489         return the argument for normal arguments with exponent below -64.
48490         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48491         Likewise.
48492         * math/auto-libm-test-in: Add another test of expm1.
48493         * math/auto-libm-test-out: Regenerated.
48495         [BZ #16287]
48496         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
48497         calling __erfcl for arguments at least 16.
48498         * math/auto-libm-test-in: Add more tests of erf.
48499         * math/auto-libm-test-out: Regenerated.
48501         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
48502         individual architectures.
48503         * sysdeps/unix/sysv/linux/configure: Regenerated.
48504         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
48505         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
48506         * sysdeps/unix/sysv/linux/powerpc/configure.ac
48507         (ldd_rewrite_script): Define variable.
48508         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
48509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
48510         file.
48511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
48512         generated file.
48513         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
48514         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
48515         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
48516         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
48517         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
48518         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
48519         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
48520         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
48522 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48524         [BZ #17084]
48525         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
48526         Rename member __data.d to __data.__elision_data.
48528 2014-06-24  Wilco  <wdijkstr@arm.com>
48530         * NEWS: Add 16918 to fixed bug list.
48532 2014-06-24  Wilco  <wdijkstr@arm.com>
48534         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
48536 2014-06-24  Wilco  <wdijkstr@arm.com>
48538         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
48539         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
48540         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
48541         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
48542         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
48543         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
48544         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
48545         Use _FPU_MASK_RM.
48547 2014-06-24  Wilco  <wdijkstr@arm.com>
48549         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
48551 2014-06-24  Wilco  <wdijkstr@arm.com>
48553         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
48554         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
48555         * sysdeps/arm/fesetround.c (fesetround): Remove space.
48556         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
48558 2014-06-24  Wilco  <wdijkstr@arm.com>
48560         [BZ #16918]
48561         * sysdeps/arm/feupdateenv.c (feupdateenv):
48562         Rewrite to reduce FPSCR accesses and fix return value.
48564 2014-06-24  Wilco  <wdijkstr@arm.com>
48566         * sysdeps/arm/fclrexcpt.c (feclearexcept):
48567         Optimize to avoid unnecessary FPSCR writes.
48568         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
48569         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
48570         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
48571         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
48573 2014-06-24  Wilco  <wdijkstr@arm.com>
48575         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
48576         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
48577         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
48578         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
48579         Call libc_fetestexcept_vfp.
48580         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
48581         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
48582         __SOFTFP__ ifdef so that they can be built for softfp.
48584 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48586         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
48587         argument type signed char.
48589         * Makerules (check-abi): Dump diff of symlist if the test
48590         fails.
48592 2014-06-23  Roland McGrath  <roland@hack.frob.com>
48594         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
48595         using abort.
48597         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
48598         Remove unused variable ST.
48600 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
48602         [BZ #16354]
48603         [BZ #17061]
48604         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
48605         small arguments before calling __expm1.
48606         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
48607         small arguments before calling __expm1f.
48608         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
48609         small arguments before calling __expm1l.
48610         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
48611         Likewise.
48612         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
48613         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
48614         spurious underflow for some cosh tests.
48615         * math/auto-libm-test-out: Regenerated.
48616         * sysdeps/i386/fpu/libm-test-ulps: Update.
48618         [BZ #17050]
48619         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
48620         (__ieee754_y1): Set errno if return value overflows.
48621         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
48622         (__ieee754_y1f): Set errno if return value overflows.
48623         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
48624         (__ieee754_y1l): Set errno if return value overflows.
48625         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
48626         (__ieee754_y1l): Set errno if return value overflows.
48627         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
48628         * math/auto-libm-test-out: Regenerated.
48630         * math/gen-auto-libm-tests.c: Document use of
48631         ignore-zero-inf-sign.
48632         (input_flag_type): Add value flag_ignore_zero_inf_sign.
48633         (input_flags): Add ignore-zero-inf-sign.
48634         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
48635         * math/gen-libm-test.pl (generate_testfile): Handle
48636         ignore-zero-inf-sign.
48637         * math/auto-libm-test-in: Mark some cpow tests with
48638         ignore-zero-inf-sign and some with xfail-rounding.
48639         * math/auto-libm-test-out: Regenerated.
48640         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
48641         * sysdeps/i386/fpu/libm-test-ulps: Update.
48642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48644         [BZ #16315]
48645         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
48646         overflowing or underflowing operations take place with sign of
48647         result.
48648         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48649         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48650         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
48651         (__ieee754_pow): Recompute overflowing and underflowing results in
48652         original rounding mode.
48653         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
48654         (__powl_helper): Allow negative argument X and scale negated value
48655         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
48656         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
48657         overflowing or underflowing operations take place with sign of
48658         result.
48659         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
48660         Include <math.h>.
48661         * math/auto-libm-test-in: Add more tests of pow.
48662         * math/auto-libm-test-out: Regenerated.
48663         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
48664         (pow_tonearest_test_data): Remove.
48665         (pow_test_tonearest): Likewise.
48666         (pow_towardzero_test_data): Likewise.
48667         (pow_test_towardzero): Likewise.
48668         (pow_downward_test_data): Likewise.
48669         (pow_test_downward): Likewise.
48670         (pow_upward_test_data): Likewise.
48671         (pow_test_upward): Likewise.
48672         (main): Don't call removed functions.
48673         * sysdeps/i386/fpu/libm-test-ulps: Update.
48674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48676 2014-06-23  Roland McGrath  <roland@hack.frob.com>
48678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
48679         Moved ...
48680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
48681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48682         Moved ...
48683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
48684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48685         Moved ...
48686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
48687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48688         Moved ...
48689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
48690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48691         File removed.
48692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48693         File removed.
48694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
48695         File removed.
48696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
48697         File removed.
48698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
48699         File removed.
48700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
48701         File removed.
48702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
48703         File removed.
48704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48705         File removed.
48706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
48707         File removed.
48708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48709         File removed.
48710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
48711         File removed.
48712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
48713         File removed.
48714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
48715         Moved ...
48716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
48717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
48718         Moved ...
48719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
48720         ... here.
48721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
48722         Moved ...
48723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
48724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
48725         Moved ...
48726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
48727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
48728         Moved ...
48729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
48730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
48731         Moved ...
48732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
48733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
48734         Moved ...
48735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
48736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
48737         Moved ...
48738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
48739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
48740         Moved ...
48741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
48742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
48743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
48744         ... here.
48745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
48746         Moved ...
48747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
48748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
48749         Moved ...
48750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
48751         ... here.
48752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
48753         Moved ...
48754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
48755         ... here.
48756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48757         Moved ...
48758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
48759         ... here.
48760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48761         Moved ...
48762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
48763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
48764         Moved ...
48765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
48766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
48767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
48768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
48769         Moved ...
48770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
48771         ... here.
48772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48773         Moved ...
48774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
48775         ... here.
48776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
48777         Moved ...
48778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
48779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48780         Moved ...
48781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
48782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
48783         Moved ...
48784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
48785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48786         Moved ...
48787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
48788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
48789         Moved ...
48790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
48791         ... here.
48792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48793         Moved ...
48794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
48795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
48796         Moved ...
48797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
48798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48799         Moved ...
48800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
48801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
48802         Moved ...
48803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
48804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
48805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
48806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
48807         Moved ...
48808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
48809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48810         Moved ...
48811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
48812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
48813         Moved ...
48814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
48815         ... here.
48816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48817         Moved ...
48818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
48819         ... here.
48820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
48821         Moved ...
48822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
48823         ... here.
48824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48825         Moved ...
48826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
48827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
48828         Moved ...
48829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
48830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48831         Moved ...
48832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
48833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
48834         Moved ...
48835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
48836         ... here.
48837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48838         Moved ...
48839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
48840         ... here.
48841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
48842         Moved ...
48843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
48844         ... here.
48845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48846         Moved ...
48847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
48848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48849         Moved ...
48850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
48852 2014-06-23  Will Newton  <will.newton@linaro.org>
48853             Wilco  <wdijkstr@arm.com>
48855         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
48856         implementation.  Include get-rounding-mode.h.
48857         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
48858         [!libc_feholdsetround_noex_ctx]: Define
48859         libc_feholdsetround_noex_ctx.
48860         [!libc_feholdsetround_noexf_ctx]: Define
48861         libc_feholdsetround_noexf_ctx.
48862         [!libc_feholdsetround_noexl_ctx]: Define
48863         libc_feholdsetround_noexl_ctx.
48864         (libc_feholdsetround_ctx): New function.
48865         (libc_feresetround_ctx): New function.
48866         (libc_feholdsetround_noex_ctx): New function.
48867         (libc_feresetround_noex_ctx): New function.
48869 2014-06-23  Roland McGrath  <roland@hack.frob.com>
48871         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
48872         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
48873         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
48874         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
48875         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
48876         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
48878         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
48879         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
48880         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
48881         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
48882         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
48883         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
48884         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
48885         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
48886         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
48887         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
48888         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
48889         Moved ...
48890         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
48891         ... here.
48892         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
48893         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
48894         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
48895         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
48896         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
48897         Moved ...
48898         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
48899         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
48900         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
48901         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
48902         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
48903         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
48904         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
48905         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
48906         Moved ...
48907         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
48908         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
48909         Moved ...
48910         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
48911         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
48912         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
48913         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
48914         Moved ...
48915         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
48916         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
48917         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
48918         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
48919         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
48920         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
48921         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
48922         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
48923         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
48924         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
48925         Moved ...
48926         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
48927         ... here.
48928         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
48929         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
48930         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
48931         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
48932         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
48933         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
48934         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
48935         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
48936         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
48937         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
48938         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
48939         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
48940         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
48941         Moved ...
48942         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
48943         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
48944         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
48945         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
48946         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
48947         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
48948         Moved ...
48949         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
48950         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
48951         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
48952         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
48953         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
48955         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
48956         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
48957         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
48958         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
48959         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
48960         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
48961         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
48962         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
48963         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
48964         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
48965         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
48966         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
48967         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
48968         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
48969         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
48970         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
48971         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
48972         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
48973         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
48974         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
48975         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
48976         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
48977         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
48978         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
48979         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
48980         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
48981         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
48982         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
48984 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
48986         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
48987         (FALLOC_FL_COLLAPSE_RANGE): New macro.
48988         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
48989         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
48990         (IPV6_PMTUDISC_INTERFACE): Likewise.
48991         (IPV6_PMTUDISC_OMIT): Likewise.
48993 2014-06-23  Andreas Schwab  <schwab@suse.de>
48995         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
48996         Remove unused errout label.
48998 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49000         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49001         macro: hardware supports Vector Crypto instructions.
49003 2014-06-23  Will Newton  <will.newton@linaro.org>
49005         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49006         rather than __builtin_expect.
49008         * elf/dl-lookup.c (undefined_msg): Remove variable.
49009         (_dl_lookup_symbol_x): Replace undefined_msg with string
49010         literal.
49012         * elf/dl-lookup.c (do_lookup_unique): New function.
49013         (do_lookup_x): Move STB_GNU_UNIQUE handling code
49014         to a separate function.
49016 2014-06-23  Andreas Schwab  <schwab@suse.de>
49018         [BZ #17079]
49019         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49020         before reading the next line.
49022 2014-06-23  Will Newton  <will.newton@linaro.org>
49024         * test-skeleton.c (signal_handler): Use printf and %m
49025         rather than perror.  Use printf rather than fprintf to
49026         stderr.  Use puts rather than fputs to stderr.
49027         (main): Likewise.
49029 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
49031         * nscd/nscd.c (thread_info_t): Remove typedef.
49032         (thread_info): Remove variable.
49034 2014-06-21  Allan McRae  <allan@archlinux.org>
49036         * NEWS: Mention CVE-2014-4043.
49038 2014-06-20  Roland McGrath  <roland@hack.frob.com>
49040         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49041         * nptl/smp.h: ... here.
49043         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49045         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49046         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49047         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49048         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49050         * nptl/allocatestack.c: Include <stack-aliasing.h>.
49051         * nptl/stack-aliasing.h: New file.
49052         * sysdeps/i386/i686/stack-aliasing.h: New file.
49053         * sysdeps/i386/i686/nptl/Makefile: File removed.
49054         * sysdeps/x86_64/stack-aliasing.h: New file.
49055         * sysdeps/x86_64/nptl/Makefile
49056         (CFLAGS-pthread_create.c): Variable removed.
49058         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49059         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49060         old file.
49061         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49062         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49063         old file.
49065 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
49067         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49068         (__ASSUME_SIGFRAME_V2): Remove macro.
49069         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49070         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49071         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49072         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49073         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49074         Declare as function.  Remove conditional macro definitions.
49075         (__default_rt_sa_restorer): Likewise.
49076         (__default_sa_restorer_v1): Remove declaration.
49077         (__default_sa_restorer_v2): Likewise.
49078         (__default_rt_sa_restorer_v1): Likewise.
49079         (__default_rt_sa_restorer_v2): Likewise.
49080         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49081         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49082         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49084 2014-06-20  Roland McGrath  <roland@hack.frob.com>
49086         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49087         (libpthread-routines): Add sysdep.
49088         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49089         * sysdeps/unix/sysv/linux/sparc/Versions
49090         (libpthread: GLIBC_2.3.3): New version set.
49091         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49092         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49093         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49094         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49095         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
49096         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49097         Moved ...
49098         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49099         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
49100         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
49101         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
49102         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
49103         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49104         * sysdeps/sparc/nptl/sem_init.c: ... here.
49105         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
49106         * sysdeps/sparc/nptl/sem_post.c: ... here.
49107         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
49108         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
49109         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
49110         * sysdeps/sparc/nptl/sem_wait.c: ... here.
49111         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
49112         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49113         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
49114         (libpthread-routines): Add cpu_relax.
49115         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
49116         File removed.
49117         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
49118         (librt: GLIBC_2.3.3): New version set.
49119         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
49120         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
49121         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
49122         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
49123         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
49124         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
49125         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
49126         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
49127         Moved ...
49128         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
49129         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
49130         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
49131         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49132         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
49133         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
49134         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
49135         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
49136         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
49137         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
49138         Moved ...
49139         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
49140         Update #include.
49141         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
49142         Moved ...
49143         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
49144         Update #include.
49145         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
49146         Moved ...
49147         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
49148         Update #include.
49149         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
49150         Moved ...
49151         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
49152         Update #include.
49153         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
49154         Moved ...
49155         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
49156         Update #include.
49157         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
49158         Moved ...
49159         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
49160         Update #include.
49161         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
49162         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
49163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
49164         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
49165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
49166         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
49167         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
49168         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
49169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
49170         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
49171         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49172         Moved ...
49173         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
49174         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
49175         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
49176         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
49177         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
49179 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49181         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
49182         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
49183         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
49184         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
49185         * nscd/nscd.c: Likewise.
49186         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
49187         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
49188         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
49189         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
49191         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
49192         <kernel-features.h>.
49193         (init_mq_netlink): Remove conditional have_sock_cloexec
49194         definitions.  Remove code conditional on have_sock_cloexec < 0.
49195         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
49196         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
49197         * sysdeps/unix/sysv/linux/opensock.c: Do not include
49198         <kernel-features.h>.
49199         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
49200         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
49202 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
49204         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49205         Add tests for memset_chk and memset.
49207         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
49208         with AVX2_Usable.
49210 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
49212         [BZ #16046]
49213         * elf/tst-dl-iter-static.c: New file.
49214         * elf/Makefile (tests-static): Add tst-dl-iter-static.
49216         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
49217         error.
49219 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49221         * sysdeps/unix/sysv/linux/kernel-features.h
49222         (__ASSUME_F_GETOWN_EX): Remove macro.
49223         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
49224         <kernel-features.h>.
49225         (miss_F_GETOWN_EX): Remove variable or macro.
49226         (do_fcntl): Do not check miss_F_GETOWN_EX.
49227         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
49229         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
49230         Remove macro.
49231         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
49232         [!__ASSUME_AT_RANDOM]: Remove conditional code.
49233         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
49235         * sysdeps/unix/sysv/linux/kernel-features.h
49236         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
49237         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
49238         [ADJ_OFFSET_SS_READ]: Make code unconditional.
49239         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
49241 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
49243         [BZ #17075]
49244         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
49245         Fix calculation of the symbol's value.
49246         * sysdeps/arm/tst-armtlsdescloc.c: New file.
49247         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
49248         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
49249         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
49250         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
49251         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
49252         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
49253         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
49254         (modules-names): Add `tst-armtlsdescmod',
49255         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
49256         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
49257         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49258         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
49259         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
49260         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49261         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
49262         ($(objpfx)tst-armtlsdescloc): New dependency.
49263         ($(objpfx)tst-armtlsdescextnow): Likewise.
49264         ($(objpfx)tst-armtlsdescextlazy): Likewise.
49265         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
49266         TLS scheme support.
49267         * sysdeps/arm/configure: Regenerate.
49269 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49271         * include/fcntl.h (__atfct_seterrno): Remove prototype.
49272         (__atfct_seterrno_2): Likewise.
49273         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
49274         <kernel-features.h>.
49275         (__ASSUME_ATFCTS): Do not undefine and redefine.
49276         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
49277         (__have_atfcts): Remove conditional definition.
49278         (__fxstatat([__NR_fstatat64]: Make code unconditional.
49279         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
49280         unreachable if [__ASSUME_ATFCTS].
49281         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
49282         not undefine and redefine.
49283         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
49284         <kernel-features.h>.
49285         (faccessat) [__NR_faccessat]: Make code unconditional.
49286         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
49287         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
49288         <kernel-features.h>.
49289         (fchmodat) [__NR_fchmodat]: Make code unconditional.
49290         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49291         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
49292         <kernel-features.h>.
49293         (fchownat) [__NR_fchownat]: Make code unconditional.
49294         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
49295         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
49296         <kernel-features.h>.
49297         (futimesat) [__NR_futimesat]: Make code unconditional.
49298         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
49299         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49300         <kernel-features.h>.
49301         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49302         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49303         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49304         <kernel-features.h>.
49305         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
49306         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49307         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
49308         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49309         <kernel-features.h>.
49310         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
49311         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49312         * sysdeps/unix/sysv/linux/linkat.c: Do not include
49313         <kernel-features.h>.
49314         (linkat) [__NR_linkat]: Make code unconditional.
49315         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49316         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
49317         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
49318         <kernel-features.h>.
49319         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
49320         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49321         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
49322         <kernel-features.h>.
49323         (mkdirat) [__NR_mkdirat]: Make code unconditional.
49324         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
49325         * sysdeps/unix/sysv/linux/openat.c: Do not include
49326         <kernel-features.h>.
49327         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
49328         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
49329         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
49330         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
49331         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
49332         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
49333         <kernel-features.h>.
49334         (readlinkat) [__NR_readlinkat]: Make code unconditional.
49335         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
49336         result of INLINE_SYSCALL directly, not via int variable.
49337         * sysdeps/unix/sysv/linux/renameat.c: Do not include
49338         <kernel-features.h>.
49339         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
49340         (renameat) [__NR_renameat]: Make code unconditional.
49341         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
49342         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
49343         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
49344         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
49345         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
49346         (__ASSUME_ATFCTS): Do not undefine and redefine.
49347         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
49348         <kernel-features.h>.
49349         (symlinkat) [__NR_symlinkat]: Make code unconditional.
49350         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49351         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
49352         <kernel-features.h>.
49353         (unlinkat) [__NR_unlinkat]: Make code unconditional.
49354         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49355         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
49356         (__ASSUME_ATFCTS): Do not undefine and redefine.
49357         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
49358         <kernel-features.h>.
49359         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49360         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49361         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
49362         <kernel-features.h>.
49363         (__xmknodat) [__NR_mknodat]: Make code unconditional.
49364         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49366 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
49368         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
49370 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
49372         [BZ #17069]
49373         * posix/regcomp.c (parse_reg_exp): Deallocate partially
49374         constructed tree before returning error.
49375         * posix/bug-regexp36.c: Expand test case.
49377 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
49379         [BZ #6803]
49380         * math/libm-test.inc (scalbln_test_date):
49381         Add errno expectations.
49382         * math/w_scalblnf.c: New File.
49383         Add wrapper which checks for setting errno to ERANGE.
49384         Add weak_alias for corresponding scalbln function.
49385         * math/w_scalbln.c: Likewise.
49386         * math/w_scalblnl.c: Likewise.
49387         * math/Makefile (libm-calls): Add w_scalbln.
49388         * sysdeps/ieee754/flt-32/s_scalblnf.c:
49389         Remove weak_alias for corresponding scalbln function.
49390         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49391         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49392         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49393         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49394         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
49395         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49396         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
49397         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49398         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
49399         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
49400         Remove long_double_symbol for scalblnl function in libm, libc.
49401         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
49402         Add wrapper which checks for setting errno to ERANGE.
49403         Add long_double_symbol for scalblnl function in libm, libc.
49404         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
49405         Remove long_double_symbol for scalblnl in libm.
49406         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
49407         Add wrapper which checks for setting errno to ERANGE.
49408         Add long_double_symbol for scalblnl function in libm.
49409         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
49410         Do not use wrapper because of own implementation.
49412 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
49414         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
49415         3 bytes for __pad1 for x32.
49416         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
49418 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
49419             H.J. Lu  <hongjiu.lu@intel.com>
49421         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
49422         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
49423         * sysdeps/x86_64/multiarch/memset.S: Likewise.
49424         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49425         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
49427 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
49429         [BZ #17069]
49430         * posix/regcomp.c (parse_expression): Deallocate partially
49431         constructed tree before returning error.
49432         * posix/Makefile.c (tests): Add bug-regex36.
49433         (generated): Add bug-regex36.mtrace.
49434         (tests-special): Add $(objpfx)bug-regex36-mem.out
49435         (bug-regex36-ENV): New variable.
49436         ($(objpfx)bug-regex36-mem.out): New rule.
49437         * posix/bug-regex36.c: New file.
49439 2014-06-19  Will Newton  <will.newton@linaro.org>
49441         * malloc/malloc.c (systrim): If extra is zero then return
49442         early.
49444 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49446         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
49448 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
49450         * sysdeps/aarch64/strchr.S: New file.
49452 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
49454         [BZ #17022]
49455         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
49456         from arguments -2 or below.
49457         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
49458         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
49460 2014-06-18  Andreas Schwab  <schwab@suse.de>
49462         [BZ #17062]
49463         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
49464         of a bracket expr not to run off the end of the string.
49465         * posix/Makefile (tests): Add tst-fnmatch3.
49466         * posix/tst-fnmatch3.c: New file.
49468 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
49470         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
49471         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49472         [$(cross-compiling) = no]: Likewise.
49473         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49474         [$(cross-compiling) = no]: Likewise.
49476 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49478         [BZ #17031]
49479         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
49480         double, adjusted for any remainder from the high double.
49481         * math/libm-test.inc (nearbyint): Add tests.
49482         (rint): Likewise.
49484 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49486         * nptl/sysdeps/powerpc/Makefile: Moved ...
49487         * sysdeps/powerpc/nptl/Makefile: ... here.
49488         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
49489         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
49490         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
49491         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
49492         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
49493         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
49494         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
49495         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
49496         * nptl/sysdeps/powerpc/tls.h: Moved ...
49497         * sysdeps/powerpc/nptl/tls.h: ... here.
49499 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
49501         [BZ #16681]
49502         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
49503         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
49504         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
49505         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
49506         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
49507         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
49508         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
49509         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
49510         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
49512 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
49514         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
49516 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
49518         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
49519         defined operator.
49521         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
49522         $TIMEOUTFACTOR.
49524 2014-06-16  Florian Weimer  <fweimer@redhat.com>
49526         [BZ #17058]
49527         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
49528         non-executed part of the test.
49530 2014-06-16  Andreas Schwab  <schwab@suse.de>
49532         * string/bits/string2.h (strdup, strndup): Update feature guard.
49534 2014-06-14  David S. Miller  <davem@davemloft.net>
49536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49538 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
49540         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
49541         that was previously under [RESET_PID].
49542         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
49544         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
49545         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
49546         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
49547         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49548         (__libc_vfork): New strong alias.
49549         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
49551 2014-06-14 Andi Kleen  <ak@linux.intel.com>
49553         * sysdeps/generic/elide.h: New file.
49555 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
49557         * Makefile (installed-headers): Adjust path of pthread.h header.
49559 2014-06-13  Roland McGrath  <roland@hack.frob.com>
49561         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
49562         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
49563         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
49564         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
49566         * nptl/sysdeps/s390/Makefile: Moved ...
49567         * sysdeps/s390/nptl/Makefile: ... here.
49568         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
49569         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
49570         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
49571         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
49572         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
49573         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
49574         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
49575         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
49576         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
49577         * sysdeps/s390/nptl/pthreaddef.h: ... here.
49578         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
49579         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
49580         * nptl/sysdeps/s390/tls.h: Moved ...
49581         * sysdeps/s390/nptl/tls.h: ... here.
49583         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
49584         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
49586 2014-06-13  David S. Miller  <davem@davemloft.net>
49588         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
49589         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
49590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
49591         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
49592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
49593         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
49594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
49595         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
49596         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
49597         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
49598         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
49599         Remove RESET_PID cpp guards.
49600         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
49601         Remove RESET_PID cpp guards.
49602         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
49604 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
49606         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
49607         __sp to uintptr_t.
49609 2014-06-13  Andi Kleen  <ak@linux.intel.com>
49611         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
49612         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
49613         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
49614         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
49615         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
49616         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
49617         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
49618         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
49619         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
49620         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
49621         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
49622         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
49623         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
49624         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
49625         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
49626         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
49627         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
49628         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
49629         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
49630         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
49632         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
49633         (pthread_rwlock_rdlock): Add elision.
49634         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
49635         (pthread_rwlock_wrlock): Add elision.
49636         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
49637         (pthread_rwlock_trywrlock): Add elision.
49638         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
49639         (pthread_rwlock_tryrdlock): Add elision.
49640         * nptl/pthread_rwlock_unlock.c: Include elide.h.
49641         (pthread_rwlock_tryrdlock): Add elision unlock.
49642         * nptl/sysdeps/pthread/pthread.h:
49643         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
49644         (PTHREAD_RWLOCK_INITIALIZER,
49645         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
49646         Handle new elision field.
49647         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
49648         * sysdeps/arm/nptl/bits/pthreadtypes.h
49649         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49650         * sysdeps/sh/nptl/bits/pthreadtypes.h
49651         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49652         * sysdeps/tile/nptl/bits/pthreadtypes.h
49653         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49654         * sysdeps/a/nptl/bits/pthreadtypes.h
49655         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49656         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
49657         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49658         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
49659         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49660         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
49661         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49662         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
49663         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49664         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
49665         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49666         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
49667         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49668         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
49669         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49670         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
49671         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49672         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
49673         (elision_init): Set try_xbegin to zero when no RTM.
49674         * sysdeps/x86/nptl/bits/pthreadtypes.h
49675         (pthread_rwlock_t): Change __pad1 to __rwelision.
49676         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49678 2014-06-13  Andi Kleen  <ak@linux.intel.com>
49680         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
49681         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
49682         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
49683         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
49685 2014-06-13  Meador Inge  <meadori@codesourcery.com>
49687         [BZ #16996]
49688         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
49689         that the cached result has been set before returning it.
49691 2014-06-12  Roland McGrath  <roland@hack.frob.com>
49693         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
49694         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
49695         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
49696         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
49697         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
49698         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
49700         * nptl/sysdeps/sparc/Makefile: Moved ...
49701         * sysdeps/sparc/nptl/Makefile: ... here.
49702         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
49703         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
49704         * nptl/sysdeps/sparc/tls.h: Moved ...
49705         * sysdeps/sparc/nptl/tls.h: ... here.
49706         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
49707         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
49708         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
49709         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
49710         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
49711         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
49712         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
49713         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
49714         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
49715         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
49716         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
49717         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
49718         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
49719         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
49720         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
49721         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
49722         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
49723         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
49724         Update #include.
49725         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
49726         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
49727         Update #include.
49728         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
49729         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
49730         Update #include.
49731         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
49732         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
49733         Update #include.
49735         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
49737         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
49738         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
49740         * sysdeps/pthread/posix-timer.h: Include <list.h>.
49741         (struct list_links): Type removed.
49742         (struct thread_node, struct timer_node): Replace struct list_links
49743         with struct list_head.
49744         (list_unlink_ip): Likewise.
49745         * sysdeps/pthread/timer_routines.c
49746         (timer_free_list, thread_free_list, thread_active_list): Likewise.
49747         (list_append, list_insbefore): Likewise.
49748         (list_init): Function removed.
49749         (thread_init, init_module): Use INIT_LIST_HEAD instead.
49750         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
49751         * sysdeps/pthread/Makefile: ... here, new file.
49753         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
49754         * sysdeps/nptl/Implies: ... here.
49755         * sysdeps/unix/sysv/linux/Implies: Add nptl.
49756         * nptl/sysdeps/pthread/list.h: Moved ...
49757         * include/list.h: ... here.
49758         * nptl/sysdeps/pthread/createthread.c: Moved ...
49759         * nptl/createthread.c: ... here.
49760         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
49761         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
49762         * nptl/pt-longjmp.c: ... here.
49763         * nptl/sysdeps/pthread/Makefile: Moved ...
49764         * sysdeps/nptl/Makefile: ... here.
49765         * nptl/sysdeps/pthread/Subdirs: Moved ...
49766         * sysdeps/nptl/Subdirs: ... here.
49767         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
49768         * sysdeps/nptl/aio_misc.h: ... here.
49769         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
49770         * sysdeps/nptl/bits/libc-lock.h: ... here.
49771         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
49772         * sysdeps/nptl/bits/libc-lockP.h: ... here.
49773         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
49774         * sysdeps/nptl/bits/stdio-lock.h: ... here.
49775         * nptl/sysdeps/pthread/configure: Moved ...
49776         * sysdeps/nptl/configure: ... here.
49777         * nptl/sysdeps/pthread/configure.ac: Moved ...
49778         * sysdeps/nptl/configure.ac: ... here.
49779         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
49780         * sysdeps/nptl/gai_misc.h: ... here.
49781         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
49782         * sysdeps/nptl/librt-cancellation.c: ... here.
49783         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
49784         * sysdeps/nptl/malloc-machine.h: ... here.
49785         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
49786         * sysdeps/nptl/pthread-functions.h: ... here.
49787         * nptl/sysdeps/pthread/pthread.h: Moved ...
49788         * sysdeps/nptl/pthread.h: ... here.
49789         * nptl/sysdeps/pthread/setxid.h: Moved ...
49790         * sysdeps/nptl/setxid.h: ... here.
49791         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
49792         * sysdeps/nptl/sigfillset.c: ... here.
49793         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
49794         * sysdeps/nptl/tcb-offsets.h: ... here.
49795         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
49796         * sysdeps/nptl/tst-mqueue8x.c: ... here.
49797         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
49798         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
49799         * nptl/sysdeps/pthread/allocalim.h: Moved ...
49800         * sysdeps/pthread/allocalim.h: ... here.
49801         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
49802         * sysdeps/pthread/bits/sigthread.h: ... here.
49803         * nptl/sysdeps/pthread/flockfile.c: Moved ...
49804         * sysdeps/pthread/flockfile.c: ... here.
49805         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
49806         * sysdeps/pthread/ftrylockfile.c: ... here.
49807         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
49808         * sysdeps/pthread/funlockfile.c: ... here.
49809         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
49810         * sysdeps/pthread/posix-timer.h: ... here.
49811         * nptl/sysdeps/pthread/timer_create.c: Moved ...
49812         * sysdeps/pthread/timer_create.c: ... here.
49813         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
49814         * sysdeps/pthread/timer_delete.c: ... here.
49815         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
49816         * sysdeps/pthread/timer_getoverr.c: ... here.
49817         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
49818         * sysdeps/pthread/timer_gettime.c: ... here.
49819         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
49820         * sysdeps/pthread/timer_routines.c: ... here.
49821         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
49822         * sysdeps/pthread/timer_settime.c: ... here.
49823         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
49824         * sysdeps/pthread/tst-timer.c: ... here.
49825         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
49826         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
49828         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
49829         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
49831         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
49832         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
49833         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
49834         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
49835         Update #include target.
49836         * nptl/sysdeps/i386/i686/Makefile: Moved ...
49837         * sysdeps/i386/i686/nptl/Makefile: ... here.
49838         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
49839         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
49840         Update #include target.
49841         * nptl/sysdeps/i386/i686/tls.h: Moved ...
49842         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
49843         * nptl/sysdeps/i386/Makefile: Moved ...
49844         * sysdeps/i386/nptl/Makefile: ... here.
49845         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
49846         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
49847         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
49848         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
49849         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
49850         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
49851         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
49852         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
49853         * sysdeps/i386/nptl/pthreaddef.h: ... here.
49854         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
49855         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
49856         * nptl/sysdeps/i386/tls.h: Moved ...
49857         * sysdeps/i386/nptl/tls.h: ... here.
49859         * sysdeps/sh/Makefile [$(subdir) = csu]
49860         (gen-as-const-headers): Add tcb-offsets.sym.
49861         * nptl/sysdeps/sh/Makefile: File removed.
49862         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
49863         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
49864         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
49865         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
49866         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
49867         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
49868         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
49869         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
49870         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
49871         * sysdeps/sh/nptl/pthreaddef.h: ... here.
49872         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
49873         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
49874         * nptl/sysdeps/sh/tls.h: Moved ...
49875         * sysdeps/sh/nptl/tls.h: ... here.
49876         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
49877         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
49878         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
49879         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
49880         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
49881         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
49882         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
49883         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
49884         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
49885         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
49886         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
49887         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
49888         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
49889         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
49890         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
49891         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
49892         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
49893         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
49894         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
49895         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
49896         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
49897         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
49898         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
49899         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
49900         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
49901         Moved ...
49902         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
49903         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
49904         Moved ...
49905         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
49906         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
49907         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
49908         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
49909         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
49910         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
49911         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
49912         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
49913         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
49914         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
49915         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
49916         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
49917         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
49918         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
49919         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
49920         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
49921         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
49922         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
49923         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
49925 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
49927         * posix/spawn_faction_addopen.c: Include string.h.
49929 2014-06-11  Roland McGrath  <roland@hack.frob.com>
49931         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
49932         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
49933         * nptl/sysdeps/x86_64/Makefile: Moved ...
49934         * sysdeps/x86_64/nptl/Makefile: ... here.
49935         * nptl/sysdeps/x86_64/configure: Moved ...
49936         * sysdeps/x86_64/nptl/configure: ... here.
49937         * nptl/sysdeps/x86_64/configure.ac: Moved ...
49938         * sysdeps/x86_64/nptl/configure.ac: ... here.
49939         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
49940         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
49941         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
49942         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
49943         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
49944         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
49945         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
49946         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
49947         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
49948         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
49949         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
49950         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
49951         * nptl/sysdeps/x86_64/tls.h: Moved ...
49952         * sysdeps/x86_64/nptl/tls.h: ... here.
49953         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
49954         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
49955         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
49956         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
49958         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
49960 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49964 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
49966         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
49967         type.
49968         [POSIX] (off_t): Likewise.
49969         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
49970         [POSIX] (S_ISBLK): Require macro.
49971         [POSIX] (S_ISCHR): Likewise.
49972         [POSIX] (S_ISDIR): Likewise.
49973         [POSIX] (S_ISFIFO): Likewise.
49974         [POSIX] (S_ISREG): Likewise.
49975         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
49976         optional-macro.
49977         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
49978         type.
49979         [POSIX] (time_t): Likewise.
49980         [POSIX] (timer_t): Likewise.
49982 2014-06-11  Florian Weimer  <fweimer@redhat.com>
49984         [BZ #17048]
49985         * posix/spawn_int.h (struct __spawn_action): Make the path string
49986         non-const to support deallocation.
49987         * posix/spawn_faction_addopen.c
49988         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
49989         * posix/spawn_faction_destroy.c
49990         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
49991         path in all spawn_do_open actions.
49992         * posix/tst-spawn.c (do_test): Exercise the copy operation in
49993         posix_spawn_file_actions_addopen.
49995 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
49997         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
49998         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
49999         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50000         conditional code always true.
50001         (__libc_vfork): New alias.
50003 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50005         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50006         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50008         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50010         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50011         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50013         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50014         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50016         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50017         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50019 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50021         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50022         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50023         multiarch strcmp for PPC64.
50024         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50025         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50026         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50027         multiarch optimizations.
50028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50029         (__libc_ifunc_impl_list): Likewise.
50031 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50033         * benchtests/scripts/validate_benchout.py: New script.
50034         * benchtests/Makefile (bench-func): Call it.
50035         * benchtests/scripts/benchout.schema.json: New file.
50037 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
50039         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50040         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50041         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50042         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50043         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50044         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50045         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50046         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50047         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50048         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50049         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50050         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50051         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50052         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50053         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50054         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50056         Moved ...
50057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50058         ... here.
50059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50060         Moved ...
50061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50063         Moved ...
50064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50065         ... here.
50066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50067         Moved ...
50068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50069         ... here.
50070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50071         Moved ...
50072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50074         Moved ...
50075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50076         ... here.
50077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50078         Moved ...
50079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50080         ... here.
50081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50082         Moved ...
50083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50085         Moved ...
50086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50087         ... here.
50088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50089         Moved ...
50090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50091         ... here.
50092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50093         Moved ...
50094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50095         ... here.
50096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50097         Moved ...
50098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
50100         Moved ...
50101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
50102         ... here.
50103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
50104         Moved ...
50105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
50106         ... here.
50107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
50108         Moved ...
50109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
50110         ... here.
50111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
50112         Moved ...
50113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
50114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
50115         Moved ...
50116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
50117         ... here.
50118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
50119         Moved ...
50120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
50121         ... here.
50122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
50123         Moved ...
50124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
50125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
50126         Moved ...
50127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
50128         ... here.
50129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
50130         Moved ...
50131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
50132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
50133         Moved ...
50134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
50135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
50136         Moved ...
50137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
50138         ... here.
50139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
50140         Moved ...
50141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
50142         ... here.
50143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
50144         Moved ...
50145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
50146         ... here.
50147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
50148         Moved ...
50149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
50150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
50151         Moved ...
50152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
50153         ... here.
50154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
50155         Moved ...
50156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
50157         ... here.
50158         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
50159         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
50160         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
50161         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
50162         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
50163         Moved ...
50164         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
50165         ... here.
50166         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
50167         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
50168         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
50169         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
50170         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
50171         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
50172         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
50173         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
50174         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
50175         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
50176         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
50177         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
50178         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
50179         Moved ...
50180         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
50181         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
50182         Moved ...
50183         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
50184         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
50185         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
50186         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
50187         Moved ...
50188         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
50189         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
50190         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
50191         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
50192         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
50193         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
50194         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
50196 2014-06-10  Wilco  <wdijkstr@arm.com>
50198         * math/test-fenv-return.c: New file.
50199         * math/Makefile: Add new test test-fenv-return.
50201 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
50203         [BZ #17042]
50204         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
50205         when x - 1 is zero.
50206         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
50207         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
50208         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
50209         0.0L for an argument of 1.0L.
50210         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
50211         Likewise.
50212         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
50213         value when x - 1 is zero.
50214         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
50215         * sysdeps/i386/fpu/libm-test-ulps: Update.
50216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50218 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
50220         [BZ #15119]
50221         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
50223 2014-06-09  Roland McGrath  <roland@hack.frob.com>
50225         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
50226         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
50228 2014-06-09  Roland McGrath  <roland@hack.frob.com>
50230         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50231         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
50233         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50234         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
50236         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50237         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
50239         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50240         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
50242         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
50243         if not already defined.
50244         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
50245         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
50246         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
50247         (TLS_INIT_TP): Use it.
50248         (TLS_DEFINE_INIT_TP): New macro.
50249         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
50251 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
50253         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
50254         constant.
50255         [POSIX] (IXANY): Likewise.
50256         [POSIX] (OLCUC): Likewise.
50257         [POSIX || POSIX2008] (CBAUD): Do not allow.
50258         [POSIX || POSIX2008] (DEFECHO): Likewise.
50259         [POSIX || POSIX2008] (ECHOCTL): Likewise.
50260         [POSIX || POSIX2008] (ECHOKE): Likewise.
50261         [POSIX || POSIX2008] (ECHOPRT): Likewise.
50262         [POSIX || POSIX2008] (EXTA): Likewise.
50263         [POSIX || POSIX2008] (EXTB): Likewise.
50264         [POSIX || POSIX2008] (FLUSHO): Likewise.
50265         [POSIX || POSIX2008] (LOBLK): Likewise.
50266         [POSIX || POSIX2008] (PENDIN): Likewise.
50267         [POSIX || POSIX2008] (SWTCH): Likewise.
50268         [POSIX || POSIX2008] (VDISCARD): Likewise.
50269         [POSIX || POSIX2008] (VDSUSP): Likewise.
50270         [POSIX || POSIX2008] (VLNEXT): Likewise.
50271         [POSIX || POSIX2008] (VREPRINT): Likewise.
50272         [POSIX || POSIX2008] (VSTATUS): Likewise.
50273         [POSIX || POSIX2008] (VWERASE): Likewise.
50274         (B*): Change to B[0123456789]*.
50275         * conform/data/time.h-data [POSIX || UNIX98]
50276         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
50277         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50278         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
50279         [POSIX] (tm_*): Do not allow.
50281 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
50283         * Makefile (install): Don't set LANGUAGE.
50284         * Makefile.in (install): Likewise.
50285         * assert/Makefile (test-assert-ENV): Remove variable.
50286         (test-assert-perr-ENV): Likewise.
50287         * elf/Makefile (neededtest4-ENV): Likewise.
50288         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50289         [$(cross-compiling) = no]: Don't set LANGUAGE.
50290         * io/ftwtest-sh (LANG): Remove variable.
50291         * libio/Makefile (tst-widetext-ENV): Likewise.
50292         * manual/install.texi (Running make install): Don't refer to
50293         environment settings for make install.
50294         * INSTALL: Regenerated.
50295         * nptl/tst-tls6.sh: Don't set LANG.
50296         * posix/globtest.sh (LANG): Remove variable.
50297         * string/Makefile (tester-ENV): Likewise.
50298         (inl-tester-ENV): Likewise.
50299         (noinl-tester-ENV): Likewise.
50300         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50301         [$(cross-compiling) = no]: Don't set LANGUAGE.
50302         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
50303         without explicit environment settings.
50305 2014-06-06  Roland McGrath  <roland@hack.frob.com>
50307         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
50308         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
50309         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
50310         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
50312 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
50314         * crypt/crypt-private.h [DOS]: Add some includes taken from the
50315         other files in the crypt directory.
50316         * crypt/crypt.c: Remove duplicate includes.
50317         * crypt/crypt-entry.c: Likewise.
50318         * crypt/crypt_util.c: Likewise.
50320 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
50322         * Makeconfig (run-program-env): New variable.
50323         (run-program-prefix-before-env): Likewise.
50324         (run-program-prefix-after-env): Likewise.
50325         (run-program-prefix): Define in terms of new variables.
50326         (built-program-cmd-before-env): New variable.
50327         (built-program-cmd-after-env): Likewise.
50328         (built-program-cmd): Define in terms of new variables.
50329         (test-program-prefix-before-env): New variable.
50330         (test-program-prefix-after-env): Likewise.
50331         (test-program-prefix): Define in terms of new variables.
50332         (test-program-cmd-before-env): New variable.
50333         (test-program-cmd-after-env): Likewise.
50334         (test-program-cmd): Define in terms of new variables.
50335         * Rules (make-test-out): Use $(run-program-env).
50336         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
50337         (help): Do not mention environment variables.  Mention
50338         --timeoutfactor option.
50339         (timeoutfactor): New variable.
50340         (blacklist_exports): Remove function.
50341         (exports): Remove variable.
50342         (command): Do not include ${exports}.
50343         * manual/install.texi (Configuring and compiling): Do not mention
50344         test wrappers preserving environment variables.  Mention that last
50345         assignment to a variable must take precedence.
50346         * INSTALL: Regenerated.
50347         * benchtests/Makefile (run-bench): Use $(run-program-env).
50348         * catgets/Makefile ($(objpfx)test1.cat): Use
50349         $(built-program-cmd-before-env), $(run-program-env) and
50350         $(built-program-cmd-after-env).
50351         ($(objpfx)test2.cat): Do not specify environment variables
50352         explicitly.
50353         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
50354         $(run-program-env) and $(built-program-cmd-after-env).
50355         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
50356         $(run-program-env) and $(test-program-cmd-after-env).
50357         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
50358         explicitly.
50359         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
50360         run_program_env and test_program_cmd_after_env arguments.
50361         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
50362         * elf/tst-pathopt.sh: Use run_program_env argument.
50363         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
50364         $(test-wrapper-env) and $(run-program-env).
50365         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
50366         run_program_env arguments.
50367         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
50368         * intl/Makefile ($(objpfx)tst-gettext.out): Use
50369         $(test-program-prefix-before-env), $(run-program-env) and
50370         $(test-program-prefix-after-env).
50371         ($(objpfx)tst-gettext2.out): Likewise.
50372         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
50373         run_program_env and test_program_prefix_after_env arguments.
50374         * intl/tst-gettext2.sh: Likewise.
50375         * intl/tst-gettext4.sh: Do not set environment variables
50376         explicitly.
50377         * intl/tst-gettext6.sh: Likewise.
50378         * intl/tst-translit.sh: Likewise.
50379         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
50380         $(test-program-prefix-before-env), $(run-program-env) and
50381         $(test-program-prefix-after-env).
50382         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
50383         run_program_env and test_program_prefix_after_env arguments.
50384         * math/Makefile (run-regen-ulps): Use $(run-program-env).
50385         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
50386         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
50387         explicitly with each use of ${test_wrapper_env}.
50388         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
50389         $(test-program-prefix-before-env), $(run-program-env) and
50390         $(test-program-prefix-after-env).
50391         * posix/tst-getconf.sh: Do not set environment variables
50392         explicitly.
50393         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
50394         run_program_env and test_program_prefix_after_env arguments.
50395         * stdio-common/tst-printf.sh: Do not set environment variables
50396         explicitly.
50397         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
50398         $(test-program-prefix-before-env), $(run-program-env) and
50399         $(test-program-prefix-after-env).
50400         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
50401         run_program_env and test_program_prefix_after_env arguments.
50402         Split $test calls into $test_pre and $test.
50403         * timezone/Makefile (build-testdata): Use
50404         $(built-program-cmd-before-env), $(run-program-env) and
50405         $(built-program-cmd-after-env).
50407 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50409         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
50410         strlen for non SHARED builds.
50412 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50414         * nptl/allocatestack.c (check_list): Inlined function...
50415         (__reclaim_stacks): ... here.
50417 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
50419         [BZ #15698]
50420         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
50421         memory overrun.
50423 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
50425         * Rules (make-test-out): Include
50426         LOCPATH=$(common-objpfx)localedata in default environment.
50427         * debug/Makefile (tst-chk1-ENV): Remove variable.
50428         (tst-chk2-ENV): Likewise.
50429         (tst-chk3-ENV): Likewise.
50430         (tst-chk4-ENV): Likewise.
50431         (tst-chk5-ENV): Likewise.
50432         (tst-chk6-ENV): Likewise.
50433         (tst-lfschk1-ENV): Likewise.
50434         (tst-lfschk2-ENV): Likewise.
50435         (tst-lfschk3-ENV): Likewise.
50436         (tst-lfschk4-ENV): Likewise.
50437         (tst-lfschk5-ENV): Likewise.
50438         (tst-lfschk6-ENV): Likewise.
50439         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
50440         (tst-iconv7-ENV): Likewise.
50441         * intl/Makefile (LOCPATH-ENV): Likewise.
50442         (tst-codeset-ENV): Likewise.
50443         (tst-gettext3-ENV): Likewise.
50444         (tst-gettext5-ENV): Likewise.
50445         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
50446         (tst-fopenloc-ENV): Likewise.
50447         (tst-fgetws-ENV): Remove variable.
50448         (tst-ungetwc1-ENV): Likewise.
50449         (tst-ungetwc2-ENV): Likewise.
50450         (bug-ungetwc2-ENV): Likewise.
50451         (tst-swscanf-ENV): Likewise.
50452         (bug-ftell-ENV): Likewise.
50453         (tst-fgetwc-ENV): Likewise.
50454         (tst-fseek-ENV): Likewise.
50455         (tst-ftell-partial-wide-ENV): Likewise.
50456         (tst-ftell-active-handler-ENV): Likewise.
50457         (tst-ftell-append-ENV): Likewise.
50458         * posix/Makefile (tst-fnmatch-ENV): Likewise.
50459         (tst-regexloc-ENV): Likewise.
50460         (bug-regex1-ENV): Likewise.
50461         (tst-regex-ENV): Likewise.
50462         (tst-regex2-ENV): Likewise.
50463         (bug-regex5-ENV): Likewise.
50464         (bug-regex6-ENV): Likewise.
50465         (bug-regex17-ENV): Likewise.
50466         (bug-regex18-ENV): Likewise.
50467         (bug-regex19-ENV): Likewise.
50468         (bug-regex20-ENV): Likewise.
50469         (bug-regex22-ENV): Likewise.
50470         (bug-regex23-ENV): Likewise.
50471         (bug-regex25-ENV): Likewise.
50472         (bug-regex26-ENV): Likewise.
50473         (bug-regex30-ENV): Likewise.
50474         (bug-regex32-ENV): Likewise.
50475         (bug-regex33-ENV): Likewise.
50476         (bug-regex34-ENV): Likewise.
50477         (bug-regex35-ENV): Likewise.
50478         (tst-rxspencer-ENV): Likewise.
50479         (tst-rxspencer-no-utf8-ENV): Likewise.
50480         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
50481         (tst-sscanf-ENV): Likewise.
50482         (tst-swprintf-ENV): Likewise.
50483         (tst-swscanf-ENV): Likewise.
50484         (test-vfprintf-ENV): Likewise.
50485         (scanf13-ENV): Likewise.
50486         (bug14-ENV): Likewise.
50487         (tst-grouping-ENV): Likewise.
50488         * stdlib/Makefile (tst-strtod-ENV): Likewise.
50489         (tst-strtod3-ENV): Likewise.
50490         (tst-strtod4-ENV): Likewise.
50491         (tst-strtod5-ENV): Likewise.
50492         (testmb2-ENV): Likewise./
50493         * string/Makefile (tst-strxfrm-ENV): Likewise.
50494         (tst-strxfrm2-ENV): Likewise.
50495         (bug-strcoll1-ENV): Likewise.
50496         (test-strcasecmp-ENV): Likewise.
50497         (test-strncasecmp-ENV): Likewise.
50498         * time/Makefile (tst-strptime-ENV): Likewise.
50499         (tst-ftime_l-ENV): Likewise.
50500         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
50501         (tst-mbrtowc-ENV): Likewise.
50502         (tst-wcrtomb-ENV): Likewise.
50503         (tst-mbrtowc2-ENV): Likewise.
50504         (tst-c16c32-1-ENV): Likewise.
50505         (tst-mbsnrtowcs-ENV): Likewise.
50507 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
50509         * manual/resource.texi (How to get information about the memory
50510         subsystem?): Fix typo.
50511         Reported by Peon de la Parra Ivan <peon@keba.com>
50513 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
50515         [BZ #16882]
50516         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
50517         (pthread_spin_lock): Branch out of spin loop to proper location.
50518         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
50519         (pthread_spin_lock): Likewise.
50521         * nptl/tst-spin4.c: New test.
50522         * nptl/Makefile (tests): Add tst-spin4.
50524 2014-06-03  Andreas Schwab  <schwab@suse.de>
50526         [BZ #15946]
50527         * resolv/res_send.c (send_dg): Reload file descriptor after
50528         calling reopen.
50530 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
50532         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50534 2014-06-03  Richard Henderson  <rth@redhat.com>
50536         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
50537         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
50538         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
50539         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
50540         in the SAVE_PID block.
50541         (__libc_vfork): New alias.
50542         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
50544         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
50545         child in registers, not on the stack.  Remove RESET_PID conditionals.
50546         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
50548 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50550         * sysdeps/aarch64/libm-test-ulps: Regenerate.
50552 2014-06-03  Wilco  <wdijkstr@arm.com>
50554         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
50555         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
50556         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
50557         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
50558         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
50559         Likewise.
50561 2014-06-03  Wilco  <wdijkstr@arm.com>
50563         * sysdeps/aarch64/fpu/math_private.h
50564         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
50565         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
50566         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
50567         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
50568         Fix declarations.
50570 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
50572         * crypt/crypt-private.h: Include ufc-crypt.h.
50573         (__b64_from_24bit): Declare extern.
50574         * crypt/crypt_util.c(__b64_from_24bit): New function.
50575         (b64t): New static const variable.
50576         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
50577         (b64t): Remove variable.
50578         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
50579         * crypt/sha256-crypt.c: Include crypt-private.h.
50580         (b64t): Remove variable.
50581         (__sha256_crypt_r): Remove b64_from_24bit and replace
50582         with __b64_from_24bit.
50583         * crypt/sha512-crypt.c: Likewise.
50585 2014-06-02  Roland McGrath  <roland@hack.frob.com>
50587         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
50588         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
50589         Label the code __libc_vfork rather than __vfork.
50590         [!NOT_IN_libc] (vfork): Define as weak alias.
50591         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
50592         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
50593         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
50595 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50597         * malloc/malloc.c (malloc_info): Fix format specifier for
50598         n_mmaps.
50600 2014-06-02  Wilco  <wdijkstr@arm.com>
50602         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
50603         FPCR write.
50605 2014-06-02  Wilco  <wdijkstr@arm.com>
50607         [BZ #17009]
50608         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
50609         Rewrite to reduce FPCR/FPSR accesses.
50611 2014-06-01  David S. Miller  <davem@davemloft.net>
50613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50615 2014-05-31  David S. Miller  <davem@davemloft.net>
50617         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
50618         to occur in round to nearest mode when |x| >= 2.0
50620 2014-05-30  Richard Henderson  <rth@twiddle.net>
50622         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
50623         (PSEUDO_RET_NOERRNO): Remove.
50624         (ret): Don't redefine.
50625         (ret_NOERRNO): Define in terms of ret.
50626         (ret_ERRVAL): Likewise.
50628         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
50629         use of PSEUDO_RET; perform the error check directly.
50631 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
50633         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
50634         with __int128_t.
50636 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50638         * malloc/malloc (malloc_info): Fix formatting.
50640 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50641             Roland McGrath  <roland@hack.frob.com>
50643         * malloc/malloc (malloc_info): Also print mmapped statistics.
50645 2014-05-30  Roland McGrath  <roland@hack.frob.com>
50647         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
50648         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
50650 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
50652         * malloc/malloc.c (malloc_info): Inline mi_arena.
50654 2014-05-29  Richard Henderson  <rth@twiddle.net>
50656         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
50657         Remove comma before expanding ASM_ARGS_##nr.
50658         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
50659         Make _x0 a strict output; make _x8 a strict input; adjust expansion
50660         of ASM_ARGS_##nr.
50661         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
50662         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
50663         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
50664         (ASM_ARGS_1): Add leading comma.
50666         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
50667         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
50668         to __errno_location.
50669         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
50670         Remove the expected plt for __errno_location.
50672         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50673         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
50674         call to __read_tp.
50676         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50677         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
50678         it and break it down.
50679         (DOCARGS_0, DOCARGS_1): Do nothing.
50680         (DOCARGS_2): Update to store into the new stack frame.
50681         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
50682         (UNDOCARGS_1): Update to restore from the new stack frame.
50683         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
50684         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
50686         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50687         (SINGLE_THREAD_P): New parameter for result regno.
50688         (PSEUDO): Update to match; use cbz instead of beq.
50690         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50691         Use ENTRY to define the _nocancel entry point.  Share the syscall
50692         and syscall error check paths with the cancel path.
50693         (PSEUDO_END): New.
50695         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
50696         whitespace; tabs before and after asm mnemonics.
50698 2014-05-29  Eric Wong  <normalperson@yhbt.net>
50700         [BZ #15132]
50701         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50702         Call fstat64 or stat64 internally, depending on arguments passed.
50703         Replace stat buffer argument with file descriptor argument.
50704         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
50705         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
50706         Pass fd to __internal_statvfs instead of calling fstat64.
50707         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
50708         Pass fd to __internal_statvfs64 instead of calling fstat64.
50709         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
50710         Pass -1 to __internal_statvfs instead of calling stat64.
50711         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
50712         Pass -1 to __internal_statvfs64 instead of calling stat64.
50714 2014-05-28  Roland McGrath  <roland@hack.frob.com>
50716         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
50717         that was previously under [RESET_PID].
50718         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
50720         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
50721         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
50723 2014-05-27  Roland McGrath  <roland@hack.frob.com>
50725         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
50727         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
50728         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
50730 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
50732         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
50734 2014-05-27  Andreas Schwab  <schwab@suse.de>
50736         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
50737         TLS_INIT_TP macro.
50738         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
50739         * elf/rtld.c (init_tls, dl_main): Likewise.
50740         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
50741         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
50742         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
50743         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
50744         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
50745         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
50746         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
50747         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
50748         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
50749         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
50750         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
50751         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
50752         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
50753         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
50754         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
50755         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
50756         * sysdeps/generic/tls.h: Update description.
50758 2014-05-27  Will Newton  <will.newton@linaro.org>
50760         [BZ #16990]
50761         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
50762         and restore r2 rather than just restoring.
50764 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50766         [BZ #16724]
50767         * libio/tst-ftell-append.c: New test case.
50768         * libio/Makefile (tests): Add test case.
50769         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
50770         append mode.
50771         * libio/wfileops.c (do_ftell_wide): Likewise.
50773 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50777         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
50778         ...
50779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
50780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50781         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
50782         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
50783         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
50784         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
50785         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
50786         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
50787         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
50788         Moved ...
50789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
50790         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
50791         Moved ...
50792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
50793         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
50794         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
50795         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
50796         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
50797         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
50798         ...
50799         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
50800         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
50801         Moved ...
50802         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
50803         here.
50804         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
50805         ...
50806         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
50807         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
50808         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
50810         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
50811         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
50812         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
50813         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
50815         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
50816         merge into ...
50817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
50818         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
50819         ...
50820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
50821         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
50822         ...
50823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
50824         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
50825         Moved ...
50826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
50827         here.
50828         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
50829         Moved ...
50830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
50831         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
50832         Moved ...
50833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
50835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
50836         conditional [RESET_PID].
50837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
50838         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
50839         removed.
50840         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
50841         removed.
50843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
50844         <tcb-offsets.h>.
50845         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50846         (__libc_vfork): New strong alias.
50847         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
50848         removed.
50849         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
50850         Removed.
50852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
50853         <tcb-offsets.h>.
50854         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
50855         (__libc_vfork): New strong alias.
50856         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
50857         removed.
50858         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
50859         removed.
50861 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
50863         * malloc/malloc.c (mi_arena): New function.
50864         (malloc_info): Remove nested function mi_arena. Call non-nosted
50865         function mi_arena.
50867 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50869         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
50870         by insrwi.
50871         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
50872         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
50873         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
50874         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
50875         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
50876         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
50877         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
50879 2014-05-26  Andreas Schwab  <schwab@suse.de>
50881         [BZ #16984]
50882         * locale/programs/repertoire.c (repertoire_read): Add slash
50883         between I18NPATH element and file name.
50884         * locale/programs/locfile.c (locfile_read): Likewise.
50886 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
50888         * nptl/pthread_mutexattr_settype.c
50889         (__pthread_mutexattr_settype):
50890         Disable lock elision for PTHREAD_MUTEX_NORMAL.
50892 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
50894         * nptl/tst-mutex5 (do_test):
50895         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
50897 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50899         * benchtests/README: Document 'init' directive.
50900         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
50901         BENCH_INIT.
50902         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
50903         (parse_file): Recognize 'init' directive.
50905 2014-05-26  Kyle McMartin  <kyle@redhat.com>
50907         [BZ #16796]
50908         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
50909         alignment of struct pthread.
50911 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50913         [BZ #16878]
50914         * nscd/netgroupcache.c (addgetnetgrentX): Look for
50915         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50916         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
50917         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50919 2014-05-25  Richard Henderson  <rth@twiddle.net>
50921         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50922         (SINGLE_THREAD_P_PIC): Remove.
50923         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
50924         (SINGLE_THREAD_P_PIC): Remove.
50926         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
50927         branch to syscall error ...
50928         (PSEUDO): ... here.
50929         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
50930         from __local_syscall_error to .Lsyscall_error.
50931         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
50932         (SYSCALL_ERROR): Update label name.
50934         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50935         Do not use DOARGS/UNDOARGS.
50936         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
50937         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
50938         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
50939         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
50940         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
50942         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
50943         block comment.
50945         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
50946         define if !NOT_IN_libc.
50947         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
50948         define with non-default symbol versions.
50950 2014-05-23  Richard Henderson  <rth@twiddle.net>
50952         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
50953         (vfork, __vfork): Define via compat_symbol.
50955         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
50956         [!HAVE_IFUNC] (vfork_compat): Remove.
50957         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
50959 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
50961         [BZ #16978]
50962         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
50963         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
50964         variable.
50966 2014-05-23  Richard Henderson  <rth@twiddle.net>
50968         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
50969         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
50970         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
50971         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
50973         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
50974         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
50975         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
50976         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
50977         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
50978         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
50979         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
50980         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
50981         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
50982         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
50983         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
50984         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
50985         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
50986         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
50987         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
50988         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
50989         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
50990         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
50991         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
50992         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
50993         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
50994         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
50995         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
50996         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
50997         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
50998         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
50999         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51000         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51001         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51002         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51003         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51004         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51005         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51006         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51007         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51008         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51009         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51010         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51011         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51012         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51013         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51014         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51015         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51016         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51017         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51018         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51019         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51020         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51021         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51022         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51023         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51024         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51025         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51026         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51027         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51028         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51030         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51031         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51032         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
51033         before exiting on error.
51034         (__libc_vfork): New strong alias.
51035         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51036         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51038         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51039         that was previously under [RESET_PID].
51040         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51042         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51044 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51046         [BZ #16977]
51047         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51048         value when x - 1 is zero.
51049         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51050         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51051         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51052         0.0L for an argument of 1.0L.
51053         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51054         Likewise.
51055         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51056         value when x - 1 is zero.
51057         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51058         * sysdeps/i386/fpu/libm-test-ulps: Update.
51059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51061 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
51063         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51064         alphasort and versionsort.
51066 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51068         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51069         macro.
51070         [copysignf]: Likewise.
51072 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51074         * crypt/md5-crypt.c: Fix formatting.
51076 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
51078         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51079         (b64_from_24bit): New function.
51081 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51083         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51084         libc_hidden_builtin_def to ifunc.
51085         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51086         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51088 2014-05-21  Roland McGrath  <roland@hack.frob.com>
51090         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51091         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51093 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
51095         * nscd/Depend (linuxthreads): Remove.
51096         (nptl): Add.
51097         * resolv/Depend (linuxthreads): Remove.
51098         * rt/Depend (linuxthreads): Remove.
51100         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
51101         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
51102         $(common-objpfx)elf/.
51103         (link-libc-before-gnulib): Likewise.
51104         (elfobjdir): Remove variable.
51105         * Makefile (install): Use $(elf-objpfx) instead of
51106         $(common-objpfx)elf/.
51107         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
51108         $(elfobjdir)/.
51109         (link-libc-deps): Likewise.
51110         ($(common-objpfx)libc.so): Likewise.
51111         ($(common-objpfx)linkobj/libc.so): Likewise.
51112         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
51113         instead of $(common-objpfx)elf/.
51114         (symbolic-link-list): Likewise.
51115         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51116         [$(cross-compiling) = no]: Likewise.
51117         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
51118         $(elfobjdir)/.
51119         (static-gnulib-arch): Likewise.
51120         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51121         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
51122         $(common-objpfx)elf/.
51124 2014-05-21  Richard Henderson  <rth@redhat.com>
51126         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51127         (SINGLE_THREAD_P): Use the correct width load.  Fold
51128         into the ldr offset.
51130         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
51131         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
51133 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
51135         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
51136         (libgcc_s_resume): Use __attribute_used__.
51137         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51138         Likewise.
51140 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51142         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
51143         optimization when used with float constants.
51145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51147 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
51149         [BZ #16915]
51150         * locale/nl_langinfo_l.c: Make direct reference to every
51151         _nl_current_CATEGORY symbol.
51152         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
51153         (tests-static): Add tst-langinfo-static.
51154         (tests-special): Add tst-langinfo-static.out.
51155         ($(objpfx)tst-langinfo.out): Redirect output.
51156         ($(objpfx)tst-langinfo-static.out): New.
51157         * localedata/tst-langinfo.sh: Send output to stdout.
51158         * localedata/tst-langinfo-static.c: New file.
51160         [BZ #16965]
51161         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
51162         when the shift amount is modulo the limb size.
51164 2014-05-20  Richard Henderson  <rth@redhat.com>
51166         [BZ #16967]
51167         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
51168         Change type of sa_flags from unsigned int to int.
51170         [BZ #16966]
51171         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
51173         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
51175 2014-05-20  Will Newton  <will.newton@linaro.org>
51177         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51178         Test the return value of the system call in the nocancel case.
51180 2014-05-20  Will Newton  <will.newton@linaro.org>
51181             Yvan Roux  <yvan.roux@linaro.org>
51183         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
51184         #include of asm/ptrace.h.
51185         (PTRACE_GET_THREAD_AREA): Remove #undef.
51186         (PTRACE_GETHBPREGS): Likewise.
51187         (PTRACE_SETHBPREGS): Likewise.
51188         (struct user_regs_struct): New structure.
51189         (struct user_fpsimd_struct): New structure.
51190         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
51191         #include of asm/ptrace.h and second #include of sys/user.h.
51192         (PTRACE_GET_THREAD_AREA): Remove #undef.
51193         (PTRACE_GETHBPREGS): Likewise.
51194         (PTRACE_SETHBPREGS): Likewise.
51195         (ELF_NGREG): Use new struct user_regs_struct.
51196         (elf_fpregset_t): Use new struct user_fpsimd_struct.
51198 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51200         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
51201         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
51203 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
51205         [BZ #16958]
51206         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
51207         membar to avoid block loads/stores to overlap previous stores.
51209 2014-05-17  Richard Henderson  <rth@redhat.com>
51211         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
51212         Create the __##syscall_name##_nocancel entry point.
51213         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
51214         Remove; let the sysdep-cancel.h code create it.
51216 2014-05-17  David S. Miller  <davem@davemloft.net>
51218         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
51219         Protect with __USE_GNU.
51220         (TIOCSET_TEMPT): Likewise.
51221         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
51222         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
51223         these are already provided in bits/ioctl-types.h
51225 2014-05-16  Roland McGrath  <roland@hack.frob.com>
51227         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
51228         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
51230         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
51231         Use wait4 regardless of [__NR_waitpid].
51233 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51235         PR libgcc/60166
51236         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51237         (_FP_NANSIGN_Q): Set the quiet bit.
51239 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
51241         * benchtests/Makefile
51242         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
51243         not $(common-objpfx)math/libm.so.
51244         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
51245         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
51246         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
51247         $(common-objpfx)dlfcn/libdl.so.
51248         ($(objpfx)tst-audit8): Depend on $(libm), not
51249         $(common-objpfx)math/libm.so.
51250         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
51251         not $(common-objpfx)dlfcn/libdl.so.
51252         * math/Makefile
51253         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51254         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
51255         [$(build-shared) = yes].
51256         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
51257         $(common-objpfx)nptl/libpthread.so.
51258         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
51259         $(common-objpfx)math/libm.so$(libm.so-version) or
51260         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
51261         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
51262         $(common-objpfx)dlfcn/libdl.so.
51263         * setjmp/Makefile (link-libm): Remove variable.
51264         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
51265         * stdio-common/Makefile (link-libm): Remove variable.
51266         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
51267         * stdlib/Makefile (link-libm): Remove variable.
51268         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
51269         ($(objpfx)tst-strtod-round): Likewise.
51270         ($(objpfx)tst-tininess): Likewise.
51271         ($(objpfx)tst-strtod-underflow): Likewise.
51272         ($(objpfx)tst-strtod6): Likewise.
51273         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
51274         $(libdl), not $(common-objpfx)nptl/libpthread.so and
51275         $(common-objpfx)dlfcn/libdl.so.
51277 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51279         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
51280         BSD terminal modes definitions.
51282 2014-05-16  Roland McGrath  <roland@hack.frob.com>
51284         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
51285         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
51287         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
51288         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
51289         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
51290         Don't do #include_next.
51291         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
51292         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
51293         Don't do #include_next.
51294         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
51295         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
51296         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
51297         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
51299 2014-05-16  Allan McRae  <allan@archlinux.org>
51301         * po/sv.po: Update Swedish translation from translation project.
51303         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
51304         in sed expression.
51306 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
51308         [BZ #16917]
51309         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
51310         errno if the TIOCGPTN ioctl fails with an error different than
51311         EINVAL.
51312         * login/tst-ptsname.c: New file.
51313         * login/Makefile (tests): Add tst-ptsname.
51315         [BZ #16943]
51316         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
51317         and prlimit64.
51319 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51321         [BZ #16849]
51322         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
51323         herrno to return EAI_AGAIN.
51325 2014-05-14  Roland McGrath  <roland@hack.frob.com>
51327         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
51328         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
51329         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
51330         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
51331         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
51332         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
51333         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
51334         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
51335         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
51336         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
51337         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
51338         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
51339         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
51340         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
51341         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
51342         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
51343         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
51344         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
51345         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
51346         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
51347         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
51348         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
51349         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
51350         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
51351         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
51352         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
51353         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
51354         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
51355         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
51356         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
51357         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
51358         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
51359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
51360         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
51361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51362         Moved ...
51363         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
51364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
51365         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
51366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
51367         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
51368         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
51369         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
51370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
51371         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
51372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
51373         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
51374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
51375         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
51376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
51377         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
51378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
51379         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
51380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
51381         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
51382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
51383         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
51384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
51385         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
51386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
51387         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
51388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
51389         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
51390         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51391         Moved ...
51392         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
51393         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
51394         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
51395         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
51396         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
51397         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
51398         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
51399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
51400         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
51401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
51402         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
51403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
51404         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
51405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
51406         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
51407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
51408         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
51409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
51410         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
51411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51412         Moved ...
51413         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
51414         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
51415         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
51417         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
51418         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
51419         (libpthread-sysdep_routines): Add elision-related stuff here instead.
51420         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
51421         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
51422         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
51423         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
51424         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
51425         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
51426         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
51427         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
51428         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
51429         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
51430         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
51431         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
51432         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
51433         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
51434         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
51435         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
51436         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
51437         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
51438         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
51439         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
51440         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
51441         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
51442         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
51443         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
51444         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
51445         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
51446         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
51447         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
51449         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
51450         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
51452         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
51453         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
51454         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
51455         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
51456         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
51457         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
51458         Moved ...
51459         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
51460         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
51461         Moved ...
51462         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
51463         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
51464         Moved ...
51465         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
51466         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
51467         Moved ...
51468         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
51469         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
51470         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
51471         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
51472         Moved ...
51473         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
51474         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
51475         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
51476         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
51477         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
51478         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
51479         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
51480         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
51481         Moved ...
51482         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
51483         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
51484         Moved ...
51485         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
51486         ... here.
51487         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
51488         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
51489         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
51490         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
51491         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
51492         Moved ...
51493         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
51494         ... here.
51495         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
51496         Moved ...
51497         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
51498         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
51499         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
51500         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
51501         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
51502         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
51503         Moved ...
51504         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
51505         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
51506         Moved ...
51507         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
51508         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
51509         Moved ...
51510         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
51511         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
51512         Moved ...
51513         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
51514         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
51515         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
51516         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
51517         Moved ...
51518         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
51519         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
51520         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
51521         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
51522         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
51523         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
51524         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
51525         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
51526         Moved ...
51527         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
51528         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
51529         Moved ...
51530         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
51531         ... here.
51532         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
51533         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
51534         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
51535         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
51536         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
51537         Moved ...
51538         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
51539         ... here.
51540         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
51541         Moved ...
51542         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
51543         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
51544         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
51545         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
51546         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
51547         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
51548         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
51549         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
51550         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
51551         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
51552         Moved ...
51553         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
51554         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
51555         Moved ...
51556         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
51557         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
51558         Moved ...
51559         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
51560         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
51561         Moved ...
51562         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
51563         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
51564         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
51565         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
51566         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
51567         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
51568         Moved ...
51569         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
51570         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
51571         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
51572         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
51573         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
51574         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
51575         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
51576         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
51577         Moved ...
51578         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
51579         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
51580         Moved ...
51581         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
51582         ... here.
51583         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
51584         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
51585         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
51586         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
51587         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
51588         Moved ...
51589         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
51590         ... here.
51591         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
51592         Moved ...
51593         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
51594         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
51595         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
51596         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
51597         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
51598         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
51599         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
51600         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
51601         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
51602         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
51603         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
51605         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
51606         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
51608         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
51609         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
51611         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
51612         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
51613         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
51614         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
51615         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
51616         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
51617         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
51618         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
51619         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
51620         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
51621         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
51622         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
51623         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
51624         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
51625         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
51626         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
51627         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
51628         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
51629         Moved ...
51630         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
51631         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
51632         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
51633         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
51634         Moved ...
51635         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
51636         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
51637         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
51638         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
51639         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
51640         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
51641         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
51642         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
51643         Moved ...
51644         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
51645         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
51646         Moved ...
51647         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
51648         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
51649         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
51650         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
51651         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
51652         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
51653         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
51654         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
51655         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
51656         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
51657         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
51658         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
51659         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
51660         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
51661         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
51662         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
51663         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
51665         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
51666         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
51667         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
51668         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
51669         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
51671         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
51672         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
51673         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
51674         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
51675         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
51676         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
51677         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
51678         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
51679         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
51680         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
51682         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
51683         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
51685         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
51686         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
51687         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
51688         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
51689         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
51690         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
51691         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
51692         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
51693         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
51694         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
51695         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
51696         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
51697         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
51698         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
51699         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
51700         Update #include.
51701         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
51702         Likewise.
51703         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51704         Likewise.
51705         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51706         Likewise.
51707         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51708         Likewise.
51709         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
51710         Likewise.
51711         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
51712         Likewise.
51713         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
51714         Likewise.
51715         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
51716         Likewise.
51717         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
51718         Likewise.
51719         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
51720         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
51721         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
51722         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
51723         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
51724         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
51725         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
51726         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
51727         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
51728         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
51729         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
51730         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
51731         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
51732         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
51733         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
51735         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
51736         that was previously under [RESET_PID].
51737         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
51738         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
51739         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
51741         * sysdeps/i386/nptl/Implies: New file.
51742         * sysdeps/x86_64/nptl/Implies: New file.
51743         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
51744         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
51745         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
51746         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
51748         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
51749         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51750         (__libc_vfork): New strong alias.
51751         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
51752         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
51754         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
51755         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51756         (__libc_vfork): New strong alias.
51757         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
51758         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
51760         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
51761         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51762         (__libc_vfork): New strong alias.
51763         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
51764         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
51765         * nptl/pt-vfork.c: New file.
51766         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
51767         (libpthread: GLIBC_2.20): New version set (empty).
51769 2014-05-14  Will Newton  <will.newton@linaro.org>
51771         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
51772         rather than #if.
51774 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
51776         [BZ #16564]
51777         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
51778         arguments with exponent 65 or above.
51779         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
51780         arguments 0x1p113L or above.
51781         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
51782         to arguments 0x1p107L or above.
51783         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
51784         positive arguments with exponent 65 or above.
51785         * math/auto-libm-test-in: Add more tests of log1p.
51786         * math/auto-libm-test-out: Regenerated.
51788         [BZ #16928]
51789         * math/s_cacos.c (__cacos): Ensure zero real part of result from
51790         non-finite arguments is +0.
51791         * math/s_cacosf.c (__cacosf): Likewise.
51792         * math/s_cacosl.c (__cacosl): Likewise.
51793         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
51794         * sysdeps/i386/fpu/libm-test-ulps: Update.
51795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51797         [BZ #16927]
51798         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
51799         value.
51800         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
51801         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
51802         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
51803         for explicit high bit of mantissa when testing for argument equal
51804         to 1.
51805         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
51806         * sysdeps/i386/fpu/libm-test-ulps: Update.
51807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51809         [BZ #16516]
51810         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
51811         (__erf): Scale by 16 instead of 8 in potentially underflowing
51812         case.  Ensure exception if result actually underflows.
51813         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
51814         (__erff): Scale by 16 instead of 8 in potentially underflowing
51815         case.  Ensure exception if result actually underflows.
51816         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
51817         (efx8): Remove variable.
51818         (__erfl): Scale by 16 instead of 8 in potentially underflowing
51819         case.  Ensure exception if result actually underflows.
51820         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
51821         (efx8): Remove variable.
51822         (__erfl): Scale by 16 instead of 8 in potentially underflowing
51823         case.  Ensure exception if result actually underflows.
51824         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
51825         (efx8): Remove variable.
51826         (__erfl): Scale by 16 instead of 8 in potentially underflowing
51827         case.  Ensure exception if result actually underflows.
51828         * math/auto-libm-test-in: Add more tests of erf.
51829         * math/auto-libm-test-out: Regenerated.
51831 2014-05-14  Andreas Schwab  <schwab@suse.de>
51833         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
51834         Remove code conditionalized on USE___THREAD.
51836         * config.h.in (HAVE_PT_CHOWN): Define as 0.
51837         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
51838         not definedness.
51840 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
51842         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
51843         Define unconditionally.
51844         (__ASSUME_O_CLOEXEC): Likewise.
51845         (__ASSUME_SOCK_CLOEXEC): Likewise.
51846         (__ASSUME_IN_NONBLOCK): Likewise.
51847         (__ASSUME_PIPE2): Likewise.
51848         (__ASSUME_EVENTFD2): Likewise.
51849         (__ASSUME_SIGNALFD4): Likewise.
51850         (__ASSUME_DUP3): Likewise.
51851         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51852         (__ASSUME_DUP3): Do not define.
51853         (__ASSUME_EVENTFD2): Likewise.
51854         (__ASSUME_IN_NONBLOCK): Likewise.
51855         (__ASSUME_O_CLOEXEC): Likewise.
51856         (__ASSUME_PIPE2): Likewise.
51857         (__ASSUME_SIGNALFD4): Likewise.
51858         (__ASSUME_SOCK_CLOEXEC): Likewise.
51859         (__ASSUME_UTIMES): Undefine.
51860         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51861         (__ASSUME_UTIMES): Do not define.
51862         (__ASSUME_O_CLOEXEC): Likewise.
51863         (__ASSUME_SOCK_CLOEXEC): Likewise.
51864         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
51865         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
51866         0x020621].
51867         (__ASSUME_PIPE2): Likewise.
51868         (__ASSUME_EVENTFD2): Likewise.
51869         (__ASSUME_SIGNALFD4): Likewise.
51870         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
51871         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
51872         Do not define.
51873         (__ASSUME_EVENTFD2): Likewise.
51874         (__ASSUME_SIGNALFD4): Likewise.
51875         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
51876         (__ASSUME_32BITUIDS): Likewise.
51877         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
51878         (__ASSUME_IPC64): Likewise.
51879         (__ASSUME_ST_INO_64_BIT): Likewise.
51880         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
51881         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
51882         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51883         (__ASSUME_UTIMES): Do not define.
51884         (__ASSUME_PSELECT): Likewise.
51885         (__ASSUME_PPOLL): Likewise.
51886         (__ASSUME_O_CLOEXEC): Likewise.
51887         (__ASSUME_SOCK_CLOEXEC): Likewise.
51888         (__ASSUME_IN_NONBLOCK): Likewise.
51889         (__ASSUME_PIPE2): Likewise.
51890         (__ASSUME_EVENTFD2): Likewise.
51891         (__ASSUME_SIGNALFD4): Likewise.
51892         (__ASSUME_DUP3): Likewise.
51893         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51894         (__ASSUME_UTIMES): Likewise.
51895         (__ASSUME_O_CLOEXEC): Likewise.
51896         (__ASSUME_SOCK_CLOEXEC): Likewise.
51897         (__ASSUME_IN_NONBLOCK): Likewise.
51898         (__ASSUME_PIPE2): Likewise.
51899         (__ASSUME_EVENTFD2): Likewise.
51900         (__ASSUME_SIGNALFD4): Likewise.
51901         (__ASSUME_DUP3): Likewise.
51902         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51903         (__ASSUME_UTIMES): Likewise.
51904         (__ASSUME_O_CLOEXEC): Likewise.
51905         (__ASSUME_SOCK_CLOEXEC): Likewise.
51906         (__ASSUME_IN_NONBLOCK): Likewise.
51907         (__ASSUME_PIPE2): Likewise.
51908         (__ASSUME_EVENTFD2): Likewise.
51909         (__ASSUME_SIGNALFD4): Likewise.
51910         (__ASSUME_DUP3): Likewise.
51911         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
51912         Likewise.
51913         (__ASSUME_UTIMES): Likewise.
51914         (__ASSUME_EVENTFD2): Likewise.
51915         (__ASSUME_SIGNALFD4): Likewise.
51916         * sysdeps/unix/sysv/linux/tile/kernel-features.h
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         (__ASSUME_UTIMES): Undefine.
51926         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
51927         feclearexcept.  Remove symbol versioning code.
51928         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
51929         symbol versioning code.
51930         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
51931         symbol versioning code.
51932         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
51933         feupdateenv.  Remove symbol versioning code.
51934         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
51935         fegetexceptflag.  Remove symbol versioning code.
51936         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
51937         fesetexceptflag.  Remove symbol versioning code.
51938         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
51939         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
51940         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
51941         (__posix_fadvise64_l32): Remove prototype.
51942         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
51943         code.
51945 2014-05-13  Roland McGrath  <roland@hack.frob.com>
51947         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
51948         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
51949         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
51950         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
51952 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
51954         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
51955         current working directory
51957 2014-05-13  Roland McGrath  <roland@hack.frob.com>
51959         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
51960         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
51961         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
51962         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
51963         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
51964         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
51965         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
51966         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
51967         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
51968         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
51969         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
51970         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
51971         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
51972         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
51973         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
51974         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
51975         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
51976         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
51977         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
51978         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
51979         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
51980         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
51981         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
51982         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
51983         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
51984         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
51985         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
51986         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
51987         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
51988         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
51989         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
51990         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
51991         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
51992         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
51993         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
51994         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
51995         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
51996         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
51997         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
51998         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
51999         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52000         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52002         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52003         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52005         * sysdeps/unix/sysv/linux/arm/Makefile
52006         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52007         Add rt-aeabi_unwind_cpp_pr1.
52008         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52009         Add nptl-aeabi_unwind_cpp_pr1.
52010         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52011         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52012         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52013         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52014         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52015         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52017         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52018         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52019         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52020         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52022         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52023         Deconditionalize the code that was previously under [RESET_PID].
52024         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52026         * sysdeps/generic/exit-thread.h: New file.
52027         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52028         * include/unistd.h (__exit_thread): Remove declaration.
52029         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52030         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52031         * csu/libc-start.c: Include <exit-thread.h>.
52032         (LIBC_START_MAIN): Pass no argument to __exit_thread.
52033         * nptl/pthread_create.c: Include <exit-thread.h>.
52034         (start_thread): Call __exit_thread in place of __exit_thread_inline.
52035         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52036         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52037         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52038         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52039         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52040         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52041         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52042         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52043         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52044         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52045         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52046         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52047         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52048         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52049         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52050         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52052 2014-05-13  Andreas Schwab  <schwab@suse.de>
52054         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52056 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
52058         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52059         (__ASSUME_UTIMES): Do not condition on kernel version.
52060         (__ASSUME_PSELECT): Define unconditionally.
52061         (__ASSUME_PPOLL): Likewise.
52062         (__ASSUME_ATFCTS): Likewise.
52063         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52064         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52065         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52066         (__ASSUME_UTIMENSAT): Define unconditionally.
52067         (__ASSUME_PRIVATE_FUTEX): Likewise.
52068         (__ASSUME_FALLOCATE): Likewise.
52069         (__ASSUME_O_CLOEXEC): Likewise.
52070         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52071         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52072         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52073         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52074         (__ASSUME_IN_NONBLOCK): Likewise.
52075         (__ASSUME_PIPE2): Likewise.
52076         (__ASSUME_EVENTFD2): Likewise.
52077         (__ASSUME_SIGNALFD4): Likewise.
52078         (__ASSUME_DUP3): Likewise.
52079         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52080         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52081         (__ASSUME_AT_RANDOM): Likewise.
52082         (__ASSUME_PREADV): Likewise.
52083         (__ASSUME_PWRITEV): Likewise.
52084         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52085         (__ASSUME_F_GETOWN_EX): Define unconditionally.
52086         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52087         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52088         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52089         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52090         (__ASSUME_O_CLOEXEC): Define unconditionally.
52091         (__ASSUME_PSELECT): Do not undefine conditionally.
52092         (__ASSUME_PPOLL): Likewise.
52093         (__ASSUME_ATFCTS): Likewise.
52094         (__ASSUME_SET_ROBUST_LIST): Likewise.
52095         (__ASSUME_UTIMENSAT): Likewise.
52096         (__ASSUME_FDATASYNC): Define unconditionally.
52097         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52098         (__ASSUME_SIGFRAME_V2): Likewise.
52099         )__ASSUME_EVENTFD2): Likewise.
52100         (__ASSUME_SIGNALFD4): Likewise.
52101         (__ASSUME_PSELECT): Do not undefine conditionally.
52102         (__ASSUME_PPOLL): Likewise.
52103         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52104         (__ASSUME_PSELECT): Define unconditionally.
52105         (__ASSUME_PPOLL): Likewise.
52106         (__ASSUME_O_CLOEXEC): Likewise.
52107         (__ASSUME_SOCK_CLOEXEC): Likewise.
52108         (__ASSUME_IN_NONBLOCK): Likewise.
52109         (__ASSUME_PIPE2): Likewise.
52110         (__ASSUME_EVENTFD2): Likewise.
52111         (__ASSUME_SIGNALFD4): Likewise.
52112         (__ASSUME_DUP3): Likewise.
52113         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52114         (__ASSUME_O_CLOEXEC): Likewise.
52115         (__ASSUME_SOCK_CLOEXEC): Likewise.
52116         (__ASSUME_IN_NONBLOCK): Likewise.
52117         (__ASSUME_PIPE2): Likewise.
52118         (__ASSUME_EVENTFD2): Likewise.
52119         (__ASSUME_SIGNALFD4): Likewise.
52120         (__ASSUME_DUP3): Likewise.
52121         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52122         (__ASSUME_EVENTFD2): Likewise.
52123         (__ASSUME_SIGNALFD4): Likewise.
52124         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52126 2014-05-12  Andreas Schwab  <schwab@suse.de>
52128         [BZ #16932]
52129         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
52130         (_nss_nis_gethostbyname4_r): Return error if item length is larger
52131         than maximum RPC packet size.
52132         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
52133         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
52134         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
52135         (_nss_nis_getservbyport_r): Likewise.
52137 2014-05-12  Will Newton  <will.newton@linaro.org>
52139         * malloc/Makefile (tests): Add tst-mallopt.
52140         * malloc/tst-mallopt.c: New file.
52142 2014-05-09  Roland McGrath  <roland@hack.frob.com>
52144         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
52145         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
52147 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52149         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
52150         (tst-tlsmod6.so): Likewise.
52152 2014-05-09  Roland McGrath  <roland@hack.frob.com>
52154         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
52156 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
52158         [BZ #16064]
52159         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
52160         and <dl-procinfo.h>.
52161         (__fegetenv): Save SSE state in envp->__eip if supported.
52162         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
52163         envp->__eip if supported.
52164         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
52165         and <dl-procinfo.h>.
52166         (__fesetenv): Always set __eip, __cs_selector, __opcode,
52167         __data_offset and __data_selector in environment to 0.  Set SSE
52168         state if supported.
52169         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
52170         test-fenv-sse.
52171         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
52172         -mfpmath=sse.
52173         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
52175 2014-05-09  Will Newton  <will.newton@linaro.org>
52177         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
52178         and libc_relro_required for ARM.
52179         * sysdeps/arm/preconfigure: Regenerate.
52181 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
52182             Stefan Liebler  <stli@linux.vnet.ibm.com>
52184         * config.make.in (enable-lock-elision): New Makefile variable.
52185         * configure.ac: Likewise.
52186         * configure: Regenerate.
52187         * sysdeps/s390/configure.ac:
52188         Add check for gcc transactions support.
52189         * sysdeps/s390/configure: Regenerate.
52190         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
52191         Build elision files if enabled.
52192         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
52193         Add lock elision support for s390.
52194         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
52195         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
52196         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
52197         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
52198         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
52199         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
52200         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
52201         Likewise.
52202         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
52203         Likewise.
52204         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
52205         Likewise.
52206         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
52207         Likewise.
52208         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
52209         (__lll_timedlock_elision, __lll_lock_elision)
52210         (__lll_unlock_elision, __lll_trylock_elision)
52211         (lll_timedlock_elision, lll_lock_elision)
52212         (lll_unlock_elision, lll_trylock_elision): Add.
52213         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52214         (pthread_mutex_t): Add lock elision support for s390.
52216 2014-05-14  Wilco  <wdijkstr@arm.com>
52218         * sysdeps/arm/fclrexcpt.c: Cleanup.
52219         * sysdeps/arm/fedisblxcpt.c: Cleanup.
52220         * sysdeps/arm/feenablxcpt.c: Cleanup.
52221         * sysdeps/arm/fegetenv.c: Cleanup.
52222         * sysdeps/arm/fegetexcept.c: Cleanup.
52223         * sysdeps/arm/fegetround.c: Cleanup.
52224         * sysdeps/arm/feholdexcpt.c: Cleanup.
52225         * sysdeps/arm/fesetenv.c: Cleanup.
52226         * sysdeps/arm/fesetround.c: Cleanup.
52227         * sysdeps/arm/feupdateenv.c: Cleanup.
52228         * sysdeps/arm/fgetexcptflg.c: Cleanup.
52229         * sysdeps/arm/fraiseexcpt.c: Cleanup.
52230         * sysdeps/arm/fsetexcptflg.c: Cleanup.
52231         * sysdeps/arm/ftestexcept.c: Cleanup.
52232         * sysdeps/arm/get-rounding-mode.h: Cleanup.
52233         * sysdeps/arm/setfpucw.c: Cleanup.
52235 2014-05-09  Will Newton  <will.newton@linaro.org>
52237         * sysdeps/arm/armv7/strcmp.S: New file.
52238         * NEWS: Mention addition of ARMv7 optimized strcmp.
52240 2014-05-08  Roland McGrath  <roland@hack.frob.com>
52242         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
52243         look for %.ac rather than %.in.
52245         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
52246         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
52247         * sysdeps/mach/hurd/configure: Regenerated.
52248         * sysdeps/unix/sysv/linux/configure: Regenerated.
52250         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
52252 2014-05-07  Steve Ellcey  <sellcey@mips.com>
52254         [BZ #16922]
52255         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
52256         (LONG_SUB): Ditto.
52257         (PTR_SUB): Ditto.
52259 2014-05-07  Andreas Schwab  <schwab@suse.de>
52261         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
52262         when skipping over non-matching result from nscd.
52264 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
52266         [BZ #16876]
52267         * nptl/sockperf.c (client): Check socket return value.
52269         [BZ #16877]
52270         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
52271         nscd security class.
52273 2014-05-06  Roland McGrath  <roland@hack.frob.com>
52275         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
52276         * sysdeps/arm/unwind.h: ... here.
52278 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
52280         [BZ #16916]
52281         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
52282         Define.
52284 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52286         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
52287         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
52288         multiarch strncpy for PPC64.
52289         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
52290         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
52291         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
52292         multiarch optimizations.
52293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52294         (__libc_ifunc_impl_list): Likewise.
52295         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
52296         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
52297         multiarch stpncpy for PPC64.
52298         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
52299         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
52301 2014-05-06  Andreas Schwab  <schwab@suse.de>
52303         [BZ #16912]
52304         * gmon/mcount.c (_MCOUNT_DECL): Use
52305         atomic_compare_and_exchange_bool_acq instead of
52306         catomic_compare_and_exchange_bool_acq.
52308 2014-05-05  Roland McGrath  <roland@hack.frob.com>
52310         * elf/Makefile (others, install-bin): Remove pldd.
52311         (pldd-modules): Variable removed.
52312         ($(objpfx)pldd): Target removed.
52313         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
52314         (others, install-bin): Append pldd here.
52315         ($(objpfx)pldd): New target.
52317         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
52318         to 0, so the first #if test emitted later doesn't see it undefined.
52319         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
52320         * sysdeps/gnu/errlist.c: Regenerated.
52322 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52324         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
52325         [libc_hidden_builtin_def]: Define to empty value.
52326         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
52327         [libc_hidden_builtin_def]: Likewise.
52328         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
52329         [libc_hidden_builtin_def]: Likewise.
52330         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
52331         [libc_hidden_builtin_def]: Likewise.
52332         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
52333         __redirect_memcpy and define ifunc as default hidden symbol.
52334         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
52335         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
52337 2014-05-04  Adam Conrad  <adconrad@0c3.net>
52339         * locale/iso-4217.def: Reintroduce XDR currency.
52341 2014-05-04  Allan McRae  <allan@archlinux.org>
52343         * po/eo.po: Update Esperanto translation from translation project.
52345 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
52347         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
52348         and FEATURE_INDEX_MAX to 1.
52349         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
52351 2014-05-01  Steve Ellcey  <sellcey@mips.com>
52353         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
52354         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
52355         * iconvdata/big5.c (ONE_DIRECTION): Define.
52356         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
52357         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
52358         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
52359         * iconvdata/cp932.c (ONE_DIRECTION): Define.
52360         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
52361         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
52362         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
52363         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
52364         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
52365         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
52366         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
52367         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
52368         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
52369         * iconvdata/gbk.c (ONE_DIRECTION): Define.
52370         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
52371         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
52372         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
52373         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
52374         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
52375         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
52376         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
52377         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
52378         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
52379         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
52380         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
52381         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
52382         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
52383         * iconvdata/iso646.c (ONE_DIRECTION): Define.
52384         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
52385         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
52386         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
52387         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
52388         * iconvdata/johab.c (ONE_DIRECTION): Define.
52389         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
52390         * iconvdata/sjis.c (ONE_DIRECTION): Define.
52391         * iconvdata/t.61.c (ONE_DIRECTION): Define.
52392         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
52393         * iconvdata/tscii.c (ONE_DIRECTION): Define.
52394         * iconvdata/uhc.c (ONE_DIRECTION): Define.
52395         * iconvdata/unicode.c (ONE_DIRECTION): Define.
52396         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
52397         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
52398         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
52400 2014-05-01  Roland McGrath  <roland@hack.frob.com>
52402         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
52403         (_IO_JUMPS_OFFSET): Define to 0.
52405         * nptl/sysdeps/pthread/bits/libc-lock.h
52406         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
52407         (__libc_lock_define_initialized_recursive): Always define using
52408         initializer.  Modern compilers treat uninitialized (implicit zero) and
52409         explicit zero initializers the same (i.e. put the datum in bss).
52411 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52413         * nscd/nscd-client.h: Include <string.h>.
52415 2014-05-01  David S. Miller  <davem@davemloft.net>
52417         [BZ #16885]
52418         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
52419         multiple zero bytes exist at the end of a string.
52420         Reported by Aurelien Jarno <aurelien@aurel32.net>
52422         * string/test-strcmp.c (check): Add explicit test for situations where
52423         there are multiple zero bytes after the first.
52425 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52427         [BZ #16890]
52428         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
52429         when compiling wprintf.
52430         * stdio-common/tstdiomisc.c (t3): New function.
52431         (main): Call it.
52433 2014-05-01  Steve Ellcey  <sellcey@mips.com>
52435         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
52436         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
52437         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
52438         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
52440 2014-05-01  Steve Ellcey  <sellcey@mips.com>
52442         * stdlib/longlong.h: Updated from GCC.
52444 2014-05-01  Will Newton  <will.newton@linaro.org>
52445             Bernard Ogden  <bernie.ogden@linaro.org>
52447         * NEWS: Update fixed bug list.
52449         [BZ #15119]
52450         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
52452 2014-04-30  David S. Miller  <davem@davemloft.net>
52454         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
52455         (libc_feholdexcept_setround_sparc_ctx): New function.
52456         (libc_fesetenv_sparc_ctx): Likewise.
52457         (libc_feupdateenv_sparc_ctx): Likewise.
52458         (libc_feholdsetround_sparc_ctx): Likewise.
52459         (libc_feholdexcept_setround_ctx): Define.
52460         (libc_feholdexcept_setroundf_ctx): Likewise.
52461         (libc_feholdexcept_setroundl_ctx): Likewise.
52462         (libc_fesetenv_ctx): Likewise.
52463         (libc_fesetenvf_ctx): Likewise.
52464         (libc_fesetenvl_ctx): Likewise.
52465         (libc_feupdateenv_ctx): Likewise.
52466         (libc_feupdateenvf_ctx): Likewise.
52467         (libc_feupdateenvl_ctx): Likewise.
52468         (libc_feresetround_ctx): Likewise.
52469         (libc_feresetroundf_ctx): Likewise.
52470         (libc_feresetroundl_ctx): Likewise.
52471         (libc_feholdsetround_ctx): Likewise.
52472         (libc_feholdsetroundf_ctx): Likewise.
52473         (libc_feholdsetroundl_ctx): Likewise.
52475         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52476         with __USE_GNU instead of XOPEN cpp guards.
52478         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
52479         0.
52481         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52482         with XOPEN cpp guards.
52484 2014-04-30  Julian Brown  <julian@codesourcery.com>
52486         [BZ #16888]
52487         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
52488         handling.
52490 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
52492         [BZ #9894]
52493         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
52494         Change to 2.6.32.
52495         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
52496         * sysdeps/unix/sysv/linux/configure: Regenerated.
52497         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
52498         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
52499         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
52500         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
52501         * README: Update reference to required Linux kernel version.
52502         * manual/install.texi (Linux): Update reference to required Linux
52503         kernel headers version.
52504         * INSTALL: Regenerated.
52506         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
52507         header inclusion.
52508         [POSIX] (limits.h): Likewise.
52509         [POSIX] (math.h): Likewise.
52510         [POSIX] (sys/wait.h): Likewise.
52511         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
52512         function.
52513         [POSIX] (stddef.h): Do not allow header inclusion.
52515 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52517         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
52519 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
52521         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
52522         Return immediately after lll_futex_wake.
52524 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52526         [BZ #16791]
52527         * nscd/nscd-client.h (datahead_init_common): Initialize entire
52528         structure.
52529         (datahead_init_pos): Call datahead_init_common early.
52530         (datahead_init_neg): Likewise.
52532         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
52533         datahead_init_neg): New functions.
52534         * nscd/aicache.c (addhstaiX): Use them.
52535         * nscd/grpcache.c (cache_addgr): Likewise.
52536         * nscd/hstcache.c (cache_addhst): Likewise.
52537         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52538         * nscd/netgroupcache.c (do_notfound): Likewise.
52539         (addgetnetgrentX): Likewise.
52540         (addinnetgrX): Likewise.
52541         * nscd/pwdcache.c (cache_addpw): Likewise.
52542         * nscd/servicescache.c (cache_addserv): Likewise.
52544 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52545             Atsushi Onoe  <atsushi@onoe.org>
52547         [BZ #14308]
52548         [BZ #12994]
52549         [BZ #13651]
52550         * resolv/res_query.c (__libc_res_nsearch): Return if at least
52551         one response is valid.
52552         * resolv/res_send.c (send_dg): Check for validity of other
52553         response if the current response is a referral.
52555 2014-04-29  Steve Ellcey  <sellcey@mips.com>
52557         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
52559 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
52561         [BZ #16823]
52562         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
52563         Always divide by positive zero when computing -Inf result.
52564         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
52565         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
52567 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52569         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
52570         FPSCR if value do not change.
52571         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
52572         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
52573         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
52574         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
52575         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
52576         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
52577         function.
52579 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
52581         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
52582         * sysdeps/unix/sysv/linux/hppa: Move directory from
52583         ports/systeps/unix/sysv/linux/hppa.
52584         * README: Update listing for hppa-*-linux-gnu.
52586 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
52588         [BZ #16754]
52589         * manual/stdio.texi (Hook functions): Fix types of stream hook
52590         functions.
52591         [BZ #16854]
52592         * socket/sys/socket.h: Fix typo in comment.
52594 2014-04-28  Wilco  <wdijkstr@arm.com>
52596         * sysdeps/arm/fenv_private.h: New file.
52597         * sysdeps/arm/math_private.h: New file.
52598         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
52600 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
52602         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
52603         with __int128_t.
52604         (La_x86_64_retval): Likewise.
52606 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
52608         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
52609         fpsr if value didn't change.
52610         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
52611         to fpcr if value didn't change.
52612         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
52613         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
52614         fpsr or fpcr if value didn't change.
52615         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
52616         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
52617         fpcr if value didn't change.
52618         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
52619         to fpsr if value didn't change.
52621 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52623         * nptl/tst-sem3.c: Use test-skeleton.c
52624         (main): Rename to do_test.  Use return instead of
52625         exit.
52626         * nptl/tst-sem4.c: Use test-skeleton.c
52627         (main): Rename to do_test.
52629 2014-04-22  David S. Miller  <davem@davemloft.net>
52631         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
52632         (struct sigaction): New struct member __glibc_reserved0, change
52633         type of sa_flags to int.
52635 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
52637         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
52638         (COUNT_LEADING_ZEROS_0): Define for AArch64.
52640 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52642         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
52643         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
52645 2014-04-22  Will Newton  <will.newton@linaro.org>
52646             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
52648         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
52649         (__longjmp): Add longjmp and longjmp_target SystemTap
52650         probes.
52651         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
52652         (__sigsetjmp): Add setjmp SystemTap probe.
52654 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
52656         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
52657         match manual order.
52659 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52661         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
52663         * sysdeps/powerpc/fpu/fenv_private.h
52664         (libc_feholdexcept_setroundl_ctx): Define to
52665         libc_feholdexcept_setround_ppc_ctx.
52666         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
52667         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
52668         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
52669         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
52671 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
52673         * sysdeps/aarch64/math-tests.h: New file.
52675 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
52677         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
52678         New.
52679         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52680         Check and set bit_AVX2_Usable.
52681         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
52682         macro.
52683         (bit_AVX2): Likewise.
52684         (index_AVX2_Usable): Likewise.
52685         (CPUID_AVX2): Likewise.
52686         (HAS_AVX2): Likewise.
52688 2014-04-17  Will Newton  <will.newton@linaro.org>
52690         * manual/setjmp.texi (System V contexts): Add note that
52691         calling setcontext on a context created by a call to a
52692         signal handler is undefined.  Update text to note that
52693         setcontext from a signal handler is possible but not
52694         recommended.
52696         [BZ #16629]
52697         * stdlib/tst-setcontext.c: Include signal.h.
52698         (main): Check that the signal stack before and
52699         after swapcontext is the same.
52701         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
52702         Re-implement to restore registers in user code and avoid
52703         rt_sigreturn system call.
52705 2014-04-17  Wilco  <wdijkstr@arm.com>
52707         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
52708         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
52709         * math/test-fenv.c: Skip exception trap tests on targets which only
52710         support non-stop mode.
52712 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
52713             Wilco Dijkstra  <wilco.dijkstra@arm.com>
52715         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
52716         (libc_feholdsetround_aarch64_ctx)
52717         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
52718         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
52719         (libc_feresetround_ctx, libc_feresetroundf_ctx)
52720         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
52721         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
52722         (libc_feresetround_noexl_ctx): Define.
52724 2014-04-16  Richard Henderson  <rth@redhat.com>
52726         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
52728         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
52729         unwind tables.
52731         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
52732         const from the non-libc, non-ldso copy.
52734         * sysdeps/alpha/libm-test-ulps: Regenerate.
52736 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
52737             Wilco Dijkstra  <wilco.dijkstra@arm.com>
52739         * sysdeps/aarch64/fpu/math_private.h: New file.
52741 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
52743         * sysdeps/aarch64/libm-test-ulps: Regenerate.
52745 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
52747         [BZ #16275]
52748         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
52749         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
52750         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
52751         Intel MPX bound registers before _dl_profile_fixup.
52752         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
52753         registers after _dl_profile_fixup.  Save and restore bound
52754         registers bnd0/bnd1 when calling _dl_call_pltexit.
52755         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
52756         (LR_BND_OFFSET): Likewise.
52757         (LRV_BND0_OFFSET): Likewise.
52758         (LRV_BND1_OFFSET): Likewise.
52760 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52762         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
52763         to...
52764         * sysdeps/mach/hurd/i386/tls.h: ... here.
52765         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
52766         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
52767         fields.
52769 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52771         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
52773 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
52775         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52777 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
52779         [BZ #14770]
52780         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
52781         * sysdeps/s390/configure: Regenerate.
52783         [BZ #16824]
52784         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
52785         Set round-to-nearest internally to reduce error accumulation.
52787 2014-04-16  Alan Modra  <amodra@gmail.com>
52789         [BZ #16740]
52790         [BZ #16619]
52791         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
52792         * math/libm-test.inc (frexp_test_data): Add tests.
52793         * NEWS: Update fixed bug list.
52795 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52797         * benchtests/Makefile: Depend on libraries in build directory.
52798         (bench-math): Separate out math tests.
52799         (bench-pthread): Separate out pthread tests.
52800         (bench): Include math and pthread tests.
52802 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
52804         [BZ #16831]
52805         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
52806         _dl_debug_initialize.
52808         * configure.ac: Remove SELinux header check.
52809         * configure: Regenerate.
52810         * nscd/selinux.c (perms): Array of const char* to permission names.
52811         (nscd_request_avc_has_perm): Call security_deny_unknown to find
52812         default policy. Call string_to_security_class and string_to_av_perm to
52813         translate strings. Enforce default policy and call avs_has_perm with
52814         results of translated strings.
52816 2014-04-13  David S. Miller  <davem@davemloft.net>
52818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52820 2014-04-12  Allan McRae  <allan@archlinux.org>
52822         [BZ #16838]
52823         * manual/string.texi (Collation Functions): Fix qsort argument
52824         order in example.
52825         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52827 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
52829         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
52830         Make the test a no-op if there are no exceptions defined.
52832 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
52834         * elf/Makefile (tests): make tst-dlopen-aout conditional on
52835         enable-hardcoded-path-in-tests
52837 2014-04-11  Will Newton  <will.newton@linaro.org>
52839         * benchtests/Makefile (extra-objs): Add json-lib.o.
52840         (bench-func): Tidy up JSON output.
52841         * benchtests/bench-skeleton.c: Include json-lib.h.
52842         (main): Use JSON library functions to do output of
52843         benchmark results.
52844         * benchtests/bench-timing-type.c (main): Output the
52845         timing type simply, leaving formatting to the user.
52846         * benchtests/json-lib.c: New file.
52847         * benchtests/json-lib.h: Likewise.
52849 2014-04-11  Torvald Riegel  <triegel@redhat.com>
52851         [BZ #15215]
52852         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
52853         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
52854         memory barriers.  Add comments.
52855         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
52856         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
52857         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
52858         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
52859         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
52860         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
52862 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
52864         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
52865         * sysdeps/s390/s390-64/configure.ac: ... this ...
52866         * sysdeps/s390/configure.ac: ... to here.
52867         * sysdeps/s390/s390-32/configure: Delete file.
52868         * sysdeps/s390/s390-64/configure: Delete file.
52869         * sysdeps/s390/configure: Regenerate.
52871 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
52873         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
52875 2014-04-11  Will Newton  <will.newton@linaro.org>
52877         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
52878         to zero if it is not defined elsewhere.  (mtrim): Test
52879         the value of MALLOC_DEBUG with #if rather than #ifdef.
52881 2014-04-10 Torvald Riegel  <triegel@redhat.com>
52883         * benchtests/pthread_once-inputs: New file.
52884         * benchtests/pthread_once-source.c: New file.
52885         * benchtests/README: Update documentation.
52887 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
52888             H.J. Lu  <hongjiu.lu@intel.com>
52890         [BZ #16275]
52891         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
52892         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
52893         * sysdeps/x86_64/configure: Regenerated.
52894         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
52895         macro.
52896         (REGISTER_SAVE_RAX): Likewise.
52897         (REGISTER_SAVE_RCX): Likewise.
52898         (REGISTER_SAVE_RDX): Likewise.
52899         (REGISTER_SAVE_RSI): Likewise.
52900         (REGISTER_SAVE_RDI): Likewise.
52901         (REGISTER_SAVE_R8): Likewise.
52902         (REGISTER_SAVE_R9): Likewise.
52903         (REGISTER_SAVE_BND0): Likewise.
52904         (REGISTER_SAVE_BND1): Likewise.
52905         (REGISTER_SAVE_BND2): Likewise.
52906         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
52907         bound registers when calling _dl_fixup.
52909 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52911         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
52912         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
52913         of its definition.
52914         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
52915         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
52916         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
52917         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
52918         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
52919         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
52920         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
52922 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
52924         [BZ #15514]
52925         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
52926         pathconf(_PC_NAME_MAX).
52928 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52930         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
52931         Remove macro usage.
52932         (__PTHREAD_SPINS): Move definition to ...
52933         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
52934         (__PTHREAD_SPINS): ... here.
52935         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52936         (__PTHREAD_SPIN): Likewise.
52937         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
52938         (__PTHREAD_SPIN): Likewise.
52939         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
52940         (__PTHREAD_SPIN): Likewise.
52941         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
52942         (__PTHREAD_SPIN): Likewise.
52943         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
52944         (__PTHREAD_SPIN): Likewise.
52945         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
52946         (__PTHREAD_SPIN): Likewise.
52947         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
52948         (__PTHREAD_SPIN): Likewise.
52949         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
52950         (__PTHREAD_SPIN): Likewise.
52951         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
52952         (__PTHREAD_SPIN): Likewise.
52953         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
52954         (__PTHREAD_SPIN): Likewise.
52955         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
52956         (__PTHREAD_SPIN): Likewise.
52957         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
52958         (__PTHREAD_SPIN): Likewise.
52960         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
52961         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
52962         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
52963         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
52964         imply folder.
52965         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
52966         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
52967         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
52968         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
52969         correct imply path.
52970         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
52971         strlen symbol for non multi-arch builds.
52972         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
52973         missing hidden_def and weak_alias.
52975 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
52977         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
52979 2014-04-07  Will Newton  <will.newton@linaro.org>
52981         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
52982         and contents.  [!_LIBC] Remove #ifndef and contents.
52983         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
52984         * string/memccpy.c (__memccpy): Use ANSI prototype.
52985         * string/memfrob.c (memfrob): Likewise.
52986         * string/strcoll.c (STRCOLL): Likewise.
52987         * string/strlen.c (strlen): Likewise.
52988         * string/strtok.c (STRTOK): Likewise.
52989         * string/strcat.c: Remove unused #include of memcopy.h.
52990         (strcat): Use ANSI prototype.
52991         * string/strchr.c: Remove unused #include of memcopy.h.
52992         (strchr): Use ANSI prototype.
52993         * string/strcmp.c: Remove unused #include of memcopy.h.
52994         (strcmp): Use ANSI prototype.
52995         * string/strcpy.c: Remove unused #include of memcopy.h.
52996         (strcpy): Use ANSI prototype.
52998 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53000         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53001         * config.make.in (config-extra-cppflags): Set it from
53002         libc_extra_cppflags.
53003         * configure.ac (libc_extra_cflags): Make it accumulate over
53004         configure fragments.
53005         (libc_extra_cppflags): New flag.
53006         * configure. Regenerate.
53007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53008         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53009         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53012         [BZ #16815]
53013         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53014         result for FE_DOWNWARD rounding mode.
53015         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53016         Likewise.
53017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53019 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
53021         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53022         in function argument name.
53024 2014-04-03  David Svoboda  <svoboda@cert.org>
53026         [BZ #5666]
53027         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53028         explicitly.
53030 2014-04-03  Roland McGrath  <roland@hack.frob.com>
53032         * elf/dl-unmap-segments.h: New file.
53033         * sysdeps/generic/ldsodefs.h
53034         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53035         * elf/dl-close.c: Include <dl-unmap-segments.h>.
53036         * elf/dl-fptr.c: Likewise.
53037         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53038         * sysdeps/aarch64/tlsdesc.c: Likewise.
53039         * sysdeps/arm/tlsdesc.c: Likewise.
53040         * sysdeps/i386/tlsdesc.c: Likewise.
53041         * sysdeps/tile/dl-runtime.c: Likewise.
53042         * sysdeps/x86_64/tlsdesc.c: Likewise.
53043         * elf/dl-load.h: New file.
53044         * elf/dl-load.c: Include it.
53045         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53046         Macros moved to dl-load.h.
53047         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53048         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53049         Use _dl_unmap_segments in place of __munmap.
53050         Break out segment-mapping loop into ...
53051         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53053 2014-04-03  Will Newton  <will.newton@linaro.org>
53055         * elf/dl-lookup.c (do_lookup_x): Remove comment
53056         referring to nested function and move variable
53057         declarations down to before first use.
53059 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
53061         [BZ #16799]
53062         [BZ #16800]
53063         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53064         with 0 numerator.
53065         * math/s_catanf.c (__catanf): Likewise.
53066         * math/s_catanh.c (__catanh): Likewise.
53067         * math/s_catanhf.c (__catanhf): Likewise.
53068         * math/s_catanhl.c (__catanhl): Likewise.
53069         * math/s_catanl.c (__catanl): Likewise.
53070         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53071         by positive zero when computing -Inf result.
53072         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53073         (catanh_test): Likewise.
53074         * sysdeps/i386/fpu/libm-test-ulps: Update.
53075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53077         [BZ #16789]
53078         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53079         instead of using underflowing value in computing result.
53080         * math/s_clog10.c (__clog10): Likewise.
53081         * math/s_clog10f.c (__clog10f): Likewise.
53082         * math/s_clog10l.c (__clog10l): Likewise.
53083         * math/s_clogf.c (__clogf): Likewise.
53084         * math/s_clogl.c (__clogl): Likewise.
53085         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53086         (clog10_test): Likewise.
53087         * sysdeps/i386/fpu/libm-test-ulps: Update.
53088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53090 2014-04-02  Alan Modra  <amodra@gmail.com>
53092         [BZ #16739]
53093         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53094         output when value is near a power of two.  Use int64_t for lx and
53095         remove casts.  Use decimal rather than hex exponent constants.
53096         Don't use long double multiplication when double will suffice.
53097         * math/libm-test.inc (nextafter_test_data): Add tests.
53098         * NEWS: Add 16739 and 16786 to bug list.
53100         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
53102         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
53104 2014-04-01  Will Newton  <will.newton@linaro.org>
53106         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
53107         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
53109 2014-04-01  Florian Weimer  <fweimer@redhat.com>
53111         [BZ #13347]
53112         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
53113         * nptl/tst-setuid2.c: New file.
53114         * nptl/Makefile (xtests): Add tst-setuid2.
53116 2014-04-01  Alan Modra  <amodra@gmail.com>
53118         [BZ #16786]
53119         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
53121 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
53123         [BZ #6803]
53124         [BZ #6804]
53125         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
53126         set errno as appropriate.
53127         * math/w_scalbf.c (__scalbf): Likewise.
53128         * math/w_scalbl.c (__scalbl): Likewise.
53129         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
53130         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
53131         * math/libm-test.inc (scalb_test_data): Add errno expectations.
53132         Add more NaN tests.
53134         [BZ #16349]
53135         * math/w_atan2.c: Include <errno.h>.
53136         (__atan2): Set errno for result underflowing to zero.
53137         * math/w_atan2f.c: Include <errno.h>.
53138         (__atan2f): Set errno for result underflowing to zero.
53139         * math/w_atan2l.c: Include <errno.h>.
53140         (__atan2l): Set errno for result underflowing to zero.
53141         * math/auto-libm-test-in: Don't allow missing errno for some atan2
53142         tests.
53143         * math/auto-libm-test-out: Regenerated.
53145 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53147         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
53148         Encode instruction correctly in little endian.
53149         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
53150         Likewise.
53151         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
53152         Likewise.
53153         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
53154         Likewise.
53155         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
53156         Likewise.
53158 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
53160         [BZ #9894]
53161         * sysdeps/unix/sysv/linux/kernel-features.h
53162         [__sparc__ && !__arch64__ && !__sparc_v9__]
53163         (__ASSUME_SET_ROBUST_LIST): Do not define.
53164         [__sparc__ && !__arch64__ && !__sparc_v9__]
53165         (__ASSUME_FUTEX_LOCK_PI): Likewise.
53166         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
53167         Likewise.
53168         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53169         (__ASSUME_FUTEX_LOCK_PI): Undefine.
53170         (__ASSUME_REQUEUE_PI): Likewise.
53171         (__ASSUME_SET_ROBUST_LIST): Likewise.
53172         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53173         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
53174         Undefine.
53175         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53176         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
53177         Likewise.
53178         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
53179         Likewise.
53180         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
53181         Likewise.
53182         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53183         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
53184         Undefine.
53185         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
53186         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
53187         Likewise.
53189         [BZ #16648]
53190         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53191         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
53192         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
53194 2014-03-31  Will Newton  <will.newton@linaro.org>
53196         * benchtests/Makefile (bench): Add ffs and ffsll to list
53197         of tests.
53198         * benchtests/ffs-inputs: New file.
53199         * benchtests/ffsll-inputs: Likewise.
53201 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
53203         [BZ #16770]
53204         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
53205         too large before casting to int.
53206         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
53207         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
53208         * math/libm-test.inc (scalb_test_data): Add more tests.
53210 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53212         * benchtests/Makefile (DETAILED_OPT): New make option.
53213         (bench-func): Run benchmark program with -d if DETAILED_OPT is
53214         set.
53215         * benchtests/bench-skeleton.c: Include stdbool.h.
53216         (main): Store and print timings per input.
53217         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
53218         member to each argument value.
53219         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
53220         (_print_arg_data): Initialize per-input timing to 0.
53222         * benchtests/Makefile (timing-type): New binary.
53223         (bench-clean): Also remove bench-timing-type.
53224         (bench): New target for timing-type.
53225         (bench-func): Print output in JSON format.
53226         * benchtests/bench-skeleton.c (main): Print output in JSON
53227         format.
53228         * benchtests/bench-timing-type.c: New file.
53229         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
53230         (TIMING_PRINT_STATS): Remove.
53231         * benchtests/scripts/bench.py (_print_arg_data): Store variant
53232         name separately.
53234         * benchtests/bench-modf.c: Remove.
53235         * benchtests/modf-inputs: New inputs file.
53237 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
53239         [BZ #16362]
53240         * math/s_clog10.c (M_PI_LOG10E): New macro.
53241         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
53242         imaginary parts are 0.
53243         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
53244         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
53245         imaginary parts are 0.
53246         * math/s_clog10l.c (M_PI_LOG10El): New macro.
53247         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
53248         imaginary parts are 0.
53249         * math/libm-test.inc (clog10_test_data): Update expected results
53250         for when real and imaginary parts are 0.
53252 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
53254         * elf/dl-load.c: Finish conversion of __builtin_expect into
53255         __glibc_{un}likely.
53257 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
53259         [BZ #16348]
53260         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
53261         1+x for argument with exponent below -67.
53262         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
53263         Likewise.
53264         * math/auto-libm-test-in: Add more tests of exp.
53265         * math/auto-libm-test-out: Regenerated.
53267 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53269         [BZ #16759]
53270         * inet/getnetgrent_r.c (get_nonempty_val): New function.
53271         (nscd_getnetgrent): Use it.
53273         [BZ #16760]
53274         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
53275         of stpcpy.
53277 2014-03-27  Andi Kleen  <ak@linux.intel.com>
53279         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
53280         (lll_robust_lock, lll_cond_lock, lll_timedlock)
53281         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53282         (lll_robust_unlock): Remove out of line section. Use cfi
53283         intrinsics.
53284         (LLL_STUB_UNWIND_INFO*): Remove.
53285         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
53286         (lll_robust_lock, lll_cond_lock, lll_timedlock)
53287         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53288         (lll_robust_unlock): Remove out of line section. Use cfi
53289         intrinsics.
53290         (LLL_STUB_UNWIND_INFO*): Remove.
53292 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53294         [BZ #16758]
53295         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
53296         blank values.
53298 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
53300         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
53302 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
53304         [BZ #16198]
53305         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
53306         fnstenv.
53307         * math/test-fenv-preserve.c: New file.
53308         * math/Makefile (tests): Add test-fenv-preserve.
53310 2014-03-26  Will Newton <will.newton@linaro.org>
53312         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
53314 2014-03-25  Roland McGrath  <roland@hack.frob.com>
53316         * scripts/versionlist.awk: Partition the version sets and emit all
53317         GLIBC_* (sorted) before all others (sorted).
53319 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
53321         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
53322         GLIBC_2.2.5 version.
53324 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53326         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
53327         calls.
53329         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
53330         previous change.
53332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53334 2014-03-25  Andreas Schwab  <schwab@suse.de>
53336         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
53337         label to be used after in6ailist is initialized.
53339 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53341         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53342         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53344 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
53346         [BZ #16357]
53347         [BZ #16599]
53348         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
53349         min_plus_half.
53350         (fp_formats): Update initializers.
53351         (init_fp_formats): Initialize new field.
53352         (output_for_one_input_case): Allow underflow for results up to
53353         min_plus_half.
53354         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
53355         * math/auto-libm-test-in: Don't mark some underflows from asin and
53356         atanh as spurious.
53357         * math/auto-libm-test-out: Regenerated.
53358         * sysdeps/i386/fpu/libm-test-ulps: Update.
53359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53361 2014-03-25  Andreas Schwab  <schwab@suse.de>
53363         * libio/Makefile (tst-ftell-partial-wide-ENV)
53364         (tst-ftell-active-handler-ENV): Define.
53366 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
53368         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
53370 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
53372         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
53374 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
53376         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
53377         * sysdeps/x86_64/fpu/multiarch/e_exp.c
53378         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
53380 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
53382         [BZ #16634]
53383         * elf/dl-load.c (open_verify): Add mode parameter.
53384         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
53385         (open_path): Change from boolean 'secure' to complete flag 'mode'
53386         (_dl_map_object): Adjust.
53387         * elf/Makefile (tests): Add tst-dlopen-aout.
53388         * elf/tst-dlopen-aout.c: New test.
53390 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
53392         [BZ #16714]
53393         * sysdeps/unix/sysv/linux/s390/bits/stat.h
53394         (struct stat): Rename member pad0 to __glibc_reserved0.
53396         [BZ #16712]
53397         * sysdeps/s390/s390-32/bits/wordsize.h
53398         (__WORDSIZE32_SIZE_ULONG): New define.
53399         * sysdeps/s390/s390-64/bits/wordsize.h
53400         (__WORDSIZE32_SIZE_ULONG): Likewise.
53401         * sysdeps/generic/stdint.h (SIZE_MAX):
53402         Define as UL if __WORDSIZE32_SIZE_ULONG.
53404         [BZ #16713]
53405         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
53406         (__glibc_reserved0): New variable.
53407         (sa_flags): Change type to int.
53409         * posix/Makefile (before-compile): Use += before-compile instead
53410         of a :=.
53412         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53413         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53415 2014-03-20  Andreas Schwab  <schwab@suse.de>
53417         [BZ #16743]
53418         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
53419         non-matching result from nscd.
53421 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53423         * scripts/bench.py: Moved to ...
53424         * benchtests/scripts/bench.py: ... here.
53425         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
53427 2014-03-24  Andreas Schwab  <schwab@suse.de>
53429         [BZ #16002]
53430         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
53431         alloca_account and account alloca use for struct in6ailist.
53433 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
53435         [BZ #16284]
53436         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
53437         rounding mode to recompute results that overflow to infinity or
53438         underflow to zero.
53439         * math/auto-libm-test-in: Don't mark tests as expected to fail for
53440         bug 16284.
53441         * math/auto-libm-test-out: Regenerated.
53442         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
53443         (ccosh_test): Likewise.
53444         (csin_test_data): Use plus_oflow.
53445         (csin_test): Use ALL_RM_TEST.
53446         (csinh_test_data): Use plus_oflow.
53447         (csinh_test): Use ALL_RM_TEST.
53448         * sysdeps/i386/fpu/libm-test-ulps: Update.
53449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53451 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
53453         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
53454         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
53455         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
53457         [BZ #16731]
53458         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
53459         when x - 1 is zero.
53460         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
53461         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
53462         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
53463         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
53464         argument is 1.
53465         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
53466         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
53467         zero.
53468         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
53469         * sysdeps/i386/fpu/libm-test-ulps: Update.
53470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53472 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53474         * scripts/bench.pl: Remove file.
53475         * scripts/bench.py: New benchmark script.
53476         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
53477         * benchtests/README: Mention python dependency.
53478         * scripts/pylintrc: New file.
53479         * scripts/pylint: New file.
53481         * bits/mathdef.h: Use #ifdef instead of #if.
53482         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
53483         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53484         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
53485         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53486         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
53487         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53489 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53490             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53492         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
53493         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
53494         and strpbrk-ppc64 objects.
53495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53496         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
53497         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
53498         multiarch strpbrk for POWER7.
53499         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
53500         multiarch strpbrk for PPC64.
53501         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
53502         ifunc selector.
53503         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
53504         strpbrk for POWER7.
53506 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
53508         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
53509         (atan_test): Likewise.
53510         (atanh_test_data): Use NO_TEST_INLINE for two tests.
53511         (atanh_test): Use ALL_RM_TEST.
53512         (atan2_test_data): Likewise.
53513         (cabs_test): Likewise.
53514         (cacosh_test): Likewise.
53515         (carg_test): Likewise.
53516         (casin_test): Likewise.
53517         (casinh_test): Likewise.
53518         (cbrt_test): Likewise.
53519         (csqrt_test): Likewise.
53520         (erf_test): Likewise.
53521         (erfc_test): Likewise.
53522         (pow10_test): Likewise.
53523         (exp2_test): Likewise.
53524         (hypot_test): Likewise.
53525         (j0_test): Likewise.
53526         (j1_test): Likewise.
53527         (lgamma_test): Likewise.
53528         (gamma_test): Likewise.
53529         (sincos_test): Likewise.
53530         (tanh_test): Likewise.
53531         (y0_test): Likewise.
53532         (y1_test): Likewise.
53533         * sysdeps/i386/fpu/libm-test-ulps: Update.
53534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53536 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53538         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
53539         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
53540         and strcspn-ppc64 objects.
53541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53542         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
53543         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
53544         multiarch strcspn for POWER7.
53545         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
53546         multiarch strcspn for PPC64.
53547         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
53548         ifunc selector.
53549         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
53550         strcspn for POWER7.
53552 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
53554         * math/gen-libm-test.pl (generate_testfile): Expect only function
53555         name as argument to AUTO_TESTS_* and pass results for all rounding
53556         modes to parse_args.
53557         (parse_auto_input): Separate inputs of automatic tests from
53558         outputs before storing in %auto_tests.
53559         * math/libm-test.inc (acos_test_data): Update call to
53560         AUTO_TESTS_f_f.
53561         (acos_test): Use ALL_RM_TEST.
53562         (acos_tonearest_test_data): Remove.
53563         (acos_test_tonearest): Likewise.
53564         (acos_towardzero_test_data): Likewise.
53565         (acos_test_towardzero): Likewise.
53566         (acos_downward_test_data): Likewise.
53567         (acos_test_downward): Likewise.
53568         (acos_upward_test_data): Likewise.
53569         (acos_test_upward): Likewise.
53570         (acosh_test_data): Update call to AUTO_TESTS_f_f.
53571         (asin_test_data): Likewise.
53572         (asin_test): Use ALL_RM_TEST.
53573         (asin_tonearest_test_data): Remove.
53574         (asin_test_tonearest): Likewise.
53575         (asin_towardzero_test_data): Likewise.
53576         (asin_test_towardzero): Likewise.
53577         (asin_downward_test_data): Likewise.
53578         (asin_test_downward): Likewise.
53579         (asin_upward_test_data): Likewise.
53580         (asin_test_upward): Likewise.
53581         (asinh_test_data): Update call to AUTO_TESTS_f_f.
53582         (atan_test_data): Likewise.
53583         (atanh_test_data): Likewise.
53584         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
53585         (cabs_test_data): Update call to AUTO_TESTS_c_f.
53586         (carg_test_data): Likewise.
53587         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
53588         (ccos_test_data): Update call to AUTO_TESTS_c_c.
53589         (ccosh_test_data): Likewise.
53590         (cexp_test_data): Likewise.
53591         (clog_test_data): Likewise.
53592         (clog10_test_data): Likewise.
53593         (cos_test_data): Update call to AUTO_TESTS_f_f.
53594         (cos_test): Use ALL_RM_TEST.
53595         (cos_tonearest_test_data): Remove.
53596         (cos_test_tonearest): Likewise.
53597         (cos_towardzero_test_data): Likewise.
53598         (cos_test_towardzero): Likewise.
53599         (cos_downward_test_data): Likewise.
53600         (cos_test_downward): Likewise.
53601         (cos_upward_test_data): Likewise.
53602         (cos_test_upward): Likewise.
53603         (cosh_test_data): Update call to AUTO_TESTS_f_f.
53604         (cosh_test): Use ALL_RM_TEST.
53605         (cosh_tonearest_test_data): Remove.
53606         (cosh_test_tonearest): Likewise.
53607         (cosh_towardzero_test_data): Likewise.
53608         (cosh_test_towardzero): Likewise.
53609         (cosh_downward_test_data): Likewise.
53610         (cosh_test_downward): Likewise.
53611         (cosh_upward_test_data): Likewise.
53612         (cosh_test_upward): Likewise.
53613         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
53614         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
53615         (ctan_test_data): Likewise.
53616         (ctan_test): Use ALL_RM_TEST.
53617         (ctan_tonearest_test_data): Remove.
53618         (ctan_test_tonearest): Likewise.
53619         (ctan_towardzero_test_data): Likewise.
53620         (ctan_test_towardzero): Likewise.
53621         (ctan_downward_test_data): Likewise.
53622         (ctan_test_downward): Likewise.
53623         (ctan_upward_test_data): Likewise.
53624         (ctan_test_upward): Likewise.
53625         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
53626         (ctanh_test): Use ALL_RM_TEST.
53627         (ctanh_tonearest_test_data): Remove.
53628         (ctanh_test_tonearest): Likewise.
53629         (ctanh_towardzero_test_data): Likewise.
53630         (ctanh_test_towardzero): Likewise.
53631         (ctanh_downward_test_data): Likewise.
53632         (ctanh_test_downward): Likewise.
53633         (ctanh_upward_test_data): Likewise.
53634         (ctanh_test_upward): Likewise.
53635         (erf_test_data): Update call to AUTO_TESTS_f_f.
53636         (erfc_test_data): Likewise.
53637         (exp_test_data): Likewise.
53638         (exp_test): Use ALL_RM_TEST.
53639         (exp_tonearest_test_data): Remove.
53640         (exp_test_tonearest): Likewise.
53641         (exp_towardzero_test_data): Likewise.
53642         (exp_test_towardzero): Likewise.
53643         (exp_downward_test_data): Likewise.
53644         (exp_test_downward): Likewise.
53645         (exp_upward_test_data): Likewise.
53646         (exp_test_upward): Likewise.
53647         (exp10_test_data): Update call to AUTO_TESTS_f_f.
53648         (exp10_test): Use ALL_RM_TEST.
53649         (exp10_tonearest_test_data): Remove.
53650         (exp10_test_tonearest): Likewise.
53651         (exp10_towardzero_test_data): Likewise.
53652         (exp10_test_towardzero): Likewise.
53653         (exp10_downward_test_data): Likewise.
53654         (exp10_test_downward): Likewise.
53655         (exp10_upward_test_data): Likewise.
53656         (exp10_test_upward): Likewise.
53657         (exp2_test_data): Update call to AUTO_TESTS_f_f.
53658         (expm1_test_data): Likewise.
53659         (expm1_test): Use ALL_RM_TEST.
53660         (expm1_tonearest_test_data): Remove.
53661         (expm1_test_tonearest): Likewise.
53662         (expm1_towardzero_test_data): Likewise.
53663         (expm1_test_towardzero): Likewise.
53664         (expm1_downward_test_data): Likewise.
53665         (expm1_test_downward): Likewise.
53666         (expm1_upward_test_data): Likewise.
53667         (expm1_test_upward): Likewise.
53668         (fma_test_data): Update call to AUTO_TESTS_fff_f.
53669         (fma_test): Use ALL_RM_TEST.
53670         (fma_towardzero_test_data): Remove.
53671         (fma_test_towardzero): Likewise.
53672         (fma_downward_test_data): Likewise.
53673         (fma_test_downward): Likewise.
53674         (fma_upward_test_data): Likewise.
53675         (fma_test_upward): Likewise.
53676         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
53677         (j0_test_data): Update call to AUTO_TESTS_f_f.
53678         (j1_test_data): Likewise.
53679         (jn_test_data): Update call to AUTO_TESTS_if_f.
53680         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
53681         (log_test_data): Update call to AUTO_TESTS_f_f.
53682         (log10_test_data): Likewise.
53683         (log1p_test_data): Likewise.
53684         (log2_test_data): Likewise.
53685         (pow_test_data): Update call to AUTO_TESTS_ff_f.
53686         (pow_tonearest_test_data): Likewise.
53687         (sin_test_data): Update call to AUTO_TESTS_f_f.
53688         (sin_test): Use ALL_RM_TEST.
53689         (sin_tonearest_test_data): Remove.
53690         (sin_test_tonearest): Likewise.
53691         (sin_towardzero_test_data): Likewise.
53692         (sin_test_towardzero): Likewise.
53693         (sin_downward_test_data): Likewise.
53694         (sin_test_downward): Likewise.
53695         (sin_upward_test_data): Likewise.
53696         (sin_test_upward): Likewise.
53697         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
53698         (sinh_test_data): Update call to AUTO_TESTS_f_f.
53699         (sinh_test): Use ALL_RM_TEST.
53700         (sinh_tonearest_test_data): Remove.
53701         (sinh_test_tonearest): Likewise.
53702         (sinh_towardzero_test_data): Likewise.
53703         (sinh_test_towardzero): Likewise.
53704         (sinh_downward_test_data): Likewise.
53705         (sinh_test_downward): Likewise.
53706         (sinh_upward_test_data): Likewise.
53707         (sinh_test_upward): Likewise.
53708         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
53709         (sqrt_test): Use ALL_RM_TEST.
53710         (sqrt_tonearest_test_data): Remove.
53711         (sqrt_test_tonearest): Likewise.
53712         (sqrt_towardzero_test_data): Likewise.
53713         (sqrt_test_towardzero): Likewise.
53714         (sqrt_downward_test_data): Likewise.
53715         (sqrt_test_downward): Likewise.
53716         (sqrt_upward_test_data): Likewise.
53717         (sqrt_test_upward): Likewise.
53718         (tan_test_data): Update call to AUTO_TESTS_f_f.
53719         (tan_test): Use ALL_RM_TEST.
53720         (tan_tonearest_test_data): Remove.
53721         (tan_test_tonearest): Likewise.
53722         (tan_towardzero_test_data): Likewise.
53723         (tan_test_towardzero): Likewise.
53724         (tan_downward_test_data): Likewise.
53725         (tan_test_downward): Likewise.
53726         (tan_upward_test_data): Likewise.
53727         (tan_test_upward): Likewise.
53728         (tanh_test_data): Update call to AUTO_TESTS_f_f.
53729         (tgamma_test_data): Likewise.
53730         (y0_test_data): Likewise.
53731         (y1_test_data): Likewise.
53732         (yn_test_data): Update call to AUTO_TESTS_if_f.
53733         (main): Do not call removed functions.
53735 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
53737         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
53738         (ldexp_test_data): Remove.
53739         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
53740         scalbn_test_data.
53741         (scalb_test): Use ALL_RM_TEST.
53743 2014-03-19  Andreas Schwab  <schwab@suse.de>
53745         * nscd/nscd.service: Also invalidate netgroup cache on reload.
53747 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
53749         [BZ #16649]
53750         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53751         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
53752         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
53753         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53754         (__ASSUME_PREADV): Undefine.
53755         (__ASSUME_PWRITEV): Likewise.
53757 2014-03-18  Roland McGrath  <roland@hack.frob.com>
53759         * bits/mman-linux.h: Add comment about non-Linux use.
53760         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
53761         bits/mman-linux.h resting place.
53763         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
53764         * bits/mman-linux.h: ... here.
53766 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53768         * conform/conformtest.pl: Add standard definition when calling C
53769         preprocessor on data files.
53770         (checknamespace): Remove unused variable.
53772 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
53774         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
53775         minus_oflow, plus_uflow and minus_uflow in expected results.
53776         * math/libm-test.inc (scalbn_test_data): Add more tests of
53777         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
53778         minus_uflow.
53779         (scalbn_test): Use ALL_RM_TEST.
53780         (scalbln_test_data): Add more tests of negative arguments.  Use
53781         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
53782         (scalbln_test): Use ALL_RM_TEST.
53784 2014-03-18  Roland McGrath  <roland@hack.frob.com>
53786         * scripts/abilist.awk: Ignore symbols marked with .hidden.
53788 2014-03-18  Will Newton  <will.newton@linaro.org>
53790         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
53791         inaccurate comment.
53793 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
53795         * Makerules [!subdir] (check-abi): Exit with error status if a
53796         test failed.
53798 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
53800         * math/libm-test.inc (nearbyint_test_data): Include all tests used
53801         for rint.  Include results for all rounding modes.
53802         (nearbyint_test): Use ALL_RM_TEST.
53803         (rint_test_data): Include all tests used for nearbyint.
53805 2014-03-17  Will Newton  <will.newton@linaro.org>
53807         * nptl/sysdeps/pthread/pthread.h: Revert previous
53808         change.
53810         * sysdeps/generic/ldsodefs.h: Revert previous
53811         change.
53813         * libio/genops.c: Revert previous change.
53814         * libio/libioP.h: Likewise.
53815         * stdio-common/vfprintf.c: Likewise.
53817         * sysdeps/generic/math_private.h: Revert previous
53818         change.
53820         * sysdeps/generic/math_private.h: Check whether
53821         HAVE_RM_CTX is defined with #ifdef rather
53822         than #if.
53824         * argp/argp-fmtstream.h: Check whether
53825         __STRICT_ANSI__ is defined with #ifdef rather
53826         than #if.
53827         * argp/argp.h: Likewise.
53829         * libio/genops.c: Check whether
53830         _IO_JUMPS_OFFSET is defined with #ifdef rather
53831         than #if.
53832         * libio/libioP.h: Likewise.
53833         * stdio-common/vfprintf.c: Likewise.
53835         * sysdeps/generic/ldsodefs.h: Check whether
53836         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
53837         than #if.
53839         * nptl/sysdeps/pthread/pthread.h: Check
53840         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
53841         its value.
53843 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53845         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
53846         setting O_APPEND.
53847         * libio/tst-ftell-active-handler.c (do_append_test): Add a
53848         test case.
53850         [BZ #16680]
53851         * libio/fileops.c (_IO_file_open): Seek to end of file but
53852         don't cache the offset.
53853         (get_file_offset): Remove function.
53854         (do_ftell): Use cached offset when available.
53855         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
53856         don't cache the offset.
53857         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
53858         case.
53859         (do_one_test): Call it.
53860         (do_ftell_test): Fix up expected old offset for a+ mode.
53861         * libio/wfileops.c (do_ftell_wide): Used cached offset when
53862         available.
53864         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
53865         up test status with function return status.
53866         (do_write_test): Likewise.
53867         (do_append_test): Likewise.
53869         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
53870         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
53871         Remove.
53873 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
53875         * math/gen-libm-test.pl (parse_args): Handle results specified for
53876         each rounding mode separately.
53877         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
53878         tests and results from lrint_tonearest_test_data,
53879         lrint_towardzero_test_data, lrint_downward_test_data and
53880         lrint_upward_test_data.
53881         (lrint_test): Use ALL_RM_TEST.
53882         (lrint_tonearest_test_data): Remove.
53883         (lrint_test_tonearest): Likewise.
53884         (lrint_towardzero_test_data): Likewise.
53885         (lrint_test_towardzero): Likewise.
53886         (lrint_downward_test_data): Likewise.
53887         (lrint_test_downward): Likewise.
53888         (lrint_upward_test_data): Likewise.
53889         (lrint_test_upward): Likewise.
53890         (llrint_test_data): Merge in per-rounding-mode tests and results
53891         from llrint_tonearest_test_data, llrint_towardzero_test_data,
53892         llrint_downward_test_data and llrint_upward_test_data.
53893         (llrint_test): Use ALL_RM_TEST.
53894         (llrint_tonearest_test_data): Remove.
53895         (llrint_test_tonearest): Likewise.
53896         (llrint_towardzero_test_data): Likewise.
53897         (llrint_test_towardzero): Likewise.
53898         (llrint_downward_test_data): Likewise.
53899         (llrint_test_downward): Likewise.
53900         (llrint_upward_test_data): Likewise.
53901         (llrint_test_upward): Likewise.
53902         (rint_test_data): Merge in per-rounding-mode tests and results
53903         from rint_tonearest_test_data, rint_towardzero_test_data,
53904         rint_downward_test_data and rint_upward_test_data.  Add
53905         per-rounding-mode results for tests not in those arrays.
53906         (rint_test): Use ALL_RM_TEST.
53907         (rint_tonearest_test_data): Remove.
53908         (rint_test_tonearest): Likewise.
53909         (rint_towardzero_test_data): Likewise.
53910         (rint_test_towardzero): Likewise.
53911         (rint_downward_test_data): Likewise.
53912         (rint_test_downward): Likewise.
53913         (rint_upward_test_data): Likewise.
53914         (rint_test_upward): Likewise.
53915         (main): Don't call removed functions.
53917 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53919         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
53920         "Compiled on ..." crapola.  It is anti-useful.
53922 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
53924         * scripts/evaluate-test.sh: Handle fourth argument to determine
53925         whether test run should stop on failure.
53926         * Makeconfig (stop-on-test-failure): New variable.
53927         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
53928         $(stop-on-test-failure).
53929         * Makefile (tests): Give a summary of results from testing and
53930         exit with failure status if they include an ERROR or FAIL.
53931         (xtests): Likewise.
53932         * manual/install.texi (Configuring and compiling): Mention
53933         stop-on-test-failure=y.
53934         * INSTALL: Regenerated.
53936 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53938         * scripts/versionlist.awk: New file.
53939         * Makerules [$(build-shared) = yes]
53940         (postclean-generated): Add Versions.def, not Versions.def.v and
53941         Versions.def.v.i.
53942         ($(common-objpfx)Versions.def.v.i): Target removed.
53943         ($(common-objpfx)Versions.def): New target.
53944         ($(common-objpfx)Versions.all): Depend on that rather that
53945         $(common-objpfx)Versions.def.v.
53946         * Versions.def: File removed.
53948         * Makeconfig (+gccwarn): Add -Wundef.
53949         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
53950         a dl-sysdep.h breaking its contract.
53951         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
53952         * include/stackinfo.h: New file.
53953         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
53954         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
53955         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
53956         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
53957         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
53958         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
53959         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53960         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53961         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53962         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53963         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53964         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
53965         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53966         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53967         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53969 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53971         [BZ #16707]
53972         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
53973         implementation.
53974         * math/libm-test.inc (round_test_data): Add more tests.
53976         [BZ #16706]
53977         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
53978         implementation.
53979         * math/libm-test.inc (nearbyint_test_data): Add more tests.
53981         [BZ #16701]
53982         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
53983         implementation.
53984         * math/libm-test.inc (ceil_test_data): Add more tests.
53986         * math/libm-test.inc (trunc_test_data): Add more tests related to
53987         BZ#16414.
53989 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53991         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
53992         with #if rather than #ifdef.
53993         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
53995 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
53997         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
53998         first.  Disable AVX-512 GCC support if assembler doesn't support
53999         it.
54000         * sysdeps/x86_64/configure: Regenerated.
54002 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
54004         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54005         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54006         (__old_pthread_attr_setstack): Likewise.
54007         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54008         [!_STACK_GROWS_DOWN]: Likewise.
54010 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
54012         * config.make.in (have-bash2): Delete.
54013         * configure.ac (libc_cv_have_bash2): Delete.
54014         * configure: Regenerate.
54015         * elf/Makefile (common-ldd-rewrite): Rename to ...
54016         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
54017         (sh-ldd-rewrite): Delete.
54018         (bash-ldd-rewrite): Delete.
54019         (have-bash2): Delete checks.
54020         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54021         ldd-rewrite.
54023         * config.make.in (have-ksh): Delete.
54024         (KSH): Delete.
54025         * configure.ac (libc_cv_have_ksh): Delete.
54026         * configure: Regenerate.
54028         * elf/Makefile: Delete $(have-ksh) check.
54029         ($(objpfx)sotruss): Change KSH to BASH.
54030         * elf/sotruss.ksh: Rename to ...
54031         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
54032         function style to match POSIX.  Drop ksh vim mode setting.
54034         * manual/time.texi (Specifying the Time Zone with TZ): Change
54035         Tuesday to Thursday.
54037         * debug/tst-longjmp_chk2.c: Update header comment.
54038         (stackoverflow_handler): Add comment.  Call assert on pass value.
54040 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
54042         [BZ #16194]
54043         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54044         (HAVE_AVX512_ASM_SUPPORT): Likewise.
54045         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54046         (La_x86_64_vector): Add zmm.
54047         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54048         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54049         ($(objpfx)tst-audit10): New target.
54050         ($(objpfx)tst-audit10.out): Likewise.
54051         (tst-audit10-ENV): New.
54052         (AVX512-CFLAGS): Likewise.
54053         (CFLAGS-tst-audit10.c): Likewise.
54054         (CFLAGS-tst-auditmod10a.c): Likewise.
54055         (CFLAGS-tst-auditmod10b.c): Likewise.
54056         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54057         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54058         * sysdeps/x86_64/configure: Regenerated.
54059         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54060         AVX-512 zmm register support.
54061         (_dl_x86_64_save_sse): Likewise.
54062         (_dl_x86_64_restore_sse): Likewise.
54063         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54064         size vector registers.
54065         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54066         (ZMM_SIZE): Likewise.
54067         * sysdeps/x86_64/tst-audit10.c: New file.
54068         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54069         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54071 2014-03-13  Roland McGrath  <roland@hack.frob.com>
54073         * configure.ac (HAVE_EHDR_START): New check.
54074         * configure: Regenerated.
54075         * config.h.in (HAVE_EHDR_START): New #undef.
54076         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54077         assuming the lowest-addressed segment maps the start of the file.
54079 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
54081         * INSTALL: Regenerated.
54083 2014-03-13  Will Newton  <will.newton@linaro.org>
54085         * manual/setjmp.texi (System V contexts): Improve
54086         clarity and grammar of documentation.
54088 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
54090         [BZ #16381]
54091         * elf/Makefile (tests): Add tst-pie2.
54092         (tests-pie): Add tst-pie2.
54093         * elf/tst-pie2.c: New file.
54094         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54095         for ET_EXEC.
54096         * elf/rtld.c (map_doit): Load executable as lt_executable.
54097         (dl_main): Likewise.
54099 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
54101         [BZ #16642]
54102         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54103         (__ASSUME_PSELECT): Undefine.
54105 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54107         [BZ #16689]
54108         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
54109         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
54110         static build.
54111         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
54112         selector for static builds.
54114 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54116         [BZ #16695]
54117         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
54118         key in the buffer.
54120 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54122         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
54123         IFUNC selector for static builds.
54125 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
54127         * sysdeps/mips/math_private.h [__mips_hard_float]
54128         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
54129         libc_feresetround_mips_ctx.
54130         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
54131         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54132         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
54134         [BZ #16677]
54135         * math/s_nextafter.c (__nextafter): Do not return value from
54136         overflowing computation.
54137         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
54138         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
54139         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
54140         Likewise.
54141         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
54142         Likewise.
54143         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
54144         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
54146 2014-03-11  Roland McGrath  <roland@hack.frob.com>
54148         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
54149         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
54150         Move sfi_sp use from the load-multiple (that no longer sets sp) to
54151         the new mov targetting sp.
54153 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54155         [BZ #16683]
54156         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
54157         Define it for static builds as well.
54158         (NO_BZERO_IMPL): Likewise.
54160 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54162         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
54163         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
54164         multiarch strspn for PPC64.
54165         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
54166         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
54167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54168         (__libc_ifunc_impl_list): Likewise.
54169         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
54170         multiarch optimizations
54171         * string/strspn.c (strspn): Using macro to redefine symbol name.
54173 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54174             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54176         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
54177         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
54178         multiarch strncat for PPC64.
54179         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
54180         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
54181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54182         (__libc_ifunc_impl_list): Likewise.
54183         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
54184         multiarch optimizations
54186 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54188         [BZ #16639]
54189         * nscd/nscd.service: Make service type forking.
54191 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54193         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
54194         sign in non default rounding modes.
54195         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
54197 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
54199         * math/libm-test.inc (ALL_RM_TEST): New macro.
54200         (ceil_test): Use ALL_RM_TEST.
54201         (cimag_test): Likewise.
54202         (conj_test): Likewise.
54203         (copysign_test): Likewise.
54204         (cproj_test): Likewise.
54205         (creal_test): Likewise.
54206         (fabs_test): Likewise.
54207         (floor_test): Likewise.
54208         (fmax_test): Likewise.
54209         (fmin_test): Likewise.
54210         (fmod_test): Likewise.
54211         (fpclassify_test): Likewise.
54212         (frexp_test): Likewise.
54213         (ilogb_test): Likewise.
54214         (isfinite_test): Likewise.
54215         (finite_test): Likewise.
54216         (isgreater_test): Likewise.
54217         (isgreaterequal_test): Likewise.
54218         (isinf_test): Likewise.
54219         (isless_test): Likewise.
54220         (islessequal_test): Likewise.
54221         (islessgreater_test): Likewise.
54222         (isnan_test): Likewise.
54223         (isnormal_test): Likewise.
54224         (issignaling_test): Likewise.
54225         (isunordered_test): Likewise.
54226         (logb_test): Likewise.
54227         (logb_downward_test_data): Remove.
54228         (logb_test_downward): Likewise.
54229         (lround_test): Use ALL_RM_TEST.
54230         (llround_test): Likewise.
54231         (modf_test): Likewise.
54232         (nexttoward_test): Likewise.
54233         (remainder_test): Likewise.
54234         (drem_test): Likewise.
54235         (remainder_tonearest_test_data): Likewise.
54236         (remainder_test_tonearest): Likewise.
54237         (drem_test_tonearest): Likewise.
54238         (remainder_towardzero_test_data): Likewise.
54239         (remainder_test_towardzero): Likewise.
54240         (drem_test_towardzero): Likewise.
54241         (remainder_downward_test_data): Likewise.
54242         (remainder_test_downward): Likewise.
54243         (drem_test_downward): Likewise.
54244         (remainder_upward_test_data): Likewise.
54245         (remainder_test_upward): Likewise.
54246         (drem_test_upward): Likewise.
54247         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
54248         (round_test): Use ALL_RM_TEST.
54249         (signbit_test): Likewise.
54250         (trunc_test): Likewise.
54251         (significand_test): Likewise.
54252         (main): Don't call removed functions.
54254 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
54256         [BZ #16674]
54257         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
54258         || __USE_XOPEN2K8].
54259         (ILL_ILLOPN): Likewise.
54260         (ILL_ILLADR): Likewise.
54261         (ILL_ILLTRP): Likewise.
54262         (ILL_PRVOPC): Likewise.
54263         (ILL_PRVREG): Likewise.
54264         (ILL_COPROC): Likewise.
54265         (ILL_BADSTK): Likewise.
54266         (FPE_INTDIV): Likewise.
54267         (FPE_INTOVF): Likewise.
54268         (FPE_FLTDIV): Likewise.
54269         (FPE_FLTOVF): Likewise.
54270         (FPE_FLTUND): Likewise.
54271         (FPE_FLTRES): Likewise.
54272         (FPE_FLTINV): Likewise.
54273         (FPE_FLTSUB): Likewise.
54274         (SEGV_MAPERR): Likewise.
54275         (SEGV_ACCERR): Likewise.
54276         (BUS_ADRALN): Likewise.
54277         (BUS_ADRERR): Likewise.
54278         (BUS_OBJERR): Likewise.
54279         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54280         (TRAP_TRACE): Likewise.
54281         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54282         __USE_XOPEN2K8].
54283         (CLD_KILLED): Likewise.
54284         (CLD_DUMPED): Likewise.
54285         (CLD_TRAPPED): Likewise.
54286         (CLD_STOPPED): Likewise.
54287         (CLD_CONTINUED): Likewise.
54288         (POLL_IN): Likewise.
54289         (POLL_OUT): Likewise.
54290         (POLL_MSG): Likewise.
54291         (POLL_ERR): Likewise.
54292         (POLL_PRI): Likewise.
54293         (POLL_HUP): Likewise.
54294         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
54295         Likewise.
54296         (ILL_ILLOPN): Likewise.
54297         (ILL_ILLADR): Likewise.
54298         (ILL_ILLTRP): Likewise.
54299         (ILL_PRVOPC): Likewise.
54300         (ILL_PRVREG): Likewise.
54301         (ILL_COPROC): Likewise.
54302         (ILL_BADSTK): Likewise.
54303         (FPE_INTDIV): Likewise.
54304         (FPE_INTOVF): Likewise.
54305         (FPE_FLTDIV): Likewise.
54306         (FPE_FLTOVF): Likewise.
54307         (FPE_FLTUND): Likewise.
54308         (FPE_FLTRES): Likewise.
54309         (FPE_FLTINV): Likewise.
54310         (FPE_FLTSUB): Likewise.
54311         (SEGV_MAPERR): Likewise.
54312         (SEGV_ACCERR): Likewise.
54313         (BUS_ADRALN): Likewise.
54314         (BUS_ADRERR): Likewise.
54315         (BUS_OBJERR): Likewise.
54316         (BUS_MCEERR_AR): Likewise.
54317         (BUS_MCEERR_AO): Likewise.
54318         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54319         (TRAP_TRACE): Likewise.
54320         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54321         __USE_XOPEN2K8].
54322         (CLD_KILLED): Likewise.
54323         (CLD_DUMPED): Likewise.
54324         (CLD_TRAPPED): Likewise.
54325         (CLD_STOPPED): Likewise.
54326         (CLD_CONTINUED): Likewise.
54327         (POLL_IN): Likewise.
54328         (POLL_OUT): Likewise.
54329         (POLL_MSG): Likewise.
54330         (POLL_ERR): Likewise.
54331         (POLL_PRI): Likewise.
54332         (POLL_HUP): Likewise.
54333         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
54334         (ILL_ILLOPN): Likewise.
54335         (ILL_ILLADR): Likewise.
54336         (ILL_ILLTRP): Likewise.
54337         (ILL_PRVOPC): Likewise.
54338         (ILL_PRVREG): Likewise.
54339         (ILL_COPROC): Likewise.
54340         (ILL_BADSTK): Likewise.
54341         (FPE_INTDIV): Likewise.
54342         (FPE_INTOVF): Likewise.
54343         (FPE_FLTDIV): Likewise.
54344         (FPE_FLTOVF): Likewise.
54345         (FPE_FLTUND): Likewise.
54346         (FPE_FLTRES): Likewise.
54347         (FPE_FLTINV): Likewise.
54348         (FPE_FLTSUB): Likewise.
54349         (SEGV_MAPERR): Likewise.
54350         (SEGV_ACCERR): Likewise.
54351         (BUS_ADRALN): Likewise.
54352         (BUS_ADRERR): Likewise.
54353         (BUS_OBJERR): Likewise.
54354         (BUS_MCEERR_AR): Likewise.
54355         (BUS_MCEERR_AO): Likewise.
54356         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54357         (TRAP_TRACE): Likewise.
54358         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54359         __USE_XOPEN2K8].
54360         (CLD_KILLED): Likewise.
54361         (CLD_DUMPED): Likewise.
54362         (CLD_TRAPPED): Likewise.
54363         (CLD_STOPPED): Likewise.
54364         (CLD_CONTINUED): Likewise.
54365         (POLL_IN): Likewise.
54366         (POLL_OUT): Likewise.
54367         (POLL_MSG): Likewise.
54368         (POLL_ERR): Likewise.
54369         (POLL_PRI): Likewise.
54370         (POLL_HUP): Likewise.
54371         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
54372         Likewise.
54373         (ILL_ILLOPN): Likewise.
54374         (ILL_ILLADR): Likewise.
54375         (ILL_ILLTRP): Likewise.
54376         (ILL_PRVOPC): Likewise.
54377         (ILL_PRVREG): Likewise.
54378         (ILL_COPROC): Likewise.
54379         (ILL_BADSTK): Likewise.
54380         (ILL_BADIADDR): Likewise.
54381         (ILL_BREAK): Likewise.
54382         (FPE_INTDIV): Likewise.
54383         (FPE_INTOVF): Likewise.
54384         (FPE_FLTDIV): Likewise.
54385         (FPE_FLTOVF): Likewise.
54386         (FPE_FLTUND): Likewise.
54387         (FPE_FLTRES): Likewise.
54388         (FPE_FLTINV): Likewise.
54389         (FPE_FLTSUB): Likewise.
54390         (FPE_DECOVF): Likewise.
54391         (FPE_DECDIV): Likewise.
54392         (FPE_DECERR): Likewise.
54393         (FPE_INVASC): Likewise.
54394         (FPE_INVDEC): Likewise.
54395         (SEGV_MAPERR): Likewise.
54396         (SEGV_ACCERR): Likewise.
54397         (SEGV_PSTKOVF): Likewise.
54398         (BUS_ADRALN): Likewise.
54399         (BUS_ADRERR): Likewise.
54400         (BUS_OBJERR): Likewise.
54401         (BUS_MCEERR_AR): Likewise.
54402         (BUS_MCEERR_AO): Likewise.
54403         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54404         (TRAP_TRACE): Likewise.
54405         (TRAP_BRANCH): Likewise.
54406         (TRAP_HWBKPT): Likewise.
54407         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54408         __USE_XOPEN2K8].
54409         (CLD_KILLED): Likewise.
54410         (CLD_DUMPED): Likewise.
54411         (CLD_TRAPPED): Likewise.
54412         (CLD_STOPPED): Likewise.
54413         (CLD_CONTINUED): Likewise.
54414         (POLL_IN): Likewise.
54415         (POLL_OUT): Likewise.
54416         (POLL_MSG): Likewise.
54417         (POLL_ERR): Likewise.
54418         (POLL_PRI): Likewise.
54419         (POLL_HUP): Likewise.
54420         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
54421         (ILL_ILLOPN): Likewise.
54422         (ILL_ILLADR): Likewise.
54423         (ILL_ILLTRP): Likewise.
54424         (ILL_PRVOPC): Likewise.
54425         (ILL_PRVREG): Likewise.
54426         (ILL_COPROC): Likewise.
54427         (ILL_BADSTK): Likewise.
54428         (FPE_INTDIV): Likewise.
54429         (FPE_INTOVF): Likewise.
54430         (FPE_FLTDIV): Likewise.
54431         (FPE_FLTOVF): Likewise.
54432         (FPE_FLTUND): Likewise.
54433         (FPE_FLTRES): Likewise.
54434         (FPE_FLTINV): Likewise.
54435         (FPE_FLTSUB): Likewise.
54436         (SEGV_MAPERR): Likewise.
54437         (SEGV_ACCERR): Likewise.
54438         (BUS_ADRALN): Likewise.
54439         (BUS_ADRERR): Likewise.
54440         (BUS_OBJERR): Likewise.
54441         (BUS_MCEERR_AR): Likewise.
54442         (BUS_MCEERR_AO): Likewise.
54443         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54444         (TRAP_TRACE): Likewise.
54445         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54446         __USE_XOPEN2K8].
54447         (CLD_KILLED): Likewise.
54448         (CLD_DUMPED): Likewise.
54449         (CLD_TRAPPED): Likewise.
54450         (CLD_STOPPED): Likewise.
54451         (CLD_CONTINUED): Likewise.
54452         (POLL_IN): Likewise.
54453         (POLL_OUT): Likewise.
54454         (POLL_MSG): Likewise.
54455         (POLL_ERR): Likewise.
54456         (POLL_PRI): Likewise.
54457         (POLL_HUP): Likewise.
54458         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
54459         (ILL_ILLOPN): Likewise.
54460         (ILL_ILLADR): Likewise.
54461         (ILL_ILLTRP): Likewise.
54462         (ILL_PRVOPC): Likewise.
54463         (ILL_PRVREG): Likewise.
54464         (ILL_COPROC): Likewise.
54465         (ILL_BADSTK): Likewise.
54466         (FPE_INTDIV): Likewise.
54467         (FPE_INTOVF): Likewise.
54468         (FPE_FLTDIV): Likewise.
54469         (FPE_FLTOVF): Likewise.
54470         (FPE_FLTUND): Likewise.
54471         (FPE_FLTRES): Likewise.
54472         (FPE_FLTINV): Likewise.
54473         (FPE_FLTSUB): Likewise.
54474         (SEGV_MAPERR): Likewise.
54475         (SEGV_ACCERR): Likewise.
54476         (BUS_ADRALN): Likewise.
54477         (BUS_ADRERR): Likewise.
54478         (BUS_OBJERR): Likewise.
54479         (BUS_MCEERR_AR): Likewise.
54480         (BUS_MCEERR_AO): Likewise.
54481         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54482         (TRAP_TRACE): Likewise.
54483         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54484         __USE_XOPEN2K8].
54485         (CLD_KILLED): Likewise.
54486         (CLD_DUMPED): Likewise.
54487         (CLD_TRAPPED): Likewise.
54488         (CLD_STOPPED): Likewise.
54489         (CLD_CONTINUED): Likewise.
54490         (POLL_IN): Likewise.
54491         (POLL_OUT): Likewise.
54492         (POLL_MSG): Likewise.
54493         (POLL_ERR): Likewise.
54494         (POLL_PRI): Likewise.
54495         (POLL_HUP): Likewise.
54496         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
54497         (ILL_ILLOPN): Likewise.
54498         (ILL_ILLADR): Likewise.
54499         (ILL_ILLTRP): Likewise.
54500         (ILL_PRVOPC): Likewise.
54501         (ILL_PRVREG): Likewise.
54502         (ILL_COPROC): Likewise.
54503         (ILL_BADSTK): Likewise.
54504         (FPE_INTDIV): Likewise.
54505         (FPE_INTOVF): Likewise.
54506         (FPE_FLTDIV): Likewise.
54507         (FPE_FLTOVF): Likewise.
54508         (FPE_FLTUND): Likewise.
54509         (FPE_FLTRES): Likewise.
54510         (FPE_FLTINV): Likewise.
54511         (FPE_FLTSUB): Likewise.
54512         (SEGV_MAPERR): Likewise.
54513         (SEGV_ACCERR): Likewise.
54514         (BUS_ADRALN): Likewise.
54515         (BUS_ADRERR): Likewise.
54516         (BUS_OBJERR): Likewise.
54517         (BUS_MCEERR_AR): Likewise.
54518         (BUS_MCEERR_AO): Likewise.
54519         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54520         (TRAP_TRACE): Likewise.
54521         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54522         __USE_XOPEN2K8].
54523         (CLD_KILLED): Likewise.
54524         (CLD_DUMPED): Likewise.
54525         (CLD_TRAPPED): Likewise.
54526         (CLD_STOPPED): Likewise.
54527         (CLD_CONTINUED): Likewise.
54528         (POLL_IN): Likewise.
54529         (POLL_OUT): Likewise.
54530         (POLL_MSG): Likewise.
54531         (POLL_ERR): Likewise.
54532         (POLL_PRI): Likewise.
54533         (POLL_HUP): Likewise.
54534         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
54535         (ILL_ILLOPN): Likewise.
54536         (ILL_ILLADR): Likewise.
54537         (ILL_ILLTRP): Likewise.
54538         (ILL_PRVOPC): Likewise.
54539         (ILL_PRVREG): Likewise.
54540         (ILL_COPROC): Likewise.
54541         (ILL_BADSTK): Likewise.
54542         (ILL_DBLFLT): Likewise.
54543         (ILL_HARDWALL): Likewise.
54544         (FPE_INTDIV): Likewise.
54545         (FPE_INTOVF): Likewise.
54546         (FPE_FLTDIV): Likewise.
54547         (FPE_FLTOVF): Likewise.
54548         (FPE_FLTUND): Likewise.
54549         (FPE_FLTRES): Likewise.
54550         (FPE_FLTINV): Likewise.
54551         (FPE_FLTSUB): Likewise.
54552         (SEGV_MAPERR): Likewise.
54553         (SEGV_ACCERR): Likewise.
54554         (BUS_ADRALN): Likewise.
54555         (BUS_ADRERR): Likewise.
54556         (BUS_OBJERR): Likewise.
54557         (BUS_MCEERR_AR): Likewise.
54558         (BUS_MCEERR_AO): Likewise.
54559         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54560         (TRAP_TRACE): Likewise.
54561         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54562         __USE_XOPEN2K8].
54563         (CLD_KILLED): Likewise.
54564         (CLD_DUMPED): Likewise.
54565         (CLD_TRAPPED): Likewise.
54566         (CLD_STOPPED): Likewise.
54567         (CLD_CONTINUED): Likewise.
54568         (POLL_IN): Likewise.
54569         (POLL_OUT): Likewise.
54570         (POLL_MSG): Likewise.
54571         (POLL_ERR): Likewise.
54572         (POLL_PRI): Likewise.
54573         (POLL_HUP): Likewise.
54574         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
54575         (ILL_ILLOPN): Likewise.
54576         (ILL_ILLADR): Likewise.
54577         (ILL_ILLTRP): Likewise.
54578         (ILL_PRVOPC): Likewise.
54579         (ILL_PRVREG): Likewise.
54580         (ILL_COPROC): Likewise.
54581         (ILL_BADSTK): Likewise.
54582         (FPE_INTDIV): Likewise.
54583         (FPE_INTOVF): Likewise.
54584         (FPE_FLTDIV): Likewise.
54585         (FPE_FLTOVF): Likewise.
54586         (FPE_FLTUND): Likewise.
54587         (FPE_FLTRES): Likewise.
54588         (FPE_FLTINV): Likewise.
54589         (FPE_FLTSUB): Likewise.
54590         (SEGV_MAPERR): Likewise.
54591         (SEGV_ACCERR): Likewise.
54592         (BUS_ADRALN): Likewise.
54593         (BUS_ADRERR): Likewise.
54594         (BUS_OBJERR): Likewise.
54595         (BUS_MCEERR_AR): Likewise.
54596         (BUS_MCEERR_AO): Likewise.
54597         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54598         (TRAP_TRACE): Likewise.
54599         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54600         __USE_XOPEN2K8].
54601         (CLD_KILLED): Likewise.
54602         (CLD_DUMPED): Likewise.
54603         (CLD_TRAPPED): Likewise.
54604         (CLD_STOPPED): Likewise.
54605         (CLD_CONTINUED): Likewise.
54606         (POLL_IN): Likewise.
54607         (POLL_OUT): Likewise.
54608         (POLL_MSG): Likewise.
54609         (POLL_ERR): Likewise.
54610         (POLL_PRI): Likewise.
54611         (POLL_HUP): Likewise.
54612         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
54613         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
54615         [BZ #16670]
54616         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
54617         before #include of <time.h>.
54618         [!__USE_XOPEN2K] (__need_timespec): Likewise.
54619         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
54620         (test-xfail-UNIX98/sched.h/conform): Likewise.
54622 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
54624         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
54625         error absence of trapping exception support.
54626         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
54628 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
54630         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
54631         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
54632         * timezone/Makefile (testdata): Move definition above include of
54633         Rules.
54634         (test-zones): New variable.
54635         (tests-special): Add zone files.
54636         (build-testdata): Use $(evaluate-test).
54638         * elf/Makefile (tests-special): Rename tests to end with .out.
54639         ($(objpfx)noload-mem): Likewise.
54640         ($(objpfx)tst-leaks1-mem): Likewise.
54641         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
54642         * iconv/Makefile (xtests-special): Change test-iconvconfig to
54643         $(objpfx)test-iconvconfig.out.
54644         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
54645         set -e inside subshell and redirect output to file.
54646         * iconvdata/Makefile (generated): Rename tests to end with .out.
54647         Correct type.
54648         (tests-special): Rename tests to end with .out.
54649         ($(objpfx)mtrace-tst-loading): Likewise.
54650         * intl/Makefile (generated): Likewise.
54651         (tests-special): Likewise.
54652         ($(objpfx)mtrace-tst-gettext): Likewise.
54653         * misc/Makefile (generated): Likewise.
54654         (tests-special): Likewise.
54655         ($(objpfx)tst-error1-mem): Likewise.
54656         * nptl/Makefile (tests-special): Likewise.
54657         ($(objpfx)tst-stack3-mem): Likewise.
54658         (generated): Likewise.
54659         * posix/Makefile (generated): Likewise.
54660         (tests-special): Likewise.
54661         (xtests-special): Likewise.
54662         ($(objpfx)tst-fnmatch-mem): Likewise.
54663         ($(objpfx)bug-regex2-mem): Likewise.
54664         ($(objpfx)bug-regex14-mem): Likewise.
54665         ($(objpfx)bug-regex21-mem): Likewise.
54666         ($(objpfx)bug-regex31-mem): Likewise.
54667         ($(objpfx)tst-vfork3-mem): Likewise.
54668         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
54669         ($(objpfx)tst-pcre-mem): Likewise.
54670         ($(objpfx)tst-boost-mem): Likewise.
54671         ($(objpfx)bug-ga2-mem): Likewise.
54672         ($(objpfx)bug-glob2-mem): Likewise.
54673         * resolv/Makefile (generate): Likewise.
54674         (tests-special): Likewise.
54675         (xtests-special): Likewise.
54676         (generated): Likewise.
54677         ($(objpfx)mtrace-tst-leaks): Likewise.
54678         ($(objpfx)mtrace-tst-leaks2): Likewise.
54680         * scripts/merge-test-results.sh: New file.
54681         * Makefile (tests-special-notdir): New variable.
54682         (tests): Run merge-test-results.sh.
54683         (xtests): Likewise.
54684         * Rules (tests-special-notdir): New variable.
54685         (xtests-special-notdir): Likewise.
54686         (tests): Run merge-test-results.sh
54687         (xtests): Likewise.
54689         * Makeconfig (test-xfail-name): New variable.
54690         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
54691         compute variable name for expected failures.
54692         * conform/Makefile (conformtest-headers-data): New variable.
54693         (conformtest-standards): Likewise.
54694         (conformtest-headers-ISO): Likewise.
54695         (conformtest-headers-ISO99): Likewise.
54696         (conformtest-headers-ISO11): Likewise.
54697         (conformtest-headers-POSIX): Likewise.
54698         (conformtest-headers-XPG3): Likewise.
54699         (conformtest-headers-XPG4): Likewise.
54700         (conformtest-headers-UNIX98): Likewise.
54701         (conformtest-headers-XOPEN2K): Likewise.
54702         (conformtest-headers-POSIX2008): Likewise.
54703         (conformtest-headers-XOPEN2K8): Likewise.
54704         (conformtest-header-list-base): Likewise.
54705         (conformtest-header-list-tests): Likewise.
54706         (conformtest-header-base): Likewise.
54707         (conformtest-header-tests): Likewise.
54708         (tests-special): Add $(conformtest-header-list-tests).  If
54709         [$(fast-check) && !$(cross-compiling)], add
54710         $(conformtest-header-tests) instead of
54711         $(objpfx)run-conformtest.out.
54712         (generated): Add $(conformtest-header-list-base).  If
54713         [$(fast-check) && !$(cross-compiling)], add
54714         $(conformtest-header-base).  Remove previous setting.
54715         ($(conformtest-header-list-tests)): New target.
54716         (test-xfail-run-conformtest): Remove variable.
54717         ($(objpfx)run-conformtest.out): Remove target.
54718         (test-xfail-ISO11/complex.h/conform): New variable.
54719         (test-xfail-ISO11/stdalign.h/conform): Likewise.
54720         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
54721         (test-xfail-XPG3/varargs.h/conform): Likewise.
54722         (test-xfail-XPG4/varargs.h/conform): Likewise.
54723         (test-xfail-UNIX98/varargs.h/conform): Likewise.
54724         (test-xfail-XPG4/ndbm.h/conform): Likewise.
54725         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
54726         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
54727         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
54728         (test-xfail-XPG3/fcntl.h/conform): Likewise.
54729         (test-xfail-XPG3/ftw.h/conform): Likewise.
54730         (test-xfail-XPG3/grp.h/conform): Likewise.
54731         (test-xfail-XPG3/langinfo.h/conform): Likewise.
54732         (test-xfail-XPG3/limits.h/conform): Likewise.
54733         (test-xfail-XPG3/pwd.h/conform): Likewise.
54734         (test-xfail-XPG3/search.h/conform): Likewise.
54735         (test-xfail-XPG3/signal.h/conform): Likewise.
54736         (test-xfail-XPG3/stdio.h/conform): Likewise.
54737         (test-xfail-XPG3/stdlib.h/conform): Likewise.
54738         (test-xfail-XPG3/string.h/conform): Likewise.
54739         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
54740         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
54741         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
54742         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
54743         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
54744         (test-xfail-XPG3/sys/types.h/conform): Likewise.
54745         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
54746         (test-xfail-XPG3/termios.h/conform): Likewise.
54747         (test-xfail-XPG3/time.h/conform): Likewise.
54748         (test-xfail-XPG3/unistd.h/conform): Likewise.
54749         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
54750         (test-xfail-XPG4/fcntl.h/conform): Likewise.
54751         (test-xfail-XPG4/langinfo.h/conform): Likewise.
54752         (test-xfail-XPG4/netdb.h/conform): Likewise.
54753         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
54754         (test-xfail-XPG4/signal.h/conform): Likewise.
54755         (test-xfail-XPG4/stdio.h/conform): Likewise.
54756         (test-xfail-XPG4/stdlib.h/conform): Likewise.
54757         (test-xfail-XPG4/stropts.h/conform): Likewise.
54758         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
54759         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
54760         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
54761         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
54762         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
54763         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
54764         (test-xfail-XPG4/sys/time.h/conform): Likewise.
54765         (test-xfail-XPG4/sys/types.h/conform): Likewise.
54766         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
54767         (test-xfail-XPG4/termios.h/conform): Likewise.
54768         (test-xfail-XPG4/ucontext.h/conform): Likewise.
54769         (test-xfail-XPG4/unistd.h/conform): Likewise.
54770         (test-xfail-XPG4/utmpx.h/conform): Likewise.
54771         (test-xfail-POSIX/sched.h/conform): Likewise.
54772         (test-xfail-POSIX/signal.h/conform): Likewise.
54773         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
54774         (test-xfail-POSIX/tar.h/conform): Likewise.
54775         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
54776         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
54777         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
54778         (test-xfail-UNIX98/netdb.h/conform): Likewise.
54779         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
54780         (test-xfail-UNIX98/sched.h/conform): Likewise.
54781         (test-xfail-UNIX98/signal.h/conform): Likewise.
54782         (test-xfail-UNIX98/stdio.h/conform): Likewise.
54783         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
54784         (test-xfail-UNIX98/stropts.h/conform): Likewise.
54785         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
54786         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
54787         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
54788         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
54789         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
54790         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
54791         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
54792         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
54793         (test-xfail-UNIX98/unistd.h/conform): Likewise.
54794         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
54795         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
54796         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
54797         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
54798         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
54799         (test-xfail-XOPEN2K/math.h/conform): Likewise.
54800         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
54801         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
54802         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
54803         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
54804         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
54805         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
54806         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
54807         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
54808         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
54809         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
54810         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
54811         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
54812         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
54813         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
54814         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
54815         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
54816         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
54817         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
54818         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
54819         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
54820         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
54821         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
54822         (test-xfail-POSIX2008/signal.h/conform): Likewise.
54823         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
54824         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
54825         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
54826         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
54827         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
54828         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
54829         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
54830         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
54831         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
54832         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
54833         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
54834         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
54835         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
54836         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
54837         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
54838         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
54839         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
54840         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
54841         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
54842         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
54843         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
54844         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
54845         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
54846         (conformtest-cc-flags): Likewise.
54847         ($(conformtest-header-tests): New target.
54848         * conform/check-header-lists.sh: New file.
54849         * conform/run-conformtest.sh: Remove.
54851         * conform/conformtest.pl: Allow ' and \ in values given for
54852         constants.
54853         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
54854         inclusion.
54855         [POSIX] (sys/types.h): Likewise.
54856         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
54857         inclusion.
54858         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
54859         inclusion.
54860         * conform/data/signal.h-data (SIGIO): Remove expectation.
54861         [XPG3] (SIGBUS): Do not expect.
54862         [POSIX || XPG3] (SIGPOLL): Likewise.
54863         [POSIX || XPG3] (SIGPROF): Likewise.
54864         [POSIX || XPG3] (SIGSYS): Likewise.
54865         [XPG3] (SIGTRAP): Likewise.
54866         [POSIX || XPG3] (SIGURG): Likewise.
54867         [POSIX || XPG3] (SIGVTALRM): Likewise.
54868         [POSIX || XPG3] (SIGXCPU): Likewise.
54869         [POSIX || XPG3] (SIGXFSZ): Likewise.
54870         [POSIX] (SA_SIGINFO): Expect.
54871         [XPG3] (siginfo_t): Do not expect type or contents.
54872         [POSIX] (si_pid): Do not expect element.
54873         [POSIX] (si_uid): Likewise.
54874         [POSIX] (si_addr): Likewise.
54875         [POSIX] (si_status): Likewise.
54876         [POSIX] (si_band): Likewise.
54877         [XPG4] (si_value): Likewise.
54878         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
54879         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
54880         [POSIX || XPG3] (ILL_ILLADR): Likewise.
54881         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
54882         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
54883         [POSIX || XPG3] (ILL_PRVREG): Likewise.
54884         [POSIX || XPG3] (ILL_COPROC): Likewise.
54885         [POSIX || XPG3] (ILL_BADSTK): Likewise.
54886         [POSIX || XPG3] (FPE_INTDIV): Likewise.
54887         [POSIX || XPG3] (FPE_INTOVF): Likewise.
54888         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
54889         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
54890         [POSIX || XPG3] (FPE_FLTUND): Likewise.
54891         [POSIX || XPG3] (FPE_FLTRES): Likewise.
54892         [POSIX || XPG3] (FPE_FLTINV): Likewise.
54893         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
54894         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
54895         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
54896         [POSIX || XPG3] (BUS_ADRALN): Likewise.
54897         [POSIX || XPG3] (BUS_ADRERR): Likewise.
54898         [POSIX || XPG3] (BUS_OBJERR): Likewise.
54899         [POSIX || XPG3] (CLD_EXITED): Likewise.
54900         [POSIX || XPG3] (CLD_KILLED): Likewise.
54901         [POSIX || XPG3] (CLD_DUMPED): Likewise.
54902         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
54903         [POSIX || XPG3] (CLD_STOPPED): Likewise.
54904         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
54905         [POSIX || XPG3] (POLL_IN): Likewise.
54906         [POSIX || XPG3] (POLL_OUT): Likewise.
54907         [POSIX || XPG3] (POLL_MSG): Likewise.
54908         [POSIX || XPG3] (POLL_ERR): Likewise.
54909         [POSIX || XPG3] (POLL_PRI): Likewise.
54910         [POSIX || XPG3] (POLL_HUP): Likewise.
54911         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
54912         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
54913         (SIG*): Do not allow.
54914         [XPG3] (si_*): Likewise.
54915         [XPG3] (SI_*): Likewise.
54916         [XPG3 || XPG4] (sigev_*): Likewise.
54917         [XPG3 || XPG4] (SIGEV_*): Likewise.
54918         [XPG3 || XPG4] (sival_*): Likewise.
54919         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
54920         [POSIX || XPG3] (BUS_*): Likewise.
54921         [POSIX || XPG3] (CLD_*): Likewise.
54922         [POSIX || XPG3] (FPE_*): Likewise.
54923         [POSIX || XPG3] (ILL_*): Likewise.
54924         [POSIX || XPG3] (POLL_*): Likewise.
54925         [POSIX || XPG3] (SEGV_*): Likewise.
54926         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
54927         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
54928         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
54929         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
54930         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
54931         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
54932         Specify type and value.
54933         (TVERSLEN): Likewise.
54934         (REGTYPE): Likewise.
54935         (AREGTYPE): Likewise.
54936         (LNKTYPE): Likewise.
54937         (SYMTYPE): Likewise.
54938         (CHRTYPE): Likewise.
54939         (BLKTYPE): Likewise.
54940         (DIRTYPE): Likewise.
54941         (FIFOTYPE): Likewise.
54942         (CONTTYPE): Likewise.
54943         (TSUID): Likewise.
54944         (TSGID): Likewise.
54945         (TSVTX): Likewise.
54946         (TUREAD): Likewise.
54947         (TUWRITE): Likewise.
54948         (TUEXEC): Likewise.
54949         (TGREAD): Likewise.
54950         (TGWRITE): Likewise.
54951         (TGEXEC): Likewise.
54952         (TOREAD): Likewise.
54953         (TOWRITE): Likewise.
54954         (TOEXEC): Likewise.
54955         [POSIX] (TSVTX): Expect constant.
54957 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
54959         * Makefile (tests): Change dependencies to ....
54960         (tests-special): ... additions to this variable.
54961         (tests): Depend on $(tests-special).
54962         * Makerules (check-abi-list): New variable.
54963         (check-abi): Depend on $(check-abi-list).
54964         [$(subdir) = elf] (tests-special): Add
54965         $(objpfx)check-abi-libc.out.
54966         [$(build-shared) = yes && subdir] (tests-special): Add
54967         $(check-abi-list).
54968         [$(build-shared) = yes && subdir] (tests): Do not depend on
54969         check-abi.
54970         * Rules (tests): Depend on $(tests-special).
54971         (xtests): Depend on $(xtests-special).
54972         * catgets/Makefile (tests): Change dependencies to ....
54973         (tests-special): ... additions to this variable.
54974         * conform/Makefile (tests): Change dependencies to ....
54975         (tests-special): ... additions to this variable.
54976         * elf/Makefile (tests): Change dependencies to ....
54977         (tests-special): ... additions to this variable.
54978         * grp/Makefile (tests): Change dependencies to ....
54979         (tests-special): ... additions to this variable.
54980         * iconv/Makefile (xtests): Change dependencies to ....
54981         (xtests-special): ... additions to this variable.
54982         * iconvdata/Makefile (tests): Change dependencies to ....
54983         (tests-special): ... additions to this variable.
54984         * intl/Makefile (tests): Change dependencies to ....
54985         (tests-special): ... additions to this variable.  Also add
54986         $(objpfx)tst-gettext.out.
54987         * io/Makefile (tests): Change dependencies to ....
54988         (tests-special): ... additions to this variable.
54989         * libio/Makefile (tests): Change dependencies to ....
54990         (tests-special): ... additions to this variable.
54991         * malloc/Makefile (tests): Change dependencies to ....
54992         (tests-special): ... additions to this variable.
54993         * misc/Makefile (tests): Change dependencies to ....
54994         (tests-special): ... additions to this variable.
54995         * nptl/Makefile (tests): Change dependencies to ....
54996         (tests-special): ... additions to this variable.
54997         * nptl_db/Makefile (tests): Change dependencies to ....
54998         (tests-special): ... additions to this variable.
54999         * posix/Makefile (tests): Change dependencies to ....
55000         (tests-special): ... additions to this variable.
55001         (xtests): Change dependencies to ....
55002         (xtests-special): ... additions to this variable.
55003         * resolv/Makefile (tests): Change dependencies to ....
55004         (tests-special): ... additions to this variable.
55005         (xtests): Change dependencies to ....
55006         (xtests-special): ... additions to this variable.
55007         * stdio-common/Makefile (tests): Change dependencies to ....
55008         (tests-special): ... additions to this variable.
55009         (do-tst-unbputc): Remove target.
55010         (do-tst-printf): Likewise.
55011         * stdlib/Makefile (tests): Change dependencies to ....
55012         (tests-special): ... additions to this variable.
55013         * string/Makefile (tests): Change dependencies to ....
55014         (tests-special): ... additions to this variable.
55015         * sysdeps/x86/Makefile (tests): Change dependencies to ....
55016         (tests-special): ... additions to this variable.
55018         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55019         whole file.
55020         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55021         whole file.
55022         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55023         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55025         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55026         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55027         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55028         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55029         * conform/data/libgen.h-data [XPG3]: Likewise.
55030         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55031         * conform/data/ndbm.h-data [XPG3]: Likewise.
55032         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55033         * conform/data/netdb.h-data [XPG3]: Likewise.
55034         * conform/data/netinet/in.h-data [XPG3]: Likewise.
55035         * conform/data/poll.h-data [XPG3]: Likewise.
55036         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55037         * conform/data/strings.h-data [XPG3]: Likewise.
55038         * conform/data/stropts.h-data [XPG3]: Likewise.
55039         * conform/data/sys/mman.h-data [XPG3]: Likewise.
55040         * conform/data/sys/resource.h-data [XPG3]: Likewise.
55041         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55042         Likewise.
55043         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55044         * conform/data/sys/time.h-data [XPG3]: Likewise.
55045         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55046         * conform/data/sys/uio.h-data [XPG3]: Likewise.
55047         * conform/data/sys/un.h-data [XPG3]: Likewise.
55048         * conform/data/syslog.h-data [XPG3]: Likewise.
55049         * conform/data/ucontext.h-data [XPG3]: Likewise.
55050         * conform/data/utmpx.h-data [XPG3]: Likewise.
55051         * conform/data/varargs.h-data [UNIX98]: Enable file.
55053         * manual/Makefile (INSTALL_INFO): Remove variable setting.
55055         * math/libm-test.inc (struct test_f_f_data): Move expected results
55056         into structure for each rounding mode.
55057         (struct test_ff_f_data): Likewise.
55058         (struct test_ff_f_data_nexttoward): Likewise.
55059         (struct test_fi_f_data): Likewise.
55060         (struct test_fl_f_data): Likewise.
55061         (struct test_if_f_data): Likewise.
55062         (struct test_fff_f_data): Likewise.
55063         (struct test_c_f_data): Likewise.
55064         (struct test_f_f1_data): Likewise.
55065         (struct test_fF_f1_data): Likewise.
55066         (struct test_ffI_f1_data): Likewise.
55067         (struct test_c_c_data): Likewise.
55068         (struct test_cc_c_data): Likewise.
55069         (struct test_f_i_data): Likewise.
55070         (struct test_ff_i_data): Likewise.
55071         (struct test_f_l_data): Likewise.
55072         (struct test_f_L_data): Likewise.
55073         (struct test_fFF_11_data): Likewise.
55074         (RM_): New macro.
55075         (RM_FE_DOWNWARD): Likewise.
55076         (RM_FE_TONEAREST): Likewise.
55077         (RM_FE_TOWARDZERO): Likewise.
55078         (RM_FE_UPWARD): Likewise.
55079         (RUN_TEST_LOOP_f_f): Update references to expected results.
55080         (RUN_TEST_LOOP_2_f): Likewise.
55081         (RUN_TEST_LOOP_fff_f): Likewise.
55082         (RUN_TEST_LOOP_c_f): Likewise.
55083         (RUN_TEST_LOOP_f_f1): Likewise.
55084         (RUN_TEST_LOOP_fF_f1): Likewise.
55085         (RUN_TEST_LOOP_fI_f1): Likewise.
55086         (RUN_TEST_LOOP_ffI_f1): Likewise.
55087         (RUN_TEST_LOOP_c_c): Likewise.
55088         (RUN_TEST_LOOP_cc_c): Likewise.
55089         (RUN_TEST_LOOP_f_i): Likewise.
55090         (RUN_TEST_LOOP_f_i_tg): Likewise.
55091         (RUN_TEST_LOOP_ff_i_tg): Likewise.
55092         (RUN_TEST_LOOP_f_b): Likewise.
55093         (RUN_TEST_LOOP_f_b_tg): Likewise.
55094         (RUN_TEST_LOOP_f_l): Likewise.
55095         (RUN_TEST_LOOP_f_L): Likewise.
55096         (RUN_TEST_LOOP_fFF_11): Likewise.
55097         * math/gen-libm-test.pl (parse_args): Output four copies of
55098         expected results for each test.
55100         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55101         (__ASSUME_UTIMES): Remove.
55102         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55103         (__ASSUME_UTIMES): Likewise.
55105         * math/gen-auto-libm-tests.c: Update comment on output format.
55106         (output_for_one_input_case): Generate before-rounding and
55107         after-rounding information as conditions on output flags not
55108         floating-point format.
55109         * math/auto-libm-test-out: Regenerated.
55110         * math/gen-libm-test.pl (cond_value): New function.
55111         (or_cond_value): Use cond_value.
55112         (generate_testfile): Handle conditional exceptions.
55114 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
55116         * math/libm-test.inc (max_valid_error): New variable.
55117         (init_max_error): Take new argument specifying whether function
55118         results are exactly determined.  Set max_valid_error and bound
55119         other variables for errors based on this argument.
55120         (set_max_error): Do not record results above max_valid_error.
55121         (check_float_internal): Only accept errors of up to 0.5ulps if
55122         also at most max_valid_error.
55123         (START): Take new argument EXACT and pass it to init_max_error.
55124         (acos_test): Update call to START.
55125         (acos_test_tonearest): Likewise.
55126         (acos_test_towardzero): Likewise.
55127         (acos_test_downward): Likewise.
55128         (acos_test_upward): Likewise.
55129         (acosh_test): Likewise.
55130         (asin_test): Likewise.
55131         (asin_test_tonearest): Likewise.
55132         (asin_test_towardzero): Likewise.
55133         (asin_test_downward): Likewise.
55134         (asin_test_upward): Likewise.
55135         (asinh_test): Likewise.
55136         (atan_test): Likewise.
55137         (atanh_test): Likewise.
55138         (atan2_test): Likewise.
55139         (cabs_test): Likewise.
55140         (cacos_test): Likewise.
55141         (cacosh_test): Likewise.
55142         (carg_test): Likewise.
55143         (casin_test): Likewise.
55144         (casinh_test): Likewise.
55145         (catan_test): Likewise.
55146         (catanh_test): Likewise.
55147         (cbrt_test): Likewise.
55148         (ccos_test): Likewise.
55149         (ccosh_test): Likewise.
55150         (ceil_test): Likewise.
55151         (cexp_test): Likewise.
55152         (cimag_test): Likewise.
55153         (clog_test): Likewise.
55154         (clog10_test): Likewise.
55155         (conj_test): Likewise.
55156         (copysign_test): Likewise.
55157         (cos_test): Likewise.
55158         (cos_test_tonearest): Likewise.
55159         (cos_test_towardzero): Likewise.
55160         (cos_test_downward): Likewise.
55161         (cos_test_upward): Likewise.
55162         (cosh_test): Likewise.
55163         (cosh_test_tonearest): Likewise.
55164         (cosh_test_towardzero): Likewise.
55165         (cosh_test_downward): Likewise.
55166         (cosh_test_upward): Likewise.
55167         (cpow_test): Likewise.
55168         (cproj_test): Likewise.
55169         (creal_test): Likewise.
55170         (csin_test): Likewise.
55171         (csinh_test): Likewise.
55172         (csqrt_test): Likewise.
55173         (ctan_test): Likewise.
55174         (ctan_test_tonearest): Likewise.
55175         (ctan_test_towardzero): Likewise.
55176         (ctan_test_downward): Likewise.
55177         (ctan_test_upward): Likewise.
55178         (ctanh_test): Likewise.
55179         (ctanh_test_tonearest): Likewise.
55180         (ctanh_test_towardzero): Likewise.
55181         (ctanh_test_downward): Likewise.
55182         (ctanh_test_upward): Likewise.
55183         (erf_test): Likewise.
55184         (erfc_test): Likewise.
55185         (exp_test): Likewise.
55186         (exp_test_tonearest): Likewise.
55187         (exp_test_towardzero): Likewise.
55188         (exp_test_downward): Likewise.
55189         (exp_test_upward): Likewise.
55190         (exp10_test): Likewise.
55191         (exp10_test_tonearest): Likewise.
55192         (exp10_test_towardzero): Likewise.
55193         (exp10_test_downward): Likewise.
55194         (exp10_test_upward): Likewise.
55195         (pow10_test): Likewise.
55196         (exp2_test): Likewise.
55197         (expm1_test): Likewise.
55198         (expm1_test_tonearest): Likewise.
55199         (expm1_test_towardzero): Likewise.
55200         (expm1_test_downward): Likewise.
55201         (expm1_test_upward): Likewise.
55202         (fabs_test): Likewise.
55203         (fdim_test): Likewise.
55204         (floor_test): Likewise.
55205         (fma_test): Likewise.
55206         (fma_test_towardzero): Likewise.
55207         (fma_test_downward): Likewise.
55208         (fma_test_upward): Likewise.
55209         (fmax_test): Likewise.
55210         (fmin_test): Likewise.
55211         (fmod_test): Likewise.
55212         (fpclassify_test): Likewise.
55213         (frexp_test): Likewise.
55214         (hypot_test): Likewise.
55215         (ilogb_test): Likewise.
55216         (isfinite_test): Likewise.
55217         (finite_test): Likewise.
55218         (isgreater_test): Likewise.
55219         (isgreaterequal_test): Likewise.
55220         (isinf_test): Likewise.
55221         (isless_test): Likewise.
55222         (islessequal_test): Likewise.
55223         (islessgreater_test): Likewise.
55224         (isnan_test): Likewise.
55225         (isnormal_test): Likewise.
55226         (issignaling_test): Likewise.
55227         (isunordered_test): Likewise.
55228         (j0_test): Likewise.
55229         (j1_test): Likewise.
55230         (jn_test): Likewise.
55231         (ldexp_test): Likewise.
55232         (lgamma_test): Likewise.
55233         (gamma_test): Likewise.
55234         (lrint_test): Likewise.
55235         (lrint_test_tonearest): Likewise.
55236         (lrint_test_towardzero): Likewise.
55237         (lrint_test_downward): Likewise.
55238         (lrint_test_upward): Likewise.
55239         (llrint_test): Likewise.
55240         (llrint_test_tonearest): Likewise.
55241         (llrint_test_towardzero): Likewise.
55242         (llrint_test_downward): Likewise.
55243         (llrint_test_upward): Likewise.
55244         (log_test): Likewise.
55245         (log10_test): Likewise.
55246         (log1p_test): Likewise.
55247         (log2_test): Likewise.
55248         (logb_test): Likewise.
55249         (logb_test_downward): Likewise.
55250         (lround_test): Likewise.
55251         (llround_test): Likewise.
55252         (modf_test): Likewise.
55253         (nearbyint_test): Likewise.
55254         (nextafter_test): Likewise.
55255         (nexttoward_test): Likewise.
55256         (pow_test): Likewise.
55257         (pow_test_tonearest): Likewise.
55258         (pow_test_towardzero): Likewise.
55259         (pow_test_downward): Likewise.
55260         (pow_test_upward): Likewise.
55261         (remainder_test): Likewise.
55262         (drem_test): Likewise.
55263         (remainder_test_tonearest): Likewise.
55264         (drem_test_tonearest): Likewise.
55265         (remainder_test_towardzero): Likewise.
55266         (drem_test_towardzero): Likewise.
55267         (remainder_test_downward): Likewise.
55268         (drem_test_downward): Likewise.
55269         (remainder_test_upward): Likewise.
55270         (drem_test_upward): Likewise.
55271         (remquo_test): Likewise.
55272         (rint_test): Likewise.
55273         (rint_test_tonearest): Likewise.
55274         (rint_test_towardzero): Likewise.
55275         (rint_test_downward): Likewise.
55276         (rint_test_upward): Likewise.
55277         (round_test): Likewise.
55278         (scalb_test): Likewise.
55279         (scalbn_test): Likewise.
55280         (scalbln_test): Likewise.
55281         (signbit_test): Likewise.
55282         (sin_test): Likewise.
55283         (sin_test_tonearest): Likewise.
55284         (sin_test_towardzero): Likewise.
55285         (sin_test_downward): Likewise.
55286         (sin_test_upward): Likewise.
55287         (sincos_test): Likewise.
55288         (sinh_test): Likewise.
55289         (sinh_test_tonearest): Likewise.
55290         (sinh_test_towardzero): Likewise.
55291         (sinh_test_downward): Likewise.
55292         (sinh_test_upward): Likewise.
55293         (sqrt_test): Likewise.
55294         (sqrt_test_tonearest): Likewise.
55295         (sqrt_test_towardzero): Likewise.
55296         (sqrt_test_downward): Likewise.
55297         (sqrt_test_upward): Likewise.
55298         (tan_test): Likewise.
55299         (tan_test_tonearest): Likewise.
55300         (tan_test_towardzero): Likewise.
55301         (tan_test_downward): Likewise.
55302         (tan_test_upward): Likewise.
55303         (tanh_test): Likewise.
55304         (tgamma_test): Likewise.
55305         (trunc_test): Likewise.
55306         (y0_test): Likewise.
55307         (y1_test): Likewise.
55308         (yn_test): Likewise.
55309         (significand_test): Likewise.
55311         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
55312         individual tests in comment.
55313         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
55314         (prev_max_error): New variable.
55315         (prev_real_max_error): Likewise.
55316         (prev_imag_max_error): Likewise.
55317         (compare_ulp_data): Don't refer to test names in comment.
55318         (find_test_ulps): Remove function.
55319         (find_function_ulps): Likewise.
55320         (find_complex_function_ulps): Likewise.
55321         (init_max_error): Take function name as argument.  Look up ulps
55322         for that function.
55323         (print_ulps): Remove function.
55324         (print_max_error): Use prev_max_error instead of calling
55325         find_function_ulps.
55326         (print_complex_max_error): Use prev_real_max_error and
55327         prev_imag_max_error instead of calling find_complex_function_ulps.
55328         (check_float_internal): Take max_ulp parameter instead of calling
55329         find_test_ulps.  Don't call print_ulps.
55330         (check_float): Update call to check_float_internal.
55331         (check_complex): Update calls to check_float_internal.
55332         (START): Pass argument to init_max_error.
55333         * math/gen-libm-test.pl (%results): Don't include "kind"
55334         information.
55335         (parse_ulps): Don't handle ulps of individual tests.
55336         (print_ulps_file): Likewise.
55337         (output_ulps): Likewise.
55338         * math/README.libm-test: Update.
55339         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
55340         individual tests.
55341         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
55342         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
55343         * sysdeps/arm/libm-test-ulps: Likewise.
55344         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
55345         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
55346         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
55347         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
55348         * sysdeps/microblaze/libm-test-ulps: Likewise.
55349         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
55350         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
55351         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55352         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
55353         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55354         * sysdeps/sh/libm-test-ulps: Likewise.
55355         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55356         * sysdeps/tile/libm-test-ulps: Likewise.
55357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55359 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
55361         * math/libm-test.inc (print_complex_max_error): Check separately
55362         whether real and imaginary errors are within allowed range and
55363         pass 0 to print_complex_function_ulps instead of value within
55364         allowed range.
55366 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55368         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
55369         formatting.
55370         (get_handles_fopen): Likewise.
55371         (do_write_test): Likewise.
55373         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
55375         * libio/fileops.c (do_ftell): Use cached offset when
55376         available.
55377         * libio/iofwide.c (do_ftell_wide): Likewise.
55378         * libio/iofdopen.c (_IO_new_fdopen): Don't use
55379         _IO_file_attach.
55380         * libio/wfileops.c (_IO_fwide): Don't cache offset.
55382         [BZ #16532]
55383         * libio/libioP.h (get_file_offset): New function.
55384         * libio/fileops.c (get_file_offset): Likewise.
55385         (do_ftell): Likewise.
55386         (_IO_new_file_seekoff): Split out ftell logic.
55387         * libio/wfileops.c (do_ftell_wide): Likewise.
55388         (_IO_wfile_seekoff): Split out ftell logic.
55389         * libio/tst-ftell-active-handler.c: New test case.
55390         * libio/Makefile (tests): Add it.
55392 2014-03-03  Roland McGrath  <roland@hack.frob.com>
55394         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
55395         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
55397 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55399         [BZ #16639]
55400         * nscd/connections.c (nscd_init): Call do_exit.
55401         (start_threads): Call do_exit and notify_parent.
55402         (begin_drop_privileges): Call do_exit.
55403         (finish_drop_privileges): Likewise.
55404         * nscd/selinux.c (preserve_capabilities): Likewise.
55405         (install_real_capabilities): Likewise.
55406         (nscd_selinux_enabled): Likewise.
55407         (avc_create_thread): Likewise.
55408         (avc_alloc_lock): Likewise.
55409         (nscd_avc_init): Likewise.
55410         * nscd/nscd.c (parent_fd): New static variable.
55411         (main): Create a pipe between parent and child processes.
55412         Skip closing parent_fd.
55413         (monitor_child): New function.
55414         (do_exit): Likewise.
55415         (notify_parent): Likewise.
55416         * nscd/nscd.h (notify_parent): Likewise.
55417         (do_exit): Likewise.
55419 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
55421         * malloc/malloc.c (__libc_calloc): Revert last change.
55423 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55427 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
55429         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
55430         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
55431         implementation.
55432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55433         (__libc_ifunc_impl_list): Likewise.
55434         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
55435         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
55436         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
55437         * string/strrchr.c: Define STRRCHR.
55439 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
55441         * benchtest/bench-strtok.c (simple_strtok): Delete.
55442         (strtok_string): Use as benchmark.
55443         * string/strtok (STRTOK): New macro.
55445 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
55447         * manual/threads.texi: Add header and standard comments to all
55448         functions.
55450         * elf/dl-lookup.c (check_match): New function.
55451         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
55452         (do_lookup_x): Remove nested function check_match. Use non-nested
55453         function check_match.
55455 2014-02-28  Roland McGrath  <roland@hack.frob.com>
55457         * csu/Makefile (generated, before-compile): Use += rather than =.
55458         * catgets/Makefile (generated, generated-dirs): Likewise.
55459         * debug/Makefile (generated): Likewise.
55460         * dlfcn/Makefile (generated): Likewise.
55461         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
55462         * iconvdata/Makefile (before-compile, generated): Likewise.
55463         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
55464         * libio/Makefile (generated): Likewise.
55465         * malloc/Makefile (generated): Likewise.
55466         * manual/Makefile (generated, generated-dirs): Likewise.
55467         * misc/Makefile (generated): Likewise.
55468         * posix/Makefile (generated): Likewise.
55469         * resolv/Makefile (generated): Likewise.
55470         * sunrpc/Makefile (generated, generated-dirs): Likewise.
55471         * timezone/Makefile (generated, generated-dirs): Likewise.
55473         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
55475 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55477         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
55478         power8 implementation.
55479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
55480         file: POWER8 llround ifunc implementation.
55481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
55482         (__lllround): Add POWER8 implementation.
55483         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
55484         POWER8 llround implementation.
55486         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
55487         power8 implementation.
55488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
55489         file: POWER8 llrint ifunc implementation.
55490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
55491         Add POWER8 implementation.
55492         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
55493         POWER8 llrint implementation.
55495         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
55496         power8 implementation.
55497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
55498         file: POWER8 finite ifunc implementation.
55499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
55500         Add POWER8 implementation.
55501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
55502         Likewise.
55503         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
55504         POWER8 finite implementation.
55505         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
55507         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
55508         power8 implementation.
55509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
55510         file: POWER8 isinf ifunc implementation.
55511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
55512         POWER8 implementation.
55513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
55514         Likewise.
55515         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
55516         isinf implementation.
55517         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
55519         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
55520         (INIT_ARCH): Add hwcap2 initialization.
55521         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
55522         power8 implementation.
55523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
55524         file: POWER8 isnan ifunc implementation.
55525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
55526         POWER8 implementation.
55527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
55528         Likewise.
55529         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
55530         isnan implementation.
55531         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
55533 2014-02-27  Joey Ye  <joey.ye@arm.com>
55535         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
55536         (_FP_NANFRAC_Q): Set to zero.
55538 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55540         [BZ #16623]
55541         * math/auto-libm-test-in: New test inputs.
55542         * math/auto-libm-test-out: Regenerate.
55543         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
55544         and DA.
55545         (__cos): Likewise.
55546         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55548 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
55550         * scripts/evaluate-test.sh: Take new argument indicating whether
55551         failure is expected.
55552         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
55553         indicating whether failure is expected.
55554         * conform/Makefile (test-xfail-run-conformtest): New variable.
55555         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
55556         level.
55557         * posix/Makefile (test-xfail-annexc): New variable.
55558         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
55560 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
55562         * argp/Makefile: Include Makeconfig immediately after defining
55563         subdir.
55564         * assert/Makefile: Likewise.
55565         * benchtests/Makefile: Likewise.
55566         * catgets/Makefile: Likewise.
55567         * conform/Makefile: Likewise.
55568         * crypt/Makefile: Likewise.
55569         * csu/Makefile: Likewise.
55570         (all): Remove target.
55571         * ctype/Makefile: Include Makeconfig immediately after defining
55572         subdir.
55573         * debug/Makefile: Likewise.
55574         * dirent/Makefile: Likewise.
55575         * dlfcn/Makefile: Likewise.
55576         * gmon/Makefile: Likewise.
55577         * gnulib/Makefile: Likewise.
55578         * grp/Makefile: Likewise.
55579         * gshadow/Makefile: Likewise.
55580         * hesiod/Makefile: Likewise.
55581         * hurd/Makefile: Likewise.
55582         (all): Remove target.
55583         * iconvdata/Makefile: Include Makeconfig immediately after
55584         defining subdir.
55585         * inet/Makefile: Likewise.
55586         * intl/Makefile: Likewise.
55587         * io/Makefile: Likewise.
55588         * libio/Makefile: Likewise.
55589         (all): Remove target.
55590         * locale/Makefile: Include Makeconfig immediately after defining
55591         subdir.
55592         * login/Makefile: Likewise.
55593         * mach/Makefile: Likewise.
55594         (all): Remove target.
55595         * malloc/Makefile: Include Makeconfig immediately after defining
55596         subdir.
55597         (all): Remove target.
55598         * manual/Makefile: Include Makeconfig immediately after defining
55599         subdir.
55600         * math/Makefile: Likewise.
55601         * misc/Makefile: Likewise.
55602         * nis/Makefile: Likewise.
55603         * nss/Makefile: Likewise.
55604         * po/Makefile: Likewise.
55605         (all): Remove target.
55606         * posix/Makefile: Include Makeconfig immediately after defining
55607         subdir.
55608         * pwd/Makefile: Likewise.
55609         * resolv/Makefile: Likewise.
55610         * resource/Makefile: Likewise.
55611         * rt/Makefile: Likewise.
55612         * setjmp/Makefile: Likewise.
55613         * shadow/Makefile: Likewise.
55614         * signal/Makefile: Likewise.
55615         * socket/Makefile: Likewise.
55616         * soft-fp/Makefile: Likewise.
55617         * stdio-common/Makefile: Likewise.
55618         * stdlib/Makefile: Likewise.
55619         * streams/Makefile: Likewise.
55620         * string/Makefile: Likewise.
55621         * sunrpc/Makefile: Likewise.
55622         (all): Remove target.
55623         * sysvipc/Makefile: Include Makeconfig immediately after defining
55624         subdir.
55625         * termios/Makefile: Likewise.
55626         * time/Makefile: Likewise.
55627         * timezone/Makefile: Likewise.
55628         (all): Remove target.
55629         * wcsmbs/Makefile: Include Makeconfig immediately after defining
55630         subdir.
55631         * wctype/Makefile: Likewise.
55633 2014-02-26  Steve Ellcey  <sellcey@mips.com>
55635         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
55636         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
55637         (libc_feholdexcept_setround_mips): Ditto.
55638         (libc_feholdsetround): New.
55639         (libc_feholdsetroundf): New.
55640         (libc_feholdsetroundl): New.
55641         (libc_feupdateenv_test_mips): New.
55642         (libc_feupdateenv_test): New.
55643         (libc_feupdateenv_testf): New.
55644         (libc_feupdateenv_testl): New.
55645         (libc_feresetround): New.
55646         (libc_feresetroundf): New.
55647         (libc_feresetroundl): New.
55648         (libc_fetestexcept_mips): New.
55649         (libc_fetestexcept): New.
55650         (libc_fetestexceptf): New.
55651         (libc_fetestexceptl): New.
55652         (HAVE_RM_CTX): New.
55653         (libc_feholdexcept_setround_mips_ctx): New.
55654         (libc_feholdexcept_setround_ctx): New.
55655         (libc_feholdexcept_setroundf_ctx): New.
55656         (libc_feholdexcept_setroundl_ctx): New.
55657         (libc_fesetenv_mips_ctx): New.
55658         (libc_fesetenv_ctx): New.
55659         (libc_fesetenv_ctxf): New.
55660         (libc_fesetenv_ctxl): New.
55661         (libc_feupdateenv_mips_ctx): New.
55662         (libc_feupdateenv_ctx): New.
55663         (libc_feupdateenvf_ctx): New.
55664         (libc_feupdateenvl_ctx): New.
55665         (libc_feholdsetround_mips_ctx): New.
55666         (libc_feholdsetround_ctx): New.
55667         (libc_feholdsetroundf_ctx): New.
55668         (libc_feholdsetroundl_ctx): New.
55669         (libc_feresetround_mips_ctx): New.
55670         (libc_feresetround_ctx): New.
55671         (libc_feresetroundf_ctx): New.
55672         (libc_feresetroundl_ctx): New.
55674 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
55676         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
55678         * manual/ipc.texi: New file.
55679         * manual/Makefile (chapters): Add ipc.
55680         * manual/job.texi: Add "Inter-Process Communication" to next.
55681         * manual/process.texi: Add "Inter-Process Communication" to prev.
55683 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55687 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
55689         * malloc/malloc.c (__libc_calloc): Simplify implementation.
55691         * manual/arith.texi: Fix spaces after sentences.
55692         * manual/charset.texi: Likewise.
55693         * manual/errno.texi: Likewise.
55694         * manual/install.texi: Likewise.
55695         * manual/llio.texi: Likewise.
55696         * manual/locale.texi: Likewise.
55697         * manual/maint.texi: Likewise.
55698         * manual/math.texi: Likewise.
55699         * manual/memory.texi: Likewise.
55700         * manual/message.texi: Likewise.
55701         * manual/probes.texi: Likewise.
55702         * manual/resource.texi: Likewise.
55703         * manual/signal.texi: Likewise.
55704         * manual/socket.texi: Likewise.
55705         * manual/stdio.texi: Likewise.
55706         * manual/string.texi: Likewise.
55707         * manual/time.texi: Likewise.
55708         * manual/users.texi: Likewise.
55710 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
55712         [BZ #16632]
55713         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
55714         _DEFAULT_SOURCE is defined.
55716 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
55717             Carlos O'Donell  <carlos@redhat.com>
55719         [BZ #16613]
55720         * elf/dl-tls.c (_dl_count_modids): New function.
55721         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
55722         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
55723         audit library and increment generation counter.
55724         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
55725         * elf/tst-audit9.c: New file.
55726         * elf/tst-auditmod9a.c: New file.
55727         * elf/tst-auditmod9b.c: New file.
55728         * elf/Makefile: Add rules to build and run tst-audit9.
55730 2014-02-25  Florian Weimer  <fweimer@redhat.com>
55732         [BZ #15347]
55733         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
55735 2014-02-25  Will Newton  <will.newton@linaro.org>
55737         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
55738         (__longjmp): Restore sp and lr before restoring callee
55739         saved registers.  Add longjmp and longjmp_target
55740         SystemTap probe point.
55741         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
55742         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
55743         Define to zero to match jmpbuf layout.
55744         * sysdeps/arm/setjmp.S: Include stap-probe.h.
55745         (__sigsetjmp): Save sp and lr before saving callee
55746         saved registers.  Add setjmp SystemTap probe point.
55748 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
55750         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
55752 2014-02-24  Andreas Schwab  <schwab@suse.de>
55754         [BZ #15804]
55755         * elf/pldd.c (wait_for_ptrace_stop): New function.
55756         (main): Call it after attaching.
55758 2014-02-22  Roland McGrath  <roland@hack.frob.com>
55760         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
55761         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
55762         Versions files is now verboten.
55763         * hurd/Versions (libc: GLIBC_2.0):
55764         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
55765         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
55766         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
55767         * mach/Versions: Likewise.
55769         * csu/Versions: Remove unused %include.
55770         * resolv/Versions: Likewise.
55772 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
55774         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
55775         ($(objpfx)check-local-headers.out): Likewise.
55776         ($(objpfx)begin-end-check.out): Likewise.
55777         * Makerules (check-abi-%.out): Likewise.
55778         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
55779         ($(objpfx)test2.cat): Likewise.
55780         ($(objpfx)de/libc.cat): Likewise.
55781         ($(objpfx)test-gencat.out): Likewise.
55782         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
55783         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
55784         ($(objpfx)noload-mem): Likewise.
55785         ($(objpfx)tst-pathopt.out): Likewise.
55786         ($(objpfx)tst-rtld-load-self.out): Likewise.
55787         ($(objpfx)tst-array1-cmp.out): Likewise.
55788         ($(objpfx)tst-array1-static-cmp.out): Likewise.
55789         ($(objpfx)tst-array2-cmp.out): Likewise.
55790         ($(objpfx)tst-array3-cmp.out): Likewise.
55791         ($(objpfx)tst-array4-cmp.out): Likewise.
55792         ($(objpfx)tst-array5-cmp.out): Likewise.
55793         ($(objpfx)tst-array5-static-cmp.out): Likewise.
55794         ($(objpfx)check-textrel.out): Likewise.
55795         ($(objpfx)check-execstack.out): Likewise.
55796         ($(objpfx)check-localplt.out): Likewise.
55797         ($(objpfx)order2-cmp.out): Likewise.
55798         ($(objpfx)tst-leaks1-mem): Likewise.
55799         ($(objpfx)tst-leaks1-static-mem): Likewise.
55800         ($(objpfx)tst-initorder-cmp.out): Likewise.
55801         ($(objpfx)tst-initorder2-cmp.out): Likewise.
55802         ($(objpfx)tst-unused-dep.out): Likewise.
55803         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
55804         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
55805         * iconv/Makefile (test-iconvconfig): Likewise.
55806         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
55807         ($(objpfx)iconv-test.out): Likewise.
55808         ($(objpfx)tst-tables.out): Likewise.
55809         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
55810         ($(objpfx)tst-gettext.out): Likewise.
55811         ($(objpfx)tst-translit.out): Likewise.
55812         ($(objpfx)tst-gettext2.out): Likewise.
55813         ($(objpfx)tst-gettext4.out): Likewise.
55814         ($(objpfx)tst-gettext6.out): Likewise.
55815         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
55816         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
55817         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
55818         ($(objpfx)tst-fopenloc-mem.out): Likewise.
55819         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
55820         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
55821         * posix/Makefile ($(objpfx)globtest.out): Likewise.
55822         ($(objpfx)wordexp-tst.out): Likewise.
55823         ($(objpfx)annexc.out): Likewise.
55824         ($(objpfx)tst-fnmatch-mem): Likewise.
55825         ($(objpfx)bug-regex2-mem): Likewise.
55826         ($(objpfx)bug-regex14-mem): Likewise.
55827         ($(objpfx)bug-regex21-mem): Likewise.
55828         ($(objpfx)bug-regex31-mem): Likewise.
55829         ($(objpfx)tst-vfork3-mem): Likewise.
55830         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55831         ($(objpfx)tst-pcre-mem): Likewise.
55832         ($(objpfx)tst-boost-mem): Likewise.
55833         ($(objpfx)tst-getconf.out): Likewise.
55834         ($(objpfx)bug-ga2-mem): Likewise.
55835         ($(objpfx)bug-glob2-mem): Likewise.
55836         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
55837         ($(objpfx)mtrace-tst-leaks2): Likewise.
55838         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
55839         ($(objpfx)tst-printf.out): Likewise.
55840         ($(objpfx)tst-setvbuf1.out): Likewise.
55841         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
55842         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
55843         ($(objpfx)tst-fmtmsg.out): Likewise.
55844         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
55845         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
55847         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
55848         * bits/sigaction.h [__USE_MISC]: Likewise.
55849         * bits/waitstatus.h: Update #endif comments.
55850         * ctype/ctype.h: Likewise.
55851         * dirent/dirent.h: Likewise.
55852         [__USE_MISC]: Remove redundant conditionals.
55853         * grp/grp.h: Update #endif comments.
55854         [__USE_GNU]: Remove redundant conditionals.
55855         [__USE_MISC]: Likewise.
55856         * inet/netinet/in.h [__USE_GNU]: Likewise.
55857         * io/sys/stat.h [__USE_MISC]: Likewise.
55858         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
55859         * libio/bits/stdio.h: Update #endif comments.
55860         [__USE_MISC]: Remove redundant conditionals.
55861         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
55862         * libio/stdio.h: Update #endif comments.
55863         [__USE_MISC]: Remove redundant conditionals.
55864         * math/bits/math-finite.h [__USE_MISC]: Likewise.
55865         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
55866         * math/math.h: Update #else and #endif comments.
55867         [__USE_MISC]: Remove redundant conditionals.
55868         * misc/sys/uio.h: Update #endif comments.
55869         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
55870         * posix/glob.h [__USE_MISC]: Likewise.
55871         * posix/sys/types.h: Update #endif comments.
55872         [__USE_MISC]: Remove redundant conditionals.
55873         * posix/sys/wait.h: Update #endif comments.
55874         [__USE_MISC]: Remove redundant conditionals.
55875         * posix/unistd.h: Update #endif comments.
55876         [__USE_MISC]: Remove redundant conditionals.
55877         * pwd/pwd.h [__USE_GNU]: Likewise.
55878         [__USE_MISC]: Likewise.
55879         * resolv/netdb.h [__USE_GNU]: Likewise.
55880         * signal/signal.h: Update #endif comments.
55881         [__USE_MISC]: Remove redundant conditionals.
55882         * stdlib/stdlib.h: Update #else and #endif comments.
55883         [__USE_MISC]: Remove redundant conditionals.
55884         [__USE_GNU]: Likewise.
55885         * string/bits/string2.h [__USE_MISC]: Likewise.
55886         * string/string.h: Update #endif comments.
55887         [__USE_MISC]: Remove redundant conditionals.
55888         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
55889         Likewise.
55890         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
55891         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
55892         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
55893         Likewise.
55894         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
55895         Likewise.
55896         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
55897         comments.
55898         [__USE_MISC]: Remove redundant conditionals.
55899         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
55900         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
55901         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
55902         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
55903         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
55904         Likewise.
55905         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
55906         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
55907         Likewise.
55908         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
55909         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
55910         Likewise.
55911         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
55912         Likewise.
55913         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
55914         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
55915         Likewise.
55916         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
55917         Likewise.
55918         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
55919         * sysdeps/x86/bits/string.h: Update #endif comments.
55920         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
55921         conditionals.
55922         * time/sys/time.h: Update #endif comments.
55923         * time/time.h: Likewise.
55924         [__USE_MISC]: Remove redundant conditionals.
55926 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
55928         [BZ #16600]
55929         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
55931 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
55933         * Versions.def (librt): Add GLIBC_2.17.
55935 2014-02-21  Adam Conrad  <adconrad@0c3.net>
55937         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
55938         synonym for _SYS_AUXV_H to allow direct inclusion.
55939         * sysdeps/sparc/bits/hwcap.h: Likewise.
55940         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
55941         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
55942         * sysdeps/sparc/sysdep.h: Likewise.
55944 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55946         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
55948 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55950         * benchtests/bench-strrchr.c: Print length instead of position.
55952 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
55954         [BZ #16611]
55955         * sysdeps/unix/sysv/linux/kernel-features.h
55956         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
55957         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
55958         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
55959         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
55960         Likewise.
55961         [__i386__ || __powerpc__ || __sh__ || __sparc__]
55962         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55963         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
55964         (__ASSUME_SENDMMSG): Define instead of using previous
55965         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
55966         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55967         (__ASSUME_SENDMMSG_SYSCALL): Define.
55968         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55969         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
55970         Likewise.
55971         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55972         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55973         Likewise.
55974         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55975         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55976         Likewise.
55977         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
55978         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
55979         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
55980         [__ASSUME_SENDMMSG]: Change conditionals to
55981         [__ASSUME_SENDMMSG_SOCKETCALL].
55982         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55983         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
55984         Define.
55985         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55986         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
55987         Likewise.
55988         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
55989         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
55990         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
55991         [!__ASSUME_SENDMMSG]: Change conditional to
55992         [!__ASSUME_SENDMMSG_SOCKETCALL].
55993         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55994         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55995         Define.
55997         [BZ #16610]
55998         * sysdeps/unix/sysv/linux/kernel-features.h
55999         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56000         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56001         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56002         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56003         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56004         [__i386__ || __sparc__]
56005         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56006         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56007         (__ASSUME_RECVMMSG): Define instead of using previous
56008         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56009         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56010         (__ASSUME_RECVMMSG_SYSCALL): Define.
56011         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56012         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56013         Likewise.
56014         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56015         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56016         Likewise.
56017         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56018         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56019         Likewise.
56020         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56021         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56022         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56023         [__ASSUME_RECVMMSG]: Change condition to
56024         [__ASSUME_RECVMMSG_SOCKETCALL].
56025         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56026         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56027         Define.
56028         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56029         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56030         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56031         Likewise.
56032         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56033         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56034         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56035         [!__ASSUME_RECVMMSG]: Change condition to
56036         [!__ASSUME_RECVMMSG_SOCKETCALL].
56037         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56038         (__ASSUME_RECVMMSG_SYSCALL): Define.
56040         [BZ #16609]
56041         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56042         __powerpc__ || __s390__ || __sh__ || __sparc__]
56043         (__ASSUME_SOCKETCALL): Define.
56044         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56045         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56046         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56047         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56048         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56049         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56050         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56051         (__ASSUME_ACCEPT4): Define instead of using previous
56052         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56053         __powerpc__ || __sparc__ || __s390__)] condition.
56054         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56055         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56056         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56057         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56058         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56059         [!__ASSUME_ACCEPT4]: Change condition to
56060         [!__ASSUME_ACCEPT4_SOCKETCALL].
56061         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56062         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
56063         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56064         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56065         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56066         __ASSUME_ACCEPT4_SYSCALL.
56067         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56068         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56069         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56070         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56071         __ASSUME_ACCEPT4_SYSCALL.
56072         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56073         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56074         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56075         [__ASSUME_ACCEPT4]: Change condition to
56076         [__ASSUME_ACCEPT4_SOCKETCALL].
56077         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56078         (__ASSUME_SOCKETCALL): Define.
56079         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56080         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56081         (__ASSUME_SOCKETCALL): Define.
56082         (__ASSUME_ACCEPT4): Remove.
56083         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56084         Define.
56085         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56086         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56087         Likewise.
56088         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56089         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56091         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56092         macro.
56093         (HWCAP_ARM_LPAE): Likewise.
56094         (HWCAP_ARM_EVTSTRM): Likewise.
56095         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56096         Add vpfd32, lpae and evtstrm.
56097         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56098         Increase to 22.
56100 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
56102         * math/auto-libm-test-in: Add tests of clog10.
56103         * math/auto-libm-test-out: Regenerated.
56104         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
56105         * sysdeps/i386/fpu/libm-test-ulps: Update.
56106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56108 2014-02-18  Andreas Schwab  <schwab@suse.de>
56110         [BZ #16574]
56111         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
56112         Store non-zero if the second buffer was newly allocated.
56113         (send_dg): Likewise.
56114         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
56115         to send_vc and send_dg.
56116         (res_nsend): Pass NULL for ansp2_malloced.
56117         * resolv/res_query.c (__libc_res_nquery): Add parameter
56118         answerp2_malloced and pass it down to __libc_res_nsend.
56119         (res_nquery): Pass additional NULL to __libc_res_nquery.
56120         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
56121         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
56122         second answer buffer if answerp2_malloced was set.
56123         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
56124         (__libc_res_nquerydomain): Add parameter
56125         answerp2_malloced and pass it down to __libc_res_nquery.
56126         (res_nquerydomain): Pass additional NULL to
56127         __libc_res_nquerydomain.
56128         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
56129         additional NULL to __libc_res_nsend and __libc_res_nquery.
56130         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
56131         additional NULL to __libc_res_nsearch.
56132         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
56133         parameter of __libc_res_nsearch to check for separately allocated
56134         second buffer.
56135         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
56136         __libc_res_nquery.
56137         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
56138         additional NULL to __libc_res_nquery.
56139         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
56140         __libc_res_nsearch.
56141         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
56142         * include/resolv.h: Update prototypes of __libc_res_nquery,
56143         __libc_res_nsearch, __libc_res_nsend.
56145 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
56147         * math/auto-libm-test-in: Add tests of fma.
56148         * math/auto-libm-test-out: Regenerated.
56149         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
56150         (fma_towardzero_test_data): Likewise.
56151         (fma_downward_test_data): Likewise.
56152         (fma_upward_test_data): Likewise.
56153         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
56154         mpc_mode.
56155         (rounding_modes): Add values for new field.
56156         (func_calc_method): Add value mpfr_fff_f.
56157         (func_calc_desc): Add mpfr_fff_f union field.
56158         (test_function): Add field exact_args.
56159         (FUNC): Add macro argument EXACT_ARGS.
56160         (FUNC_mpfr_f_f): Update call to FUNC.
56161         (FUNC_mpfr_f_f): Likewise.
56162         (FUNC_mpfr_ff_f): Likewise.
56163         (FUNC_mpfr_if_f): Likewise.
56164         (FUNC_mpc_c_f): Likewise.
56165         (FUNC_mpc_c_c): Likewise.
56166         (test_functions): Add fma.  Update calls to FUNC.
56167         (handle_input_arg): Add argument exact_args.
56168         (add_test): Update call to handle_input_arg.
56169         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
56170         (output_for_one_input_case): Update call to calc_generic_results.
56171         Recalculate exact zero results in each rounding mode.
56173         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
56174         non-negative before setting low bit.
56175         * math/auto-libm-test-in: Mark one asin test possibly having
56176         spurious underflow.
56177         * math/auto-libm-test-out: Regenerated.
56178         * sysdeps/i386/fpu/libm-test-ulps: Update.
56179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56181 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
56183         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
56184         * sysdeps/unix/sysv/linux/microblaze: Move directory from
56185         ports/sysdeps/unix/sysv/linux/microblaze.
56186         * README: Add missing listing for microblaze*-*-linux-gnu.
56188 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
56190         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
56191         duplicate code
56193 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
56195         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
56196         * sysdeps/unix/sysv/linux/ia64: Move directory from
56197         ports/sysdeps/unix/sysv/linux/ia64.
56198         * README: Update listing for ia64-*-linux-gnu.
56200 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
56201             Joseph Myers  <joseph@codesourcery.com>
56203         * Makeconfig (test-name): New variable.
56204         (evaluate-test): Likewise.
56205         * Makerules (do-test-clean): Remove .test-result files.
56206         (common-mostlyclean): Likewise.
56207         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
56208         * scripts/evaluate-test.sh: New file.
56210 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
56212         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
56213         separate $(objpfx)tst-fopenloc-cmp.out and
56214         $(objpfx)tst-fopenloc-mem.out targets.
56215         (tests): Update dependencies.
56216         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
56217         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
56218         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
56219         (tst-rxspencer-no-utf8-ARGS): New variable.
56220         (tst-rxspencer-no-utf8-ENV): Likewise.
56221         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
56222         instead of $(objpfx)tst-rxspencer-mem.
56223         ($(objpfx)tst-rxspencer-mem): Change target to
56224         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
56225         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
56226         * posix/tst-rxspencer-no-utf8.c: New file.
56228         * elf/Makefile ($(objpfx)order.out): Remove rule.
56229         [$(run-built-tests) = yes] (tests): Depend on
56230         $(objpfx)order-cmp.out.
56231         ($(objpfx)order-cmp.out): New rule.
56232         [$(run-built-tests) = yes] (tests): Depend on
56233         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
56234         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
56235         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
56236         $(objpfx)tst-array5-static-cmp.out.
56237         ($(objpfx)tst-array1.out): Remove rule.
56238         ($(objpfx)tst-array1-cmp.out): New rule.
56239         ($(objpfx)tst-array1-static.out): Remove rule.
56240         ($(objpfx)tst-array1-static-cmp.out): New rule.
56241         ($(objpfx)tst-array2.out): Remove rule.
56242         ($(objpfx)tst-array2-cmp.out): New rule.
56243         ($(objpfx)tst-array3.out): Remove rule.
56244         ($(objpfx)tst-array3-cmp.out): New rule.
56245         ($(objpfx)tst-array4.out): Remove rule.
56246         ($(objpfx)tst-array4-cmp.out): New rule.
56247         ($(objpfx)tst-array5.out): Remove rule.
56248         ($(objpfx)tst-array5-cmp.out): New rule.
56249         ($(objpfx)tst-array5-static.out): Remove rule.
56250         ($(objpfx)tst-array5-static-cmp.out): New rule.
56251         [$(run-built-tests) = yes] (tests): Depend on
56252         $(objpfx)order2-cmp.out.
56253         ($(objpfx)order2.out): Remove rule.
56254         ($(objpfx)order2-cmp.out): New rule.
56255         ($(objpfx)tst-initorder.out): Remove rule.
56256         [$(run-built-tests) = yes] (tests): Depend on
56257         $(objpfx)tst-initorder-cmp.out.
56258         ($(objpfx)tst-initorder-cmp.out): New rule.
56259         ($(objpfx)tst-initorder2.out): Remove rule.
56260         [$(run-built-tests) = yes] (tests): Depend on
56261         $(objpfx)tst-initorder2-cmp.out.
56262         ($(objpfx)tst-initorder2-cmp.out): New rule.
56263         [$(run-built-tests) = yes] (tests): Depend on
56264         $(objpfx)tst-unused-dep-cmp.out.
56265         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
56266         ($(objpfx)tst-unused-dep-cmp.out): New rule.
56267         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
56268         on $(objpfx)tst-setvbuf1-cmp.out.
56269         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
56270         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
56271         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
56272         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
56273         ($(objpfx)tst-svc.out): Remove rule.
56274         ($(objpfx)tst-svc-cmp.out): New rule.
56276 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
56278         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
56279         * ctype/ctype.h [__USE_MISC]: Likewise.
56280         * dirent/dirent.h [__USE_MISC]: Likewise.
56281         * grp/grp.h [__USE_MISC]: Likewise.
56282         * io/fcntl.h [__USE_MISC]: Likewise.
56283         * io/sys/stat.h [__USE_MISC]: Likewise.
56284         * libio/stdio.h [__USE_MISC]: Likewise.
56285         * posix/unistd.h [__USE_MISC]: Likewise.
56286         * pwd/pwd.h [__USE_MISC]: Likewise.
56287         * stdlib.h [__USE_MISC]: Likewise.
56288         * string/bits/string2.h [__USE_MISC]: Likewise.
56289         * string/string.h [__USE_MISC]: Likewise.
56290         * time/time.h [__USE_MISC]: Likewise.
56292 2014-02-13  Andreas Schwab  <schwab@suse.de>
56294         [BZ #16574]
56295         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
56296         second answer buffer if it was separately allocated.
56298 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
56300         * sysdeps/mips/math-tests.h: Include <features.h>.
56301         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56302         (ROUNDING_TESTS_long_double): Do not define.
56303         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56304         (EXCEPTION_TESTS_long_double): Likewise.
56305         * sysdeps/mips/mips64/libm-test-ulps: Update.
56307         * include/features.h (__USE_BSD): Remove macro definitions.
56308         (__USE_SVID): Likewise.
56309         (_BSD_SOURCE): Likewise.
56310         (_SVID_SOURCE): Likewise.
56311         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
56312         from definition of _DEFAULT_SOURCE.
56313         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
56314         [_DEFAULT_SOURCE].
56315         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
56316         * bits/mman.h [__USE_BSD]: Likewise.
56317         * bits/termios.h [__USE_BSD]: Likewise.
56318         * bits/waitstatus.h [__USE_BSD]: Likewise.
56319         * ctype/ctype.h [__USE_SVID]: Likewise.
56320         * dirent/dirent.h [__USE_BSD]: Likewise.
56321         * grp/grp.h [__USE_SVID]: Likewise.
56322         [__USE_BSD]: Likewise.
56323         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
56324         * io/fcntl.h [__USE_BSD]: Likewise.
56325         * io/ftw.h [__USE_BSD]: Likewise.
56326         * io/sys/stat.h [__USE_BSD]: Likewise.
56327         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
56328         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
56329         * libio/stdio.h [__USE_SVID]: Likewise.
56330         [__USE_BSD]: Likewise.
56331         * math/math.h [__USE_SVID]: Likewise.
56332         [__USE_BSD]: Likewise.
56333         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
56334         * misc/bits/syslog.h [__USE_BSD]: Likewise.
56335         * misc/search.h [__USE_SVID]: Likewise.
56336         * misc/sys/mman.h [__USE_BSD]: Likewise.
56337         * misc/sys/syslog.h [__USE_BSD]: Likewise.
56338         * misc/sys/uio.h [__USE_BSD]: Likewise.
56339         * posix/bits/unistd.h [__USE_BSD]: Likewise.
56340         * posix/glob.h [__USE_BSD]: Likewise.
56341         * posix/regex.h [__USE_BSD]: Likewise.
56342         * posix/sys/types.h [__USE_BSD]: Likewise.
56343         [__USE_SVID]: Likewise.
56344         * posix/sys/utsname.h [__USE_SVID]: Likewise.
56345         * posix/sys/wait.h [__USE_BSD]: Likewise.
56346         [__USE_SVID]: Likewise.
56347         * posix/unistd.h [__USE_BSD]: Likewise.
56348         [__USE_SVID]: Likewise.
56349         * pwd/pwd.h [__USE_SVID]: Likewise.
56350         * resolv/netdb.h [__USE_BSD]: Likewise.
56351         * setjmp/setjmp.h [__USE_BSD]: Likewise.
56352         * signal/signal.h [__USE_BSD]: Likewise.
56353         [__USE_SVID]: Likewise.
56354         * socket/sys/socket.h [__USE_BSD]: Likewise.
56355         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
56356         * stdlib/stdlib.h [__USE_BSD]: Likewise.
56357         [__USE_SVID]: Likewise.
56358         * string/bits/string2.h [__USE_BSD]: Likewise.
56359         [__USE_SVID]: Likewise.
56360         * string/bits/string3.h [__USE_BSD]: Likewise.
56361         * string/endian.h [__USE_BSD]: Likewise.
56362         * string/string.h [__USE_SVID]: Likewise.
56363         [__USE_BSD]: Likewise.
56364         * string/strings.h [__USE_BSD]: Likewise.
56365         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
56366         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
56367         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
56368         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
56369         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
56370         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
56371         Likewise.
56372         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
56373         Likewise.
56374         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
56375         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
56376         Likewise.
56377         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
56378         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
56379         Likewise.
56380         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
56381         Likewise.
56382         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
56383         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
56384         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
56385         Likewise.
56386         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
56387         Likewise.
56388         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
56389         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
56390         * termios/termios.h [__USE_BSD]: Likewise.
56391         * time/sys/time.h [__USE_BSD]: Likewise.
56392         * time/time.h [__USE_BSD]: Likewise.
56393         [__USE_SVID]: Likewise.
56395         * Makefile (subdir_targets): Remove subdir_lint.out.
56397         * stdio-common/Makefile (do-tst-unbputc): Remove target.
56398         (do-tst-printf): Likewise.
56399         (tests): Depend directly on $(objpfx)tst-unbputc.out and
56400         $(objpfx)tst-printf.out.
56402         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
56404         * Makerules (check-abi-%): Change target to
56405         $(objpfx)check-abi-%.out.
56406         (check-abi target): Update dependencies.
56407         (check-abi-pattern variable): Redirect output of diff to $@.
56408         (check-abi variable): Likewise.
56409         * elf/Makefile (check-abi): Update dependencies.
56411         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
56412         unused.
56413         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
56414         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
56415         subnormal range.
56416         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
56417         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
56418         value has largest subnormal exponent.
56419         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
56420         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
56421         * sysdeps/aarch64/soft-fp/sfp-machine.h
56422         (_FP_TININESS_AFTER_ROUNDING): New macro.
56423         * sysdeps/alpha/soft-fp/sfp-machine.h
56424         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56425         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56426         Likewise.
56427         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
56428         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56429         * sysdeps/mips/soft-fp/sfp-machine.h
56430         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56431         * sysdeps/powerpc/soft-fp/sfp-machine.h
56432         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56433         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56434         Likewise.
56435         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56436         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56437         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56438         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56439         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56440         Likewise.
56442 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
56444         [BZ #16545]
56445         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
56446         model 1.
56448 2014-02-12  Richard Henderson  <rth@redhat.com>
56450         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
56451         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
56452         * sysdeps/unix/sysv/linux/alpha: Move directory from
56453         ports/sysdeps/unix/sysv/linux/alpha.
56454         * README: Update listing for alpha-*-linux-gnu.
56456 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
56458         * include/features.h: Update comment documenting feature test
56459         macros.
56460         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
56461         _DEFAULT_SOURCE.
56462         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
56463         (_SVID_SOURCE): Likewise.
56464         (_DEFAULT_SOURCE): Update description of default features.
56465         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
56466         with _GNU_SOURCE.
56467         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
56468         (S_ISVTX): Likewise.
56469         * manual/math.texi (Mathematical Constants): Likewise.
56470         * manual/signal.texi (Interrupted Primitives): Likewise.
56471         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
56472         * math/test-matherr.c (_SVID_SOURCE): Do not define.
56473         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
56474         Don't refer to _SVID_SOURCE in warning text.
56476         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56478         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
56479         already defined.
56480         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
56481         * sysdeps/mips/dl-lookup.c: Remove.
56482         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
56484 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
56486         [BZ #16447]
56487         * math/auto-libm-test-in: Add testcase for expl.
56488         * math/auto-libm-test-out: Regenerate.
56489         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
56490         calculation of unsafe.
56491         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
56493 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
56495         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
56496         * sysdeps/unix/sysv/linux/aarch64: Move directory from
56497         ports/sysdeps/unix/sysv/linux/aarch64.
56498         * README: Update listing for aarch64*-*-linux-gnu.
56500 2014-02-11  Will Newton  <will.newton@linaro.org>
56502         * manual/probes.texi (Mathematical Function Probes): Use
56503         "triggered" instead of "hit".
56505         * manual/probes.texi (Internal Probes): Add documentation
56506         of setjmp, longjmp and longjmp_target probes.
56508         * include/stap-probe.h: Add comment about probe argument
56509         format.
56511         * malloc/mtrace.c (attribute_hidden): Remove unused macro
56512         definition.  (tr_where, tr_freehook, tr_mallochook,
56513         tr_reallochook, tr_memalignhook): Use ANSI protoype.
56515 2014-02-11  David S. Miller  <davem@davemloft.net>
56517         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
56518         processing int_tests.
56520 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
56522         * sysdeps/mips: Move directory from ports/sysdeps/mips.
56523         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
56524         * sysdeps/unix/sysv/linux/mips: Move directory from
56525         ports/sysdeps/unix/sysv/linux/mips.
56526         * README: Update listing for mips-*-linux-gnu and
56527         mips64-*-linux-gnu.
56529 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
56531         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
56532         * sysdeps/unix/sysv/linux/m68k: Move directory from
56533         ports/sysdeps/unix/sysv/linux/m68k.
56534         * README: Update listing for m68k-*-linux-gnu.
56536 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
56538         * sysdeps/tile: Move directory from ports/sysdeps/tile.
56539         * sysdeps/unix/sysv/linux/generic: Move directory from
56540         ports/sysdeps/unix/sysv/linux/generic.
56541         * sysdeps/unix/sysv/linux/tile: Move directory from
56542         ports/sysdeps/unix/sysv/linux/tile.
56543         * README: Update listing for tile*-*-linux-gnu.
56545 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
56547         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
56548         __builtin_expect.
56549         * benchtests/bench-memmem.c (simple_memmem): Likewise.
56550         * catgets/open_catalog.c (__open_catalog): Likewise.
56551         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
56552         * debug/confstr_chk.c: Likewise.
56553         * debug/fread_chk.c (__fread_chk): Likewise.
56554         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
56555         * debug/getgroups_chk.c: Likewise.
56556         * debug/mbsnrtowcs_chk.c: Likewise.
56557         * debug/mbsrtowcs_chk.c: Likewise.
56558         * debug/mbstowcs_chk.c: Likewise.
56559         * debug/memcpy_chk.c: Likewise.
56560         * debug/memmove_chk.c: Likewise.
56561         * debug/mempcpy_chk.c: Likewise.
56562         * debug/memset_chk.c: Likewise.
56563         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
56564         * debug/strcat_chk.c (__strcat_chk): Likewise.
56565         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
56566         * debug/strncat_chk.c (__strncat_chk): Likewise.
56567         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
56568         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
56569         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
56570         * debug/wcpncpy_chk.c: Likewise.
56571         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
56572         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
56573         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
56574         * debug/wcsncpy_chk.c: Likewise.
56575         * debug/wcsnrtombs_chk.c: Likewise.
56576         * debug/wcsrtombs_chk.c: Likewise.
56577         * debug/wcstombs_chk.c: Likewise.
56578         * debug/wmemcpy_chk.c: Likewise.
56579         * debug/wmemmove_chk.c: Likewise.
56580         * debug/wmempcpy_chk.c: Likewise.
56581         * debug/wmemset_chk.c: Likewise.
56582         * dirent/scandirat.c (SCANDIRAT): Likewise.
56583         * dlfcn/dladdr1.c (dladdr1): Likewise.
56584         * dlfcn/dladdr.c (dladdr): Likewise.
56585         * dlfcn/dlclose.c (dlclose_doit): Likewise.
56586         * dlfcn/dlerror.c (__dlerror): Likewise.
56587         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
56588         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
56589         * dlfcn/dlopen.c (dlopen_doit): Likewise.
56590         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
56591         * dlfcn/dlsym.c (dlsym_doit): Likewise.
56592         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
56593         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
56594         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
56595         Likewise.
56596         * elf/dl-conflict.c: Likewise.
56597         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
56598         * elf/dl-dst.h: Likewise.
56599         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
56600         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
56601         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
56602         * elf/dl-init.c (call_init, _dl_init): Likewise.
56603         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
56604         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
56605         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
56606         Likewise.
56607         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
56608         Likewise.
56609         * elf/dl-minimal.c (__libc_memalign): Likewise.
56610         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
56611         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
56612         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
56613         * elf/dl-sym.c (do_sym): Likewise.
56614         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
56615         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
56616         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
56617         * elf/dl-writev.h (_dl_writev): Likewise.
56618         * elf/ldconfig.c (search_dir): Likewise.
56619         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
56620         (dl_main): Likewise.
56621         * elf/setup-vdso.h (setup_vdso): Likewise.
56622         * grp/compat-initgroups.c (compat_call): Likewise.
56623         * grp/fgetgrent.c (fgetgrent): Likewise.
56624         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
56625         * grp/putgrent.c (putgrent): Likewise.
56626         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
56627         Likewise.
56628         * hurd/hurdinit.c: Likewise.
56629         * iconvdata/8bit-gap.c (struct): Likewise.
56630         * iconvdata/ansi_x3.110.c : Likewise.
56631         * iconvdata/big5.c : Likewise.
56632         * iconvdata/big5hkscs.c : Likewise.
56633         * iconvdata/cp1255.c: Likewise.
56634         * iconvdata/cp1258.c : Likewise.
56635         * iconvdata/cp932.c : Likewise.
56636         * iconvdata/euc-cn.c: Likewise.
56637         * iconvdata/euc-jisx0213.c : Likewise.
56638         * iconvdata/euc-jp.c: Likewise.
56639         * iconvdata/euc-jp-ms.c : Likewise.
56640         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
56641         * iconvdata/gb18030.c : Likewise.
56642         * iconvdata/gbbig5.c (const): Likewise.
56643         * iconvdata/gbgbk.c: Likewise.
56644         * iconvdata/gbk.c : Likewise.
56645         * iconvdata/ibm1364.c : Likewise.
56646         * iconvdata/ibm930.c : Likewise.
56647         * iconvdata/ibm932.c: Likewise.
56648         * iconvdata/ibm933.c : Likewise.
56649         * iconvdata/ibm935.c : Likewise.
56650         * iconvdata/ibm937.c : Likewise.
56651         * iconvdata/ibm939.c : Likewise.
56652         * iconvdata/ibm943.c: Likewise.
56653         * iconvdata/iso_11548-1.c: Likewise.
56654         * iconvdata/iso-2022-cn.c : Likewise.
56655         * iconvdata/iso-2022-cn-ext.c : Likewise.
56656         * iconvdata/iso-2022-jp-3.c: Likewise.
56657         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
56658         * iconvdata/iso-2022-kr.c : Likewise.
56659         * iconvdata/iso646.c (gconv_end): Likewise.
56660         * iconvdata/iso_6937-2.c : Likewise.
56661         * iconvdata/iso_6937.c : Likewise.
56662         * iconvdata/iso8859-1.c: Likewise.
56663         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
56664         * iconvdata/shift_jisx0213.c : Likewise.
56665         * iconvdata/sjis.c : Likewise.
56666         * iconvdata/t.61.c : Likewise.
56667         * iconvdata/tcvn5712-1.c : Likewise.
56668         * iconvdata/tscii.c: Likewise.
56669         * iconvdata/uhc.c : Likewise.
56670         * iconvdata/unicode.c (gconv_end): Likewise.
56671         * iconvdata/utf-16.c (gconv_end): Likewise.
56672         * iconvdata/utf-32.c (gconv_end): Likewise.
56673         * iconvdata/utf-7.c (base64): Likewise.
56674         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
56675         * iconv/gconv_close.c (__gconv_close): Likewise.
56676         * iconv/gconv_open.c (__gconv_open): Likewise.
56677         * iconv/gconv_simple.c (internal_ucs4_loop_single)
56678         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
56679         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
56680         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
56681         (ucs4le_internal_loop_single): Likewise.
56682         * iconv/iconv.c (iconv): Likewise.
56683         * iconv/iconv_close.c: Likewise.
56684         * iconv/loop.c (SINGLE): Likewise.
56685         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
56686         * include/atomic.h: Likewise.
56687         * inet/inet6_option.c (option_alloc): Likewise.
56688         * intl/bindtextdom.c (set_binding_values): Likewise.
56689         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
56690         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
56691         * intl/localealias.c (read_alias_file): Likewise.
56692         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
56693         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
56694         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
56695         * libio/fmemopen.c (fmemopen): Likewise.
56696         * libio/iofgets.c (_IO_fgets): Likewise.
56697         * libio/iofgets_u.c (fgets_unlocked): Likewise.
56698         * libio/iofgetws.c (fgetws): Likewise.
56699         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
56700         * libio/iogetdelim.c (_IO_getdelim): Likewise.
56701         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
56702         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
56703         * locale/findlocale.c (_nl_find_locale): Likewise.
56704         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
56705         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
56706         Likewise.
56707         * locale/setlocale.c (setlocale): Likewise.
56708         * login/programs/pt_chown.c (main): Likewise.
56709         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
56710         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
56711         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
56712         (mmap, mmap64, mremap, munmap): Likewise.
56713         * math/e_exp2l.c: Likewise.
56714         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
56715         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
56716         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
56717         * math/s_catan.c (__catan): Likewise.
56718         * math/s_catanf.c (__catanf): Likewise.
56719         * math/s_catanh.c (__catanh): Likewise.
56720         * math/s_catanhf.c (__catanhf): Likewise.
56721         * math/s_catanhl.c (__catanhl): Likewise.
56722         * math/s_catanl.c (__catanl): Likewise.
56723         * math/s_ccosh.c (__ccosh): Likewise.
56724         * math/s_ccoshf.c (__ccoshf): Likewise.
56725         * math/s_ccoshl.c (__ccoshl): Likewise.
56726         * math/s_cexp.c (__cexp): Likewise.
56727         * math/s_cexpf.c (__cexpf): Likewise.
56728         * math/s_cexpl.c (__cexpl): Likewise.
56729         * math/s_clog10.c (__clog10): Likewise.
56730         * math/s_clog10f.c (__clog10f): Likewise.
56731         * math/s_clog10l.c (__clog10l): Likewise.
56732         * math/s_clog.c (__clog): Likewise.
56733         * math/s_clogf.c (__clogf): Likewise.
56734         * math/s_clogl.c (__clogl): Likewise.
56735         * math/s_csin.c (__csin): Likewise.
56736         * math/s_csinf.c (__csinf): Likewise.
56737         * math/s_csinh.c (__csinh): Likewise.
56738         * math/s_csinhf.c (__csinhf): Likewise.
56739         * math/s_csinhl.c (__csinhl): Likewise.
56740         * math/s_csinl.c (__csinl): Likewise.
56741         * math/s_csqrt.c (__csqrt): Likewise.
56742         * math/s_csqrtf.c (__csqrtf): Likewise.
56743         * math/s_csqrtl.c (__csqrtl): Likewise.
56744         * math/s_ctan.c (__ctan): Likewise.
56745         * math/s_ctanf.c (__ctanf): Likewise.
56746         * math/s_ctanh.c (__ctanh): Likewise.
56747         * math/s_ctanhf.c (__ctanhf): Likewise.
56748         * math/s_ctanhl.c (__ctanhl): Likewise.
56749         * math/s_ctanl.c (__ctanl): Likewise.
56750         * math/w_pow.c: Likewise.
56751         * math/w_powf.c: Likewise.
56752         * math/w_powl.c: Likewise.
56753         * math/w_scalb.c (sysv_scalb): Likewise.
56754         * math/w_scalbf.c (sysv_scalbf): Likewise.
56755         * math/w_scalbl.c (sysv_scalbl): Likewise.
56756         * misc/error.c (error_tail): Likewise.
56757         * misc/pselect.c (__pselect): Likewise.
56758         * nis/nis_callback.c (__nis_create_callback): Likewise.
56759         * nis/nis_call.c (__nisfind_server): Likewise.
56760         * nis/nis_creategroup.c (nis_creategroup): Likewise.
56761         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
56762         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
56763         * nis/nis_getservlist.c (nis_getservlist): Likewise.
56764         * nis/nis_lookup.c (nis_lookup): Likewise.
56765         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
56766         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
56767         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
56768         * nis/nis_xdr.c (xdr_endpoint): Likewise.
56769         * nis/nss_compat/compat-grp.c (getgrent_next_file)
56770         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
56771         * nis/nss_compat/compat-initgroups.c (add_group)
56772         (internal_getgrent_r): Likewise.
56773         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
56774         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
56775         * nis/nss_compat/compat-spwd.c (getspent_next_file)
56776         (internal_getspnam_r): Likewise.
56777         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
56778         (_nss_nis_getaliasbyname_r): Likewise.
56779         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
56780         (_nss_nis_getntohost_r): Likewise.
56781         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
56782         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
56783         (_nss_nis_getgrgid_r): Likewise.
56784         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
56785         (internal_nis_gethostent_r, internal_gethostbyname2_r)
56786         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
56787         (_nss_nis_gethostbyname4_r): Likewise.
56788         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
56789         (initgroups_netid): Likewise.
56790         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
56791         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
56792         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
56793         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
56794         (_nss_nis_getprotobynumber_r): Likewise.
56795         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
56796         (_nss_nis_getsecretkey): Likewise.
56797         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
56798         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
56799         (_nss_nis_getpwuid_r): Likewise.
56800         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
56801         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
56802         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
56803         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
56804         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
56805         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
56806         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
56807         Likewise.
56808         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
56809         (_nss_nisplus_getntohost_r): Likewise.
56810         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
56811         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
56812         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
56813         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
56814         Likewise.
56815         * nis/nss_nisplus/nisplus-initgroups.c
56816         (_nss_nisplus_initgroups_dyn): Likewise.
56817         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
56818         (_nss_nisplus_getnetbyaddr_r): Likewise.
56819         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
56820         (_nss_nisplus_getprotobynumber_r): Likewise.
56821         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
56822         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
56823         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
56824         Likewise.
56825         * nis/nss_nisplus/nisplus-service.c
56826         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
56827         (_nss_nisplus_getservbyport_r): Likewise.
56828         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
56829         (_nss_nisplus_getspnam_r): Likewise.
56830         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
56831         Likewise.
56832         * nscd/aicache.c (addhstaiX): Likewise.
56833         * nscd/cache.c (cache_search, prune_cache): Likewise.
56834         * nscd/connections.c (register_traced_file, send_ro_fd)
56835         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
56836         (main_loop_epoll): Likewise.
56837         * nscd/grpcache.c (addgrbyX): Likewise.
56838         * nscd/hstcache.c (addhstbyX): Likewise.
56839         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56840         * nscd/mem.c (gc, mempool_alloc): Likewise.
56841         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
56842         (addinnetgrX): Likewise.
56843         * nscd/nscd-client.h (__nscd_acquire_maplock)
56844         (__nscd_drop_map_ref): Likewise.
56845         * nscd/nscd_getai.c (__nscd_getai): Likewise.
56846         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
56847         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
56848         Likewise.
56849         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
56850         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
56851         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
56852         (__nscd_get_map_ref): Likewise.
56853         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
56854         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
56855         Likewise.
56856         * nscd/pwdcache.c (addpwbyX): Likewise.
56857         * nscd/selinux.c (preserve_capabilities): Likewise.
56858         * nscd/servicescache.c (addservbyX): Likewise.
56859         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
56860         * posix/fnmatch.c (fnmatch): Likewise.
56861         * posix/getopt.c (_getopt_internal_r): Likewise.
56862         * posix/glob.c (glob, glob_in_dir): Likewise.
56863         * posix/wordexp.c (exec_comm_child): Likewise.
56864         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
56865         (getanswer_r, gaih_getanswer_slice): Likewise.
56866         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
56867         * resolv/res_init.c: Likewise.
56868         * resolv/res_mkquery.c (res_nmkquery): Likewise.
56869         * resolv/res_query.c (__libc_res_nquery): Likewise.
56870         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
56871         Likewise.
56872         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
56873         * stdio-common/perror.c (perror): Likewise.
56874         * stdio-common/printf_fp.c (___printf_fp): Likewise.
56875         * stdio-common/tmpnam.c (tmpnam): Likewise.
56876         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56877         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
56878         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
56879         Likewise.
56880         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
56881         * stdlib/putenv.c (putenv): Likewise.
56882         * stdlib/setenv.c (__add_to_environ): Likewise.
56883         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56884         * stdlib/strtol_l.c (INTERNAL): Likewise.
56885         * string/memmem.c (memmem): Likewise.
56886         * string/strerror.c (strerror): Likewise.
56887         * string/strnlen.c (__strnlen): Likewise.
56888         * string/test-memmem.c (simple_memmem): Likewise.
56889         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
56890         * sunrpc/pm_getport.c (__get_socket): Likewise.
56891         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
56892         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
56893         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
56894         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
56895         Likewise.
56896         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
56897         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
56898         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
56899         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
56900         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
56901         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
56902         Likewise.
56903         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
56904         Likewise.
56905         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
56906         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
56907         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56908         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
56909         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
56910         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
56911         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
56912         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
56913         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
56914         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
56915         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56916         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
56917         Likewise.
56918         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
56919         Likewise.
56920         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
56921         Likewise.
56922         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
56923         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56924         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
56925         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
56926         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
56927         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
56928         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56929         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
56930         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
56931         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
56932         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
56933         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56934         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
56935         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
56936         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56937         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
56938         Likewise.
56939         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
56940         Likewise.
56941         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
56942         Likewise.
56943         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
56944         Likewise.
56945         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56946         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56947         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
56948         Likewise.
56949         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
56950         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
56951         * sysdeps/posix/opendir.c (__opendirat): Likewise.
56952         * sysdeps/posix/sleep.c: Likewise.
56953         * sysdeps/posix/tempname.c: Likewise.
56954         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
56955         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56956         Likewise.
56957         * sysdeps/powerpc/powerpc32/dl-machine.h
56958         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
56959         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
56960         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56961         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
56962         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
56963         Likewise.
56964         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
56965         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
56966         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
56967         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
56968         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
56969         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
56970         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
56971         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
56972         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56973         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
56974         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
56975         (elf_machine_lazy_rel): Likewise.
56976         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
56977         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
56978         (elf_machine_lazy_rel): Likewise.
56979         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
56980         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
56981         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
56982         * sysdeps/unix/grantpt.c (grantpt): Likewise.
56983         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
56984         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
56985         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
56986         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56987         Likewise.
56988         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
56989         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
56990         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
56991         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
56992         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56993         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
56994         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
56995         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
56996         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
56997         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
56998         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56999         Likewise.
57000         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57001         (__posix_fallocate64_l64): Likewise.
57002         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57003         (posix_fallocate): Likewise.
57004         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57005         Likewise.
57006         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57007         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57008         (getifaddrs_internal): Likewise.
57009         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57010         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57011         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57012         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57013         * sysdeps/unix/sysv/linux/posix_fallocate64.c
57014         (__posix_fallocate64_l64): Likewise.
57015         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57016         Likewise.
57017         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57018         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57019         (__get_clockfreq): Likewise.
57020         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57021         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57022         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57023         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57024         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57025         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57026         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57027         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57028         Likewise.
57029         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57030         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57031         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57032         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57033         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57034         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57035         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57036         Likewise.
57037         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57038         (posix_fallocate): Likewise.
57039         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57040         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57041         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57042         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57043         (elf_machine_rela, elf_machine_rela_relative)
57044         (elf_machine_lazy_rel): Likewise.
57045         * time/asctime.c (asctime_internal): Likewise.
57046         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57047         * time/tzset.c (__tzset_parse_tz): Likewise.
57048         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57049         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57050         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57051         * wcsmbs/wcsmbsload.h: Likewise.
57053         [BZ #15894]
57054         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57056         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57057         (arena_get2): Remove THREAD_STATS conditionals.
57058         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57059         (__malloc_stats, int): Likewise.
57061 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
57063         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57064         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
57066         * manual/setjmp.texi: Fix typos/grammar errors.
57068         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57069         Only return early when n is <= 0.  Delete unused return statement.
57071         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57072         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57073         * debug/tst-longjmp_chk3.c: New file.
57075         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57076         (test_main): Replace code with set_fortify_handler call.
57077         * debug/test-strcpy_chk.c: Likewise.
57078         * debug/tst-chk1.c: Likewise.
57079         * debug/tst-longjmp_chk.c: Likewise.
57080         * test-skeleton.c: Include fcntl.h & paths.h
57081         (set_fortify_handler): Define.
57083         * debug/tst-longjmp_chk.c: Add header comment and include
57084         ../test-skeleton.c.
57085         (do_test): Mark static.
57086         (TEST_FUNCTION): Define.
57088         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57089         (IP_PMTUDISC_INTERFACE): Likewise.
57090         (IP_MULTICAST_IF): Likewise.
57091         (IP_MULTICAST_TTL): Likewise.
57092         (IP_MULTICAST_LOOP): Likewise.
57093         (IP_ADD_MEMBERSHIP): Likewise.
57094         (IP_DROP_MEMBERSHIP): Likewise.
57095         (IP_UNBLOCK_SOURCE): Likewise.
57096         (IP_BLOCK_SOURCE): Likewise.
57097         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57098         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57099         (IP_MSFILTER): Likewise.
57100         (MCAST_JOIN_GROUP): Likewise.
57101         (MCAST_BLOCK_SOURCE): Likewise.
57102         (MCAST_UNBLOCK_SOURCE): Likewise.
57103         (MCAST_LEAVE_GROUP): Likewise.
57104         (MCAST_JOIN_SOURCE_GROUP): Likewise.
57105         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
57106         (MCAST_MSFILTER): Likewise.
57107         (IP_MULTICAST_ALL): Likewise.
57108         (IP_UNICAST_IF): Likewise.
57110         * timezone/Makefile: Delete $(have-ksh) check.
57111         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57112         * timezone/tzselect.ksh: Add +x mode bits.
57114         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
57115         (ANON_INODE_FS_MAGIC): Likewise.
57116         (BDEVFS_MAGIC): Likewise.
57117         (BINFMTFS_MAGIC): Likewise.
57118         (BTRFS_TEST_MAGIC): Likewise.
57119         (CRAMFS_MAGIC_WEND): Likewise.
57120         (DEBUGFS_MAGIC): Likewise.
57121         (ECRYPTFS_SUPER_MAGIC): Likewise.
57122         (EXT3_SUPER_MAGIC): Likewise.
57123         (EXT4_SUPER_MAGIC): Likewise.
57124         (FUTEXFS_SUPER_MAGIC): Likewise.
57125         (HOSTFS_SUPER_MAGIC): Likewise.
57126         (HUGETLBFS_MAGIC): Likewise.
57127         (MINIX3_SUPER_MAGIC): Likewise.
57128         (MTD_INODE_FS_MAGIC): Likewise.
57129         (NILFS_SUPER_MAGIC): Likewise.
57130         (OPENPROM_SUPER_MAGIC): Likewise.
57131         (PIPEFS_MAGIC): Likewise.
57132         (PSTOREFS_MAGIC): Likewise.
57133         (QNX6_SUPER_MAGIC): Likewise.
57134         (RAMFS_MAGIC): Likewise.
57135         (REISERFS_SUPER_MAGIC_STRING): Likewise.
57136         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
57137         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57138         (SECURITYFS_MAGIC): Likewise.
57139         (SELINUX_MAGIC): Likewise.
57140         (SMACK_MAGIC): Likewise.
57141         (SOCKFS_MAGIC): Likewise.
57142         (SQUASHFS_MAGIC): Likewise.
57143         (STACK_END_MAGIC): Likewise.
57144         (TMPFS_MAGIC): Likewise.
57145         (USBDEVICE_SUPER_MAGIC): Likewise.
57146         (V9FS_MAGIC): Likewise.
57147         (XENFS_SUPER_MAGIC): Likewise.
57148         (CRAMFS_MAGIC): Fix typo in comment.
57149         (EXT2_SUPER_MAGIC): Update comment.
57150         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
57152 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
57154         * sysdeps/arm: Move directory from ports/sysdeps/arm.
57155         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
57156         * sysdeps/unix/sysv/linux/arm: Move directory from
57157         ports/sysdeps/unix/sysv/linux/arm.
57158         * README: Update listing for arm-*-linux-gnueabi.
57160         * README: Remove mention of am33.
57162 2014-02-07  Roland McGrath  <roland@hack.frob.com>
57164         * bits/sigset.h (__sigemptyset): Use a statement expression rather
57165         than the comma operator, to avoid "rhs of comma has no effect"
57166         compiler warnings.
57167         (__sigfillset, __sigandset, __sigorset): Likewise.
57168         * include/signal.h (__sigemptyset): Likewise.
57169         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
57171 2014-02-07  Allan McRae  <allan@archlinux.org>
57173         * version.h (RELEASE): Set to "development".
57174         (VERSION): Set to "2.19.90"
57175         * NEWS: Add 2.20 section.
57177 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
57179         [BZ #16529]
57180         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
57182 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57184         * manual/contrib.texi: Update entry for Carlos O'Donell,
57185         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
57187 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
57189         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
57191         * sysdeps/unix/sysv/linux/kernel-features.h
57192         [__LINUX_KERNEL_VERSION >= 0x020621]
57193         (__ASSUME_PROC_PID_TASK_COMM): Define.
57195 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57197         [BZ #16398]
57198         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
57199         conversion when destination buffer does not have enough space.
57200         * libio/tst-ftell-partial-wide.c: New test case.
57201         * libio/Makefile (tests): Add tst-ftell-partial-wide.
57203         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
57204         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
57205         Leonard and Allan McRae.
57207 2014-02-04  David S. Miller  <davem@davemloft.net>
57209         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
57210         32-bit.
57212 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
57215         New file
57216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
57217         New file
57218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
57219         New file.
57220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
57221         New file.
57222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
57223         New file.
57224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
57225         New file.
57226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
57227         New file.
57228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
57229         New file.
57230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
57231         New file.
57232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
57233         New file.
57234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
57235         New file.
57236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
57237         New file.
57238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
57239         New file.
57241 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57243         * nptl/shlib-versions: Change powerpc*le start to 2.17.
57244         * shlib-versions: Likewise.
57246 2014-02-04  Roland McGrath  <roland@hack.frob.com>
57247             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57249         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
57250         (abilist-pattern): New variable, set to %-le.abilist.
57252         * Makerules (abilist-pattern): New variable.
57253         (vpath): Use $(abilist-pattern) in place of %.abilist.
57254         (check-abi-% pattern rule): Likewise.
57255         (check-abi, update-abi): Likewise.
57257 2014-02-04  Eric Wong  <normalperson@yhbt.net>
57259         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57261 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
57263         * manual/startup.texi: Add next, previous, and top entries for
57264         the `Program Arguments' and `Environment Variables' nodes.
57266 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
57268         * manual/macros.texi: Add comments before MTASC-safety macros.
57270         * manual/users.texi: Document MTASC-safety properties.
57272         * manual/threads.texi (pthread_key_create, pthread_key_delete)
57273         (pthread_getspecific, pthread_setspecific): Format with
57274         @deftypefun, and add @safety note.
57275         * manual/signal.texi: Move comments that analyze the above
57276         functions to their home place.
57278 2014-02-03  Allan McRae  <allan@archlinux.org>
57280         * po/sl.po: Update Slovenian translation from translation project.
57282 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
57284         * manual/time.texi (timegm): Add missing blank after @c.
57285         Reported by Joseph Myers <joseph@codesourcery.com>.
57287 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
57289         * manual/check-safety.sh: New.
57290         * manual/Makefile ($(objpfx)stamp-summary): Run it.
57292         * manual/terminal.texi: Document MTASC-safety properties.
57294         * manual/filesys.texi: Document MTASC-safety properties.
57296         * manual/errno.texi: Document MTASC-safety properties.
57298         * manual/intro.texi: Document safety identifiers and
57299         conditionals.
57301         * manual/string.texi (wcstok): Fix prototype.
57302         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
57304         * manual/time.texi: Document MTASC-safety properties.
57306         * manual/string.texi: Document MTASC-safety properties.
57308         * manual/threads.texi: Document MTASC-safety properties.
57310         * manual/stdio.texi: Document MTASC-safety properties.
57312         * manual/syslog.texi: Document MTASC-safety properties.
57314         * manual/sysinfo.texi: Document MTASC-safety properties.
57316         * manual/startup.texi: Document MTASC-safety properties.
57318         * manual/socket.texi: Document MTASC-safety properties.
57320         * manual/signal.texi: Document MTASC-safety properties.
57322 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
57324         * manual/setjmp.texi: Document MTASC-safety properties.
57326         * manual/search.texi: Document MTASC-safety properties.
57328         * manual/resource.texi: Document MTASC-safety properties.
57330         * manual/process.texi: Document MTASC-safety properties.
57332         * manual/platform.texi: Document MTASC-safety properties.
57334         * manual/pipe.texi: Document MTASC-safety properties.
57336         * manual/pattern.texi: Document MTASC-safety properties.
57338         * manual/message.texi: Document MTASC-safety properties.
57340         [BZ #12751]
57341         * manual/memory.texi: Document MTASC-safety properties.
57343         * manual/math.texi: Document MTASC-safety properties.
57345         * manual/locale.texi: Document MTASC-safety properties.
57347         * manual/llio.texi: Document MTASC-safety properties.
57349         * manual/libdl.texi: New.
57351         * manual/lang.texi: Document MTASC-safety properties.
57353         * manual/job.texi: Document MTASC-safety properties.
57355         * manual/getopt.texi: Document MTASC-safety properties.
57357         * manual/ctype.texi: Document MTASC-safety properties.
57359 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
57361         [BZ #16046]
57362         * csu/libc-tls.c (static_map): Remove variable.
57363         (__libc_setup_tls): Use main executable's link map for TLS data.
57364         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
57365         casing for LM_ID_BASE and GL(dl_nns).
57366         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
57367         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
57368         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
57369         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
57370         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
57371         member.
57372         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
57373         l_phnum members.
57375 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
57377         * manual/debug.texi: Document MTASC-safety properties.
57379 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
57381         [BZ #16510]
57382         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
57383         of __x86_64__ when disabling x87 inline functions.
57385 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
57387         * manual/charset.texi: Document MTASC-safety properties.
57389         * manual/crypt.texi: Document MTASC-safety properties.
57391         * manual/conf.texi: Document MTASC-safety properties.
57393         * manual/arith.texi: Document MTASC-safety properties.
57395         * manual/argp.texi: Document MTASC-safety properties.
57397         * manual/macros.texi: Introduce macros to document multi
57398         thread, asynchronous signal and asynchronous cancellation
57399         safety properties.
57400         * manual/intro.texi: Introduce the properties themselves.
57402 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57404         * sysdeps/sh/sh4/Makefile: New file.
57406 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
57408         * math/gen-libm-test.pl ($srcdir): New variable.
57409         ($auto_input): Use it.
57411 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57413         [BZ #16506]
57414         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
57415         access beyond array bounds when parsing netgroups file.
57417         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
57418         the old buffer before realloc.
57420 2014-01-27  Allan McRae  <allan@archlinux.org>
57422         * po/fr.po: Update French translation from translation project.
57424 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57426         * sysdeps/sh/libm-test-ulps: Regenerate.
57428 2014-01-24  David S. Miller  <davem@davemloft.net>
57430         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
57432 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57434         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
57435         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
57437 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57439         [BZ #16474]
57440         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
57441         string pointers after reallocation.
57443 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57445         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
57446         __SH4A__ instead of __SH_FPU_ANY__.
57448 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57450         * sysdeps/sh/fpu_control.h: New file.
57451         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
57452         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
57453         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
57454         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
57455         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
57456         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
57457         * sysdeps/sh/sys/ucontext.h: Remove.
57458         * sysdeps/sh/sys: Remove directory.
57460 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57462         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
57463         s390/sys/ucontext.h.
57464         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
57465         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
57467 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
57469         [BZ #15605]
57470         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
57472 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57474         [BZ #16431]
57475         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
57476         Adjust the vDSO correctly for internal calls.
57477         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
57479 2014-01-20  Allan McRae  <allan@archlinux.org>
57481         * po/ca.po: Update Catalan translation from translation project.
57483 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
57485         * sysdeps/s390/sotruss-lib.c: New file.
57487 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57489         [BZ #16430]
57490         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
57491         (__GI___gettimeofday): Alias for a different internal symbol to avoid
57492         local calls issues by not having a PLT stub required for IFUNC calls.
57493         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
57495 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
57497         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
57498         * math/test-fpucw-static.c: Likewise.
57500 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57502         [BZ #16453]
57503         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
57505 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57507         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
57508         implementation for powerpc.
57510 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
57512         [BZ #14782]
57513         * sysdeps/posix/system.c (__libc_system): Do not enable
57514         asynchronous cancellation.
57516 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57518         [BZ #16427]
57519         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
57520         handling only for numbers special also in the IEEE case.
57522 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57524         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
57526 2014-01-11  Allan McRae  <allan@archlinux.org>
57528         * po/bg.po: Update Bulgarian translation from translation project.
57530         * po/de.po: Update German translation from translation project.
57532 2014-01-10  Roland McGrath  <roland@hack.frob.com>
57534         * sysdeps/generic/gcc-compat.h: New file.
57536 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57538         * benchtests/asin-inputs: Correct slow inputs.
57539         * benchtests/acos-inputs: Likewise.
57541 2014-01-10  Allan McRae  <allan@archlinux.org>
57543         * po:sv.po: Update Swedish translation from translation project.
57545         * po/vi.po: Update Vietnamese translation from translation project.
57547         * po/eo.po: Update Esperanto translation from translation project.
57549         * po/cs.po: Update Czech translation from translation project.
57551         * po/nl.po: Update Dutch translation from translation project.
57553         * po/pl.po: Update Polish translation from translation project.
57555         * po/ru.po: Update Russian translation from translation project.
57557         * po/uk.po: Update Ukrainian translation from translation project.
57559 2014-01-08  Brooks Moses  <bmoses@google.com>
57561         * elf/dl-load.c: Fix comment typo.
57563 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
57565         * po/header.pot: Rename to...
57566         * po/pot.header: ... this.
57567         * po/Makefile: Use pot.header.
57569 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
57570             Maxim Kuvyrkov  <maxim@kugelworks.com>
57572         [BZ #16394]
57573         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
57574         SRC and DEST against LEN.
57576 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57578         [BZ #16414]
57579         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
57580         implementation.
57581         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
57583 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57587 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
57589         [BZ #16408]
57590         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
57591         for large positive arguments.
57593 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
57595         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
57597         * math/auto-libm-test-in: Mark various tests with
57598         xfail-rounding:ldbl-128ibm.
57599         * math/auto-libm-test-out: Regenerated.
57601         [BZ #16407]
57602         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
57603         Increase overflow threshold.
57605 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
57607         [BZ #14286]
57608         * stdio-common/vfprintf.c: Check for integer overflow.
57610 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57612         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
57613         the first argument and return value of __tls_get_addr_internal.
57615 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57617         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
57618         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
57620 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57622         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
57623         * sysdeps/s390/rtld-global-offsets.sym: New file.
57624         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
57625         GLIBC_2.19 symbol.
57626         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
57627         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
57628         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
57629         ... this.
57630         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
57631         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
57632         ... this.
57633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57634         Regenerate.
57635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57636         Regenerate.
57637         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
57638         halfs of GPRs for high_gprs contexts.
57639         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
57640         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
57641         field.
57642         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
57643         uc_flags field.
57644         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
57645         64 bit versions:
57646         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
57647         for high GPRs (uc_high_gprs) and for future extensions
57648         (__reserved).
57649         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
57650         for future extensions (__reserved).
57651         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
57652         64 bit versions:
57653         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
57654         SC_HIGHGPRS offset definition.
57655         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
57656         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
57658         * Versions.def: Add GLIBC_2.19 for libpthread.
57659         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
57660         siglongjmp for libpthread with GLIBC_2.19 symver.
57661         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
57662         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
57663         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
57664         * sysdeps/s390/__longjmp.c: New file.
57665         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
57666         * sysdeps/s390/longjmp.c: New file.
57667         * sysdeps/s390/setjmp.S: New file.
57668         * sysdeps/s390/sigjmp.S: New file.
57669         * sysdeps/s390/v1-longjmp.c: New file.
57670         * sysdeps/s390/v1-setjmp.h: New file.
57671         * sysdeps/s390/v1-sigjmp.c: New file.
57672         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
57673         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
57674         GLIBC_2.19 version.
57675         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
57676         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
57677         versioned symbols for ____longjmp_chk.
57678         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
57679         Likewise.
57680         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57681         Regenerate.
57682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57683         Regenerate.
57684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57685         Regenerate.
57686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57687         Regenerate.
57688         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
57689         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
57690         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
57691         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
57692         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
57693         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
57694         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
57695         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
57696         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
57697         * sysdeps/s390/rtld-__longjmp.c: New file.
57698         * sysdeps/s390/rtld-setjmp.S: New file.
57700 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
57702         [BZ #16400]
57703         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
57704         Return -__logl (x) for small positive arguments without evaluating
57705         a polynomial.
57707 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
57709         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
57710         Rename to ...
57711         (__ptrace_peeksiginfo_args): ... this.
57712         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57713         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57714         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57716 2014-01-06  Allan McRae  <allan@archlinux.org>
57718         * inet/netinet/in.h: Fix typo in comment.
57720 2014-01-05  Andreas Jaeger  <aj@suse.de>
57722         * sysdeps/i386/fpu/libm-test-ulps: Update.
57724 2014-01-05  Allan McRae  <allan@archlinux.org>
57726         * po/libc.pot: Regenerated.
57728         * malloc/memusagestat.c: Fix gettext call formatting.
57730 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
57732         * nscd/nscd.c: Improve usage() output.
57734 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
57736         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
57737         * sysdeps/unix/sysv/linux/configure: Regenerated.
57738         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
57739         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
57741 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
57743         [BZ #16390]
57744         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
57745         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
57747 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57749         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
57750         extra tokens at end of #undef directive.
57751         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
57752         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
57753         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
57755 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
57757         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
57759         * math/auto-libm-test-in: Mark various tests with
57760         xfail-rounding:ldbl-128ibm.
57761         * math/auto-libm-test-out: Regenerated.
57763 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
57765         [BZ #16386]
57766         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
57767         numbers with subnormal high part when calculating exponent.
57769         [BZ #16385]
57770         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
57771         fabs.
57773         [BZ #16384]
57774         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
57775         M_LN2l.
57776         (__ieee754_acoshl): Use __log1pl not __log1p.
57778 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
57780         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
57781         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
57782         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
57783         (grow_heap, heap_trim, _int_new_arena, get_free_list)
57784         (reused_arena, arena_get2): Convert to GNU style.
57785         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
57786         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
57787         (memalign_check, __malloc_set_state): Likewise.
57788         * malloc/mallocbug.c (main): Likewise.
57789         * malloc/malloc.c (__malloc_assert, malloc_init_state)
57790         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
57791         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
57792         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
57793         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
57794         (__posix_memalign, malloc_info): Likewise.
57795         * malloc/malloc.h: Likewise.
57796         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
57797         (mallochook, memalignhook, reallochook, mabort): Likewise.
57798         * malloc/mcheck.h: Likewise.
57799         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
57800         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
57801         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
57802         * malloc/morecore.c (__default_morecore): Likewise.
57803         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57804         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
57805         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
57806         (print_and_abort): Likewise.
57807         * malloc/obstack.h: Likewise.
57808         * malloc/set-freeres.c (__libc_freeres): Likewise.
57809         * malloc/tst-mallocstate.c (main): Likewise.
57810         * malloc/tst-mtrace.c (main): Likewise.
57811         * malloc/tst-realloc.c (do_test): Likewise.
57813 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57815         [BZ #16366]
57816         * nscd/netgroupcache.c (do_notfound): New function.
57817         (addgetnetgrentX): Use it.
57819         [BZ # 16365]
57820         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
57821         NSS_STATUS_NOTFOUND.
57823 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
57825         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
57826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57828 2014-01-01  Allan McRae  <allan@archlinux.org>
57830         * scripts/update-copyrights: Update configure input file suffix.
57832         * NEWS: Update copyright year.
57833         * catgets/gencat.c: Likewise.
57834         * csu/version.c: Likewise.
57835         * debug/catchsegv.sh: Likewise.
57836         * debug/pcprofiledump.c: Likewise.
57837         * debug/xtrace.sh: Likewise.
57838         * elf/ldconfig.c: Likewise.
57839         * elf/ldd.bash.in: Likewise.
57840         * elf/pldd.c: Likewise.
57841         * elf/sotruss.ksh: Likewise.
57842         * elf/sprof.c: Likewise.
57843         * iconv/iconv_prog.c: Likewise.
57844         * iconv/iconvconfig.c: Likewise.
57845         * locale/programs/locale.c: Likewise.
57846         * locale/programs/localedef.c: Likewise.
57847         * login/programs/pt_chown.c: Likewise.
57848         * malloc/memusage.sh: Likewise.
57849         * malloc/memusagestat.c: Likewise.
57850         * malloc/mtrace.pl: Likewise.
57851         * manual/libc.texinfo: Likewise.
57852         * nscd/nscd.c: Likewise.
57853         * nss/getent.c: Likewise.
57854         * nss/makedb.c: Likewise.
57855         * posix/getconf.c: Likewise.
57856         * scripts/test-installation.pl: Likewise.
57858         * All files with FSF copyright notices: Update copyright dates
57859         using scripts/update-copyrights.
57860         * intl/plural.c: Regenerated.
57861         * locale/programs/charmap-kw.h: Likewise.
57862         * locale/programs/locfile-kw.h: Likewise.
57864 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
57866         * sysdeps/unix/sysv/linux/configure: Regenerated.
57867         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
57868         the linux/fanotify.h header.
57869         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
57870         HAVE_LINUX_FANOTIFY_H is defined.
57872 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57874         * benchtests/cos-inputs: New inputs.
57875         * benchtests/sin-inputs: Likewise.
57877         * benchtests/atan-inputs: New inputs. Fix name of multiple
57878         precision fallback inputs.
57880         * benchtests/atanh-inputs: New inputs.
57881         * benchtests/tanh-inputs: Likewise.
57883         * benchtests/acosh-inputs: New inputs.
57884         * benchtests/asinh-inputs: Likewise.
57886         * benchtests/cosh-inputs: New inputs.
57887         * benchtests/sinh-inputs: Likewise.
57889         * benchtests/acos-inputs: Add more inputs.
57890         * benchtests/asin-inputs: Likewise.
57892 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
57894         [BZ #16375]
57895         * manual/arith.texi: Fix spelling.
57896         * manual/charset.texi: Likewise.
57897         * manual/errno.texi: Likewise.
57898         * manual/filesys.texi: Likewise.
57899         * manual/lang.texi: Likewise.
57900         * manual/llio.texi: Likewise.
57901         * manual/locale.texi: Likewise.
57902         * manual/message.texi: Likewise.
57903         * manual/resource.texi: Likewise.
57904         * manual/search.texi: Likewise.
57905         * manual/setjmp.texi: Likewise.
57906         * manual/stdio.texi: Likewise.
57907         * manual/string.texi: Likewise.
57908         * manual/sysinfo.texi: Likewise.
57909         * manual/time.texi: Likewise.
57911 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
57913         * po/sl.po: New file.
57915 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
57917         * .gitignore: Add core/.gdbinit/.gdb_history.
57919 2013-12-27  Allan McRae  <allan@archlinux.org>
57921         [BZ #16369]
57922         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
57923         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
57925 2013-12-24  Brooks Moses  <bmoses@google.com>
57927         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
57928         all compilers that claim C++98 compliance, not just GCC.
57929         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
57930         Likewise.
57932 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
57934         * NEWS: Restore accidentally deleted bug-fix entries.
57936 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
57937             Ondřej Bílka  <neleai@seznam.cz>
57939         [BZ #15073]
57940         * malloc/malloc.c (_int_free): Perform sanity check only if we
57941         have_lock.
57943 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
57945         [BZ #12986]
57946         * manual/stdio.texi (String Input Conversions): Clarify that character
57947         classes are not supported.
57949 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57953 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
57955         [BZ #16337]
57956         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
57957         Calculate results for small negative arguments directly rather
57958         than using reflection formula with special underflow handling.
57960         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
57961         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
57962         sysdeps/unix/bsd/bsd4.4/syscalls.list.
57963         (fchflags): Likewise.
57964         (revoke): Likewise.
57965         (setlogin): Likewise.
57966         (sigaltstack): Likewise.
57967         (wait4): Likewise.
57968         (sigblock): Remove.
57969         (sigsetmask): Likewise.
57970         (wait3): Likewise.
57971         (waitpid): Likewise.
57972         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
57973         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
57974         file.
57975         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
57976         * sysdeps/unix/bsd/Makefile: ... here.
57977         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
57978         * sysdeps/unix/bsd/Versions: ... here.
57979         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
57980         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
57981         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
57982         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
57983         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
57984         * sysdeps/unix/bsd/sigblock.c: ... here.
57985         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
57986         * sysdeps/unix/bsd/sigsetmask.c: ... here.
57987         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
57988         * sysdeps/unix/bsd/sigvec.c: ... here.
57989         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
57990         * sysdeps/unix/bsd/tcdrain.c: ... here.
57991         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
57992         * sysdeps/unix/bsd/tcgetattr.c: ... here.
57993         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
57994         * sysdeps/unix/bsd/tcsetattr.c: ... here.
57995         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
57996         * sysdeps/unix/bsd/wait.c: ... here.
57997         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
57998         * sysdeps/unix/bsd/wait3.c: ... here.
57999         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58000         * sysdeps/unix/bsd/waitpid.c: ... here.
58002 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
58004         [BZ #16356]
58005         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58006         round-to-nearest for [!USE_AS_EXPM1L].
58007         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58008         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
58009         more tests of exp and exp10.  Expect some exp10 tests to miss
58010         exceptions or fail in directed rounding modes.
58011         * math/auto-libm-test-out: Regenerated.
58012         * math/libm-test.inc (exp10_tonearest_test_data): New array.
58013         (exp10_test_tonearest): New function.
58014         (exp10_towardzero_test_data): New array.
58015         (exp10_test_towardzero): New function.
58016         (exp10_downward_test_data): New array.
58017         (exp10_test_downward): New function.
58018         (exp10_upward_test_data): New array.
58019         (exp10_test_upward): New function.
58020         (main): Call the new functions.
58021         * sysdeps/i386/fpu/libm-test-ulps: Update.
58022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58024 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
58026         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58027         asinh, atan, atan2, atanh, cbrt, cos and cosh.
58028         * math/auto-libm-test-out: Regenerated.
58029         * math/libm-test.inc (acosh_test_data): Add more tests.
58030         (atanh_test_data): Likewise.
58031         (ceil_test_data): Likewise.
58032         (copysign_test_data): Likewise.
58033         * sysdeps/i386/fpu/libm-test-ulps: Update.
58034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58036         * timezone/checktab.awk: Update from tzcode 2013i.
58037         * timezone/private.h: Likewise.
58038         * timezone/scheck.c: Likewise.
58039         * timezone/tzfile.h: Likewise.
58040         * timezone/tzselect.ksh: Likewise.
58041         * timezone/zdump.c: Likewise.
58042         * timezone/zic.c: Likewise.
58044         * math/auto-libm-test-in: Add tests of cpow.
58045         * math/auto-libm-test-out: Regenerated.
58046         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58047         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58048         mpc_cc_c.
58049         (func_calc_desc): Add mpc_cc_c union field.
58050         (test_functions): Add cpow.
58051         (special_fill_2pi): New function.
58052         (special_real_inputs): Add 2pi.
58053         (calc_generic_results): Handle mpc_cc_c.
58054         * sysdeps/i386/fpu/libm-test-ulps: Update.
58055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58057         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58058         csqrt, ctan and ctanh.
58059         * math/auto-libm-test-out: Regenerated.
58060         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58061         (TEST_COND_x86): Likewise.
58062         (ccos_test_data): Use AUTO_TESTS_c_c.
58063         (ccosh_test_data): Likewise.
58064         (cexp_test_data): Likewise.
58065         (clog_test_data): Likewise.
58066         (csqrt_test_data): Likewise.
58067         (ctan_test_data): Likewise.
58068         (ctan_tonearest_test_data): Likewise.
58069         (ctan_towardzero_test_data): Likewise.
58070         (ctan_downward_test_data): Likewise.
58071         (ctan_upward_test_data): Likewise.
58072         (ctanh_test_data): Likewise.
58073         (ctanh_tonearest_test_data): Likewise.
58074         (ctanh_towardzero_test_data): Likewise.
58075         (ctanh_downward_test_data): Likewise.
58076         (ctanh_upward_test_data): Likewise.
58077         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58078         mpc_c_c.
58079         (func_calc_desc): Add mpc_c_c union field.
58080         (FUNC_mpc_c_c): New macro.
58081         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58082         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58083         ctanh.
58084         (special_fill_min_subnorm_p120): New function.
58085         (special_real_inputs): Add min_subnorm_p120.
58086         (calc_generic_results): Handle mpc_c_c.
58087         * sysdeps/i386/fpu/libm-test-ulps: Update.
58088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58090 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58092         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58093         (do_sin_slow): New functions.
58094         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58095         (cslow2, csloww1, csloww2): Use the new functions.
58097         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58098         Use M to change sign of result instead of X.  Assume X is
58099         positive.
58100         (csloww1): Likewise.
58101         (__sin): Adjust.
58102         (__cos): Adjust.
58104         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
58105         arguments A and DA.
58106         (__sin): Adjust.
58107         (__cos): Likewise.
58109         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
58110         (__cos): Likewise.
58111         (sloww1): Don't adjust sign of DX.
58112         (csloww1): Likewise.
58113         (sloww2): Use X directly and don't adjust sign of DX.
58114         (csloww2): Likewise.
58116 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58118         * math/auto-libm-test-in: Add tests of cabs and carg.
58119         * math/auto-libm-test-out: Regenerated.
58120         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
58121         (carg_test_data): Likewise.
58122         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58123         mpc_c_f.
58124         (func_calc_desc): Add mpc_c_f union field.
58125         (test_functions): Add cabs and carg.
58126         (calc_generic_results): Handle mpc_c_f.
58128         * sysdeps/powerpc/powerpc32/libgcc-compat.S
58129         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
58130         as a macro and a compat symbol.
58131         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
58132         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
58133         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
58134         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
58135         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
58136         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
58137         not use .hidden.
58138         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
58139         Likewise.
58140         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
58141         Likewise.
58142         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
58143         Likewise.
58144         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
58145         Likewise.
58146         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
58147         Likewise.
58148         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
58149         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58150         from GLIBC_2.3.2.
58152 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58156 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58158         * manual/texinfo.tex: Update to version 2013-11-26.10 with
58159         trailing whitespace removed.
58160         * scripts/config.guess: Update to version 2013-11-29.
58161         * scripts/config.sub: Update to version 2013-10-01.
58163         * math/auto-libm-test-in: Add tests of sincos.
58164         * math/auto-libm-test-out: Regenerated.
58165         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
58166         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58167         mpfr_f_11.
58168         (func_calc_desc): Add mpfr_f_11 union field.
58169         (test_functions): Add sincos.
58170         (calc_generic_results): Handle mpfr_f_11.
58171         * sysdeps/i386/fpu/libm-test-ulps: Update.
58172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58174 2013-12-19  Andreas Schwab  <schwab@suse.de>
58176         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
58177         CALL_MCOUNT.
58178         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58179         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
58180         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
58182 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58184         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
58185         * sysdeps/i386/fpu/libm-test-ulps: Update.
58186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58188         [BZ #16293]
58189         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
58190         round-to-nearest mode when using frndint.
58191         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
58192         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58193         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
58194         Likewise.
58195         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
58196         sinh test to fail.
58197         * math/auto-libm-test-out: Regenerated.
58198         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
58199         (TEST_COND_x86): Likewise.
58200         (expm1_tonearest_test_data): New array.
58201         (expm1_test_tonearest): New function.
58202         (expm1_towardzero_test_data): New array.
58203         (expm1_test_towardzero): New function.
58204         (expm1_downward_test_data): New array.
58205         (expm1_test_downward): New function.
58206         (expm1_upward_test_data): New array.
58207         (expm1_test_upward): New function.
58208         (main): Run the new test functions.
58209         * sysdeps/i386/fpu/libm-test-ulps: Update.
58210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58212         * include/features.h: Update comment documenting feature test
58213         macros.  Mention _DEFAULT_SOURCE in comment.
58214         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
58215         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
58216         _BSD_SOURCE and _SVID_SOURCE.
58217         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
58218         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
58219         !_SVID_SOURCE]: Likewise.
58220         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58221         (__USE_POSIX_IMPLICITLY): Define.
58222         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58223         (_POSIX_SOURCE): Undefine and redefine.
58224         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58225         (_POSIX_C_SOURCE): Likewise.
58226         * manual/creature.texi (_DEFAULT_SOURCE): Document.
58227         (Feature Test Macros): Update documentation of default features.
58229 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
58231         * benchtests/Makefile: Add bench-strtok.
58232         * benchtests/bench-strtok.c: New file: strtok benchtest.
58234 2013-12-19  Allan McRae  <allan@archlinux.org>
58236         * manual/install.texi: Suppress menu for plain text output.
58237         * INSTALL: Regenerated.
58239 2013-12-18  Brooks Moses  <bmoses@google.com>
58241         [BZ #15846]
58242         * misc/getauxval.c: Include errno.h.
58243         (__getauxval): Set errno to ENOENT if the requested type is not
58244         found.
58245         * misc/sys/auxv.h (getauxval): Document that it may set errno;
58246         don't declare with __attribute_const__.
58247         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
58248         * manual/startup.texi: Document that getauxval sets errno.
58250 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
58252         * math/auto-libm-test-in: Add tests of jn and yn.
58253         * math/auto-libm-test-out: Regenerated.
58254         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
58255         (yn_test_data): Likewise.
58256         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58257         mpfr_if_f.
58258         (func_calc_desc): Add mpfr_if_f union field.
58259         (FUNC_mpfr_if_f): New macro.
58260         (test_functions): Add jn and yn.
58261         (calc_generic_results): Assert type of second input for
58262         mpfr_ff_f.  Handle mpfr_if_f.
58263         (output_for_one_input_case): Disable all checking for arguments
58264         fitting floating-point types in case of an integer argument.
58265         * sysdeps/i386/fpu/libm-test-ulps: Update.
58266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58269         Don't expect fegetround reference in libm.so.
58271 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58273         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
58274         $(config-cflags-nofma).
58276 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
58278         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
58279         * math/auto-libm-test-out: Regenerated.
58281         [BZ #16338]
58282         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
58283         to determine exponent and adjust argument to have exponent of -1.
58284         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
58285         log2.
58286         * math/auto-libm-test-out: Regenerated.
58287         * sysdeps/i386/fpu/libm-test-ulps: Update.
58288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58290 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
58292         * manual/probes.texi: Remove cases when per-thread arenas are
58293         disabled.
58295 2013-12-18  Andreas Schwab  <schwab@suse.de>
58297         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
58298         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
58299         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
58300         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
58301         * sysdeps/i386/i686/multiarch/Makefile: Update.
58302         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
58304 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
58306         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
58307         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
58309 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
58311         [BZ #15968]
58312         Support TZ transition times < 00:00:00.
58313         This is needed for version-3 tz-format files; it supports time
58314         stamps past 2037 for America/Godthab (the only entry in the tz
58315         database for which this change is relevant).
58316         * manual/time.texi (TZ Variable): Document transition times
58317         from -167:59:59 through -00:00:01.
58318         * time/tzset.c (tz_rule): Time of day is now signed.
58319         (__tzset_parse_tz): Parse negative time of day.
58321         Document TZ transition times >= 25:00:00.
58322         * manual/time.texi (TZ Variable): Document transition times from
58323         25:00:00 through 167:59:59.  These are already supported, and this
58324         support will help with version-3 tz-format files.
58326         * manual/time.texi (TZ Variable): Modernize North America example
58327         to reflect current (i.e., 2007-and-later) daylight saving rules.
58329         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
58331 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
58333         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
58334         * sysdeps/unix/bsd/bits/stat.h: Likewise.
58335         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
58336         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58337         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
58338         * sysdeps/unix/bsd/bsdstat.h: Likewise.
58339         * sysdeps/unix/bsd/clock.c: Likewise.
58340         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
58341         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
58342         * sysdeps/unix/bsd/init-posix.c: Likewise.
58343         * sysdeps/unix/bsd/poll.c: Likewise.
58344         * sysdeps/unix/bsd/ptsname.c: Likewise.
58345         * sysdeps/unix/bsd/seekdir.c: Likewise.
58346         * sysdeps/unix/bsd/setegid.c: Likewise.
58347         * sysdeps/unix/bsd/seteuid.c: Likewise.
58348         * sysdeps/unix/bsd/setgid.c: Likewise.
58349         * sysdeps/unix/bsd/setrgid.c: Likewise.
58350         * sysdeps/unix/bsd/setruid.c: Likewise.
58351         * sysdeps/unix/bsd/setsid.c: Likewise.
58352         * sysdeps/unix/bsd/setuid.c: Likewise.
58353         * sysdeps/unix/bsd/sigaction.c: Likewise.
58354         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
58355         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
58356         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
58357         * sysdeps/unix/bsd/telldir.c: Likewise.
58358         * sysdeps/unix/bsd/times.c: Likewise.
58359         * sysdeps/unix/bsd/usleep.c: Likewise.
58361         * misc/Makefile (install-lib): Remove libbsd-compat.a.
58362         ($(objpfx)libbsd-compat.a): Remove rule.
58364         * include/features.h (__FAVOR_BSD): Do not define.
58365         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
58366         features conflicting with POSIX.
58367         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
58368         (_BSD_SOURCE): Remove description of not being a subset of other
58369         feature test macros.
58370         * manual/job.texi (getpgrp): Do not document BSD version.
58371         (getpgid): Do not document by reference to BSD getpgrp.
58372         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
58373         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
58374         * signal/signal.h [__FAVOR_BSD]: Likewise.
58375         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
58376         instead of making contents conditional on [__FAVOR_BSD].
58377         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
58379 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58383 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
58385         [BZ #16314]
58386         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
58387         values below 2**-450, not 2**-500.
58388         * math/auto-libm-test-in: Don't allow spurious underflow from
58389         hypot.
58390         * math/auto-libm-test-out: Regenerated.
58392         [BZ #16316]
58393         [BZ #16330]
58394         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
58395         values of ha and hb and sort them after adjusting subnormal
58396         arguments.
58397         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
58398         Likewise.
58399         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
58400         values of ea and eb and sort them after adjusting subnormal
58401         arguments.
58402         * math/auto-libm-test-in: Do not expect some hypot tests of
58403         subnormals to fail.  Add more hypot tests.
58404         * math/auto-libm-test-out: Regenerated.
58406 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58408         [BZ #13304]
58409         * sysdeps/sh/s_fma.c: New file.
58410         * sysdeps/sh/s_fmaf.c: New file.
58411         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
58412         version.
58413         * sysdeps/sh/Implies: Add sh/soft-fp.
58415 2013-12-16  Roland McGrath  <roland@hack.frob.com>
58417         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
58418         level of indirection to members `objname', `errstring', `malloced'.
58419         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
58420         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
58421         it as the __longjmp argument (just pass 1 instead).
58422         (_dl_catch_error): Initialize C with argument pointers and address of
58423         volatile local ERRCODE rather than copying values out of C at return.
58425 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
58427         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
58428         * math/auto-libm-test-out: Regenerated.
58429         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
58430         (hypot_test_data): Likewise.
58431         (pow_test_data): Likewise.
58432         (pow_tonearest_test_data): Likewise.
58433         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58434         mpfr_ff_f.
58435         (func_calc_desc): Add mpfr_ff_f union field.
58436         (FUNC_mpfr_ff_f): New macro.
58437         (test_functions): Add atan2, hypot and pow.
58438         (special_fill_min): New function.
58439         (special_fill_minus_min): Likewise.
58440         (special_fill_min_subnorm): Likewise.
58441         (special_fill_minus_min_subnorm): Likewise.
58442         (special_real_inputs): Add min, -min, min_subnorm and
58443         -min_subnorm.
58444         (calc_generic_results): Handle mpfr_ff_f.
58445         * sysdeps/i386/fpu/libm-test-ulps: Update.
58446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58448 2013-12-16  Will Newton  <will.newton@linaro.org>
58450         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
58451         (Aligned Memory Blocks): Add documentation for aligned_alloc
58452         and suggest it as an alternative to posix_memalign.
58453         (Hooks for Malloc): Document __memalign_hook is also called
58454         for aligned_alloc.  (Summary of Malloc): Add summary for
58455         aligned alloc.  Document __memalign_hook is also called
58456         for aligned_alloc.
58458 2013-12-16  Will Newton  <will.newton@linaro.org>
58460         * manual/memory.texi (Malloc Examples): Clarify default
58461         alignment documentation.  Suggest posix_memalign rather
58462         than memalign or valloc.
58463         (Aligned Memory Blocks): Remove suggestion to use memalign
58464         or valloc.  Remove obsolete comment about BSD.
58465         Document memalign errno values and mark the function obsolete.
58466         Document posix_memalign returned error codes.  Mark valloc
58467         as obsolete.  (Hooks for Malloc): __memalign_hook is also
58468         called for posix_memalign and valloc.
58469         (Summary of Malloc): Add posix_memalign to function summary.
58470         __memalign_hook is also called for posix_memalign and valloc.
58472 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58474         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
58475         TAYLOR_SIN.
58476         (__sin): Adjust.
58477         (__cos): Likewise.
58478         (sloww): Use mynumber union.  Expand ternary operator into
58479         if-else statements.
58480         (cslow): use mynumber union.
58482 2013-12-16  Allan McRae  <allan@archlinux.org>
58484         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
58485         * configure: Regenerated.
58487         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
58489         [BZ #14120]
58490         * configure.ac: Added --enable-maintainer-mode. Check for
58491         autoconf when enabled.
58492         * configure: Regenerated.
58494         * nscd/nscd.service: New file.
58495         * nscd/nscd.tmpfiles: New file.
58497 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
58499         [BZ #12100]
58500         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
58501         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
58502         * sysdeps/x86_64/multiarch/strstr.c: ... here.
58503         (strstr): Add __strstr_sse2_unaligned ifunc.
58504         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
58505         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
58506         (strcasestr): Remove __strcasestr_sse42 ifunc.
58507         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
58508         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58509         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
58511 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58513         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
58514         * sysdeps/sh/bits/fenv.h: ... here.
58515         * sysdeps/sh/sh4/fpu/bits: Remove directory.
58517 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58519         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
58521         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
58522         hypotf multiarch implementations.
58523         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
58524         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
58525         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
58526         multiarch hypot for PPC64.
58527         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
58528         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
58529         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
58530         multiarch hypotf for PPC64.
58532         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
58533         modff multiarch implementations.
58534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
58535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
58536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
58537         multiarch modf for PPC64.
58538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
58539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
58540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
58541         multiarch modff for PPC64.
58543         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
58544         and logl multiarch implementations.
58545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
58546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
58547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
58548         multiarch logb for PPC64.
58549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
58550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
58551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
58552         multiarch logb for PPC64.
58553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
58554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
58555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
58556         multiarch logb for PPC64.
58558         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
58559         isinff multiarch implementation.
58560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
58561         file.
58562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
58563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
58564         multiarch isinf for PPC64.
58565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
58566         file.
58567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
58568         multiarch isinff for PPC64.
58570         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
58571         finitef multiarch implementation.
58572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
58573         file.
58574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
58575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
58576         multiarch finite for PPC64.
58577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
58578         file.
58579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
58580         multiarch finitef for PPC64.
58582         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
58583         lrint multiarch implementation.
58584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
58585         file.
58586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
58587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
58588         multiarch llrint for PPC64.
58589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
58590         multiarch lrint for PPC64.
58592         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
58593         copysignf multiarch implementation.
58594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
58595         file.
58596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
58597         file.
58598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
58599         multiarch copysign for PPC64.
58600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
58601         multiarch copysignf for PPC64.
58603         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
58604         multiarch implementation.
58605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
58606         file.
58607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
58608         file.
58609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
58610         file.
58611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
58612         file.
58613         multiarch llround for PPC64.
58614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
58615         multiarch trunc for PPC64.
58616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
58617         multiarch truncf for PPC64.
58619         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
58620         multiarch implementation.
58621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
58622         file.
58623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
58624         file.
58625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
58626         file.
58627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
58628         file.
58629         multiarch llround for PPC64.
58630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
58631         multiarch round for PPC64.
58632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
58633         multiarch roundf for PPC64.
58635         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
58636         multiarch implementation.
58637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
58638         file.
58639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
58640         file.
58641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
58642         file.
58643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
58644         file.
58645         multiarch llround for PPC64.
58646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
58647         multiarch floor for PPC64.
58648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
58649         multiarch floorf for PPC64.
58651         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
58652         multiarch implementation.
58653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
58654         file.
58655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
58656         file.
58657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
58658         file.
58659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
58660         file.
58661         multiarch llround for PPC64.
58662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
58663         multiarch ceil for PPC64.
58664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
58665         multiarch ceilf for PPC64.
58667         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
58668         multiarch implementation.
58669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
58670         file.
58671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
58672         file.
58673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
58674         file.
58675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
58676         multiarch llround for PPC64.
58677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
58678         multiarch lround for PPC64.
58680         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
58681         multiarch implementation.
58682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
58683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
58684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
58685         file.
58686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
58687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
58688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
58689         multiarch isnan for PPC64.
58690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
58691         multiarch isnanf for PPC64.
58693         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
58694         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
58695         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
58696         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
58697         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
58698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
58700         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
58701         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58702         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58703         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58705         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
58706         multiarch implementations.
58707         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58708         (__libc_ifunc_impl_list): Likewise.
58709         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
58710         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
58711         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
58712         multiarch stpcpy for PPC64.
58714         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
58715         multiarch implementations.
58716         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58717         (__libc_ifunc_impl_list): Likewise.
58718         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
58719         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
58720         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
58721         multiarch strcpy for PPC64.
58723         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
58724         redefine function name.
58725         (_wordcopy_fwd_dest_aligned): Likewise.
58726         (_wordcopy_bwd_aligned): Likewise.
58727         (_wordcopy_bwd_dest_aligned): Likewise.
58728         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
58729         multiarch implementations.
58730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58731         (__libc_ifunc_impl_list): Likewise.
58732         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
58733         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
58734         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
58735         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
58736         multiarch wcscpy for PPC64.
58738         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
58739         multiarch implementations.
58740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58741         (__libc_ifunc_impl_list): Likewise.
58742         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
58743         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
58744         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
58745         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
58746         multiarch wcscpy for PPC64.
58748         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
58749         multiarch implementations.
58750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58751         (__libc_ifunc_impl_list): Likewise.
58752         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
58753         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
58754         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
58755         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
58756         multiarch wcsrchr for PPC64.
58758         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
58759         multiarch implementations.
58760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58761         (__libc_ifunc_impl_list): Likewise.
58762         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
58763         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
58764         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
58765         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
58766         multiarch wcschr for PPC64.
58768         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
58769         multiarch implementations.
58770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58771         (__libc_ifunc_impl_list): Likewise.
58772         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
58773         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
58774         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
58775         multiarch strchrnul for PPC64.
58777         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
58778         implementations.
58779         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58780         (__libc_ifunc_impl_list): Likewise.
58781         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
58782         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
58783         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
58784         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
58785         strchr for PPC64.
58787         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
58788         implementations.
58789         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58790         (__libc_ifunc_impl_list): Likewise.
58791         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
58792         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
58793         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
58794         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
58795         strncmp for PPC64.
58797         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
58798         multiarch implementations.
58799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58800         (__libc_ifunc_impl_list): Likewise.
58801         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
58802         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
58803         strncasecmp for PPC64.
58804         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
58805         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
58806         multiarch strncasecmp_l for PPC64.
58808         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
58809         multiarch implementations.
58810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
58811         (__libc_ifunc_impl_list): Likewise.
58812         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
58813         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
58814         multiarch strcasecmp for PPC64.
58815         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
58816         file.
58817         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
58818         multiarch strcasecmp_l for PPC64.
58820         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
58821         implementations.
58822         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58823         (__libc_ifunc_impl_list): Likewise.
58824         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
58825         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
58826         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
58827         strnlen for PPC64.
58829         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
58830         implementations.
58831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58832         (__libc_ifunc_impl_list): Likewise.
58833         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
58834         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
58835         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
58836         strlen for PPC64.
58838         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
58839         implementations.
58840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58841         (__libc_ifunc_impl_list): Likewise.
58842         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
58843         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
58844         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
58845         rawmemrchr for PPC64.
58847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
58848         implementation.
58849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58850         (__libc_ifunc_impl_list): Likewise.
58851         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
58852         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
58853         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
58854         memrchr for PPC64.
58856         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
58857         implementation.
58858         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58859         (__libc_ifunc_impl_list): Likewise.
58860         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
58861         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
58862         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
58863         memchr for PPC64.
58865         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
58866         implementation.
58867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58868         (__libc_ifunc_impl_list): Likewise.
58869         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
58870         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
58871         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
58872         mempcpy for PPC64.
58874         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
58875         avoid cretion of __bzero symbol.
58876         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
58877         Likewise.
58878         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
58879         Likewise.
58880         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
58881         Likewise.
58882         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
58883         multiarch implementations.
58884         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58885         (__libc_ifunc_impl_list): Likewise.
58886         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
58887         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
58888         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
58889         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
58890         bzero for PPC32.
58891         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
58892         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
58893         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
58894         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
58895         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
58896         memset for PPC64.
58897         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
58899         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
58900         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
58901         implementations.
58902         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58903         (__libc_ifunc_impl_list): Likewise.
58904         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
58905         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
58906         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
58907         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
58908         memcmp for PPC64.
58910         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
58911         multiarch for POWER/PPC64.
58912         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
58913         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
58914         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
58915         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
58916         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
58917         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
58918         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
58919         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
58920         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
58921         memcpy for PPC64.
58923         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
58924         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
58925         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
58926         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
58927         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
58928         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
58929         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
58930         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
58931         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
58932         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
58933         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
58934         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
58935         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
58936         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
58937         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
58938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
58939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
58940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
58941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
58942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
58943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
58944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
58946 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58948         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
58950 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58952         * benchtests/Makefile (bench): Add exp2 and log2.
58953         (LDLIBS-bench-exp2): Add -lm.
58954         (LDLIBS-bench-log2): Likewise.
58955         * benchtests/exp2-inputs: New inputs file.
58956         * benchtests/log2-inputs: New inputs file.
58957         * benchtests/log-inputs: Add new inputs.
58958         * benchtests/tan-inputs: Likewise.
58960 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58962         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
58963         definition...
58964         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
58965         (csloww2): ... from here.
58967         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
58968         instead of structures.
58969         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
58970         (POLYNOMIAL): Likewise.
58971         (TAYLOR_SLOW): Likewise.
58972         (__sin): Likewise.
58973         (__cos): Likewise.
58974         (slow1): Likewise.
58975         (slow2): Likewise.
58976         (sloww): Likewise.
58977         (sloww1); Likewise.
58978         (sloww2): Likewise.
58979         (bsloww1): Likewise.
58980         (bsloww2): Likewise.
58981         (cslow2): Likewise.
58982         (csloww): Likewise.
58983         (csloww1): Likewise.
58984         (csloww2): Likewise.
58986 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
58988         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
58989         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
58990         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
58991         * malloc/hooks.c (realloc_check): Likewise.
58993         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
58994         * malloc/arena.c: Remove PER_THREAD conditional.
58995         [!PER_THREAD]: Remove code.
58996         (ptmalloc_unlock_all2): Likewise.
58997         (ptmalloc_init): Likewise.
58998         (_int_new_arena): Likewise.
58999         (arena_get2): Likewise.
59000         * malloc/hooks.c (__malloc_get_state): Likewise.
59001         (__malloc_set_state): Likewise.
59002         * malloc/malloc.c: Likewise.
59003         (struct malloc_state): Likewise.
59004         (struct malloc_par): Likewise.
59005         (__libc_realloc): Likewise.
59006         (__libc_mallopt): Likewise.
59008 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59010         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59012 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
59014         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59015         macro to a function.  Check for zero perturb_byte.
59016         (_int_malloc, _int_free): Remove zero perturb_byte checks.
59018         * malloc/malloc.c: (force_reg): Remove.
59019         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59020         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59021         force_reg by atomic_forced_read.
59022         * malloc/arena.c (ptmalloc_init): Likewise.
59023         * malloc/hooks.c (top_check): Likewise.
59025 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59029 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
59031         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59033 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
59035         * math/auto-libm-test-in: Add tests of lgamma.
59036         * math/auto-libm-test-out: Regenerated.
59037         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59038         (M_LOG_2_SQRT_PIl): Likewise.
59039         (lgamma_test_data): Use AUTO_TESTS_f_f1.
59040         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59041         mpfr_f_f1.
59042         (func_calc_desc): Add mpfr_f_f1 union field.
59043         (ARGS1): New macro.
59044         (ARGS2): Likewise.
59045         (ARGS3): Likewise.
59046         (ARGS4): Likewise.
59047         (RET1): Likewise.
59048         (RET2): Likewise.
59049         (CALC): Likewise.
59050         (FUNC): Likewise.
59051         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59052         (test_functions): Add lgamma.
59053         (calc_generic_results): Handle mpfr_f_f1.
59054         * sysdeps/i386/fpu/libm-test-ulps: Update.
59055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59057 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59059         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59060         __mpn_add_n for PowerPC64/POWER7.
59061         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59062         __mpn_sub_n for PowerPC64/POWER7.
59064         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59065         __mpn_addmul_1 for PowerPC64.
59066         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59067         __mpn_submul_1 for PowerPC64.
59068         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59069         for PowerPC64.
59070         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59071         for PowerPC64.
59073 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
59075         [BZ #15089]
59076         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59078 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59080         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59082         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59083         add multiarch folders.
59084         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59085         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59086         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59087         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59088         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59089         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59090         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59091         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59092         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59093         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59094         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
59100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
59102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59103         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
59104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
59105         New file.
59106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
59107         New file.
59108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
59109         multiarch __ieee754_hypot for PowerPC32.
59110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
59111         New file.
59112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
59113         New file.
59114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
59115         multiarch __ieee754_hypotf for PowerPC32.
59117         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
59118         long_double_symbol only if __logbl is defined.
59119         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
59120         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
59121         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
59122         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
59123         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
59124         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59125         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
59126         path for implementation.
59127         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
59128         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
59129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
59130         logb, and logbl multiarch implementations for PowerPC32.
59131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
59132         file.
59133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
59134         file.
59135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
59136         multiarch logb for PowerPC32.
59137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
59138         file.
59139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
59140         file.
59141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
59142         multiarch logbf for PowerPC32.
59143         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
59144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
59145         file.
59146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
59147         multiarch logbl implementation for PowerPC32.
59149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
59150         and modff multiarch implementations.
59151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
59152         New file.
59153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59154         New file.
59155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
59156         multiarch modf for PowerPC32.
59157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
59158         New file.
59159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
59160         New file.
59161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
59162         multiarch modff for PowerPC32.
59164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
59165         and lrintf multiarch implementations.
59166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
59167         New file.
59168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
59169         New file.
59170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
59171         multiarch lrint for PowerPC32.
59172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
59173         file: multiarch lrintf for PowerPC32.
59175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
59176         and lroundf multiarch implementations.
59177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
59178         New file.
59179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
59180         New file.
59181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
59182         New file.
59183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
59184         multiarch lround for PowerPC32.
59185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
59186         file: multiarch lroundf for PowerPC32.
59188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59189         copysign and copysignf multiarch implementations.
59190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
59191         New file.
59192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
59193         New file.
59194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
59195         file: multiarch copysign for PowerPC32.
59196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
59197         file: multiarch copysignf for PowerPC32.
59199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
59200         and truncf multiarch implementations.
59201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
59202         New file.
59203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
59204         file.
59205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
59206         multiarch trunc for PowerPC32.
59207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
59208         New file.
59209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
59210         New file.
59211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
59212         multiarch truncf for PowerPC32.
59214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
59215         and roundf multiarch implementations.
59216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
59217         New file.
59218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
59219         file.
59220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
59221         multiarch round for PowerPC32.
59222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
59223         New file.
59224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
59225         New file.
59226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
59227         multiarch roundf for PowerPC32.
59229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
59230         and floorf multiarch implementations.
59231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
59232         New file.
59233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
59234         file.
59235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
59236         multiarch floor for PowerPC32.
59237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
59238         New file.
59239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
59240         New file.
59241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
59242         multiarch floorf for PowerPC32.
59244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
59245         and ceilf multiarch implementations.
59246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
59247         New file.
59248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
59249         file.
59250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
59251         multiarch ceil for PowerPC32.
59252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
59253         New file.
59254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
59255         file.
59256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
59257         multiarch ceilf for PowerPC32.
59259         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
59260         is defined.
59261         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
59262         FINITEF is defined.
59263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
59264         and finitef multiarch implementations.
59265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
59266         New file.
59267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
59268         file.
59269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
59270         multiarch finite for PowerPC32.
59271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
59272         New file.
59273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
59274         file: multiarch finitef for PowerPC32.
59276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
59277         and isinff multiarch implementations.
59278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
59279         file.
59280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
59281         file.
59282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
59283         multiarch isinf for PowerPC32.
59284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
59285         New file.
59286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
59287         multiarch isinff for PowerPC32.
59289         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
59290         alias when __isnan is defined.
59291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
59292         and isnanf multiarch implementations.
59293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
59294         file.
59295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
59296         file.
59297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
59298         file.
59299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
59300         file.
59301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
59302         multiarch isnan for PowerPC32.
59303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
59304         New file.
59305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
59306         New file.
59307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
59308         multiarch isnanf for PowerPC32.
59310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
59311         and sqrtf multiarch implementations.
59312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
59313         file.
59314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
59315         file.
59316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
59317         multiarch sqrt for PowerPC32.
59318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
59319         file.
59320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
59321         file.
59322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
59323         multiarch sqrtf for PowerPC32.
59325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
59326         and llroundf multiarch implementations.
59327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
59328         New file.
59329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
59330         New file.
59331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
59332         New file.
59333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
59334         file: multiarch llround for PowerPC32.
59335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
59336         file: multiarch llroundf for PowerPC32.
59338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
59339         multiarch PowerPC32 fpu implementations.
59340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
59341         New file.
59342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
59343         New file.
59344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
59345         multiarch llrint for PowerPC32.
59346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
59347         New file.
59348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
59349         New file.
59350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
59351         file.
59353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
59355         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
59356         file.
59357         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
59358         file.
59359         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
59360         file.
59361         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
59362         multiarch wordcopy for PPC32.
59363         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59364         wordcopy objects.
59365         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59366         (__libc_ifunc_impl_list): Likewise.
59367         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
59368         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
59369         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
59370         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
59371         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
59372         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
59374         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
59375         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
59376         file.
59377         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
59378         file.
59379         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
59380         file.
59381         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
59382         multiarch wcscpy for PPC32.
59383         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59384         multiarch objects.
59385         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59386         (__libc_ifunc_impl_list): Likewise.
59387         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59388         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59389         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
59390         sysdeps/powerpc/power6/wcscpy.c.
59392         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
59393         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
59394         file.
59395         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
59396         file.
59397         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
59398         file.
59399         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
59400         multiarch wcsrchr for PPC32.
59401         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59402         multiarch objects.
59403         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59404         (__libc_ifunc_impl_list): Likewise.
59405         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59406         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59407         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
59408         sysdeps/powerpc/power6/wcsrchr.c.
59410         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
59411         file.
59412         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
59413         file.
59414         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
59415         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
59416         multiarch wcschr for PPc32.
59417         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59418         multiarch objects.
59419         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59420         (__libc_ifunc_impl_list): Likewise.
59421         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
59422         * sysdeps/powerpc/power6/wcschr.c: ... to here.
59423         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
59424         sysdeps/powerpc/power6/wcschr.c.
59426         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
59427         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
59428         file.
59429         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
59430         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
59431         file: multiarch strchr for PPC32.
59432         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
59433         multiarch objects.
59434         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59435         (__libc_ifunc_impl_list): Likewise.
59437         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
59438         name.
59439         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
59440         file.
59441         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
59442         file.
59443         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
59444         multiarch strchrnul for PPC32.
59445         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
59446         multiarch objects.
59447         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59448         (__libc_ifunc_impl_list): Likewise.
59450         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
59451         file.
59452         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
59453         multiarch strncasecmp for PPC32.
59454         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
59455         file.
59456         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
59457         multiarch strncasecmp_l for PPC32.
59458         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
59459         strncasecmp multiarch objects.
59460         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59461         (__libc_ifunc_impl_list): Likewise.
59463         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
59464         file.
59465         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
59466         multiarch strncasecmp for PPC32.
59467         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
59468         New file.
59469         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
59470         multiarch strcasecmp_l for PPC32.
59471         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
59472         multiarch objects.
59473         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59474         (__libc_ifunc_impl_list): Likewise.
59476         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
59477         file.
59478         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
59479         file.
59480         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
59481         multiarch strncmp for PPC32.
59482         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
59483         multiarch objects.
59484         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59485         (__libc_ifunc_impl_list): Likewise.
59487         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
59488         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
59489         file.
59490         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
59491         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
59492         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
59493         multiarch objects.
59494         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59495         (__libc_ifunc_impl_list): Likewise.
59497         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
59498         file.
59499         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
59500         file.
59501         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
59502         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
59503         multiarch objects.
59504         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59505         (__libc_ifunc_impl_list): Likewise.
59507         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
59508         file.
59509         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
59510         file.
59511         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
59512         multiarch rawmemchr for PPC32.
59513         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
59514         multiarch objects.
59515         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59516         (__libc_ifunc_impl_list): Likewise.
59518         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
59519         file.
59520         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
59521         file.
59522         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
59523         file: memrchr multiarch for PPC32.
59524         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
59525         multiarch objects.
59526         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59527         (__libc_ifunc_impl_list): Likewise.
59529         * string/memchr.c (__memchr): Using macro to redefine symbol name.
59530         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
59531         file.
59532         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
59533         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
59534         multiarch memchr for PPC32.
59535         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
59536         multiarch objects.
59537         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59538         (__libc_ifunc_impl_list): Likewise.
59540         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
59541         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
59542         file.
59543         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
59544         file.
59545         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
59546         file: multiarch mempcpy for PPC32.
59547         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
59548         multiarch objects.
59549         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59550         (__libc_ifunc_impl_list): Likewise.
59552         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
59553         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
59554         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
59555         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
59556         multiarch bzero for PPC32.
59557         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
59558         file.
59559         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
59560         file.
59561         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
59562         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
59563         file: multiarch memset for PPC32.
59564         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
59565         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
59566         memset multiarch objects.
59567         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59568         (__libc_ifunc_impl_list): Likewise.
59570         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
59571         file.
59572         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
59573         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
59574         memcmp for PPC32.
59575         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
59576         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
59577         multiarch objects.
59578         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59579         (__libc_ifunc_impl_list): Likewise.
59581         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
59582         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
59583         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
59584         file.
59585         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
59586         file.
59587         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
59588         file.
59589         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
59590         multiarch memcpy for PPC32.
59591         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
59592         multiarch objects.
59593         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59594         (__libc_ifunc_impl_list): Likewise.
59596         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
59597         support multiarch for POWER/PPC32.
59598         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
59599         Likewise.
59600         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
59601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
59602         Implies file to make multiarch folder appers before the fpu and
59603         default folder for power4 configuration.
59605 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59607         * scripts/bench.pl: Append volatile keyword to type.
59609 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59611         * sysdeps/sh/sotruss-lib.c: New file.
59612         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
59614 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59618 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
59620         [BZ #6810]
59621         * math/w_tgamma.c: Include <errno.h>.
59622         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
59623         * math/w_tgammaf.c: Include <errno.h>.
59624         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
59625         * math/w_tgammal.c: Include <errno.h>.
59626         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
59627         * math/auto-libm-test-in: Do not allow missing errno on tgamma
59628         underflow.  Add more tgamma tests.
59629         * math/auto-libm-test-out: Regenerated.
59630         * sysdeps/i386/fpu/libm-test-ulps: Update.
59631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59633         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
59634         sin, sinh, tan, tanh, tgamma, y0 and y1.
59635         * math/auto-libm-test-out: Regenerated.
59636         * math/libm-test.inc (TEST_COND_x86_64): New macro.
59637         (TEST_COND_x86): Likewise.
59638         (M_E2l): Remove macro.
59639         (M_E3l): Likewise.
59640         (M_2_SQRT_PIl): Likewise.
59641         (M_SQRT_PIl): Likewise.
59642         (M_1_DIV_El): Likewise.
59643         (log_test_data): Use AUTO_TESTS_f_f.
59644         (log10_test_data): Likewise.
59645         (log1p_test_data): Likewise.
59646         (log2_test_data): Likewise.
59647         (sin_test_data): Likewise.
59648         (sin_tonearest_test_data): Likewise.
59649         (sin_towardzero_test_data): Likewise.
59650         (sin_downward_test_data): Likewise.
59651         (sin_upward_test_data): Likewise.
59652         (sinh_test_data): Likewise.
59653         (sinh_tonearest_test_data): Likewise.
59654         (sinh_towardzero_test_data): Likewise.
59655         (sinh_downward_test_data): Likewise.
59656         (sinh_upward_test_data): Likewise.
59657         (tan_test_data): Likewise.
59658         (tan_tonearest_test_data): Likewise.
59659         (tan_towardzero_test_data): Likewise.
59660         (tan_downward_test_data): Likewise.
59661         (tan_upward_test_data): Likewise.
59662         (tanh_test_data): Likewise.
59663         (tgamma_test_data): Likewise.
59664         (y0_test_data): Likewise.
59665         (y1_test_data): Likewise.
59666         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
59667         (special_real_inputs): Add pi/4.
59668         * sysdeps/i386/fpu/libm-test-ulps: Update.
59669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59671 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59673         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
59674         "longjmp_target" static probes.
59675         (__longjmp): Rename to __longjmp_symbol.
59676         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59677         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
59678         on which longjmp to generate.
59679         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
59680         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
59681         probe.
59682         (__sigsetjmp): Rename to __sigsetjmp_symbol.
59683         (__sigjmp_save): Rename to __sigjmp_save_symbol.
59684         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
59685         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
59686         and __sigjmp_save_symbol based on which sigsetjmp to generated.
59687         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
59689         __longjmp_symbol based on which __longjmp to generate.
59690         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
59691         probe.
59692         (setjmp): Rename to setjmp_symbol.
59693         (__sigsetjmp): Rename to __sigsetjmp_symbol.
59694         (_setjmp): Rename to _setjmp_symbol.
59695         (__sigsetjmp): Rename to __sigsetjmp_symbol.
59696         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
59697         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
59698         which setjmp to generate.
59699         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
59700         "longjmp_target" static probes.
59702 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59704         * benchtests/README: Add note about output arguments.
59705         * benchtests/bench-sincos.c: Remove file.
59706         * benchtests/sincos-inputs: New file.
59707         * scripts/bench.pl: Identify output arguments and define
59708         static variables for them.
59710         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
59712         [BZ #15941]
59713         * Makefile (INSTALL): Add install-plain.texi as the primary
59714         dependency.
59715         * manual/install-plain.texi: New file.
59716         * manual/install.texi: Include node directive only for
59717         non-plaintext output.
59719 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
59721         * stdlib/longlong.h: Update from GCC.
59723         [BZ #6807]
59724         [BZ #15901]
59725         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
59726         * math/w_j0f.c (y0f): Likewise.
59727         * math/w_j0l.c (__y0l): Likewise.
59728         * math/w_j1.c (y1): Likewise.
59729         * math/w_j1f.c (y1f): Likewise.
59730         * math/w_j1l.c (__y1l): Likewise.
59731         * math/w_jn.c (yn): Likewise.
59732         * math/w_jnf.c (ynf): Likewise.
59733         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
59734         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
59735         value for Bessel function domain errors outside _SVID_ mode.
59736         Adjust sign of return value for yn (negative integer, 0).
59737         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
59738         by zero in return for negative x and set sign appropriately for
59739         negative n.
59740         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
59741         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
59742         * math/libm-test.inc (y0_test_data): Add more tests and adjust
59743         expectations in error cases.
59744         (y1_test_data): Likewise.
59745         (yn_test_data): Likewise.
59746         * sysdeps/i386/fpu/libm-test-ulps: Update.
59747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59749 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59751         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
59752         "64" to "64-v1".  Add "64-v2".
59753         (abi-64-options): Rename to ...
59754         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
59755         (abi-64-condition): Rename to ...
59756         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
59757         (abi-64-ld-soname): Rename to ...
59758         (abi-64-v1-ld-soname): ... this.
59759         (abi-64-v2-options): Define.
59760         (abi-64-v2-condition): Likewise.
59761         (abi-64-v2-ld-soname): Likewise.
59762         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
59763         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
59764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
59765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
59766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
59768 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59769             Alan Modra  <amodra@gmail.com>
59771         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
59772         New versions for use with the ELFv2 ABI.
59773         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
59774         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
59775         declaration.
59776         (struct La_ppc64v2_retval): Likewise.
59777         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
59778         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
59779         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
59780         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
59781         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
59782         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59783         Do not save or restore CR.
59784         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
59785         (_dl_profile_resolve): Do no save or restore CR.  Support extended
59786         return values for ELFv2 ABI.  Fix location of FPR return registers.
59787         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
59788         updated values for _CALL_ELF == 2.
59789         (La_regs, La_retval, int_retval): Likewise.
59791 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59793         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
59794         (FRAME_MIN_SIZE_PARM): Likewise.
59795         (FRAME_BACKCHAIN): Likewise.
59796         (FRAME_CR_SAVE): Likewise.
59797         (FRAME_LR_SAVE): Likewise.
59798         (FRAME_TOC_SAVE): Likewise.
59799         (FRAME_PARM_SAVE): Likewise.
59800         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
59801         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
59802         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
59803         (call_mcount_parm_offset): New macro.
59804         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
59805         (PROF): Use symbolic stack frame offsets.
59806         (TAIL_CALL_SYSCALL_ERROR): Likewise.
59807         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
59808         Redefine in terms of FRAME_MIN_SIZE.
59809         (_dl_runtime_resolve): Use symbolic stack frame offsets.
59810         (_dl_profile_resolve): Likewise.  Update comment.
59811         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
59812         symbols stack frame offsets.
59813         (__sigsetjmp): Likewise.
59814         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
59815         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
59816         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
59817         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
59819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
59820         (FRAME_BACKCHAIN): Remove.
59821         (FRAME_CR_SAVE): Likewise.
59822         (FRAME_LR_SAVE): Likewise.
59823         (FRAME_COMPILER_DW): Likewise.
59824         (FRAME_LINKER_DW): Likewise.
59825         (FRAME_TOC_SAVE): Likewise.
59826         (FRAME_PARM_SAVE): Likewise.
59827         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
59828         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
59829         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
59830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
59831         (CHECK_SP): Use symbolic stack frame offsets.
59832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
59833         zone" instead of caller's parameter save area for temp storage.
59834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59835         Likewise.  Also, use symbolic stack frame offsets.
59836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
59837         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
59838         our own stack frame instead of the caller's.
59839         (__socket): Use symbolic stack frame offsets.
59841 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59842             Alan Modra  <amodra@gmail.com>
59844         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
59845         Define.
59846         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
59847         (PPC64_LOCAL_ENTRY_OFFSET): Define.
59848         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
59849         New function.
59850         (elf_machine_fixup_plt): Call it.
59851         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
59852         reloc arguments.
59853         (elf_machine_rela): Update call to elf_machine_plt_conflict.
59854         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
59855         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
59856         r2 before calling target.
59858 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59859             Alan Modra  <amodra@gmail.com>
59861         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
59862         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
59863         versions of macros to support ELFv2 ABI.
59864         (LOCALENTRY): New macro.
59865         (ENTRY, EALIGN): Use it.
59866         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
59867         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
59868         fall through into ENTRY entry point.
59869         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
59870         Only define if _CALL_ELF != 2.
59872         (elf_machine_matches_host): Verify ABI version matches.
59873         (RTLD_START): Use LOCALENTRY.
59874         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
59875         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
59876         (PLT_ENTRY_WORDS): New macro.
59877         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
59878         (elf_machine_runtime_setup): Support ELFv2 ABI.
59879         (elf_machine_fixup_plt): Likewise.
59880         (elf_machine_plt_conflict): Likewise.
59881         (resolve_ifunc): Likewise.
59882         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
59883         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
59884         Likewise.
59885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
59886         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
59887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59888         (makecontext): Support ELFv2 ABI.
59889         * elf/elf.h (EF_PPC64_ABI): Define.
59891 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59893         * sysdeps/powerpc/powerpc64/sysdep.h
59894         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
59895         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
59896         (ENTRY) [ASSEMBLER]: ... but instead here ...
59897         (EALIGN) [ASSEMBLER]: ... and here.
59898         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
59899         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
59900         (ENTRY_2) [!ASSEMBLER]: Use it.
59901         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
59902         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
59903         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
59904         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
59905         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
59906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
59907         Use PPC64_LOAD_FUNCPTR.
59909         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
59911 2013-12-04  Alan Modra  <amodra@gmail.com>
59913         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
59914         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
59915         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
59916         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
59918         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
59919         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
59920         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
59921         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
59922         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
59923         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
59925 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59928         (__makecontext): Fix incorrect CFI when backtracing out of
59929         context created via makecontext.
59930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
59931         (__setcontext): Fix incorrect CFI during switch to new context.
59932         (__novec_setcontext): Likewise.
59934 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
59936         [BZ #4772]
59937         * time/strptime_l.c (__strptime_internal): Allow modifiers
59938         in strptime.
59939         * time/tst-strptime.c (day_tests): Add testcase.
59941 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59943         * scripts/bench.pl: Skip over blank lines.
59945 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
59947         [BZ #926]
59948         * manual/time.texi (Calendar Time): Clarify what timezone functions
59949         use.
59951 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59955 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
59957         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
59958         implementation.
59959         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
59960         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
59961         * debug/memset_chk.c (__memset_chk): Likewise.
59962         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
59963         * debug/strncpy_chk.c: Likewise.
59965 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
59967         [BZ #15268]
59968         [BZ #15425]
59969         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
59970         (__ieee754_exp): For possibly underflowing results, check size of
59971         result and force underflow exception if required.
59972         * math/auto-libm-test-in: Add more tests of exp.
59973         * math/auto-libm-test-out: Regenerated.
59974         * sysdeps/i386/fpu/libm-test-ulps: Update.
59975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59977         [BZ #16283]
59978         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
59979         * math/w_exp2f.c (__exp2f): Likewise.
59980         * math/w_exp2l.c (__exp2l): Likewise.
59981         * math/auto-libm-test-in: Do not allow missing errno on exp2
59982         underflow.
59983         * math/auto-libm-test-out: Regenerated.
59985 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
59987         [BZ #16274]
59988         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
59989         handle filename validation.
59990         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
59991         (do_open): Delete.
59993 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
59995         [BZ #6786]
59996         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
59997         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
59998         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
59999         <float.h>.
60000         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60001         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60002         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60003         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60004         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60005         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60006         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60007         * math/auto-libm-test-in: Don't allow missing errno from erfc.
60008         Add more erfc tests.
60009         * math/auto-libm-test-out: Regenerated.
60010         * sysdeps/i386/fpu/libm-test-ulps: Update.
60011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60013         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60014         exp2, expm1, j0 and j1.
60015         * math/auto-libm-test-out: Regenerated.
60016         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60017         (erfc_test_data): Likewise.
60018         (exp_test_data): Likewise.
60019         (exp_tonearest_test_data): Likewise.
60020         (exp_towardzero_test_data): Likewise.
60021         (exp_downward_test_data): Likewise.
60022         (exp_upward_test_data): Likewise.
60023         (exp10_test_data): Likewise.
60024         (exp2_test_data): Likewise.
60025         (expm1_test_data): Likewise.
60026         (j0_test_data): Likewise.
60027         (j1_test_data): Likewise.
60028         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60029         (input_flag_type): Add flag_xfail_rounding.
60030         (input_flags): Add xfail-rounding.
60031         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60032         (output_for_one_input_case): Handle flag_xfail_rounding.
60033         * sysdeps/i386/fpu/libm-test-ulps: Update.
60034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60036 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
60038         [BZ #16289]
60039         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60040         division by 0.
60042 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60044         [BZ #16195]
60045         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60046         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60047         (STAP_PROBE0): New macro.
60048         (STAP_PROBE1): Likewise.
60049         (STAP_PROBE2): Likewise.
60050         (STAP_PROBE3): Likewise.
60051         (STAP_PROBE4): Likewise.
60053 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
60055         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60057 2013-12-02  Steve Ellcey  <sellcey@mips.com>
60059         * benchtests/Makefile (bench): Add sqrt.
60060         (LDLIBS-bench-sqrt): New.
60061         * benchtests/sqrt-input: New.
60063 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
60065         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60066         (GAIH_EAI): Likewise.
60067         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60068         (gaih_inet): Likewise.
60069         (getaddrinfo): Don't use GAIH_EAI.
60071         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60072         (struct gaih): Remove definition.
60074 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60076         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60077         Use HERRNOP directly.
60079 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60083 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
60085         * math/gen-auto-libm-tests.c (test_functions): Add more
60086         single-argument functions.
60087         (special_fill_pi_2): New function.
60088         (special_fill_minus_pi_2): Likewise.
60089         (special_fill_pi_6): Likewise.
60090         (special_fill_minus_pi_6): Likewise.
60091         (special_fill_pi_3): Likewise.
60092         (special_fill_2pi_3): Likewise.
60093         (special_fill_e): Likewise.
60094         (special_fill_1_e): Likewise.
60095         (special_fill_e_minus_1): Likewise.
60096         (special_real_inputs): Add more special inputs.
60097         (output_for_one_input_case): Do not require ERANGE on underflow to
60098         zero if round-to-nearest result does not underflow to zero, unless
60099         exact results required.
60100         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60101         atan, atanh, cbrt, cos and cosh.
60102         * math/auto-libm-test-out: Regenerated.
60103         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
60104         (acos_tonearest_test_data): Likewise.
60105         (acos_towardzero_test_data): Likewise.
60106         (acos_downward_test_data): Likewise.
60107         (acos_upward_test_data): Likewise.
60108         (acosh_test_data): Likewise.
60109         (asin_test_data): Likewise.
60110         (asin_tonearest_test_data): Likewise.
60111         (asin_towardzero_test_data): Likewise.
60112         (asin_upward_test_data): Likewise.
60113         (asinh_test_data): Likewise.
60114         (atan_test_data): Likewise.
60115         (atanh_test_data): Likewise.
60116         (cbrt_test_data): Likewise.
60117         (cos_test_data): Likewise.
60118         (cos_tonearest_test_data): Likewise.
60119         (cos_towardzero_test_data): Likewise.
60120         (cos_downward_test_data): Likewise.
60121         (cos_upward_test_data): Likewise.
60122         (cosh_test_data): Likewise.
60123         (cosh_tonearest_test_data): Likewise.
60124         (cosh_towardzero_test_data): Likewise.
60125         (cosh_downward_test_data): Likewise.
60126         (cosh_upward_test_data): Likewise.
60127         * sysdeps/i386/fpu/libm-test-ulps: Update.
60128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60130 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
60132         [BZ #6787]
60133         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
60134         * math/w_exp10f.c (__exp10f): Likewise.
60135         * math/w_exp10l.c (__exp10l): Likewise.
60136         * math/libm-test.inc (exp10_test_data): Add more tests and expect
60137         errno settings in existing tests.
60139         [BZ #14032]
60140         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
60141         precision control set to double precision.
60142         * sysdeps/i386/fpu/w_sqrt.c: New file.
60143         * math/auto-libm-test-in: Add more tests.
60144         * math/auto-libm-test-out: Update.
60146         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
60147         (sqrt_test_tonearest): New function.
60148         (sqrt_towardzero_test_data): New variable.
60149         (sqrt_test_towardzero): New function.
60150         (sqrt_downward_test_data): New variable.
60151         (sqrt_test_downward): New function.
60152         (sqrt_upward_test_data): New variable.
60153         (sqrt_test_upward): New function.
60154         (main): Call the new functions.
60156         * math/gen-auto-libm-tests.c: New file.
60157         * math/auto-libm-test-in: Likewise.
60158         * math/auto-libm-test-out: New generated file.
60159         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
60160         variables.
60161         (%beautify): Add generated representations of zero.
60162         (top level): Set $auto_input and call parse_auto_input.
60163         (beautify): Remove trailing "f" from hex float constants.
60164         (parse_args): Handle XFAIL_TEST.
60165         (convert_condition): New function.
60166         (or_value): Likewise.
60167         (or_cond_value): Likewise.
60168         (generate_testfile): Handle AUTO_TESTS_* lines.
60169         (parse_auto_input): New function.
60170         * math/libm-test.inc (XFAIL_TEST): New macro.
60171         (ERRNO_UNCHANGED): Update value.
60172         (ERRNO_EDOM): Likewise.
60173         (ERRNO_ERANGE): Likewise.
60174         (IGNORE_RESULT): Likewise.
60175         (TEST_COND_flt_32): New macro.
60176         (TEST_COND_dbl_64): Likewise.
60177         (TEST_COND_ldbl_96_intel): Likewise.
60178         (TEST_COND_ldbl_96_m68k): Likewise.
60179         (TEST_COND_ldbl_128): Likewise.
60180         (TEST_COND_ldbl_128ibm): Likewise.
60181         (TEST_COND_long32): Likewise.
60182         (TEST_COND_long64): Likewise.
60183         (TEST_COND_before_rounding): Likewise.
60184         (TEST_COND_after_rounding): Likewise.
60185         (enable_test): Handle XFAIL_TEST flag.
60186         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
60187         with finite results.
60188         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
60189         auto-libm-test-out.
60191 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60192             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60194         [BZ #16214]
60195         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
60196         __tls_get_addr_internal instead of __tls_get_offset in order to
60197         avoid GOT pointer dependency.  Make rtld export
60198         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
60199         __tls_get_addr since we are a __tls_get_offset platform.
60200         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
60201         GOT pointer being set up before.
60202         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
60204 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
60206         * manual/math.texi (Errors in Math Functions): Document accuracy
60207         goals.
60209         [BZ #15004]
60210         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
60211         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
60212         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60213         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60214         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60215         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60216         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60217         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60218         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60219         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60220         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60221         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60222         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60223         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60224         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60225         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60227         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
60228         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
60229         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
60230         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
60231         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
60232         Likewise.
60233         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
60234         Likewise.
60235         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
60236         Likewise.
60237         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
60238         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
60239         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
60240         atomic-feupdateenv and flt-rounds.
60241         * sysdeps/powerpc/nofpu/Versions (libc): Add
60242         __atomic_feholdexcept, __atomic_feclearexcept,
60243         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
60244         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
60245         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
60246         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
60247         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
60248         here.
60249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
60250         Update.
60252         * manual/arith.texi (FP Exceptions): Document that exceptions may
60253         not be raised when matherr is used.
60254         (Math Error Reporting): Document overflow in directed rounding
60255         modes.  Document that errno may not be set when finite values are
60256         returned on overflow.  Document intent to set errno on underflow
60257         only for underflow to zero.
60259         [BZ #16271]
60260         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
60261         round-to-nearest then adjust result for other rounding modes.
60262         * include/fenv.h (fegetround): Use libm_hidden_proto.
60263         * math/fegetround.c (fegetround): Use libm_hidden_def.
60264         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
60265         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
60266         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60267         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
60268         Likewise.
60269         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
60270         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60271         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
60272         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
60274 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60276         [BZ #16077]
60277         * nss/Versions (libnss_files): Add
60278         _nss_files_gethostbyname3_r.
60279         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
60280         New function.
60281         (HOST_DB_LOOKUP): Remove macro.
60282         (_nss_files_gethostbyname_r): Implement function without the
60283         HOST_DB_LOOKUP macro.
60284         (_nss_files_gethostbyname2_r): Likewise.
60286 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
60288         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
60290 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
60292         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
60293         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
60294         warning.
60296 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60298         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
60299         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
60300         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
60301         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
60302         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
60303         __fe_nomask_env_priv and attribute_hidden.
60304         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
60305         (libc_feupdateenv_test_ppc): Likewise.
60306         (libc_feresetround_ppc): Likewise.
60307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60308         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
60309         compat_symbol macro.
60310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60311         (__fe_nomask_env): Likewise.
60312         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
60314 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
60316         * string/Makefile: Remove ifunc tests.
60317         * string/test-string.h: Define TEST_IFUNC.
60318         * string/test-bcopy-ifunc.c: Remove.
60319         * string/test-bzero-ifunc.c: Likewise.
60320         * string/test-memccpy-ifunc.c: Likewise.
60321         * string/test-memchr-ifunc.c: Likewise.
60322         * string/test-memcmp-ifunc.c: Likewise.
60323         * string/test-memcpy-ifunc.c: Likewise.
60324         * string/test-memmem-ifunc.c: Likewise.
60325         * string/test-memmove-ifunc.c: Likewise.
60326         * string/test-mempcpy-ifunc.c: Likewise.
60327         * string/test-memrchr-ifunc.c: Likewise.
60328         * string/test-memset-ifunc.c: Likewise.
60329         * string/test-rawmemchr-ifunc.c: Likewise.
60330         * string/test-stpcpy-ifunc.c: Likewise.
60331         * string/test-stpncpy-ifunc.c: Likewise.
60332         * string/test-strcasecmp-ifunc.c: Likewise.
60333         * string/test-strcasestr-ifunc.c: Likewise.
60334         * string/test-strcat-ifunc.c: Likewise.
60335         * string/test-strchr-ifunc.c: Likewise.
60336         * string/test-strchrnul-ifunc.c: Likewise.
60337         * string/test-strcmp-ifunc.c: Likewise.
60338         * string/test-strcpy-ifunc.c: Likewise.
60339         * string/test-strcspn-ifunc.c: Likewise.
60340         * string/test-strlen-ifunc.c: Likewise.
60341         * string/test-strncasecmp-ifunc.c: Likewise.
60342         * string/test-strncat-ifunc.c: Likewise.
60343         * string/test-strncmp-ifunc.c: Likewise.
60344         * string/test-strncpy-ifunc.c: Likewise.
60345         * string/test-strnlen-ifunc.c: Likewise.
60346         * string/test-strpbrk-ifunc.c: Likewise.
60347         * string/test-strrchr-ifunc.c: Likewise.
60348         * string/test-strspn-ifunc.c: Likewise.
60349         * string/test-strstr-ifunc.c: Likewise.
60351 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
60353         * benchtests/Makefile: Remove ifunc tests.
60354         * benchtests/bench-string.h: Define TEST_IFUNC.
60355         * benchtests/bench-bcopy-ifunc.c: Remove.
60356         * benchtests/bench-bzero-ifunc.c: Likewise.
60357         * benchtests/bench-memccpy-ifunc.c: Likewise.
60358         * benchtests/bench-memchr-ifunc.c: Likewise.
60359         * benchtests/bench-memcmp-ifunc.c: Likewise.
60360         * benchtests/bench-memcpy-ifunc.c: Likewise.
60361         * benchtests/bench-memmem-ifunc.c: Likewise.
60362         * benchtests/bench-memmove-ifunc.c: Likewise.
60363         * benchtests/bench-mempcpy-ifunc.c: Likewise.
60364         * benchtests/bench-memrchr-ifunc.c: Likewise.
60365         * benchtests/bench-memset-ifunc.c: Likewise.
60366         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
60367         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
60368         * benchtests/bench-stpcpy-ifunc.c: Likewise.
60369         * benchtests/bench-stpncpy-ifunc.c: Likewise.
60370         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
60371         * benchtests/bench-strcasestr-ifunc.c: Likewise.
60372         * benchtests/bench-strcat-ifunc.c: Likewise.
60373         * benchtests/bench-strchr-ifunc.c: Likewise.
60374         * benchtests/bench-strchrnul-ifunc.c: Likewise.
60375         * benchtests/bench-strcmp-ifunc.c: Likewise.
60376         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
60377         * benchtests/bench-strcpy-ifunc.c: Likewise.
60378         * benchtests/bench-strcspn-ifunc.c: Likewise.
60379         * benchtests/bench-strlen-ifunc.c: Likewise.
60380         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
60381         * benchtests/bench-strncat-ifunc.c: Likewise.
60382         * benchtests/bench-strncmp-ifunc.c: Likewise.
60383         * benchtests/bench-strncpy-ifunc.c: Likewise.
60384         * benchtests/bench-strnlen-ifunc.c: Likewise.
60385         * benchtests/bench-strpbrk-ifunc.c: Likewise.
60386         * benchtests/bench-strrchr-ifunc.c: Likewise.
60387         * benchtests/bench-strsep-ifunc.c: Likewise.
60388         * benchtests/bench-strspn-ifunc.c: Likewise.
60389         * benchtests/bench-strstr-ifunc.c: Likewise.
60391 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
60393         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
60395 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
60397         * resolv/netdb.h: Use __glibc_reserved instead __unused.
60398         * rt/aio.h: Likewise.
60399         * sysdeps/gnu/bits/utmp.h: Likewise.
60400         * sysdeps/gnu/bits/utmpx.h: Likewise.
60401         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
60402         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
60403         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
60404         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
60405         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
60406         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
60407         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
60408         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
60409         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
60410         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
60411         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
60412         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
60413         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
60414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
60415         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
60416         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
60417         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
60418         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
60419         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
60420         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
60421         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
60422         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
60423         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
60424         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
60425         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
60426         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60427         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
60428         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
60429         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
60430         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
60431         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
60432         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
60433         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
60434         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
60435         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
60436         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
60437         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
60438         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
60439         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
60440         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
60441         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
60442         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
60444 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
60446         [BZ #16245]
60447         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
60448         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
60450 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
60452         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
60453         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
60454         Likewise.
60456 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60458         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
60459         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
60460         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
60461         (__fesetround): Remove define.
60462         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
60463         rounding and exceptions handling.
60464         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
60465         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
60466         (__fe_nomask_env): Likewise.
60467         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
60468         __fegetround instead of fegetround.
60469         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
60470         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
60472 2013-11-21  Roland McGrath  <roland@hack.frob.com>
60474         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
60475         it's there.
60477         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
60479 2013-11-21  Meador Inge  <meadori@codesourcery.com>
60481         [BZ #11157]
60482         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
60483         (encrypt_r): Likewise.
60484         * malloc/obstack.h (obstack_free): Likewise.
60485         * posix/unistd.h (encrypt): Likewise.
60487 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
60489         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
60490         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
60491         DL_CALL_DT_FINI() that call the functions directly.
60492         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
60493         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
60494         * elf/dl-fini.c: Likewise.
60496 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
60498         * malloc/hooks.c (memalign_check): Add alignment rounding.
60499         * malloc/malloc.c (_mid_memalign): New function.
60500         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
60501         Implement by calling _mid_memalign.
60502         * manual/probes.texi (Memory Allocation Probes): Remove
60503         memory_valloc_retry and memory_pvalloc_retry.
60505 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60507         * locale/programs/locarchive.c (open_archive): Add const
60508         qualifier to ARCHIVEFNAME and copy default fname to
60509         DEFAULT_FNAME.
60511         [BZ #15601]
60512         * libio/tst-widetext.input: Rename Oriya to Odia.
60513         * locale/iso-639.def: Likewise.
60515         * manual/probes.texi (Mathematical Function Probes): Add
60516         documentation for sin, cos, asin and acos probes.
60517         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
60518         (__sin32): Add slowasin probe.
60519         (__cos32): Add slowacos probe.
60520         (__mpsin): Add slowsin probe.
60521         (__mpcos): Add slowcos probe.
60523 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
60525         [BZ #15483]
60526         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
60527         thread-local __sim_exceptions_thread and global
60528         __sim_exceptions_global.
60529         (__sim_disabled_exceptions): Change to thread-local
60530         __sim_disabled_exceptions_thread and global
60531         __sim_disabled_exceptions_global.
60532         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
60533         and global __sim_round_mode_global.
60534         (__simulate_exceptions): Use thread-local floating-point state and
60535         set global state from it as needed.
60536         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
60537         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
60538         __sim_round_mode_thread.
60539         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
60540         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
60541         and global __sim_exceptions_global.
60542         (__sim_disabled_exceptions): Change to thread-local
60543         __sim_disabled_exceptions_thread and global
60544         __sim_disabled_exceptions_global.
60545         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
60546         and global __sim_round_mode_global.
60547         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
60548         (SIM_SET_GLOBAL): Likewise.
60549         * sysdeps/powerpc/soft-fp/sfp-machine.h
60550         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
60551         __sim_round_mode_thread.
60552         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
60553         __sim_disabled_exceptions_thread.
60554         (__sim_exceptions): Change to __sim_exceptions_thread.
60555         (__sim_disabled_exceptions): Change to
60556         __sim_disabled_exceptions_thread.
60557         (__sim_round_mode): Change to __sim_round_mode_thread.
60558         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
60559         thread-local floating-point state and set global state from it as
60560         needed.
60561         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
60562         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
60563         (__sim_disabled_exceptions): Remove extern declaration.
60564         (feenableexcept): Use thread-local floating-point state and set
60565         global state from it as needed.
60566         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
60567         extern declaration.
60568         (__sim_disabled_exceptions): Likewise.
60569         (__sim_round_mode): Likewise.
60570         (__fegetenv): Use thread-local floating-point state.
60571         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
60572         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60573         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
60574         floating-point state and set global state from it as needed.
60575         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
60576         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
60577         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
60578         Likewise.
60579         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
60580         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
60581         Likewise.
60582         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
60583         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
60584         Use __sim_round_mode_thread.
60585         * math/test-fenv-tls.c: New file.
60586         * math/Makefile (tests): Add test-fenv-tls.
60587         ($(objpfx)test-fenv-tls): Depend on
60588         $(common-objpfx)nptl/libpthread.so.
60590 2013-11-19  Andreas Schwab  <schwab@suse.de>
60592         * locale/programs/locale.c (show_info): Decode wordarray elements.
60593         * locale/categories.def (LC_MONETARY): Add element for
60594         _NL_MONETARY_CRNCYSTR.
60595         * locale/C-monetary.c (conversion_rate): New variable.
60596         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
60597         element.
60599 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
60601         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
60602         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
60604 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
60606         * elf/Makefile (tst-auxv): New test.
60607         * elf/tst-auxv.c: New
60608         * elf/rtld.c (dl_main): Adjust AT_EXECFN
60610 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
60612         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
60613         (hidden_proto): Caller changed.
60614         (hidden_tls_proto): New macro.
60615         (libc_hidden_tls_proto): Likewise.
60616         (rtld_hidden_tls_proto): Likewise.
60617         (libm_hidden_tls_proto): Likewise.
60618         (libresolv_hidden_tls_proto): Likewise.
60619         (librt_hidden_tls_proto): Likewise.
60620         (libdl_hidden_tls_proto): Likewise.
60621         (libnss_files_hidden_tls_proto): Likewise.
60622         (libnsl_hidden_tls_proto): Likewise.
60623         (libnss_nisplus_hidden_tls_proto): Likewise.
60624         (libutil_hidden_tls_proto): Likewise.
60626 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
60628         [BZ #10253]
60629         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
60630         (decompose_rpath): Defer expansion to fillin_rpath.
60631         (_dl_init_paths): Pass linkmap to fillin_rpath.
60633 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
60635         * benchtests/Makefile: Add strsep.
60636         * benchtests/bench-strsep.c: New file: strsep benchtest.
60637         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
60639 2013-11-18  Andreas Schwab  <schwab@suse.de>
60641         * locale/programs/locale.c (show_info) [case byte]: Check for
60642         '\377' instead of '\177'.
60643         * locale/C-monetary.c (not_available): Always use "\377".
60644         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
60645         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
60646         detect unavailable sign_posn locale elements.
60647         * locale/localeconv.c (__localeconv): For grouping and
60648         mon_grouping handle "\177" and "\377" like no grouping.
60649         (INT_ELEM): New macro.  Use it to set all numeric members.
60650         * locale/programs/ld-monetary.c (monetary_read)
60651         <tok_mon_grouping>: Normalize single -1 to the empty string.
60652         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
60653         Likewise.
60655 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
60657         [BZ #16055]
60658         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
60659         when we match (nil).
60660         * stdio-common/tst-sscanf.c (struct test): Add testcase.
60662 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
60664         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
60665         (NO_TEST_INLINE): Update value.
60666         (ERRNO_UNCHANGED): Likewise.
60667         (ERRNO_EDOM): Likewise.
60668         (ERRNO_ERANGE): Likewise.
60669         (IGNORE_RESULT): Likewise.
60670         (check_float_internal): Check signs of NaN results if
60671         TEST_NAN_SIGN used.
60672         (check_complex): Pass TEST_NAN_SIGN flag through to second
60673         check_float_internal call.
60674         (copysign_test_data): Add tests with quiet NaNs as second
60675         argument.  Use TEST_NAN_SIGN.
60676         (fabs_test_data): Add test of negative quiet NaN argument.  Use
60677         TEST_NAN_SIGN.
60678         (signbit_test_data): Add tests of quiet NaN argument.
60679         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
60681         * math/gen-libm-test.pl (show_exceptions): Take extra argument
60682         $ignore_result.
60683         (parse_args): Handle function results specified as IGNORE.
60684         * math/libm-test.inc (IGNORE_RESULT): New macro.
60685         (check_float_internal): Do not check numerical result if flag
60686         IGNORE_RESULT set.
60687         (check_complex): Pass through IGNORE_RESULT to second
60688         check_float_internal call.
60689         (check_int): Do not check numerical result if flag IGNORE_RESULT
60690         set.
60691         (check_long): Likewise.
60692         (check_bool): Likewise.
60693         (check_longlong): Likewise.
60694         (lrint_test_data): Add tests of infinite and NaN arguments.
60695         (lrint_tonearest_test_data): Likewise.
60696         (lrint_towardzero_test_data): Likewise.
60697         (lrint_downward_test_data): Likewise.
60698         (lrint_upward_test_data): Likewise.
60699         (llrint_test_data): Likewise.
60700         (llrint_tonearest_test_data): Likewise.
60701         (llrint_towardzero_test_data): Likewise.
60702         (llrint_downward_test_data): Likewise.
60703         (llrint_upward_test_data): Likewise.
60704         (lround_test_data): Likewise.
60705         (llround_test_data): Likewise.
60707         * math/libm-test.inc (NO_TEST_INLINE): New macro.
60708         (ERRNO_UNCHANGED): Update value.
60709         (ERRNO_EDOM): Likewise.
60710         (ERRNO_ERANGE): Likewise.
60711         (NO_TEST_INLINE_FLOAT): New macro.
60712         (NO_TEST_INLINE_DOUBLE): Likewise.
60713         (enable_test): New function.
60714         (RUN_TEST_f_f): Check enable_test before running test.
60715         (RUN_TEST_2_f): Likewise.
60716         (RUN_TEST_fff_f): Likewise.
60717         (RUN_TEST_c_f): Likewise.
60718         (RUN_TEST_f_f1): Likewise.
60719         (RUN_TEST_fF_f1): Likewise.
60720         (RUN_TEST_fI_f1): Likewise.
60721         (RUN_TEST_ffI_f1): Likewise.
60722         (RUN_TEST_c_c): Likewise.
60723         (RUN_TEST_cc_c): Likewise.
60724         (RUN_TEST_f_i): Likewise.
60725         (RUN_TEST_f_i_tg): Likewise.
60726         (RUN_TEST_ff_i_tg): Likewise.
60727         (RUN_TEST_f_b): Likewise.
60728         (RUN_TEST_f_b_tg): Likewise.
60729         (RUN_TEST_f_l): Likewise.
60730         (RUN_TEST_f_L): Likewise.
60731         (RUN_TEST_fFF_11): Likewise.
60732         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
60733         conditionals.
60734         (cosh_test_data): Likewise.
60735         (exp_test_data): Likewise.
60736         (expm1_test_data): Likewise.
60737         (hypot_test_data): Likewise.
60738         (pow_test_data): Likewise.
60739         (sinh_test_data): Likewise.
60740         (tanh_test_data): Likewise.
60741         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
60742         flags argument.
60744         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
60745         tests with quiet NaN input and output.
60746         (acosh_test_data): Likewise.
60747         (asin_test_data): Likewise.
60748         (asinh_test_data): Likewise.
60749         (atan_test_data): Likewise.
60750         (atanh_test_data): Likewise.
60751         (atan2_test_data): Likewise.
60752         (cbrt_test_data): Likewise.
60753         (cos_test_data): Likewise.
60754         (cosh_test_data): Likewise.
60755         (erf_test_data): Likewise.
60756         (erfc_test_data): Likewise.
60757         (exp_test_data): Likewise.
60758         (exp10_test_data): Likewise.
60759         (exp2_test_data): Likewise.
60760         (expm1_test_data): Likewise.
60761         (hypot_test_data): Likewise.
60762         (j0_test_data): Likewise.
60763         (j1_test_data): Likewise.
60764         (jn_test_data): Likewise.
60765         (lgamma_test_data): Likewise.
60766         (log_test_data): Likewise.
60767         (log10_test_data): Likewise.
60768         (log1p_test_data): Likewise.
60769         (log2_test_data): Likewise.
60770         (pow_test_data): Likewise.
60771         (scalb_test_data): Likewise.
60772         (sin_test_data): Likewise.
60773         (sincos_test_data): Likewise.
60774         (sinh_test_data): Likewise.
60775         (tan_test_data): Likewise.
60776         (tanh_test_data): Likewise.
60777         (tgamma_test_data): Likewise.
60778         (y0_test_data): Likewise.
60779         (y1_test_data): Likewise.
60780         (yn_test_data): Likewise.
60782         [BZ #16167]
60783         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
60784         argument being NaN and avoid computations with second argument in
60785         that case.
60786         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
60787         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
60788         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
60790 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
60792         * locale/iso-639.def: Add Chitwani Tharu (the).
60794 2013-11-14  Andreas Schwab  <schwab@suse.de>
60796         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
60797         word instead of empty string.
60799 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60802         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
60803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60804         (__fe_nomask_env): Likewise.
60806 2013-11-13  Steve Ellcey  <sellcey@mips.com>
60808         * benchtests/bench-timing.h: Include time.h.
60810 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
60812         [BZ #15997]
60813         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
60814         to 3.4.0 for x32.
60815         * sysdeps/unix/sysv/linux/configure: Regenerated.
60817 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
60819         [BZ #16151]
60820         * stdlib/strtod_l.c (round_and_return): Do not consider
60821         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
60822         exponent one less than half the least subnormal exponent.
60823         * stdlib/test-strtod-round-data: Add more tests.
60824         * stdlib/tst-strtod-round.c (tests): Regenerated.
60826 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60828         [BZ #14143]
60829         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
60830         (__fe_mask_env): Likewise.
60831         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
60832         libm_hidden_proto and add function prototype.
60833         (__fe_mask_env): Add function prototype.
60834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60835         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
60836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60837         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
60838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60839         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
60841 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60843         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
60844         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
60846 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60848         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
60849         of htab_find_slot().
60851 2013-11-11  David S. Miller  <davem@davemloft.net>
60853         [BZ #16150]
60854         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
60855         symbol in the non-vis3 case in static builds.
60856         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
60857         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
60858         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
60859         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
60861 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
60863         [BZ #387]
60864         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
60865         it is empty.
60867 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60869         * benchtests/Makefile: Add bench-strtod.
60870         * benchtests/bench-strtod.c: New file: strtod benchtest
60872 2013-11-11  Andreas Schwab  <schwab@suse.de>
60874         [BZ #16153]
60875         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
60876         terminating NUL in key length.
60878 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60880         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60881         Add artificial ODP entry for vDSO symbol for PPC64.
60882         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
60883         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
60885 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
60887         [BZ #15374]
60888         * nss/getent.c (services_keys): Recognize services starting with digit.
60890 2013-11-06  David S. Miller  <davem@davemloft.net>
60892         [BZ #15985]
60893         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
60894         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
60896 2013-11-06  Will Newton  <will.newton@linaro.org>
60898         * manual/memory.texi (Malloc Examples): Remove register
60899         keyword from examples.
60901 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
60903         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
60905 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
60907         [BZ #6981]
60908         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
60909         depending on [__GCC_IEC_559 > 0].
60910         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
60911         depending on [__GCC_IEC_559_COMPLEX > 0].
60913 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
60915         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
60916         to iso-639.def.
60918 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
60920         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
60922 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
60924         [BZ #16112]
60925         * malloc/malloc (malloc_info): Do not handle first bin as
60926         special case.
60928 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
60930         * locale/iso-639.def: Add Central Nahuatl (nhn).
60932 2013-11-01  Bruno Haible  <bruno@clisp.org>
60934         [BZ #7003]
60935         * manual/math.texi (BSD Random): Specify range upper bound as
60936         in POSIX.
60938 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
60940         * locale/iso-639.def: Add Meadow Mari (mhr).
60942 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
60944         [BZ #14752], [BZ #15763]
60945         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
60946         Validate name.
60947         * rt/tst_shm.c: Add test for escaping directory.
60949 2013-10-31  Andreas Schwab  <schwab@suse.de>
60951         [BZ #15917]
60952         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
60953         followed by 'x' as part of digit sequence.
60954         * stdio-common/tst-sscanf.c (double_tests2): New tests.
60956 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
60958         [BZ #16037]
60959         * configure.ac: allow GNU Make 4.0 and greater.
60960         * configure: Regenerated.
60962 2013-10-30  Will Newton  <will.newton@linaro.org>
60964         [BZ #16038]
60965         * malloc/hooks.c (memalign_check): Limit alignment to the
60966         maximum representable power of two.
60967         * malloc/malloc.c (__libc_memalign): Likewise.
60968         * malloc/tst-memalign.c (do_test): Add test for very
60969         large alignment values.
60970         * malloc/tst-posix_memalign.c (do_test): Likewise.
60972 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
60974         [BZ #11087]
60975         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
60976         (munmap_chunk): Likewise.
60977         (mremap_chunk): Likewise.
60979 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
60981         [BZ #15799]
60982         * stdlib/div.c (div): Remove obsolete code.
60983         * stdlib/ldiv.c (ldiv): Likewise.
60984         * stdlib/lldiv.c (lldiv): Likewise.
60986 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60988         [BZ #16071]
60989         * nss/nss_files/files-XXX.c (get_contents_ret): New
60990         enumerator.
60991         (get_contents): New function.
60992         (internal_getent): Use it.  Expand size of LINEBUFLEN.
60994 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
60996         * configure.in: Moved to ...
60997         * configure.ac: ... here. Change reference to configure.in
60998         to configure.ac.
60999         * sysdeps/arm/preconfigure.ac: ... here.
61000         configure.in to configure.ac.
61001         * sysdeps/gnu/configure.in: Moved to ...
61002         * sysdeps/gnu/configure.ac: ... here.
61003         * sysdeps/i386/configure.in: Moved to ...
61004         * sysdeps/i386/configure.ac: ... here.
61005         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61006         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61007         * sysdeps/mach/configure.in: Moved to ...
61008         * sysdeps/mach/configure.ac: ... here.
61009         * sysdeps/mach/hurd/configure.in: Moved to ...
61010         * sysdeps/mach/hurd/configure.ac: ... here.
61011         * sysdeps/powerpc/configure.in: Moved to ...
61012         * sysdeps/powerpc/configure.ac: ... here.
61013         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61014         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61015         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61016         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61017         * sysdeps/s390/s390-32/configure.in: Moved to ...
61018         * sysdeps/s390/s390-32/configure.ac: ... here.
61019         * sysdeps/s390/s390-64/configure.in: Moved to ...
61020         * sysdeps/s390/s390-64/configure.ac: ... here.
61021         * sysdeps/sh/configure.in: Moved to ...
61022         * sysdeps/sh/configure.ac: ... here.
61023         * sysdeps/sparc/configure.in: Moved to ...
61024         * sysdeps/sparc/configure.ac: ... here.
61025         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61026         * sysdeps/unix/sysv/linux/configure.ac: ... here.
61027         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61028         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61029         * sysdeps/x86_64/configure.in: Moved to ...
61030         * sysdeps/x86_64/configure.ac: ... here.
61031         * sysdeps/x86_64/preconfigure.in: Moved to ...
61032         * sysdeps/x86_64/preconfigure.ac: ... here.
61033         * aclocal.m4: Change reference to configure.in to configure.ac.
61034         * config.h.in: Likewise.
61035         * manual/install.texi: Likewise.
61036         * manual/maint.texi: Likewise.
61037         * Makefile: Likewise.
61038         * malloc/Makefile: Likewise.
61039         * nscd/Makefile: Likewise.
61040         * Makeconfig: Change reference to configure.in and
61041         preconfigure.in to configure.ac and preconfigure.ac
61042         respectively.
61043         * INSTALL: Regenerated.
61044         * configure: Likewise.
61045         * sysdeps/gnu/configure: Likewise.
61046         * sysdeps/i386/configure: Likewise.
61047         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61048         * sysdeps/mach/configure: Likewise.
61049         * sysdeps/mach/hurd/configure: Likewise.
61050         * sysdeps/powerpc/configure: Likewise.
61051         * sysdeps/powerpc/powerpc32/configure: Likewise.
61052         * sysdeps/powerpc/powerpc64/configure: Likewise.
61053         * sysdeps/s390/s390-32/configure: Likewise.
61054         * sysdeps/s390/s390-64/configure: Likewise.
61055         * sysdeps/sh/configure: Likewise.
61056         * sysdeps/sparc/configure: Likewise.
61057         * sysdeps/unix/sysv/linux/configure: Likewise.
61058         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61059         * sysdeps/x86_64/configure: Likewise.
61060         * sysdeps/x86_64/preconfigure: Likewise.
61062 2013-10-29  Andreas Schwab  <schwab@suse.de>
61064         * stdio-common/Makefile (tst-swscanf-ENV): Define.
61066 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61068         * benchtests/pow-inputs: Add new inputs.
61070         * benchtests/exp-inputs: Add new inputs.
61072         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61073         conditional check for return value.
61074         (__cos32): Likewise.
61076 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61078         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61079         to provide a boost for large inputs with word alignment.
61080         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61081         implementation based on optimized PPC64 strcpy.
61082         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61083         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61084         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61085         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61087 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
61089         [BZ #2801]
61090         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61092 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
61094         [BZ #14876]
61095         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61096         * time/tst-strptime.c (day_tests): Add testcase.
61098 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
61100         [BZ #14029]
61101         * manual/pattern.texi: Acknowledge that fnmatch can fail.
61103 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
61105         [BZ #16074]
61106         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
61107         MAP_FAILED on error.
61109 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61111         [BZ #16072]
61112         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
61113         heap for large requests.
61115 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
61117         [BZ #9954]
61118         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
61119         result if the result has no associated interface.
61120         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
61121         interface for all 127.X.Y.Z addresses.
61123 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
61125         * locale/iso-639.def: Add Ligurian (lij)
61127 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
61129         [BZ #15825]
61130         * sunrpc/rpc_main.c: Document rpcgen -5.
61132 2013-10-19  Michael Stahl  <mstahl@redhat.com>
61134         * elf/rtld.c (do_preload): Print the reason why preloading failed.
61136 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
61138         [BZ #10278]
61139         * posix/glob.c: Match only directories when trailing slash is present.
61140         * posix/tst-gnuglob.c (my_opendir): Do not open files.
61141         (main): Add testcase.
61143 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
61145         [BZ #15670]
61146         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
61148 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
61150         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
61151         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61152         AUTH_DES and cindex for FIPS 140-2.
61153         (DES Encryption): Add cindex FIPS 46-3.
61155         * locale/locarchive.h (struct locarhandle): Add fname.
61156         * locale/programs/localedef.c (main): Pass ARGV[remaining]
61157         if an optional argument was specified to --list-archive,
61158         otherwise NULL.
61159         * locale/programs/locarchive.c (show_archive_content): Take new
61160         argument fname and pass it via ah.fname to open_archive.
61161         * locale/programs/localedef.h: Update decl.
61162         (open_archive): If AH->fname is non-null, open that file
61163         rather than the default file name, and don't ignore ENOENT.
61164         (create_archive): Set AH.fname to NULL.
61165         (delete_locales_from_archive): Likewise.
61166         (add_locales_to_archive): Likewise.
61167         * locale/programs/locfile.c (write_all_categories): Likewise.
61169 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
61170             Aldy Hernandez  <aldyh@redhat.com>
61172         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
61173         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
61174         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
61175         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
61176         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
61177         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
61178         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
61179         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
61180         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
61181         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
61182         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
61183         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
61184         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
61185         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
61186         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
61187         Likewise.
61188         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
61189         Likewise.
61190         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
61191         Likewise.
61192         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
61193         Likewise.
61194         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
61195         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
61196         Likewise.
61197         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
61198         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
61199         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
61200         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
61201         Likewise.
61202         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
61203         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
61204         * sysdeps/powerpc/preconfigure: Likewise.
61205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
61206         Likewise.
61207         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
61208         Replace contents of file by #include of <fenv_libc.h>.
61209         * sysdeps/powerpc/soft-fp/sfp-machine.h
61210         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
61211         and <sys/prctl.h>.
61212         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
61213         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
61214         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
61215         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
61216         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
61217         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
61218         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
61219         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
61220         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
61221         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
61222         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
61223         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
61224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
61225         Allow copysignl PLT reference to be missing.
61227 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
61228             Joseph Myers  <joseph@codesourcery.com
61230         [BZ #15948]
61231         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
61232         single character.
61233         (add_to_tablewc): Assert sequence of wide characters is nonempty.
61235 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61237         * elf/tst-tls-dlinfo.c: Don't include tls.h.
61238         * elf/tst-tls1.c: Likewise.
61239         * elf/tst-tls10.h: Likewise.
61240         * elf/tst-tls14.c: Likewise.
61241         * elf/tst-tls2.c: Likewise.
61242         * elf/tst-tls3.c: Likewise.
61243         * elf/tst-tls4.c: Likewise.
61244         * elf/tst-tls5.c: Likewise.
61245         * elf/tst-tls6.c: Likewise.
61246         * elf/tst-tls7.c: Likewise.
61247         * elf/tst-tls8.c: Likewise.
61248         * elf/tst-tls9.c: Likewise.
61249         * elf/tst-tlsmod1.c: Likewise.
61250         * elf/tst-tlsmod13.c: Likewise.
61251         * elf/tst-tlsmod13a.c: Likewise.
61252         * elf/tst-tlsmod14a.c: Likewise.
61253         * elf/tst-tlsmod16a.c: Likewise.
61254         * elf/tst-tlsmod16b.c: Likewise.
61255         * elf/tst-tlsmod2.c: Likewise.
61256         * elf/tst-tlsmod3.c: Likewise.
61257         * elf/tst-tlsmod4.c: Likewise.
61258         * elf/tst-tlsmod5.c: Likewise.
61259         * elf/tst-tlsmod6.c: Likewise.
61261 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
61263         [BZ #12486]
61264         * malloc/malloc.c: remove checks for statistics.
61266 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
61268         [BZ #15277]
61269         * inet/inet_net.c (inet_network): Detect additional invalid strings.
61270         * inet/tst-network.c: Add testcase.
61272 2013-10-17  Andreas Schwab  <schwab@suse.de>
61274         [BZ #15218]
61275         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
61276         to determine canonical name.
61278 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
61280         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
61281         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
61282         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61283         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61284         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61285         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61286         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61287         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61288         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61289         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61290         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61291         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61292         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61293         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61294         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61295         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61296         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61297         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61298         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61299         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61300         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61301         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61302         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61303         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
61304         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
61305         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61306         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61307         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
61308         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61309         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
61310         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61311         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61312         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61313         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61314         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61315         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61316         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61317         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61318         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61319         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61320         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61321         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61322         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61323         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61324         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61325         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61326         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61327         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61328         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61329         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61330         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61331         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61332         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61333         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61334         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61335         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61336         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61337         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61339 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
61341         [BZ #16041]
61342         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
61343         make result into a quiet NaN.
61345 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
61347         * soft-fp/adddf3.c: Fix horizontal whitespace.
61348         * soft-fp/addsf3.c: Likewise.
61349         * soft-fp/addtf3.c: Likewise.
61350         * soft-fp/divdf3.c: Likewise.
61351         * soft-fp/divsf3.c: Likewise.
61352         * soft-fp/divtf3.c: Likewise.
61353         * soft-fp/double.h: Likewise.
61354         * soft-fp/eqdf2.c: Likewise.
61355         * soft-fp/eqsf2.c: Likewise.
61356         * soft-fp/eqtf2.c: Likewise.
61357         * soft-fp/extenddftf2.c: Likewise.
61358         * soft-fp/extended.h: Likewise.
61359         * soft-fp/extendsfdf2.c: Likewise.
61360         * soft-fp/extendsftf2.c: Likewise.
61361         * soft-fp/extendxftf2.c: Likewise.
61362         * soft-fp/fixdfdi.c: Likewise.
61363         * soft-fp/fixdfsi.c: Likewise.
61364         * soft-fp/fixdfti.c: Likewise.
61365         * soft-fp/fixsfdi.c: Likewise.
61366         * soft-fp/fixsfsi.c: Likewise.
61367         * soft-fp/fixsfti.c: Likewise.
61368         * soft-fp/fixtfdi.c: Likewise.
61369         * soft-fp/fixtfsi.c: Likewise.
61370         * soft-fp/fixtfti.c: Likewise.
61371         * soft-fp/fixunsdfdi.c: Likewise.
61372         * soft-fp/fixunsdfsi.c: Likewise.
61373         * soft-fp/fixunsdfti.c: Likewise.
61374         * soft-fp/fixunssfdi.c: Likewise.
61375         * soft-fp/fixunssfsi.c: Likewise.
61376         * soft-fp/fixunssfti.c: Likewise.
61377         * soft-fp/fixunstfdi.c: Likewise.
61378         * soft-fp/fixunstfsi.c: Likewise.
61379         * soft-fp/fixunstfti.c: Likewise.
61380         * soft-fp/floatdidf.c: Likewise.
61381         * soft-fp/floatdisf.c: Likewise.
61382         * soft-fp/floatditf.c: Likewise.
61383         * soft-fp/floatsidf.c: Likewise.
61384         * soft-fp/floatsisf.c: Likewise.
61385         * soft-fp/floatsitf.c: Likewise.
61386         * soft-fp/floattidf.c: Likewise.
61387         * soft-fp/floattisf.c: Likewise.
61388         * soft-fp/floattitf.c: Likewise.
61389         * soft-fp/floatundidf.c: Likewise.
61390         * soft-fp/floatundisf.c: Likewise.
61391         * soft-fp/floatunditf.c: Likewise.
61392         * soft-fp/floatunsidf.c: Likewise.
61393         * soft-fp/floatunsisf.c: Likewise.
61394         * soft-fp/floatunsitf.c: Likewise.
61395         * soft-fp/floatuntidf.c: Likewise.
61396         * soft-fp/floatuntisf.c: Likewise.
61397         * soft-fp/floatuntitf.c: Likewise.
61398         * soft-fp/fmadf4.c: Likewise.
61399         * soft-fp/fmasf4.c: Likewise.
61400         * soft-fp/fmatf4.c: Likewise.
61401         * soft-fp/gedf2.c: Likewise.
61402         * soft-fp/gesf2.c: Likewise.
61403         * soft-fp/getf2.c: Likewise.
61404         * soft-fp/ledf2.c: Likewise.
61405         * soft-fp/lesf2.c: Likewise.
61406         * soft-fp/letf2.c: Likewise.
61407         * soft-fp/muldf3.c: Likewise.
61408         * soft-fp/mulsf3.c: Likewise.
61409         * soft-fp/multf3.c: Likewise.
61410         * soft-fp/negdf2.c: Likewise.
61411         * soft-fp/negsf2.c: Likewise.
61412         * soft-fp/negtf2.c: Likewise.
61413         * soft-fp/op-1.h: Likewise.
61414         * soft-fp/op-2.h: Likewise.
61415         * soft-fp/op-4.h: Likewise.
61416         * soft-fp/op-8.h: Likewise.
61417         * soft-fp/op-common.h: Likewise.
61418         * soft-fp/quad.h: Likewise.
61419         * soft-fp/single.h: Likewise.
61420         * soft-fp/soft-fp.h: Likewise.
61421         * soft-fp/sqrtdf2.c: Likewise.
61422         * soft-fp/sqrtsf2.c: Likewise.
61423         * soft-fp/sqrttf2.c: Likewise.
61424         * soft-fp/subdf3.c: Likewise.
61425         * soft-fp/subsf3.c: Likewise.
61426         * soft-fp/subtf3.c: Likewise.
61427         * soft-fp/truncdfsf2.c: Likewise.
61428         * soft-fp/trunctfdf2.c: Likewise.
61429         * soft-fp/trunctfsf2.c: Likewise.
61430         * soft-fp/trunctfxf2.c: Likewise.
61431         * soft-fp/unorddf2.c: Likewise.
61432         * soft-fp/unordsf2.c: Likewise.
61433         * soft-fp/unordtf2.c: Likewise.
61435 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
61437         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
61438         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
61440 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
61442         * elf/dl-libc.c: Clear initfini list after freeing.
61444 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
61446         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
61447         * soft-fp/addsf3.c: Likewise.
61448         * soft-fp/addtf3.c: Likewise.
61449         * soft-fp/divdf3.c: Likewise.
61450         * soft-fp/divsf3.c: Likewise.
61451         * soft-fp/divtf3.c: Likewise.
61452         * soft-fp/double.h: Likewise.
61453         * soft-fp/eqdf2.c: Likewise.
61454         * soft-fp/eqsf2.c: Likewise.
61455         * soft-fp/eqtf2.c: Likewise.
61456         * soft-fp/extenddftf2.c: Likewise.
61457         * soft-fp/extended.h: Likewise.
61458         * soft-fp/extendsfdf2.c: Likewise.
61459         * soft-fp/extendsftf2.c: Likewise.
61460         * soft-fp/extendxftf2.c: Likewise.
61461         * soft-fp/fixdfdi.c: Likewise.
61462         * soft-fp/fixdfsi.c: Likewise.
61463         * soft-fp/fixdfti.c: Likewise.
61464         * soft-fp/fixsfdi.c: Likewise.
61465         * soft-fp/fixsfsi.c: Likewise.
61466         * soft-fp/fixsfti.c: Likewise.
61467         * soft-fp/fixtfdi.c: Likewise.
61468         * soft-fp/fixtfsi.c: Likewise.
61469         * soft-fp/fixtfti.c: Likewise.
61470         * soft-fp/fixunsdfdi.c: Likewise.
61471         * soft-fp/fixunsdfsi.c: Likewise.
61472         * soft-fp/fixunsdfti.c: Likewise.
61473         * soft-fp/fixunssfdi.c: Likewise.
61474         * soft-fp/fixunssfsi.c: Likewise.
61475         * soft-fp/fixunssfti.c: Likewise.
61476         * soft-fp/fixunstfdi.c: Likewise.
61477         * soft-fp/fixunstfsi.c: Likewise.
61478         * soft-fp/fixunstfti.c: Likewise.
61479         * soft-fp/floatdidf.c: Likewise.
61480         * soft-fp/floatdisf.c: Likewise.
61481         * soft-fp/floatditf.c: Likewise.
61482         * soft-fp/floatsidf.c: Likewise.
61483         * soft-fp/floatsisf.c: Likewise.
61484         * soft-fp/floatsitf.c: Likewise.
61485         * soft-fp/floattidf.c: Likewise.
61486         * soft-fp/floattisf.c: Likewise.
61487         * soft-fp/floattitf.c: Likewise.
61488         * soft-fp/floatundidf.c: Likewise.
61489         * soft-fp/floatundisf.c: Likewise.
61490         * soft-fp/floatunsidf.c: Likewise.
61491         * soft-fp/floatunsisf.c: Likewise.
61492         * soft-fp/floatuntidf.c: Likewise.
61493         * soft-fp/floatuntisf.c: Likewise.
61494         * soft-fp/floatuntitf.c: Likewise.
61495         * soft-fp/fmadf4.c: Likewise.
61496         * soft-fp/fmasf4.c: Likewise.
61497         * soft-fp/fmatf4.c: Likewise.
61498         * soft-fp/gedf2.c: Likewise.
61499         * soft-fp/gesf2.c: Likewise.
61500         * soft-fp/getf2.c: Likewise.
61501         * soft-fp/ledf2.c: Likewise.
61502         * soft-fp/lesf2.c: Likewise.
61503         * soft-fp/letf2.c: Likewise.
61504         * soft-fp/muldf3.c: Likewise.
61505         * soft-fp/mulsf3.c: Likewise.
61506         * soft-fp/multf3.c: Likewise.
61507         * soft-fp/negdf2.c: Likewise.
61508         * soft-fp/negsf2.c: Likewise.
61509         * soft-fp/negtf2.c: Likewise.
61510         * soft-fp/op-1.h: Likewise.
61511         * soft-fp/op-2.h: Likewise.
61512         * soft-fp/op-4.h: Likewise.
61513         * soft-fp/op-8.h: Likewise.
61514         * soft-fp/op-common.h: Likewise.
61515         * soft-fp/quad.h: Likewise.
61516         * soft-fp/single.h: Likewise.
61517         * soft-fp/soft-fp.h: Likewise.
61518         * soft-fp/sqrtdf2.c: Likewise.
61519         * soft-fp/sqrtsf2.c: Likewise.
61520         * soft-fp/sqrttf2.c: Likewise.
61521         * soft-fp/subdf3.c: Likewise.
61522         * soft-fp/subsf3.c: Likewise.
61523         * soft-fp/subtf3.c: Likewise.
61524         * soft-fp/truncdfsf2.c: Likewise.
61525         * soft-fp/trunctfdf2.c: Likewise.
61526         * soft-fp/trunctfsf2.c: Likewise.
61527         * soft-fp/trunctfxf2.c: Likewise.
61528         * soft-fp/unorddf2.c: Likewise.
61529         * soft-fp/unordsf2.c: Likewise.
61530         * soft-fp/unordtf2.c: Likewise.
61532 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
61534         [BZ #15672]
61535         * misc/error.c (error_tail): Fix possible buffer overflow.
61537 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
61539         [BZ #13028]
61540         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
61541         address.
61543 2013-10-14  P. J. McDermott  <pj@pehjota.net>
61545         [BZ #832]
61546         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
61547         testing pipefail option.
61549 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
61551         * soft-fp/double.h: Indent preprocessor directives inside #if.
61552         * soft-fp/extended.h: Likewise.
61553         * soft-fp/op-2.h: Likewise.
61554         * soft-fp/op-4.h: Likewise.
61555         * soft-fp/op-common.h: Likewise.
61556         * soft-fp/quad.h: Likewise.
61557         * soft-fp/single.h: Likewise.
61558         * soft-fp/soft-fp.h: Likewise.
61560 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
61562         * iconv/iconv_prog.c: Fix typos.
61563         * stdio-common/psiginfo-data.h: Likewise.
61565 2013-10-12   Reuben Thomas <rrt@sc3d.org>
61567         [BZ #15764]
61568         * locale/setlocale.c: Fix typo.
61570 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
61572         [BZ #16036]
61573         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
61574         signaling NaN arguments.
61575         * soft-fp/unordsf2.c (__unordsf2): Likewise.
61576         * soft-fp/unordtf2.c (__unordtf2): Likewise.
61578         [BZ #14910]
61579         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
61580         unordered operands.
61581         * soft-fp/gesf2.c (__gesf2): Likewise.
61582         * soft-fp/getf2.c (__getf2): Likewise.
61583         * soft-fp/ledf2.c (__ledf2): Likewise.
61584         * soft-fp/lesf2.c (__lesf2): Likewise.
61585         * soft-fp/letf2.c (__letf2): Likewise.
61587         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
61588         * soft-fp/eqsf2.c (__eqsf2): Likewise.
61589         * soft-fp/eqtf2.c (__eqtf2): Likewise.
61590         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
61591         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
61592         * soft-fp/fixdfti.c (__fixdfti): Likewise.
61593         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
61594         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
61595         * soft-fp/fixsfti.c (__fixsfti): Likewise.
61596         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
61597         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
61598         * soft-fp/fixtfti.c (__fixtfti): Likewise.
61599         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
61600         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
61601         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
61602         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
61603         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
61604         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
61605         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
61606         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
61607         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
61608         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
61609         * soft-fp/floatdisf.c (__floatdisf): Likewise.
61610         * soft-fp/floatsisf.c (__floatsisf): Likewise.
61611         * soft-fp/floattidf.c (__floattidf): Likewise.
61612         * soft-fp/floattisf.c (__floattisf): Likewise.
61613         * soft-fp/floattitf.c (__floattitf): Likewise.
61614         * soft-fp/floatundidf.c (__floatundidf): Likewise.
61615         * soft-fp/floatundisf.c (__floatundisf): Likewise.
61616         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
61617         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
61618         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
61619         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
61620         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
61621         * soft-fp/gesf2.c (__gesf2): Likewise.
61622         * soft-fp/getf2.c (__getf2): Likewise.
61623         * soft-fp/ledf2.c (__ledf2): Likewise.
61624         * soft-fp/lesf2.c (__lesf2): Likewise.
61625         * soft-fp/letf2.c (__letf2): Likewise.
61627         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
61628         Undefine and redefine.
61629         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
61630         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
61631         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
61632         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
61633         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61634         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
61635         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61636         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
61637         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61638         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
61639         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61640         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
61641         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61642         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
61643         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61645         [BZ #16032]
61646         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
61647         without decrementing exponent if mantissa >= that for the
61648         denominator, not >.
61649         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
61650         denominator, not >.  Decrement exponent in < case instead of
61651         incrementing in >= case.
61652         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
61653         without decrementing exponent if mantissa >= that for the
61654         denominator, not >.
61656         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
61657         computing saturated result for unsigned overflow.
61659 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61660             Jeff Law  <law@redhat.com>
61662         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
61663         (atan2Mp): Add systemtap probe marker.
61664         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
61665         (__ieee754_log): Add systemtap probe marker.
61666         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
61667         (atanMp): Add systemtap probe marker.
61668         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
61669         (tanMp): Add systemtap probe marker.
61670         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
61671         (__slowexp): Add systemtap probe marker.
61672         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
61673         (__slowpow): Add systemtap probe marker.
61674         * manual/probes.texi: Document probes.
61676 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
61678         [BZ #15362]
61679         * libio/fileops.c (_IO_new_file_write): Return count of bytes
61680         written.
61681         (_IO_new_file_xsputn): Don't return EOF if nothing has been
61682         written.
61683         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
61684         written to buffer but not flushed.
61685         * libio/iofwrite_u.c:  Likewise.
61686         * libio/iopadn.c:  Return bytes returned even if EOF was
61687         encountered.
61688         * libio/iowpadn.c:  Likewise.
61689         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
61690         if _IO_padn does not write the whole buffer.
61691         [!COMPILE_WPRINTF] (PAD): Likewise.
61693 2013-10-10  David S. Miller  <davem@davemloft.net>
61695         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
61696         directory block.
61698 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
61700         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
61701         instead of FSF address.
61702         * soft-fp/fixdfti.c: Likewise.
61703         * soft-fp/fixsfti.c: Likewise.
61704         * soft-fp/fixtfti.c: Likewise.
61705         * soft-fp/fixunsdfti.c: Likewise.
61706         * soft-fp/fixunssfti.c: Likewise.
61707         * soft-fp/fixunstfti.c: Likewise.
61708         * soft-fp/floattidf.c: Likewise.
61709         * soft-fp/floattisf.c: Likewise.
61710         * soft-fp/floattitf.c: Likewise.
61711         * soft-fp/floatuntidf.c: Likewise.
61712         * soft-fp/floatuntisf.c: Likewise.
61713         * soft-fp/floatuntitf.c: Likewise.
61714         * soft-fp/trunctfxf2.c: Likewise.
61716         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
61717         * soft-fp/fixdfti.c: Likewise.
61718         * soft-fp/fixsfti.c: Likewise.
61719         * soft-fp/fixtfti.c: Likewise.
61720         * soft-fp/fixunsdfti.c: Likewise.
61721         * soft-fp/fixunssfti.c: Likewise.
61722         * soft-fp/fixunstfti.c: Likewise.
61723         * soft-fp/floattidf.c: Likewise.
61724         * soft-fp/floattisf.c: Likewise.
61725         * soft-fp/floattitf.c: Likewise.
61726         * soft-fp/floatuntidf.c: Likewise.
61727         * soft-fp/floatuntisf.c: Likewise.
61728         * soft-fp/floatuntitf.c: Likewise.
61729         * soft-fp/trunctfxf2.c: Likewise.
61731 2013-10-10  David S. Miller  <davem@davemloft.net>
61733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61735 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
61737         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
61738         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
61739         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
61740         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
61741         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
61742         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
61743         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
61745         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
61746         for NaNs before doing comparisons on argument.
61747         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
61748         Likewise.
61750 2013-10-10  Will Newton  <will.newton@linaro.org>
61752         * malloc/hooks.c (memalign_check): Ensure the value of bytes
61753         passed to _int_memalign does not overflow.
61755 2013-10-10  Torvald Riegel  <triegel@redhat.com>
61757         * scripts/bench.pl: Add include-sources directive.
61758         * benchtests/README: Update documentation.
61760 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
61762         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
61763         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
61764         instead of FP_INIT_ROUNDMODE.
61765         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
61766         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
61768         [BZ #16034]
61769         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
61770         copy class of input value.
61771         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
61772         not handle exceptions.
61773         * soft-fp/negsf2.c (__negsf2): Likewise.
61774         * soft-fp/negtf2.c (__negtf2): Likewise.
61775         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
61777 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
61779         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
61780         semicolon.  From Linux kernel.
61782 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
61784         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
61786 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
61788         [BZ #156]
61789         * manual/socket.texi: Added statement about buffer
61790         for gethostbyname2_r.
61792 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
61794         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
61795         Use .p2align directive instead, throughout.
61796         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
61797         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
61798         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
61799         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61800         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61801         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
61802         * sysdeps/x86_64/strchr.S: Likewise.
61803         * sysdeps/x86_64/strrchr.S: Likewise.
61805 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61807         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
61809         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
61811         * sysdeps/generic/math_private.h (__mpsin1): Remove
61812         declaration.
61813         (__mpcos1): Likewise.
61814         (__mpsin): New argument __range_reduce.
61815         (__mpcos): Likewise.
61816         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61817         (slow): Use __mpsin and __mpcos.
61818         (slow1): Likewise.
61819         (slow2): Likewise.
61820         (sloww): Likewise.
61821         (sloww1): Likewise.
61822         (sloww2): Likewise.
61823         (bsloww): Likewise.
61824         (bsloww1): Likewise.
61825         (bsloww2): Likewise.
61826         (cslow2): Likewise.
61827         (csloww): Likewise.
61828         (csloww1): Likewise.
61829         (csloww2): Likewise.
61830         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
61831         range_reduce.  Merge in __mpsin1.
61832         (__mpcos): Likewise.
61833         (__mpsin1): Remove.
61834         (__mpcos1): Likewise.
61836 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
61838         * locale/loadlocale.c (_nl_intern_locale_data): Use
61839         LOCFILE_ALIGNED_P.
61840         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
61841         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
61842         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
61843         obstack data is appropriately aligned.
61844         (obstack_int32_grow_fast): Likewise.
61845         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
61846         * locale/programs/locfile.c (add_locale_uint32): Likewise.
61847         (add_locale_uint32_array): Likewise.
61849 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61851         * benchtests/Makefile: Remove ARGLIST and RET variables.
61852         ($(objpfx)bench-%.c): Pass only function name to the script.
61853         * benchtests/README: Update documentation.
61854         * benchtests/acos-inputs: Add new directives.
61855         * benchtests/acosh-inputs: Likewise.
61856         * benchtests/asin-inputs: Likewise.
61857         * benchtests/asinh-inputs: Likewise.
61858         * benchtests/atan-inputs: Likewise.
61859         * benchtests/atanh-inputs: Likewise.
61860         * benchtests/cos-inputs: Likewise.
61861         * benchtests/cosh-inputs: Likewise.
61862         * benchtests/exp-inputs: Likewise.
61863         * benchtests/log-inputs: Likewise.
61864         * benchtests/pow-inputs: Likewise.
61865         * benchtests/rint-inputs: Likewise.
61866         * benchtests/sin-inputs: Likewise.
61867         * benchtests/sinh-inputs: Likewise.
61868         * benchtests/tan-inputs: Likewise.
61869         * benchtests/tanh-inputs: Likewise.
61870         * scripts/bench.pl: Add support for new directives.
61872 2013-10-07  Alan Modra  <amodra@gmail.com>
61874         * README: Fix careless merge.
61876 2013-10-05  Alan Modra  <amodra@gmail.com>
61878         * NEWS: Mention powerpc64le support and bugs fixed.
61879         * README: Both big-endian and little-endian powerpc64 supported.
61881 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61883         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
61884         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
61885         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
61886         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
61888 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
61890         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
61891         match prototype.
61893 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
61895         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
61896         Move -mhard-float appending from
61897         ports/sysdeps/powerpc/powerpc32/Makefile.
61898         [$(with-fp) = yes] (ASFLAGS): Likewise.
61899         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
61900         * sysdeps/powerpc/nofpu: Move directory from
61901         ports/sysdeps/powerpc/nofpu.
61902         * sysdeps/powerpc/soft-fp: Move directory from
61903         ports/sysdeps/powerpc/soft-fp.
61904         * sysdeps/powerpc/powerpc32/405: Move directory from
61905         ports/sysdeps/powerpc/powerpc32/405.
61906         * sysdeps/powerpc/powerpc32/440: Move directory from
61907         ports/sysdeps/powerpc/powerpc32/440.
61908         * sysdeps/powerpc/powerpc32/464: Move directory from
61909         ports/sysdeps/powerpc/powerpc32/464.
61910         * sysdeps/powerpc/powerpc32/476: Move directory from
61911         ports/sysdeps/powerpc/powerpc32/476.
61912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
61913         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
61914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
61915         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
61916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
61917         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
61918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
61919         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
61920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
61921         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
61922         * README: Update for powerpc-*-linux-gnu software floating point
61923         support in libc.
61925         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
61926         case to powerpc/powerpc32*.
61927         * sysdeps/unix/sysv/linux/configure: Regenerated.
61929         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
61930         (_FPU_MASK_OM): Define as 0x04.
61931         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
61932         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
61933         0x00c10080.
61934         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
61935         0x0000003c.
61936         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
61938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
61939         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
61940         getcontext_e500.
61941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
61942         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
61943         setcontext_e500.
61944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
61945         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
61946         and setcontext_e500.
61948 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
61950         * locale/iso-3166.def: Update iso-1366.def and related occurrences
61952 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61954         * manual/threads.texi (Default Thread Attributes): Fix typo.
61956 2013-10-04  Will Newton  <will.newton@linaro.org>
61958         * malloc/Makefile: Add tst-memalign.
61959         * malloc/tst-memalign.c: New file.
61961         * malloc/tst-posix_memalign.c: Add comments.
61962         (do_test): Add comments and call free on all potentially
61963         allocated pointers. Add space after cast.
61965         * malloc/tst-pvalloc.c: Add comments.
61966         (do_test): Add comments and call free on all potentially
61967         allocated pointers. Remove duplicate check for NULL pointer.
61968         Add space after cast.
61970         * malloc/tst-valloc.c: Add comments.
61971         (do_test): Add comments and call free on all potentially
61972         allocated pointers. Remove duplicate check for NULL pointer.
61973         Add space after cast.
61975 2013-10-04  Alan Modra  <amodra@gmail.com>
61977         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
61978         Use stdint types in rather than __attribute__((mode())).
61979         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
61981 2013-10-04  Alan Modra  <amodra@gmail.com>
61983         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
61984         Correct handling of unaligned relocs for little-endian.
61985         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
61987 2013-10-04  Alan Modra  <amodra@gmail.com>
61989         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
61990         * configure: Regenerate.
61991         * nptl/shlib-versions: Powerpc*le starts at 2.18.
61992         * shlib-versions: Likewise.
61994 2013-10-04  Alan Modra  <amodra@gmail.com>
61996         * string/tester.c (test_memrchr): Increment reported test cycle.
61998 2013-10-04  Alan Modra  <amodra@gmail.com>
62000         * string/test-memcpy.c (do_one_test): When reporting errors, print
62001         string address and don't overrun end of string.
62003 2013-10-04  Alan Modra  <amodra@gmail.com>
62005         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62006         insrdi.  Make better use of reg selection to speed exit slightly.
62007         Schedule entry path a little better.  Remove useless "are we done"
62008         checks on entry to main loop.  Handle wrapping around zero address.
62009         Correct main loop count.  Handle single left-over word from main
62010         loop inline rather than by using loop_small.  Remove extra word
62011         case in loop_small caused by wrong loop count.  Add little-endian
62012         support.
62013         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62014         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
62015         cache hint.
62016         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62017         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62018         support.  Avoid rlwimi.
62019         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62021 2013-10-04  Alan Modra  <amodra@gmail.com>
62023         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62024         insrdi.  Formatting.
62025         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62026         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62027         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62028         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62029         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62030         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62032 2013-10-04  Alan Modra  <amodra@gmail.com>
62034         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62035         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62036         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62037         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62038         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62039         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62040         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62041         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62042         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
62043         use of regs.  Use power7 mtocrf.  Tidy function tails.
62045 2013-10-04  Alan Modra  <amodra@gmail.com>
62047         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62048         Formatting.  Consistently use rXXX register defines or rN defines.
62049         Use early exit labels that avoid restoring unused non-volatile regs.
62050         Make cr field use more consistent with rWORDn compares.  Rename
62051         regs used as shift registers for unaligned loop, using rN defines
62052         for short lifetime/multiple use regs.
62053         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62054         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
62055         addi 1,1,64 to pop stack frame.  Simplify return value code.
62056         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62058 2013-10-04  Alan Modra  <amodra@gmail.com>
62060         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62061         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
62062         rather than rlwimi.
62063         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62064         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62065         little-endian support.  Correct typos.
62066         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
62067         rather than rlwimi.
62068         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
62069         in loop and entry code to keep "and." results.
62070         (strchr): Add little-endian support.  Comment.  Move cntlzd
62071         earlier in tail.
62072         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62074 2013-10-04  Alan Modra  <amodra@gmail.com>
62076         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62077         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62078         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62079         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62081 2013-10-04  Alan Modra  <amodra@gmail.com>
62083         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62084         (rTMP): Define as r11.
62085         (strcmp): Add little-endian support.  Optimise tail.
62086         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62087         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62088         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62089         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62090         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62091         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62092         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62094 2013-10-04  Alan Modra  <amodra@gmail.com>
62096         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62097         little-endian support.  Remove unnecessary "are we done" tests.
62098         Handle "s" wrapping around zero and extremely large "size".
62099         Correct main loop count.  Handle single left-over word from main
62100         loop inline rather than by using small_loop.  Correct comments.
62101         Delete "zero" tail, use "end_max" instead.
62102         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
62104 2013-10-04  Alan Modra  <amodra@gmail.com>
62106         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
62107         support.  Don't branch over align.
62108         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
62109         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
62110         support.  Rearrange tmp reg use to suit.  Comment.
62111         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
62113 2013-10-04  Alan Modra  <amodra@gmail.com>
62115         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
62117 2013-10-04  Alan Modra  <amodra@gmail.com>
62119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
62120         conditional form of branch and link when obtaining pc.
62121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
62123 2013-10-04  Alan Modra  <amodra@gmail.com>
62125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
62126         HIWORD/LOWORD.
62127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
62128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
62130 2013-10-04  Alan Modra  <amodra@gmail.com>
62132         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
62133         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
62134         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
62135         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
62136         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
62137         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62138         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
62139         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62140         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
62141         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
62143 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62144             Alistair Popple <alistair@ozlabs.au.ibm.com>
62145             Alan Modra <amodra@gmail.com>
62147         [BZ #15723]
62148         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
62149         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
62150         _dl_hwcap access for little-endian.
62151         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
62152         destroy vmx regs when saving unaligned.
62153         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
62154         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
62155         destroy vmx regs when saving unaligned.
62157 2013-10-04  Alan Modra  <amodra@gmail.com>
62159         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
62160         Don't use a union to pack hi/low value.
62162 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62164         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
62165         for little-endian.
62166         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62167         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
62168         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62169         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62170         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62172 2013-10-04  Alan Modra  <amodra@gmail.com>
62174         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
62175         constants to usual value for .cst8 section, and remove redundant
62176         high address load.
62177         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
62178         constant for 0x1p52.  Load little-endian words of double from
62179         correct stack offsets.
62181 2013-10-04  Alan Modra  <amodra@gmail.com>
62183         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
62184         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
62185         words of double from correct stack offsets.
62186         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
62187         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
62188         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62189         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62190         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62191         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62192         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62193         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
62194         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
62195         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62196         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62197         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62198         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62199         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62200         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62201         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
62202         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
62204 2013-10-04  Alan Modra  <amodra@gmail.com>
62206         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
62207         64-bit int/double union.
62208         (_FPU_SETCW): Likewise.
62209         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
62210         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
62212 2013-10-04  Alan Modra  <amodra@gmail.com>
62214         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
62215         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
62217 2013-10-04  Alan Modra  <amodra@gmail.com>
62219         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
62220         use vector int constants.
62221         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
62223 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62225         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
62226         array with long long.
62227         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
62228         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
62229         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
62230         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
62231         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
62232         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
62233         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
62234         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
62235         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
62236         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
62237         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
62238         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
62239         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
62241 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62243         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
62244         (__signbit): Likewise.  Correct for little-endian.
62245         (__signbitl): Call __signbit.
62246         (lrint): Correct for little-endian.
62247         (lrintf): Call lrint.
62249 2013-10-04  Alan Modra  <amodra@gmail.com>
62251         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
62252         union 32-bit int array member with 64-bit int array.
62253         (t515, tm256): Double rather than long double.
62254         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
62256 2013-10-04  Alan Modra  <amodra@gmail.com>
62258         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
62259         Delete.
62260         (IEEE854_LONG_DOUBLE_BIAS): Delete.
62261         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
62262         version of math_ldbl.h.
62264 2013-10-04  Alan Modra  <amodra@gmail.com>
62266         [BZ #15734], [BZ #15735]
62267         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
62268         all uses of ieee875 long double macros and unions.  Simplify test
62269         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
62270         ldbl_extract_mantissa value for ix,iy exponents.  Properly
62271         normalize after ldbl_extract_mantissa, and don't add hidden bit
62272         already handled.  Don't treat low word of ieee854 mantissa like
62273         low word of IBM long double and mask off bit when testing for
62274         zero.
62275         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
62276         all uses of ieee875 long double macros and unions.  Simplify tests
62277         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
62278         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
62279         two1022, instead use their values.  Recognise that tests for large
62280         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
62281         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
62282         Rewrite all uses of ieee875 long double macros and unions.  Simplify
62283         test for 0.0L and nan.  Correct negation.
62284         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
62285         ieee875 long double macros and unions.  Correct output for large
62286         magnitude x.  Correct absolute value calculation.
62287         (__erfcl): Likewise.
62288         * math/libm-test.inc: Add tests for errors discovered in IBM long
62289         double versions of fmodl, remainderl, erfl and erfcl.
62291 2013-10-04  Alan Modra  <amodra@gmail.com>
62293         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
62294         all uses of ieee854 long double macros and unions.  Simplify tests
62295         for long doubles that are fully specified by the high double.
62296         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
62297         Likewise.
62298         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
62299         Remove dead code too.
62300         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
62301         (__ieee754_ynl): Likewise.
62302         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
62303         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
62304         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
62305         Remove dead code too.
62306         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
62307         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
62308         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
62309         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
62310         Simplify.
62311         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
62312         Simplify.
62313         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
62314         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
62315         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
62316         Comment on variable precision.
62317         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
62318         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62319         Likewise.
62320         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
62321         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62322         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62323         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
62324         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
62326 2013-10-04  Alan Modra  <amodra@gmail.com>
62328         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
62329         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
62330         all uses of ieee854 long double macros and unions.
62331         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
62332         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62333         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
62334         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
62335         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
62336         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62337         Likewise.
62338         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
62339         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62340         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
62341         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62342         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
62343         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
62344         Simplify sign and nan test too.
62345         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
62346         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
62347         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
62348         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
62349         Likewise.
62350         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62351         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
62352         Likewise.
62353         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62354         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
62355         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
62356         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
62357         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
62358         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
62360 2013-10-04  Alan Modra  <amodra@gmail.com>
62362         * stdio-common/printf_size.c (__printf_size): Don't use
62363         union ieee854_long_double in fpnum union.
62364         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
62365         signbit macro to retrieve sign from long double.
62366         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
62367         retrieve sign from long double.
62368         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
62369         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
62370         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
62371         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62372         * math/test-misc.c (main): Don't use union ieee854_long_double.
62374 2013-10-04  Alan Modra  <amodra@gmail.com>
62376         [BZ #15680]
62377         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
62378         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
62379         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
62380         calculation.  Remove unnecessary test for denormal exponent.
62381         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
62382         Correct handling of denormals.  Avoid undefined shift behaviour.
62383         Correct normalisation of low mantissa when low double is denormal.
62384         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
62385         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
62386         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
62387         Correct normalisation of low mantissa.  Test for overflow of high
62388         mantissa and normalise.
62389         (ldbl_nearbyint): Use more readable constant for two52.
62390         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
62391         (__mpn_construct_long_double): Fix test for overflow of high
62392         mantissa and correct normalisation.  Avoid undefined shift.
62394 2013-10-04  Alan Modra  <amodra@gmail.com>
62396         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62397         (union ibm_extended_long_double): Define as an array of ieee754_double.
62398         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
62399         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
62400         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
62401         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62402         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62403         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
62404         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62405         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62406         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
62407         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
62408         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62410 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
62412         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
62413         page size instead of calling getpagesize.
62415         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
62416         (LOCFILE_ALIGN_MASK): Likewise.
62417         (LOCFILE_ALIGN_UP): Likewise.
62418         (LOCFILE_ALIGNED_P): Likewise.
62419         * locale/programs/ld-collate.c (collate_output): Use the new
62420         macros instead of __alignof__ (int32_t).
62421         * locale/weight.h (findidx): Likewise.
62423 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
62425         [BZ #431]
62426         * manual/string.texi: Fix strncat and wcsncat.
62428 2013-10-03  Brooks Moses  <bmoses@google.com>
62430         [BZ #15915]
62431         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
62432         * Makerules: ...here, and adjust associated comments.
62434 2013-10-02  Will Newton  <will.newton@linaro.org>
62436         * malloc/Makefile: Add tst-pvalloc.
62437         * malloc/tst-pvalloc.c: New file.
62439 2013-10-02  Will Newton  <will.newton@linaro.org>
62441         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
62442         improve test coverage.
62444 2013-10-02  Will Newton  <will.newton@linaro.org>
62446         * malloc/Makefile: Add tst-posix_memalign.
62447         * malloc/tst-posix_memalign.c: New file.
62449 2013-10-01  Eric Blake  <eblake@redhat.com>
62451         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
62452         Use __THROWNL rather than __THROW on static functions.
62454 2013-09-30  Petr Machata  <pmachata@redhat.com>
62456         * elf/elf.h (R_AARCH64_ABS16): New macro.
62457         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
62458         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
62459         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
62460         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
62461         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
62462         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
62463         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
62464         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
62465         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
62466         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
62467         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
62468         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
62469         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
62470         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
62471         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
62472         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
62473         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
62474         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
62475         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
62476         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
62477         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
62478         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
62479         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
62480         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
62481         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
62482         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
62483         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
62484         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
62485         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
62486         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
62487         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
62488         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
62489         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
62490         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
62491         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
62492         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
62493         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
62494         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
62495         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
62496         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
62497         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
62498         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
62499         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
62500         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
62501         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
62502         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
62503         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
62504         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
62505         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
62506         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
62507         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
62508         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
62509         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
62510         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
62511         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
62512         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
62513         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
62514         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
62515         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
62516         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
62517         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
62518         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
62519         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
62520         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
62521         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
62522         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
62523         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
62524         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
62525         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
62526         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
62527         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
62528         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
62529         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
62530         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
62531         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
62532         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
62533         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
62534         (R_AARCH64_TLSDESC_LDR): Likewise.
62535         (R_AARCH64_TLSDESC_ADD): Likewise.
62536         (R_AARCH64_TLSDESC_CALL): Likewise.
62538 2013-09-30  Andreas Schwab  <schwab@suse.de>
62540         [BZ #15048]
62541         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
62542         the nss database lookup.
62543         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62544         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62546 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
62548         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
62550 2013-09-28  P. J. McDermott  <pj@pehjota.net>
62552         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
62553         ${Bash-specific parameter/pattern/string} parameter expansion.
62554         * sysdeps/unix/make-syscalls.sh: Likewise.
62556 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62558         * sysdeps/sh/stackguard-macros.h: New file.
62560 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
62562         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
62563         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
62564         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
62565         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
62566         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62567         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
62569 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62571         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
62572         Fix thread ID register.
62574 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
62576         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
62577         [POSIX || UNIX98]: Require rather than permitting all symbols from
62578         <time.h>.
62579         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
62580         element of struct sched_param.
62581         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
62582         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
62583         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
62584         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
62585         constant.
62587 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
62589         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
62590         argument calculation.
62592 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
62594         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
62595         Expect macro.
62596         [POSIX] (pthread_attr_t): Do not require type.
62597         [POSIX] (pthread_cond_t): Likewise.
62598         [POSIX] (pthread_condattr_t): Likewise.
62599         [POSIX] (pthread_key_t): Likewise.
62600         [POSIX] (pthread_mutex_t): Likewise.
62601         [POSIX] (pthread_mutexattr_t): Likewise.
62602         [POSIX] (pthread_once_t): Likewise.
62603         [POSIX] (pthread_t): Likewise.
62604         [POSIX-based standards] (pthread_atfork): Expect function.
62606 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
62607             Richard Sandiford  <richard@codesourcery.com>
62609         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
62610         (swap_endianness_p): New extern variable.
62611         (set_big_endian): New inline function.
62612         (maybe_swap_uint32): Likewise.
62613         (maybe_swap_uint32_array): Likewise.
62614         (maybe_swap_uint32_obstack): Likewise.
62615         * locale/programs/locfile.c: Include <stdbool.h>.
62616         (swap_endianness_p): New variable.
62617         (add_locale_uint32): Call maybe_swap_uint32.
62618         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
62619         (write_locale_data): Call maybe_swap_uint32_array.
62620         * locale/programs/ld-collate.c (obstack_int32_grow): Call
62621         maybe_swap_uint32.
62622         (obstack_int32_grow_fast): Likewise.
62623         (output_weightwc): Call maybe_swap_uint32_obstack.
62624         (collate_output): Likewise.
62625         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
62626         (OPT_LITTLE_ENDIAN): Likewise.
62627         (options): Add --little-endian and --big-endian options.
62628         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
62629         * locale/programs/locarchive.c: Include "locfile.h".
62630         (GET): New macro.
62631         (SET): Likewise.
62632         (INC): Likewise.
62633         (create_archive): Use the new macros to access fields of
62634         structures directly mapped from or written to locale archives.
62635         (oldlocrecentcmp): Likewise.
62636         (enlarge_archive): Likewise.
62637         (insert_name): Likewise.
62638         (add_alias): Likewise.
62639         (add_locale): Likewise.
62640         (delete_locales_from_archive): Likewise.
62641         (show_archive_content): Likewise.
62642         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
62643         locale data.
62645 2013-09-24  Roland McGrath  <roland@hack.frob.com>
62647         * manual/freemanuals.texi: Updated from (newly) canonical copy at
62648         http://www.gnu.org/doc/freemanuals.texi.
62649         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
62651 2013-09-24  Will Newton  <will.newton@linaro.org>
62653         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
62654         macro.
62656 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
62658         * locale/hashval.h (compute_hashval): Interpret bytes of key as
62659         unsigned char.
62661 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
62663         * manual/threads.texi (POSIX Threads): Fix a typo.
62665 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
62667         [BZ #14547]
62668         * string/tst-strcoll-overflow.c: New test case.
62669         * string/Makefile (xtests): Add tst-strcoll-overflow.
62670         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
62671         cache if string sizes may cause integer overflow.
62673         [BZ #14547]
62674         * string/strcoll_l.c (coll_seq): New members rule, idx,
62675         save_idx and back_us.
62676         (get_next_seq_nocache): New function.
62677         (do_compare_nocache): New function.
62678         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
62679         when malloc fails.
62681 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
62683         [BZ #15754]
62684         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
62685         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
62686         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
62688         [BZ #15754]
62689         * elf/Makefile (tests): Add tst-ptrguard1.
62690         (tests-static): Add tst-ptrguard1-static.
62691         (tst-ptrguard1-ARGS): Define.
62692         (tst-ptrguard1-static-ARGS): Define.
62693         * elf/tst-ptrguard1.c: New file.
62694         * elf/tst-ptrguard1-static.c: New file.
62695         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
62696         * sysdeps/i386/stackguard-macros.h: Likewise.
62697         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
62698         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
62699         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
62700         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
62701         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
62702         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
62704 2013-09-23  Hector Marco  <hecmargi@upv.es>
62705             Ismael Ripoll  <iripoll@disca.upv.es>
62706             Carlos O'Donell  <carlos@redhat.com>
62708         [BZ #15754]
62709         * sysdeps/generic/stackguard-macros.h: Define
62710         __pointer_chk_guard_local and POINTER_CHK_GUARD.
62711         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
62712         Define __pointer_chk_guard_local.
62713         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
62714         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
62716 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
62718         [BZ #15859]
62719         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
62721 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
62723         * include/string.h (__ffs): Declare as hidden.
62724         * string/ffs.c (__ffs): Define as hidden.
62725         * sysdeps/i386/ffs.c (__ffs): Likewise.
62726         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
62727         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
62728         * sysdeps/s390/ffs.c (__ffs): Likewise.
62729         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
62731 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
62733         * NEWS: Mention malloc probes.
62735         * malloc/arena.c (new_heap): New memory_heap_new probe.
62736         (grow_heap): New memory_heap_more probe.
62737         (shrink_heap): New memory_heap_less probe.
62738         (heap_trim): New memory_heap_free probe.
62739         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
62740         (systrim): New memory_sbrk_less probe.
62741         * manual/probes.texi: Document them.
62743         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
62744         * manual/probes.texi: Document it.
62746         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
62747         (__libc_realloc): Add memory_realloc_retry probe.
62748         (__libc_memalign): Add memory_memalign_retry probe.
62749         (__libc_valloc): Add memory_valloc_retry probe.
62750         (__libc_pvalloc): Add memory_pvalloc_retry probe.
62751         (__libc_calloc): Add memory_calloc_retry probe.
62752         * manual/probes.texi: Document them.
62754         * malloc/arena.c (get_free_list): Add probe
62755         memory_arena_reuse_free_list.
62756         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
62757         and memory_arena_reuse.
62758         (arena_get2) [!PER_THREAD]: Likewise.
62759         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
62760         memory_arena_reuse_realloc.
62761         * manual/probes.texi: Document them.
62763         * malloc/malloc.c (__libc_free): Add
62764         memory_mallopt_free_dyn_thresholds probe.
62765         (__libc_mallopt): Add multiple memory_mallopt probes.
62766         * manual/probes.texi: Document them.
62768         * malloc/malloc.c: Include stap-probe.h.
62769         (__libc_mallopt): Add memory_mallopt probe.
62770         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
62771         * manual/probes.texi: New.
62772         * manual/Makefile (chapters): Add probes.
62773         * manual/threads.texi: Set next node.
62775 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
62777         [BZ #15963, #13985]
62778         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
62779         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
62780         Add `Chinese' to `nan' entry name.
62782 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62784         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
62785         (POLYNOMIAL): Likewise.
62786         (TAYLOR_SINCOS): Likewise.
62787         (TAYLOR_SLOW): Likewise.
62788         (__sin): Use TAYLOR_SINCOS.
62789         (__cos): Likewise.
62790         (slow): Use TAYLOR_SLOW.
62791         (sloww): Likewise.
62792         (bsloww): Likewise.
62793         (csloww): Likewise.
62795 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62797         * stdlib/strtod_l.c: Fix buffer overrun.
62799 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62801         * benchtests/Makefile (bench): Add sincos.
62802         * benchtests/bench-sincos.c: New file.
62804         * math/libm-test.inc (cos_test_data): New test inputs.
62805         (sin_test_data): Likewise.
62807         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
62808         macro.
62809         (__sin): Use it.
62810         (__cos): Likewise.
62811         (slow1): Likewise.
62812         (slow2): Likewise.
62813         (sloww1): Likewise.
62814         (sloww2): Likewise.
62815         (bsloww1): Likewise.
62816         (bsloww2): Likewise.
62817         (cslow2): Likewise.
62818         (csloww1): Likewise.
62819         (csloww2): Likewise.
62821         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
62822         function.
62823         (__sin): Use it.
62824         (__cos): Likewise.
62826         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
62827         gotos.
62828         (__cos): Likewise.
62830 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
62832         * config.h.in (HAVE_MIPS_NAN2008): New macro.
62833         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
62834         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
62835         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
62836         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
62837         * elf/cache.c (print_entry): Handle the new cache flags.
62839 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
62840             Aldy Hernandez  <aldyh@redhat.com>
62842         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
62843         Change condition to [_SOFT_FLOAT].
62844         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
62845         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
62846         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
62847         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
62848         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
62849         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
62850         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
62851         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
62852         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
62853         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
62854         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
62855         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
62856         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
62857         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
62858         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
62859         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
62860         declaration.
62862 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
62864         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
62865         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
62866         (__longjmp): Use LOAD_GP to load saved GPRs.
62867         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
62868         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
62869         (__sigsetjmp): Use SAVE_GP to save GPRs.
62871         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
62872         Do not append -msoft-float.
62873         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
62875 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62877         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
62879 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
62881         [BZ #15966]
62882         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
62883         (_FPU_GETCW): Use initial "__" on variable and field names but not
62884         on macro parameter name.
62885         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
62886         parentheses around reference to macro parameter.
62888 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
62890         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
62891         prototype.
62892         (ctype_startup): Use uint32_t in cast and sizeof for
62893         ctype->charnames.
62895 2013-09-11  Jia Liu  <proljc@gmail.com>
62897         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
62898         __daddr_t_defined.
62899         [__FreeBSD__]: Likewise.
62901 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
62903         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
62904         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
62905         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
62906         (strchr): Remove __strchr_sse42 ifunc selection.
62907         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
62908         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
62910 2013-09-11  Will Newton  <will.newton@linaro.org>
62912         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
62913         parameter to RES. Remove hardcoded 1000 value.
62914         * benchtests/bench-skeleton.c (main): Pass RES parameter
62915         to TIMING_INIT and multiply result by 1000.
62917 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62921 2013-09-11  Andreas Schwab  <schwab@suse.de>
62923         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
62924         if not defined.
62925         (O_TMPFILE) [__USE_GNU]: Define.
62926         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
62927         Define.
62929 2013-09-11  Will Newton  <will.newton@linaro.org>
62931         [BZ #15857]
62932         * malloc/malloc.c (__libc_memalign): Check the value of bytes
62933         does not overflow.
62935 2013-09-11  Will Newton  <will.newton@linaro.org>
62937         [BZ #15856]
62938         * malloc/malloc.c (__libc_valloc): Check the value of bytes
62939         does not overflow.
62941 2013-09-11  Will Newton  <will.newton@linaro.org>
62943         [BZ #15855]
62944         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
62945         does not overflow.
62947 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
62949         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
62950         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62951         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62952         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62953         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62955 2013-09-10  Allan McRae  <allan@archlinux.org>
62957         [BZ #15748]
62958         * manual/arith.texi (Parsing of Floats): Clarify
62959         cross-reference.
62961         [BZ #15849]
62962         * manual/install.texi (Running make install): Mention
62963         --enable-pt-chown.
62964         * INSTALL: Regenerated.
62966 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
62968         * csu/init-first.c (_init): Remove the !SHARED condition around
62969         FPU control word initialization.
62970         * elf/dl-support.c (_dl_fpu_control): New variable.
62971         (_dl_aux_init) <AT_FPUCW>: Initialize it.
62972         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
62973         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
62974         * math/test-fpucw-static.c: New file.
62975         * math/test-fpucw-ieee.c: New file.
62976         * math/test-fpucw-ieee-static.c: New file.
62977         * math/Makefile (tests): Add `test-fpucw-ieee' and
62978         `$(tests-static)'.
62979         (tests-static): New variable.
62980         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
62981         dependency to...
62982         [($(build-shared),yes)]
62983         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
62984         ... this.
62985         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
62986         New dependency.
62988 2013-09-09  Allan McRae  <allan@archlinux.org>
62990         [BZ #15939]
62991         * manual/string.texi (Collation Functions): Fix typo in
62992         strcoll example.
62993         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
62995         [BZ #15893]
62996         * stdlib/isomac.c (get_null_defines): Fix memory leak.
62998         [BZ #15892]
62999         * libio/memstream.c (open_memstream): Fix memory leak.
63000         * libio/wmemstream.c (open_wmemstream): Likewise.
63002         [BZ #15895]
63003         * nscd/netgroupcache.c: Fix nesting of ifdefs.
63005 2013-09-09  Will Newton  <will.newton@linaro.org>
63007         * malloc/Makefile: Add tst-realloc to tests.
63008         * malloc/tst-realloc.c: New file.
63010 2013-09-09  Allan McRae  <allan@archlinux.org>
63012         [BZ #15844]
63013         * COPYING: Update from GNU website to fix FSF address.
63014         * COPYING.LIB: Likewise.
63016 2013-09-06  David S. Miller  <davem@davemloft.net>
63018         * po/zh_TW.po: Update Chinese (traditional) translation from
63019         translation project.
63021 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
63022             Joseph Myers  <joseph@codesourcery.com>
63024         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63025         "localeinfo.h".
63026         (obstack_chunk_alloc): New macro.
63027         (obstack_chunk_free): Likewise.
63028         (record_offset): New function.
63029         (init_locale_data): Likewise.
63030         (align_locale_data): Likewise.
63031         (add_locale_empty): Likewise.
63032         (add_locale_raw_data): Likewise.
63033         (add_locale_raw_obstack): Likewise.
63034         (add_locale_string): Likewise.
63035         (add_locale_wstring): Likewise.
63036         (add_locale_uint32): Likewise.
63037         (add_locale_uint32_array): Likewise.
63038         (add_locale_char): Likewise.
63039         (start_locale_structure): Likewise.
63040         (end_locale_structure): Likewise.
63041         (start_locale_prelude): Likewise.
63042         (end_locale_prelude): Likewise.
63043         (write_locale_data): Take locale_file structure rather than an
63044         iovec.
63045         * locale/programs/locfile.h: Include "obstack.h".
63046         (struct locale_file): Change to store locale file contents instead
63047         of header.
63048         (init_locale_data): New prototype.
63049         (align_locale_data): Likewise.
63050         (add_locale_empty): Likewise.
63051         (add_locale_raw_data): Likewise.
63052         (add_locale_raw_obstack): Likewise.
63053         (add_locale_string): Likewise.
63054         (add_locale_wstring): Likewise.
63055         (add_locale_uint32): Likewise.
63056         (add_locale_uint32_array): Likewise.
63057         (add_locale_char): Likewise.
63058         (start_locale_structure): Likewise.
63059         (end_locale_structure): Likewise.
63060         (start_locale_prelude): Likewise.
63061         (end_locale_prelude): Likewise.
63062         (write_locale_data): Update prototype.
63063         * locale/programs/3level.h (struct TABLE): Remove result field.
63064         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63065         Use new locale_file interface.
63066         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63067         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63068         * locale/programs/ld-address.c (address_output): Use new
63069         locale_file interface.
63070         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63071         NO_ADD_LOCALE.
63072         (collate_finish): Don't call collseq_table_finalize.
63073         (collate_output): Use new locale_file interface.
63074         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63075         in file.
63076         (NO_FINALIZE): Change to NO_ADD_LOCALE.
63077         (TABLE): Move defines earlier in file.
63078         (ELEMENT): Likewise.
63079         (DEFAULT): Likewise.
63080         (wctrans_table_add): Move macro and inline function earlier in
63081         file.
63082         (struct wctype_table): Move type earlier in file.
63083         (add_locale_wctype_table): New static prototype.
63084         (struct locale_ctype_t): Use logical types instead of struct iovec
63085         pointers for members.
63086         (ctype_output): Use new locale_file interface.
63087         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
63088         new locale_file interface.
63089         (allocate_arrays): Update for use of new locale_file interface.
63090         * locale/programs/ld-identification.c (identification_output): Use
63091         new locale_file interface.
63092         * locale/programs/ld-measurement.c (measurement_output): Likewise.
63093         * locale/programs/ld-messages.c (messages_output): Likewise.
63094         * locale/programs/ld-monetary.c (monetary_output): Likewise.
63095         * locale/programs/ld-name.c (name_output): Likewise.
63096         * locale/programs/ld-numeric.c (numeric_output): Likewise.
63097         * locale/programs/ld-paper.c (paper_output): Likewise.
63098         * locale/programs/ld-telephone.c (telephone_output): Likewise.
63099         * locale/programs/ld-time.c (time_output): Likewise.
63101 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63103         * benchtests/Makefile: Add memrchr benchmark.
63104         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
63105         benchmark as memrchr.
63106         * benchtests/bench-memrchr-ifunc.c: New file.
63107         * benchtests/bench-memrchr.c: New file.
63109 2013-09-06   Will Newton  <will.newton@linaro.org>
63111         * benchtests/Makefile (string-bench): Add memcpy.
63113 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
63114             Cong Wang  <amwang@redhat.com>
63116         [BZ #15850]
63117         * sysdeps/unix/sysv/linux/bits/in.h
63118         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
63119         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
63120         before __USE_KERNEL_IPV6_DEFS uses.
63121         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
63122         IPPROTO_BEETPH.
63123         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
63124         sockaddr_in6, or ipv6_mreq.
63126 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63128         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
63129         memory access for final bytes in some large inputs.
63130         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
63132 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63134         * string/test-memrchr.c: New file.
63135         * string/test-memrchr-ifunc.c: New file.
63136         * string/Makefile: Add new memrchr testcase.
63138 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
63140         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
63141         fanotify_init returns EPERM.
63143 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
63145         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
63146         errors.
63147         (top level): Treat second token from macro or constant entries for
63148         allowed headers as allowed.
63149         * include/complex.h: Condition internal declarations on
63150         [!_ISOMAC].
63151         * include/fenv.h: Condition include of <stdbool.h> and internal
63152         declarations on [!_ISOMAC].
63154 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
63156         [BZ #15923]
63157         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
63159 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
63161         * configure.in (--enable-versioning): Remove configure option.
63162         (libc_cv_asm_symver_directive): Remove configure test.
63163         (libc_cv_ld_version_script_option): Likewise.
63164         (VERSIONING): Remove variable and AC_SUBST.
63165         (DO_VERSIONING): Remove AC_DEFINE.
63166         * configure: Regenerated.
63167         * config.h.in (DO_VERSIONING): Remove macro.
63168         * Makerules [$(versioning) = yes]: Change conditionals to
63169         [$(build-shared) = yes].
63170         * config.make.in (versioning): Remove variable.
63171         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
63172         [$(build-shared) = yes].
63173         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
63174         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
63175         * elf/Makefile [$(versioning) = yes]: Change conditionals to
63176         [$(build-shared) = yes].
63177         * extra-lib.mk [$(versioning) = yes]: Likewise.
63178         * hurd/Makefile [$(versioning) = yes]: Likewise.
63179         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
63180         [SHARED].
63181         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
63182         [SHARED].
63183         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63184         [SHARED && !NO_HIDDEN].
63185         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
63186         [SHARED].
63187         [SHARED && DO_VERSIONING]: Likewise..
63188         * libio/Makefile [$(versioning) = yes]: Change conditionals to
63189         [$(build-shared) = yes].
63190         * manual/install.texi (--disable-versioning): Remove
63191         documentation.
63192         * INSTALL: Regenerated.
63193         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
63194         to [SHARED].
63195         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
63196         [$(build-shared) = yes].
63197         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
63198         * sysdeps/i386/i686/multiarch/strstr-c.c
63199         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63200         [SHARED && !NO_HIDDEN].
63201         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
63202         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
63203         * sysdeps/powerpc/powerpc32/dl-machine.c
63204         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
63205         * sysdeps/powerpc/powerpc32/sysdep.h
63206         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
63207         to [SHARED && PIC && !NO_HIDDEN].
63208         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
63209         conditional to [SHARED].
63211 2013-09-04   Will Newton  <will.newton@linaro.org>
63213         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
63214         * benchtests/bench-string.h: Include bench-timing.h instead
63215         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
63216         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
63217         call to HP_TIMING_DIFF_INIT.
63218         * benchtests/bench-memccpy.c: Use bench-timing.h macros
63219         instead of hp-timing.h macros.
63220         * benchtests/bench-memchr.c: Likewise.
63221         * benchtests/bench-memcmp.c: Likewise.
63222         * benchtests/bench-memcpy.c: Likewise.
63223         * benchtests/bench-memmem.c: Likewise.
63224         * benchtests/bench-memmove.c: Likewise.
63225         * benchtests/bench-memset.c: Likewise.
63226         * benchtests/bench-rawmemchr.c: Likewise.
63227         * benchtests/bench-strcasecmp.c: Likewise.
63228         * benchtests/bench-strcasestr.c: Likewise.
63229         * benchtests/bench-strcat.c: Likewise.
63230         * benchtests/bench-strchr.c: Likewise.
63231         * benchtests/bench-strcmp.c: Likewise.
63232         * benchtests/bench-strcpy.c: Likewise.
63233         * benchtests/bench-strcpy_chk.c: Likewise.
63234         * benchtests/bench-strlen.c: Likewise.
63235         * benchtests/bench-strncasecmp.c: Likewise.
63236         * benchtests/bench-strncat.c: Likewise.
63237         * benchtests/bench-strncmp.c: Likewise.
63238         * benchtests/bench-strncpy.c: Likewise.
63239         * benchtests/bench-strnlen.c: Likewise.
63240         * benchtests/bench-strpbrk.c: Likewise.
63241         * benchtests/bench-strrchr.c: Likewise.
63242         * benchtests/bench-strspn.c: Likewise.
63243         * benchtests/bench-strstr.c: Likewise.
63245 2013-09-04  Will Newton  <will.newton@linaro.org>
63247         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
63249 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
63251         [BZ #15427]
63252         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
63253         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
63254         * math/libm-test.inc (lgamma_test_data): Add more tests.
63255         * sysdeps/i386/fpu/libm-test-ulps: Update.
63256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63258 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
63260         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
63261         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63262         Add ifunc.
63263         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63264         Add strcmp-sse2-unaligned
63265         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
63267 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
63269         * Versions.def (libc): Add GLIBC_2.19.
63271 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
63273         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
63274         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
63276 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
63278         [BZ #14155]
63279         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
63280         intermediate calculations in recurrence.
63281         (__ieee754_ynf): Likewise.
63282         * math/libm-test.inc (jn_test_data): Do not allow spurious
63283         underflow exception.  Add more tests.
63284         (yn_test_data): Add more tests.
63285         * sysdeps/i386/fpu/libm-test-ulps: Update.
63286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63288 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
63290         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
63292 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
63294         * csu/init-first.c: Fix then/than typos.
63295         * locale/programs/ld-collate.c: Likewise.
63296         * locale/programs/linereader.h: Likewise.
63297         * manual/charset.texi: Likewise.
63298         * manual/filesys.texi: Likewise.
63299         * manual/stdio.texi: Likewise.
63300         * manual/string.texi: Likewise.
63301         * stdlib/fmtmsg.c: Likewise.
63302         * sysdeps/i386/stpncpy.S: Likewise.
63303         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63304         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
63305         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63306         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
63308 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
63310         * elf/dl-open.c: Fix typos.
63311         * iconvdata/gbbig5.c: Likewise.
63312         * iconvdata/iso-2022-jp.c: Likewise.
63313         * iconv/gconv_int.h: Likewise.
63314         * iconv/loop.c: Likewise.
63315         * nis/rpcsvc/nis.h: Likewise.
63316         * resolv/ns_name.c: Likewise.
63317         * stdio-common/vfscanf.c: Likewise.
63318         * streams/stropts.h: Likewise.
63319         * sunrpc/rpc_thread.c: Likewise.
63320         * sysdeps/i386/strpbrk.S: Likewise.
63321         * sysdeps/ieee754/k_standard.c: Likewise.
63322         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63323         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63324         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
63325         * sysdeps/mach/hurd/profil.c: Likewise.
63326         * sysdeps/s390/dl-procinfo.h: Likewise.
63327         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
63328         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
63329         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
63330         * sysdeps/x86_64/dl-trampoline.S: Likewise.
63331         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63333 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
63335         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
63336         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
63338 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
63340         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
63341         aix specific files.
63342         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
63343         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
63344         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
63345         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
63346         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
63347         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
63348         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
63349         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
63351 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
63352             Roland McGrath  <roland@hack.frob.com>
63354         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
63355         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
63357 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63359         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
63360         __executable_start symbol instead of _start.
63362 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
63364         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
63365         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
63366         Move macros to...
63367         * sysdeps/gnu/ldsodefs.h: ... this new file.
63369         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
63370         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
63371         instead of ELFOSABI_LINUX.
63373         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
63374         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
63375         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
63376         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
63377         Likewise.
63378         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
63379         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
63380         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
63381         Likewise.
63382         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63383         (ibm_extended_long_double): Add ieee_nan member.
63384         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
63385         (do_test): New function.
63387         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
63388         TEST_TRUNC.
63389         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
63390         functions, renamed from truncdfsf_test, trunctfsf_test,
63391         trunctfdf_test.
63392         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
63393         functions.
63394         (do_test): Run all these.
63396 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
63398         * argp/argp-help.c: Fix typos.
63399         * argp/argp-parse.c: Likewise.
63400         * debug/backtracesyms.c: Likewise.
63401         * elf/elf.h: Likewise.
63402         * malloc/malloc.c: Likewise.
63403         * nis/nis_print.c: Likewise.
63404         * resolv/res_comp.c: Likewise.
63405         * stdlib/stdlib.h: Likewise.
63406         * sunrpc/clnt_tcp.c: Likewise.
63407         * sunrpc/clnt_udp.c: Likewise.
63408         * sunrpc/clnt_unix.c: Likewise.
63409         * sysdeps/unix/bsd/ptsname.c: Likewise.
63410         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
63411         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
63412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
63413         Likewise.
63414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
63415         Likewise.
63416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
63417         Likewise.
63418         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
63420 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63422         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
63423         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63425 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
63427         [BZ #15897]
63428         * dlfcn/Makefile (tests): Add bug-dl-leaf.
63429         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
63430         ($(objpfx)bug-dl-leaf): New rule.
63431         ($(objpfx)bug-dl-leaf.so): Likewise.
63432         ($(objpfx)bug-dl-leaf.out): Likewise.
63433         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
63434         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
63435         * dlfcn/bug-dl-leaf.c: New test.
63436         * dlfcn/bug-dl-leaf-lib.c: Likewise.
63437         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
63438         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
63439         (dlclose): Likewise.
63440         (dlmopen): Likewise.
63442 2013-08-27  Roland McGrath  <roland@hack.frob.com>
63444         * include/netdb.h [!_ISOMAC]:
63445         Don't include <tls.h>.
63446         (h_errno, __libc_h_errno): Move declaration and macros out of
63447         [_LIBC_REENTRANT].
63449         * include/resolv.h [_RESOLV_H_]:
63450         Don't include <tls.h>.
63451         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
63452         * resolv/res_libc.c: Don't include <tls.h>.
63453         (_res): Use __attribute__ ((nocommon)) in place of
63454         __attribute__ ((section (".bss"))).
63456         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
63457         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
63459         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
63461         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
63462         only under [SIOCGIFCONF && SIOCGIFNETMASK].
63464         * resolv/res_mkquery.c: Include <sys/time.h>.
63466         * inet/ifreq.c: Moved to ...
63467         * sysdeps/unix/ifreq.c: ... here.
63468         * inet/ifreq.c: New file, true stub version.
63470         * socket/sa_len.c: New file.
63471         * socket/Makefile (aux): Add it.
63472         * sysdeps/unix/sysv/linux/Makefile
63473         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
63474         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
63475         and #include <socket/sa_len.c>.
63476         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
63477         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
63479         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
63480         * bits/socket.h: ... here.
63482         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
63483         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
63484         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
63486 2013-08-27  Andreas Schwab  <schwab@suse.de>
63488         [BZ #15736]
63489         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
63490         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
63491         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
63492         * string/test-strcasecmp.c (test_main): Run tests in several
63493         locales.
63494         * string/test-strncasecmp.c (test_main): Likewise.
63496         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
63497         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
63498         to __strcasecmp_nonascii and __strncasecmp_nonascii.
63499         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
63500         (__strncasecmp_ssse3) [PIC]: Likewise.
63502 2013-08-26  Roland McGrath  <roland@hack.frob.com>
63504         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
63506         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
63507         instead of explicitly declaring xdecrypt.
63508         * nis/nss_nis/nis-publickey.c: Likewise.
63510 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63512         [BZ #15890]
63513         * nscd/aicache.c: Include res_hconf.h.
63514         (addhstaiX): Initialize res_hconf.
63516 2013-08-26  Andreas Schwab  <schwab@suse.de>
63518         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
63519         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
63521 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63523         * nscd/aicache.c (addhstaiX): Fix indentation.
63525 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
63527         * configure.ac: Quote $build_pt_chown test.
63528         * configure: Regenerated.
63530 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
63532         [BZ #15532]
63533         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
63534         * math/s_cexpf.c (__cexpf): Likewise.
63535         * math/s_cexpl.c (__cexpl): Likewise.
63536         * math/libm-test.inc (cexp_test_data): Correct expected return
63537         value for NaN + i0.  Add another test.
63539 2013-08-22  David S. Miller  <davem@davemloft.net>
63541         * po/ca.po: Update Catalan translation from translation project.
63542         * po/uk.po: Add Ukrainian translations from translation project.
63544 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
63546         [BZ #15797]
63547         * math/s_fdim.c (__fdim): Check for infinite arguments if result
63548         is infinite, not alongside NaN test.
63549         * math/s_fdimf.c (__fdimf): Likewise.
63550         * math/s_fdiml.c (__fdiml): Likewise.
63551         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
63552         errno is unchanged.
63554 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
63556         * argp/argp-help.c: Fix typos.
63557         * crypt/speeds.c: Likewise.
63558         * csu/check_fds.c: Likewise.
63559         * elf/dl-load.c: Likewise.
63560         * elf/dl-open.c: Likewise.
63561         * elf/reldep3.c: Likewise.
63562         * elf/reldep.c: Likewise.
63563         * elf/sprof.c: Likewise.
63564         * iconv/iconv_charmap.c: Likewise.
63565         * iconv/skeleton.c: Likewise.
63566         * iconv/strtab.c: Likewise.
63567         * io/lockf64.c: Likewise.
63568         * libio/libioP.h: Likewise.
63569         * resolv/gai_notify.c: Likewise.
63570         * resolv/ns_name.c: Likewise.
63571         * resolv/ns_samedomain.c: Likewise.
63572         * resolv/res_send.c: Likewise.
63573         * stdlib/random.c: Likewise.
63574         * sunrpc/rpc/xdr.h: Likewise.
63575         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
63576         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
63577         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
63578         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
63579         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
63580         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
63581         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
63582         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
63583         * sysdeps/mach/hurd/check_fds.c: Likewise.
63584         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
63585         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
63586         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63587         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
63588         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
63589         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
63590         * sysdeps/pthread/aio_notify.c: Likewise.
63591         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
63592         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
63593         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
63594         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
63595         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
63597 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63599         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
63600         version if bit_Slow_SSE4_2 is set.
63601         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63602         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63604 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63606         [BZ #15867]
63607         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
63608         trampoline stack frame information.
63609         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
63610         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
63611         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
63612         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
63613         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
63614         * sysdeps/unix/sysv/linux/powerpc/init-first.c
63615         (_libc_vdso_platform_setup): Initialize the signal trampolines.
63616         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
63617         sa_flags value.
63618         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
63619         interrupting a syscall and set with option SA_SIGINFO.
63621 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
63623         [BZ #15531]
63624         * math/s_cproj.c (__cproj): Only return an infinity if one part of
63625         argument is infinite.
63626         * math/s_cprojf.c (__cprojf): Likewise.
63627         * math/s_cprojl.c (__cprojl): Likewise.
63628         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
63629         * math/libm-test.inc (cproj_test_data): Add more tests.
63631         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
63633         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
63634         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
63635         size.  Use __ffs to determine corresponding shift.
63637 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
63638             Roland McGrath  <roland@hack.frob.com>
63640         * Makefile (INSTALL): Remove trailing blank lines from output of
63641         makeinfo.
63643 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63645         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
63646         Align 32 bit compat elf_greg to 8 bytes.
63648 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
63650         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
63652 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63654         * string/strcoll_l.c (coll_seq): New structure.
63655         (get_next_seq_cached): New function.
63656         (get_next_seq): New function.
63657         (do_compare): New function.
63658         (STRCOLL): Use GNU style definition.  Simplify implementation
63659         by using get_next_seq, get_next_seq_cached and do_compare.
63661 2013-08-16  Florian Weimer  <fweimer@redhat.com>
63663         [BZ #14699]
63664         CVE-2013-4237
63665         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
63666         member.
63667         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
63668         member.
63669         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
63670         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
63671         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
63672         conditional.
63673         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
63674         GETDENTS_64BIT_ALIGNED.
63675         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
63676         * manual/filesys.texi (Reading/Closing Directory): Document
63677         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
63678         strongly.
63679         * manual/conf.texi (Limits for Files): Add portability note to
63680         NAME_MAX, PATH_MAX.
63681         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
63683 2013-08-13  Andreas Schwab  <schwab@suse.de>
63685         [BZ #15749]
63686         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
63687         of fabs.
63688         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
63689         LDBL_MAX_EXP >= 16384]: Add tests for it.
63691 2013-08-12  David S. Miller  <davem@davemloft.net>
63693         * version.h (RELEASE): Set to "development".
63694         (VERSION): Set to "2.18.90".
63695         * NEWS: Add 2.19 section.
63697 2013-08-03  David S. Miller  <davem@davemloft.net>
63699         * po/ko.po: Update Korean translation from translation project.
63701 2013-08-01  David S. Miller  <davem@davemloft.net>
63703         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
63704         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
63705         Bilka.
63707 2013-07-30  David S. Miller  <davem@davemloft.net>
63709         * po/fr.po: Update French translation from translation project.
63711 2013-07-28  David S. Miller  <davem@davemloft.net>
63713         * po/cs.po: Update Czech translation from translation project.
63715         * po/sv.po: Update Swedish translation from translation project.
63717 2013-07-27  David S. Miller  <davem@davemloft.net>
63719         * po/eo.po: Update Esperanto translation from translation project.
63721         * po/vi.po: Update Vietnamese translation from translation project.
63723         * po/de.po: Update German translation from translation project.
63725 2013-07-26  David S. Miller  <davem@davemloft.net>
63727         * po/bg.po: Update Bulgarian translation from translation project.
63729         * po/nl.po: Update Dutch translation from translation project.
63730         * po/pl.po: Update Polish translation from translation project.
63731         * po/ru.po: Update Russian translation from translation project.
63733 2013-07-24  David S. Miller  <davem@davemloft.net>
63735         * po/libc.pot: Update.
63737 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63739         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
63740         variable page size.
63741         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
63742         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
63743         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
63745 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63747         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
63749 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63750             Andreas Schwab  <schwab@suse.de>
63751             Roland McGrath  <roland@hack.frob.com>
63752             Joseph Myers  <joseph@codesourcery.com>
63753             Carlos O'Donell  <carlos@redhat.com>
63755         [BZ #15755]
63756         * config.h.in: Define HAVE_PT_CHOWN.
63757         * config.make.in (build-pt-chown): New variable.
63758         * configure.in (--enable-pt_chown): New configure option.
63759         * configure: Regenerate.
63760         * login/Makefile: Include Makeconfig.  Build pt_chown only if
63761         build-pt-chown is enabled.
63762         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
63763         pt_chown to fix pty ownership.
63764         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
63765         CLOSE_ALL_FDS.
63766         * manual/install.texi (Configuring and compiling): Mention
63767         --enable-pt_chown. Add @findex for grantpt.
63768         * INSTALL: Regenerate.
63770 2013-07-20  David S. Miller  <davem@davemloft.net>
63772         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
63773         difference between 32-bit and 64-bit.
63775 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
63777         [BZ #15711]
63778         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
63779         Avoid system header dependency with -ffreestanding.
63780         ($(objpfx)bits/syscall%d): Likewise.
63782 2013-07-13  David S. Miller  <davem@davemloft.net>
63784         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
63785         underflows from atanl/atan2l due to bug 15319.
63786         (casinh_test_data): Likewise.
63788 2013-07-07  David S. Miller  <davem@davemloft.net>
63790         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
63792 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
63794         * sysdeps/i386/fpu/libm-test-ulps: Update.
63795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63797 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63799         * configure.in (--enable-lock-elision): Fix message text.
63800         * INSTALL: Regenerate.
63801         * configure: Regenerate.
63803 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63807 2013-07-03  Andreas Jaeger  <aj@suse.de>
63809         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
63810         define.
63811         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
63812         (ptrace_peeksiginfo_args): Add.
63813         (__ptrace_peeksiginfo_flags): Add.
63814         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
63815         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
63816         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
63818 2013-07-03  Allan McRae  <allan@archlinux.org>
63820         * sysdeps/i386/fpu/libm-test-ulps: Update.
63822 2013-07-02  David S. Miller  <davem@davemloft.net>
63824         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63826 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
63828         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63830 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
63832         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
63833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63835 2013-07-02  Andi Kleen <ak@linux.intel.com>
63837         * config.h.in (ENABLE_LOCK_ELISION): Add.
63838         * configure.in (--enable-lock-elision): Add option.
63839         * manual/install.texi: Document --enable lock elision.
63840         * configure: Regenerate
63841         * INSTALL: Regenerate.
63843 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
63845         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
63846         SSE4.2 strcasecmp for libc.a.
63847         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
63849 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
63851         [BZ #13304]
63852         * soft-fp/op-common.h (_FP_FMA): New macro.
63853         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
63854         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
63855         (_FP_MUL_MEAT_1_imm): ... here.
63856         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
63857         (_FP_MUL_MEAT_1_wide): ... here.
63858         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
63859         (_FP_MUL_MEAT_1_hard): ... here.
63860         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
63861         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
63862         (_FP_MUL_MEAT_2_wide): ... here.
63863         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
63864         (_FP_MUL_MEAT_2_wide_3mul): ... here.
63865         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
63866         (_FP_MUL_MEAT_2_gmp): ... here.
63867         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
63868         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
63869         (_FP_MUL_MEAT_4_wide): ... here.
63870         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
63871         (_FP_MUL_MEAT_4_gmp): ... here.
63872         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
63873         (_FP_WFRACBITS_DW_S): Likewise.
63874         (_FP_WFRACXBITS_DW_S): Likewise.
63875         (_FP_HIGHBIT_DW_S): Likewise.
63876         (FP_FMA_S): Likewise.
63877         (_FP_FRAC_HIGH_DW_S): Likewise.
63878         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
63879         (_FP_WFRACBITS_DW_D): Likewise.
63880         (_FP_WFRACXBITS_DW_D): Likewise.
63881         (_FP_HIGHBIT_DW_D): Likewise.
63882         (FP_FMA_D): Likewise.
63883         (_FP_FRAC_HIGH_DW_D): Likewise.
63884         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
63885         (_FP_WFRACBITS_DW_E): Likewise.
63886         (_FP_WFRACXBITS_DW_E): Likewise.
63887         (_FP_HIGHBIT_DW_E): Likewise.
63888         (FP_FMA_E): Likewise.
63889         (_FP_FRAC_HIGH_DW_E): Likewise.
63890         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
63891         (_FP_WFRACBITS_DW_Q): Likewise.
63892         (_FP_WFRACXBITS_DW_Q): Likewise.
63893         (_FP_HIGHBIT_DW_Q): Likewise.
63894         (FP_FMA_Q): Likewise.
63895         (_FP_FRAC_HIGH_DW_Q): Likewise.
63896         * soft-fp/fmasf4.c: New file.
63897         * soft-fp/fmadf4.c: Likewise.
63898         * soft-fp/fmatf4.c: Likewise.
63900 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63902         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63903         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
63904         Silvermont.
63905         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
63906         macro.
63907         (index_Slow_SSE4_2): Likewise.
63908         (index_Prefer_PMINUB_for_stringop): Likewise.
63909         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
63910         bit_Slow_SSE4_2 is set.
63911         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63912         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63914 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63916         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
63917         rtld_global._dl_hwcap2.
63918         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
63919         POWER8.
63920         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
63921         POWER8 feature descriptions defined in _dl_hwcap2.
63922         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
63923         string handling for POWER8 feature bits.
63924         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
63925         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
63926         _dl_powerpc_cap_flags.
63927         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
63928         * sysdeps/powerpc/rtld-global-offsets.sym
63929         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
63930         _dl_hwcap2 in the rtld_global_ro structure.
63932 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63934         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
63935         hardware capabilities in support of AT_HWCAP2.
63936         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
63937         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
63938         GLRO(dl_hwcap2).
63939         (_dl_show_auxv): Add support for calling _dl_procinfo to display
63940         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
63941         explicitly the unknown a_type display mechanism is used.
63942         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
63943         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
63944         struct member.
63945         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
63946         to macro prototype for AT_HWCAP2 support.
63947         * sysdeps/i386/dl-procinfo.h: Likewise.
63948         * sysdeps/s390/dl-procinfo.h: Likewise.
63949         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
63950         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
63951         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
63952         return -1 for unknown a_type display fallback.
63953         * sysdeps/sparc/dl-procinfo.h: Likewise.
63954         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
63955         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
63957 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
63959         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
63960         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
63962 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
63964         [BZ #12492]
63965         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
63966         mprotect making __stack_prot writable.
63968 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
63969             Joseph Myers  <joseph@codesourcery.com>
63971         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
63972         as being properly aligned.
63974 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
63976         * dlfcn/modstatic5.c: New file.
63977         * dlfcn/tststatic5.c: New file.
63978         * dlfcn/Makefile (tests): Add tststatic5.
63979         (tests-static): Likewise.
63980         (modules-names): Add modstatic5.
63981         (tststatic5-ENV): New variable.
63982         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
63984         [BZ #15022]
63985         * elf/dl-support.c (_dl_main_map): New variable.
63986         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
63987         (_dl_nns, _dl_load_adds): Set to 1.
63988         (_dl_initial_searchlist): Refer to _dl_main_map.
63989         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
63990         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
63991         call to _dl_get_origin.
63992         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
63993         around call_map.
63994         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
63995         * dlfcn/modstatic3.c: New file.
63996         * dlfcn/tststatic3.c: New file.
63997         * dlfcn/tststatic4.c: New file.
63998         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
63999         (tests-static): Likewise.
64000         (modules-names): Add modstatic3.
64001         (tststatic3-ENV, tststatic4-ENV): New variables.
64002         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64003         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64005 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
64007         * configure.in (CC): Require GCC version 4.4 or later.
64008         * configure: Regenerated.
64009         * manual/install.texi (Tools for Compilation): Update GCC version
64010         requirement.
64011         * INSTALL: Regenerated.
64013 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64015         [BZ #15674]
64016         * string/test-memcmp.c (check2): New.
64017         (main): Call check2.
64019         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64021 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
64023         [BZ #15022]
64024         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64025         over to...
64026         (dl_open_worker) [!SHARED]: ... here.
64028 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64030         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64032 2013-06-25  Richard Henderson  <rth@redhat.com>
64034         * locale/programs/locarchive.c: Include <libc-internal.h>
64036 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
64038         * manual/texinfo.tex: Update to version 2013-06-21.17, with
64039         trailing whitespace removed.
64041 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64043         [BZ #10283]
64044         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64045         * locale/programs/locarchive.c: Include libc-mmap.h.
64046         (prepare_address_space): Take two new outputs (the mmap base and len).
64047         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
64048         values.
64049         (create_archive): Declare new mmap base and len values for
64050         prepare_address_space, and store the result in ah.
64051         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64052         (enlarge_archive): If ah->mmap_base is not NULL, use that and
64053         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64054         Declare new mmap base and len values for
64055         prepare_address_space, and store the result in new_ah.
64056         (open_archive): Declare new mmap base and len values for
64057         prepare_address_space, and store the result in ah.
64058         (close_archive): If ah->mmap_base is not NULL, use that and
64059         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64060         * sysdeps/generic/libc-mmap.h: New file.
64062 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64064         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64065         (ALIGN_UP): Likewise.
64066         (PTR_ALIGN_DOWN): Likewise.
64067         (PTR_ALIGN_UP): Likewise.
64069 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64071         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64072         entry mapped to PPC_PLATFORM_POWER8.
64073         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64074         POWER8.
64075         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64076         (_dl_string_platform): Add case for exporting platform position for
64077         POWER8.
64078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64079         search path to sysdeps/powerpc/powerpc32/power8 directory.
64080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64081         search path to sysdeps/powerpc/powerpc64/power8 directory.
64082         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64083         power7 directories.
64084         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64085         power7 directories.
64087 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
64089         * INSTALL: Regenerate.
64091         * nscd/connections.c (nscd_init): Fix comment.
64093 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
64095         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64097         [BZ #15667]
64098         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64099         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
64101 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
64103         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
64104         DL_DST_REQ_STATIC.
64105         (DL_DST_REQ_STATIC): Remove macro.
64107 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
64109         [BZ #7006]
64110         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
64111         with a shift of 0 bits.
64113 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
64115         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
64116         $(tststatic-ENV).
64118 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64120         [BZ #15655]
64121         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
64123 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64125         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
64126         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
64127         accepts -fno-tree-loop-distribute-patterns.
64128         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
64129         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
64130         recursive call.
64131         * string/memset.c (memset): Likewise.
64132         * string/test-memmove.c (simple_memmove): Disable loop transformation
64133         to library calls.
64134         * string/test-memset.c (simple_memset): Likewise.
64135         * benchtests/bench-memmove.c (simple_memmove): Likewise.
64136         * benchtests/bench-memset.c (simple_memset): Likewise.
64137         * configure: Regenerated.
64139 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
64141         * math/test-misc.c (main): Ignore fesetround failure when failures
64142         of subsequent rounding tests would be ignored.
64144         [BZ #15654]
64145         * math/fedisblxcpt.c (fedisableexcept): Return 0.
64146         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
64147         * math/fegetenv.c (__fegetenv): Return 0.
64148         * math/fegetexcept.c (fegetexcept): Return 0.
64149         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
64150         FE_TONEAREST.
64151         * math/feholdexcpt.c (feholdexcept): Return 0.
64152         * math/fesetenv.c (__fesetenv): Return 0.
64153         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
64154         argument FE_TONEAREST.
64155         * math/feupdateenv.c (__feupdateenv): Return 0.
64156         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
64158 2013-06-18  Roland McGrath  <roland@hack.frob.com>
64160         * elf/rtld-Rules (rtld-compile-command.S): New variable.
64161         (rtld-compile-command.s, rtld-compile-command.c): New variables.
64162         ($(objpfx)rtld-%.os rules): Use them.
64164 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64166         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
64167         fields.
64169 2013-06-17  Roland McGrath  <roland@hack.frob.com>
64171         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
64172         length of target pattern, then descending length of dependency pattern.
64173         * configure.in (AWK): Require gawk 3.1.2 or newer.
64174         * manual/install.texi (Tools for Compilation): Say that we do.
64175         * configure: Regenerated.
64177         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
64178         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
64179         * scripts/sysd-rules.awk: ... this new script.
64180         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
64181         than a glob-style pattern.
64183 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
64185         * math/test-misc.c (main): Do not treat incorrectly rounded
64186         conversions as failure unless ROUNDING_TESTS passes.
64188 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
64190         [BZ #15631]
64191         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
64192         restore exception state around main square root computation, then
64193         check for inexactness explicitly.
64195         * math/libm-test.inc (fma_test_data): Add another test.
64197 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64199         * manual/threads.texi (Non-POSIX Extensions): New document
64200         node.  Document pthread_getattr_default_np and
64201         pthread_setattr_default_np.
64203         * Versions.def (libpthread): Add GLIBC_2.18.
64204         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
64205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64206         Likewise.
64207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64208         Likewise.
64209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64210         Likewise.
64211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64212         Likewise.
64213         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
64214         Likewise.
64215         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64216         Likewise.
64217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64218         Likewise.
64219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64220         Likewise.
64221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64222         Likewise.
64224 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64226         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64227         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
64229 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64230             H.J. Lu  <hjl.tools@gmail.com>
64232         [BZ #15627]
64233         * sysdeps/x86_64/rtld-memset.c: Remove file.
64234         * sysdeps/x86_64/rtld-memset.S: New file.
64236 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
64238         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
64239         (test_in_one_mode): Take arguments for whether the rounding mode
64240         is supported for each floating-point type.
64241         (do_test): Pass new arguments to test_in_one_mode using
64242         ROUNDING_TESTS.
64244 2013-06-13  Roland McGrath  <roland@hack.frob.com>
64246         * posix/tst-waitid.c (do_test): Distinguish different instances of
64247         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
64248         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
64249         before entering the kernel for waitpid.
64251 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64253         * NEWS: Fix note on clock function precision.  Text by Roland
64254         McGrath.
64256 2013-06-13  Roland McGrath  <roland@hack.frob.com>
64258         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
64259         it into place only when and if the sanity check passes.
64261 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
64263         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
64264         output for whether conversion result is exact.  Take argument
64265         indicating whether type is IBM long double.
64266         (round_for_all): Change need_exact field to ibm_ld.
64267         * stdlib/tst-strtod-round.c (struct exactness): New type.
64268         (struct test): Change bool ld_ok field to struct exactness exact.
64269         (TEST): Update all definitions for change to field.
64270         (tests): Regenerate array contents.
64271         (test_in_one_mode): Take pointer to new field instead of old ld_ok
64272         field value.  Check for IBM long double here.
64273         (do_test): Update calls to test_in_one_mode.
64275 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64277         [BZ #12515]
64278         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
64279         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
64281 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64283         [BZ #15605]
64284         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
64285         generated by the compiler on loop optimizations.
64286         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
64287         general definitions.
64289 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
64291         * math/bug-nextafter.c: Include <math-tests.h>.
64292         (main): Only test for exceptions if EXCEPTION_TESTS is true for
64293         the relevant type.
64294         * math/bug-nexttoward.c: Include <math-tests.h>.
64295         (main): Only test for exceptions if EXCEPTION_TESTS is true for
64296         the relevant type.
64297         * math/test-misc.c: Include <math-tests.h>.
64298         (main): Only test for exceptions if EXCEPTION_TESTS is true for
64299         the relevant type.
64301 2013-06-12  Andreas Jaeger  <aj@suse.de>
64303         * po/ia.po: Update Interlingua translation from translation
64304         project.
64306 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
64308         * include/fenv.h: Include stdbool.h.
64309         (struct rm_ctx): New structure.
64310         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
64311         Define macro.
64312         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
64313         (SET_RESTORE_ROUNDF): Likewise.
64314         (SET_RESTORE_ROUNDL): Likewise.
64315         (SET_RESTORE_ROUND_NOEX): Likewise.
64316         (SET_RESTORE_ROUND_NOEXF): Likewise.
64317         (SET_RESTORE_ROUND_NOEXL): Likewise.
64318         (SET_RESTORE_ROUND_53BIT): Likewise.
64319         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
64320         (libc_feresetround_noexf_ctx): Likewise.
64321         (libc_feresetround_noexl_ctx): Likewise.
64322         (libc_feholdsetround_53bit_ctx): Likewise.
64323         (libc_feresetround_53bit_ctx): Likewise.
64324         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
64325         (libc_feholdexcept_setround_sse_ctx): New function.
64326         (libc_fesetenv_sse_ctx): Likewise.
64327         (libc_feupdateenv_sse_ctx): Likewise.
64328         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
64329         (libc_feholdexcept_setround_387_ctx): Likewise.
64330         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
64331         (libc_feholdsetround_387_prec_ctx): Likewise.
64332         (libc_feholdsetround_387_ctx): Likewise.
64333         (libc_feholdsetround_387_53bit_ctx): Likewise.
64334         (libc_feholdsetround_sse_ctx): Likewise.
64335         (libc_feresetround_sse_ctx): Likewise.
64336         (libc_feresetround_387_ctx): Likewise.
64337         (libc_feupdateenv_387_ctx): Likewise.
64338         (libc_feholdexcept_setroundf_ctx): Define macro.
64339         (libc_fesetenvf_ctx): Likewise.
64340         (libc_feupdateenvf_ctx): Likewise.
64341         (libc_feholdsetroundf_ctx): Likewise.
64342         (libc_feresetroundf_ctx): Likewise.
64343         (libc_feholdexcept_setround_ctx): Likewise.
64344         (libc_fesetenv_ctx): Likewise.
64345         (libc_feupdateenv_ctx): Likewise.
64346         (libc_feholdsetround_ctx): Likewise.
64347         (libc_feresetround_ctx): Likewise.
64348         (libc_feholdexcept_setroundl_ctx): Likewise.
64349         (libc_feupdateenvl_ctx): Likewise.
64350         (libc_feholdsetroundl_ctx): Likewise.
64351         (libc_feresetroundl_ctx): Likewise.
64352         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
64353         (libc_feresetround_53bit_ctx): Likewise.
64355 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64357         * locale/iso-639.def: Convert to UTF-8.
64359 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
64361         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
64362         (EXCEPTION_TESTS_double): Likewise.
64363         (EXCEPTION_TESTS_long_double): Likewise.
64364         (EXCEPTION_TESTS): Likewise.
64365         * math/libm-test.inc (test_exceptions): Only test exceptions if
64366         EXCEPTION_TESTS (FLOAT).
64368 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64370         * benchtests/Makefile (string-bench): Add strcpy_chk and
64371         stpcpy_chk.
64372         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
64373         * benchtests/bench-stpcpy_chk.c: New file.
64374         * benchtests/bench-strcpy_chk-ifunc.c: New file.
64375         * benchtests/bench-strcpy_chk.c: New file.
64376         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
64377         code.
64378         (do_test): Likewise.
64380 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64382         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
64383         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
64384         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
64385         with tabs where appropriate.
64386         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
64387         dl-procinfo.h.
64388         [PPC_PLATFORM_PPC440]: Likewise.
64389         [PPC_PLATFORM_PPC464]: Likewise.
64390         [PPC_PLATFORM_PPC476]: Likewise.
64391         (_dl_string_platform): Add support for detecting ppc405, ppc440,
64392         ppc464, and ppc476 platform strings merging from ports/
64393         dl-procinfo.h.
64395 2013-06-11  Andreas Schwab  <schwab@suse.de>
64397         [BZ #14991]
64398         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
64399         (from_ucs4_idx): Regenerate.
64400         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
64401         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
64402         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
64403         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
64404         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
64405         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
64406         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
64407         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
64408         from FROM_LOOP and TO_LOOP specific macros.
64409         (BODY): Handle combining characters.
64410         * iconvdata/BIG5HKSCS.irreversible: Update.
64411         * iconvdata/BIG5HKSCS.precomposed: New file.
64412         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
64413         characters.
64414         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
64416 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64418         * include/sys/time.h: Fix indentation and add copyright header.
64420         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
64421         (do_test): Likewise.
64422         * string/test-memchr.c (do_one_test): Likewise.
64423         (do_test): Likewise.
64424         * string/test-memcmp.c (do_one_test): Likewise.
64425         (do_test): Likewise.
64426         * string/test-memcpy.c (do_one_test): Likewise.
64427         (do_test): Likewise.
64428         * string/test-memmem.c (do_one_test): Likewise.
64429         (do_test): Likewise.
64430         (do_random_tests): Likewise.
64431         * string/test-memmove.c (do_one_test): Likewise.
64432         (do_test): Likewise.
64433         * string/test-memset.c (do_one_test): Likewise.
64434         (do_test): Likewise.
64435         * string/test-rawmemchr.c (do_one_test): Likewise.
64436         (do_test): Likewise.
64437         * string/test-strcasecmp.c (do_one_test): Likewise.
64438         (do_test): Likewise.
64439         * string/test-strcasestr.c (do_one_test): Likewise.
64440         (do_test): Likewise.
64441         * string/test-strcat.c (do_one_test): Likewise.
64442         (do_test): Likewise.
64443         * string/test-strchr.c (do_one_test): Likewise.
64444         (do_test): Likewise.
64445         * string/test-strcmp.c (do_one_test): Likewise.
64446         (do_test): Likewise.
64447         * string/test-strcpy.c (do_one_test): Likewise.
64448         (do_test): Likewise.
64449         * string/test-string.h: Likewise.
64450         (test_init): Likewise.
64451         * string/test-strlen.c (do_one_test): Likewise.
64452         (do_test): Likewise.
64453         * string/test-strncasecmp.c (do_one_test): Likewise.
64454         (do_test): Likewise.
64455         * string/test-strncat.c (do_one_test): Likewise.
64456         (do_test): Likewise.
64457         * string/test-strncmp.c (do_one_test): Likewise.
64458         (do_test_limit): Likewise.
64459         (do_test): Likewise.
64460         * string/test-strncpy.c (do_one_test): Likewise.
64461         (do_test): Likewise.
64462         * string/test-strnlen.c (do_one_test): Likewise.
64463         (do_test): Likewise.
64464         * string/test-strpbrk.c (do_one_test): Likewise.
64465         (do_test): Likewise.
64466         * string/test-strrchr.c (do_one_test): Likewise.
64467         (do_test): Likewise.
64468         * string/test-strspn.c (do_one_test): Likewise.
64469         (do_test): Likewise.
64470         * string/test-strstr.c (do_one_test): Likewise.
64471         (do_test): Likewise.
64473         * benchtests/Makefile (string-bench): Add string benchmarks.
64474         * benchtests/bench-bcopy-ifunc.c: New file.
64475         * benchtests/bench-bcopy.c: New file.
64476         * benchtests/bench-bzero-ifunc.c: New file.
64477         * benchtests/bench-bzero.c: New file.
64478         * benchtests/bench-memccpy-ifunc.c: New file.
64479         * benchtests/bench-memccpy.c: New file.
64480         * benchtests/bench-memchr-ifunc.c: New file.
64481         * benchtests/bench-memchr.c: New file.
64482         * benchtests/bench-memcmp-ifunc.c: New file.
64483         * benchtests/bench-memcmp.c: New file.
64484         * benchtests/bench-memmem-ifunc.c: New file.
64485         * benchtests/bench-memmem.c: New file.
64486         * benchtests/bench-memmove-ifunc.c: New file.
64487         * benchtests/bench-memmove.c: New file.
64488         * benchtests/bench-mempcpy-ifunc.c: New file.
64489         * benchtests/bench-mempcpy.c: New file.
64490         * benchtests/bench-memset-ifunc.c: New file.
64491         * benchtests/bench-memset.c: New file.
64492         * benchtests/bench-rawmemchr-ifunc.c: New file.
64493         * benchtests/bench-rawmemchr.c: New file.
64494         * benchtests/bench-stpcpy-ifunc.c: New file.
64495         * benchtests/bench-stpcpy.c: New file.
64496         * benchtests/bench-stpncpy-ifunc.c: New file.
64497         * benchtests/bench-stpncpy.c: New file.
64498         * benchtests/bench-strcasecmp-ifunc.c: New file.
64499         * benchtests/bench-strcasecmp.c: New file.
64500         * benchtests/bench-strcasestr-ifunc.c: New file.
64501         * benchtests/bench-strcasestr.c: New file.
64502         * benchtests/bench-strcat-ifunc.c: New file.
64503         * benchtests/bench-strcat.c: New file.
64504         * benchtests/bench-strchr-ifunc.c: New file.
64505         * benchtests/bench-strchr.c: New file.
64506         * benchtests/bench-strchrnul-ifunc.c: New file.
64507         * benchtests/bench-strchrnul.c: New file.
64508         * benchtests/bench-strcmp-ifunc.c: New file.
64509         * benchtests/bench-strcmp.c: New file.
64510         * benchtests/bench-strcpy-ifunc.c: New file.
64511         * benchtests/bench-strcpy.c: New file.
64512         * benchtests/bench-strcspn-ifunc.c: New file.
64513         * benchtests/bench-strcspn.c: New file.
64514         * benchtests/bench-strlen-ifunc.c: New file.
64515         * benchtests/bench-strlen.c: New file.
64516         * benchtests/bench-strncasecmp-ifunc.c: New file.
64517         * benchtests/bench-strncasecmp.c: New file.
64518         * benchtests/bench-strncat-ifunc.c: New file.
64519         * benchtests/bench-strncat.c: New file.
64520         * benchtests/bench-strncmp-ifunc.c: New file.
64521         * benchtests/bench-strncmp.c: New file.
64522         * benchtests/bench-strncpy-ifunc.c: New file.
64523         * benchtests/bench-strncpy.c: New file.
64524         * benchtests/bench-strnlen-ifunc.c: New file.
64525         * benchtests/bench-strnlen.c: New file.
64526         * benchtests/bench-strpbrk-ifunc.c: New file.
64527         * benchtests/bench-strpbrk.c: New file.
64528         * benchtests/bench-strrchr-ifunc.c: New file.
64529         * benchtests/bench-strrchr.c: New file.
64530         * benchtests/bench-strspn-ifunc.c: New file.
64531         * benchtests/bench-strspn.c: New file.
64532         * benchtests/bench-strstr-ifunc.c: New file.
64533         * benchtests/bench-strstr.c: New file.
64535         * benchtests/Makefile: Disable parallel execution of targets.
64536         (string-bench): Add memcpy.
64537         (benchset): New variable to store a list of benchmark sets.
64538         (bench-func): Renamed from bench.
64539         (bench-set): New target.
64540         (bench): Depend on bench-func and bench-set.
64541         * benchtests/README: Add section on benchmark sets.
64542         * benchtests/bench-memcpy-ifunc.c: New file.
64543         * benchtests/bench-memcpy.c: New file.
64544         * benchtests/bench-string.h: New file.
64546 2013-06-11  Andreas Schwab  <schwab@suse.de>
64548         [BZ #15577]
64549         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
64550         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
64551         values in the triple.
64552         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
64553         terminator in the group key.
64555 2013-06-11  Andreas Jaeger  <aj@suse.de>
64557         * po/zh_TW.po: Update Chinese (traditional) translation from
64558         translation project.
64560 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64562         * include/time.h (__clock_gettime): Add libc_hidden_proto.
64563         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
64564         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
64565         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64566         (clock_getcpuclockid): Likewise.
64567         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
64568         Add weak_alias and libc_hidden_def.
64569         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
64570         * rt/clock_gettime.c (clock_gettime): Rename to
64571         __clock_gettime.  Add weak_alias and libc_hidden_def.
64572         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
64573         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
64574         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
64575         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
64576         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
64577         Likewise.
64578         * rt/clock_settime.c (clock_settime): Rename to
64579         __clock_settime.  Add weak_alias and libc_hidden_def.
64580         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
64582 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
64584         * mach/err_boot.sub: Remove trailing whitespace.
64585         * mach/err_ipc.sub: Likewise.
64586         * mach/err_mach.sub: Likewise.
64588         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
64589         (ROUNDING_TESTS_double): Likewise.
64590         (ROUNDING_TESTS_long_double): Likewise.
64591         (ROUNDING_TESTS): Likewise.
64592         * math/libm-test.inc: Include <math-tests.h>.
64593         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
64594         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
64595         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
64596         (IF_ROUND_INIT_FE_UPWARD): Likewise.
64598 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64600         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
64601         of assigning.
64603 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
64605         * sysdeps/gnu/errlist.awk: Do not generate space at end of
64606         otherwise empty TRANS lines.
64607         * sysdeps/gnu/errlist.c: Regenerated.
64609         * catgets/gencat.c (error_print): Use (void) in function
64610         definition.
64611         * crypt/crypt_util.c (__init_des): Likewise.
64612         * crypt/speeds.c (Stop): Likewise.
64613         (main): Likewise.
64614         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
64615         * inet/ruserpass.c (token): Likewise.
64616         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
64617         * intl/localealias.c (extend_alias_table): Likewise.
64618         * intl/plural-exp.c (init_germanic_plural): Likewise.
64619         * libio/fcloseall.c (__fcloseall): Likewise.
64620         * libio/genops.c (_IO_flush_all): Likewise.
64621         (_IO_flush_all_linebuffered): Likewise.
64622         (_IO_cleanup): Likewise.
64623         (_IO_iter_begin): Likewise.
64624         (_IO_iter_end): Likewise.
64625         (_IO_list_lock): Likewise.
64626         (_IO_list_unlock): Likewise.
64627         (_IO_list_resetlock): Likewise.
64628         * libio/getchar.c (getchar): Likewise.
64629         * libio/getchar_u.c (getchar_unlocked): Likewise.
64630         * libio/getwchar.c (getwchar): Likewise.
64631         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
64632         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
64633         * login/getpt.c (__getpt): Likewise.
64634         * login/tst-utmp.c (main): Likewise.
64635         * malloc/hooks.c (__malloc_check_init): Likewise.
64636         * malloc/malloc.c (__malloc_stats): Likewise.
64637         * malloc/mtrace.c (tr_break): Likewise.
64638         (mtrace): Likewise.
64639         (muntrace): Likewise.
64640         * misc/fstab.c (endfsent): Likewise.
64641         * misc/getclktck.c (__getclktck): Likewise.
64642         * misc/getdtsz.c (__getdtablesize): Likewise.
64643         * misc/gethostid.c (gethostid): Likewise.
64644         * misc/getpagesize.c (__getpagesize): Likewise.
64645         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
64646         (__get_nprocs): Likewise.
64647         (__get_phys_pages): Likewise.
64648         (__get_avphys_pages): Likewise.
64649         * misc/getttyent.c (getttyent): Likewise.
64650         (setttyent): Likewise.
64651         (endttyent): Likewise.
64652         * misc/getusershell.c (getusershell): Likewise.
64653         (endusershell): Likewise.
64654         (setusershell): Likewise.
64655         (initshells): Likewise.
64656         * misc/hsearch.c (__hdestroy): Likewise.
64657         * misc/sync.c (sync): Likewise.
64658         * misc/syslog.c (closelog_internal): Likewise.
64659         (closelog): Likewise.
64660         * misc/ttyslot.c (ttyslot): Likewise.
64661         * misc/vhangup.c (vhangup): Likewise.
64662         * posix/fork.c (__fork): Likewise.
64663         * posix/getegid.c (__getegid): Likewise.
64664         * posix/geteuid.c (__geteuid): Likewise.
64665         * posix/getgid.c (__getgid): Likewise.
64666         * posix/getpid.c (__getpid): Likewise.
64667         * posix/getppid.c (__getppid): Likewise.
64668         * posix/getuid.c (__getuid): Likewise.
64669         * posix/pause.c (pause): Likewise.
64670         * posix/setpgrp.c (setpgrp): Likewise.
64671         * posix/setsid.c (__setsid): Likewise.
64672         * posix/test-vfork.c (noop): Likewise.
64673         * resolv/gethnamaddr.c (_endhtent): Likewise.
64674         (_gethtent): Likewise.
64675         (ht_endhostent): Likewise.
64676         (gethostent): Likewise.
64677         (dns_service): Likewise.
64678         * stdlib/drand48.c (drand48): Likewise.
64679         * stdlib/lrand48.c (lrand48): Likewise.
64680         * stdlib/mrand48.c (mrand48): Likewise.
64681         * stdlib/rand.c (rand): Likewise.
64682         * stdlib/random.c (__random): Likewise.
64683         * stdlib/setenv.c (clearenv): Likewise.
64684         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
64685         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
64686         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
64687         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
64688         (__get_nprocs): Likewise.
64689         (__get_phys_pages): Likewise.
64690         (__get_avphys_pages): Likewise.
64691         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
64692         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
64693         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
64694         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
64695         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
64696         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
64697         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
64698         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
64699         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
64700         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
64701         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
64702         * sysdeps/mach/hurd/sync.c (sync): Likewise.
64703         * sysdeps/posix/clock.c (clock): Likewise.
64704         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
64705         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
64706         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
64707         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
64708         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
64709         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
64710         (__get_nprocs_conf): Likewise.
64711         (__get_phys_pages): Likewise.
64712         (__get_avphys_pages): Likewise.
64713         * time/clock.c (clock): Likewise.
64714         * time/tzset.c (__tzname_max): Likewise.
64716 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
64718         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
64719         (__bswap_32): Do not use "register".
64720         * crypt/crypt.c (_ufc_doit_r): Likewise.
64721         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
64722         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
64723         * gmon/gmon.c (__monstartup): Likewise.
64724         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
64725         * hurd/hurdmalloc.c (more_memory): Likewise.
64726         (malloc): Likewise.
64727         (free): Likewise.
64728         (realloc): Likewise.
64729         (malloc_fork_prepare): Likewise.
64730         (malloc_fork_parent): Likewise.
64731         (malloc_fork_child): Likewise.
64732         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
64733         (_svcauth_des): Likewise.
64734         * inet/inet_lnaof.c (inet_lnaof): Likewise.
64735         * inet/inet_net.c (inet_network): Likewise.
64736         * inet/inet_netof.c (inet_netof): Likewise.
64737         * inet/rcmd.c (__validuser2_sa): Likewise.
64738         * io/fts.c (fts_open): Likewise.
64739         (fts_load): Likewise.
64740         (fts_close): Likewise.
64741         (fts_read): Likewise.
64742         (fts_children): Likewise.
64743         (fts_build): Likewise.
64744         (fts_stat): Likewise.
64745         (fts_sort): Likewise.
64746         (fts_alloc): Likewise.
64747         (fts_lfree): Likewise.
64748         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
64749         (_IO_file_xsgetn): Likewise.
64750         (_IO_file_xsgetn_mmap): Likewise.
64751         * libio/iofopncook.c (_IO_cookie_read): Likewise.
64752         (_IO_cookie_write): Likewise.
64753         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
64754         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
64755         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
64756         * malloc/obstack.c (_obstack_begin): Likewise.
64757         (_obstack_begin_1): Likewise.
64758         (_obstack_newchunk): Likewise.
64759         (_obstack_allocated_p): Likewise.
64760         (obstack_free): Likewise.
64761         (_obstack_memory_used): Likewise.
64762         * misc/getttyent.c (getttynam): Likewise.
64763         (getttyent): Likewise.
64764         (skip): Likewise.
64765         (value): Likewise.
64766         * misc/getusershell.c (initshells): Likewise.
64767         * misc/syslog.c (__vsyslog_chk): Likewise.
64768         * misc/ttyslot.c (ttyslot): Likewise.
64769         * nis/nis_hash.c (__nis_hash): Likewise.
64770         * posix/fnmatch_loop.c (FCT): Likewise.
64771         * posix/getconf.c (print_all): Likewise.
64772         (main): Likewise.
64773         * posix/getopt.c (exchange): Likewise.
64774         * posix/glob.c (globfree): Likewise.
64775         (prefix_array): Likewise.
64776         (__glob_pattern_type): Likewise.
64777         * resolv/arpa/nameser.h (NS_GET16): Likewise.
64778         (NS_GET32): Likewise.
64779         (NS_PUT16): Likewise.
64780         (NS_PUT32): Likewise.
64781         * resolv/gethnamaddr.c (getanswer): Likewise.
64782         (gethostbyname2): Likewise.
64783         (gethostbyaddr): Likewise.
64784         (_gethtent): Likewise.
64785         (_gethtbyname2): Likewise.
64786         (_gethtbyaddr): Likewise.
64787         * resolv/ns_print.c (dst_s_get_int16): Likewise.
64788         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
64789         * resolv/res_init.c (__res_vinit): Likewise.
64790         (net_mask): Likewise.
64791         * resolv/res_mkquery.c (outchar): Likewise.
64792         (PRINT): Likewise.
64793         * stdio-common/printf_fp.c (outchar): Likewise.
64794         (PRINT): Likewise.
64795         * stdio-common/printf_fphex.c (outchar): Likewise.
64796         (PRINT): Likewise.
64797         * stdio-common/printf_size.c (outchar): Likewise.
64798         (PRINT): Likewise.
64799         * stdio-common/test_rdwr.c (main): Likewise.
64800         * stdio-common/tfformat.c (matches): Likewise.
64801         * stdio-common/vfprintf.c (outchar): Likewise.
64802         (printf_unknown): Likewise.
64803         (buffered_vfprintf): Likewise.
64804         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
64805         * stdio-common/xbug.c (AppendToBuffer): Likewise.
64806         (ReadFile): Likewise.
64807         * stdlib/qsort.c (SWAP): Likewise.
64808         (_quicksort): Likewise.
64809         * stdlib/setenv.c (__add_to_environ): Likewise.
64810         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
64811         * stdlib/strtol_l.c (__strtol_l): Likewise.
64812         * stdlib/tst-strtod.c (main): Likewise.
64813         * stdlib/tst-strtol.c (main): Likewise.
64814         * stdlib/tst-strtoll.c (main): Likewise.
64815         * string/bits/string2.h (__strcmp_cc): Likewise.
64816         (__strcmp_cg): Likewise.
64817         (__strcspn_c1): Likewise.
64818         (__strcspn_c2): Likewise.
64819         (__strcspn_c3): Likewise.
64820         (__strspn_c1): Likewise.
64821         (__strspn_c2): Likewise.
64822         (__strspn_c3): Likewise.
64823         (__strsep_1c): Likewise.
64824         (__strsep_2c): Likewise.
64825         (__strsep_3c): Likewise.
64826         * string/memccpy.c (__memccpy): Likewise.
64827         * string/stpcpy.c (__stpcpy): Likewise.
64828         * string/strcmp.c (strcmp): Likewise.
64829         * string/strrchr.c (strrchr): Likewise.
64830         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
64831         Likewise.
64832         * sysdeps/mach/hurd/getcwd.c
64833         (_hurd_canonicalize_directory_name_internal): Likewise.
64834         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
64835         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
64836         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
64837         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
64838         Likewise, in both definitions.
64839         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
64840         definitions.
64841         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
64842         64] (__bswap_64): Likewise.
64843         * time/test_time.c (main): Likewise.
64844         * time/tzfile.c (__tzfile_read): Likewise.
64845         (__tzfile_compute): Likewise.
64846         * time/tzset.c (__tzset_parse_tz): Likewise.
64847         (tzset_internal): Likewise.
64848         (compute_change): Likewise.
64849         * wcsmbs/wcscat.c (__wcscat): Likewise.
64850         * wcsmbs/wcschr.c (wcschr): Likewise.
64851         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
64852         * wcsmbs/wcscspn.c (wcscspn): Likewise.
64853         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
64854         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
64855         * wcsmbs/wcsspn.c (wcsspn): Likewise.
64856         * wcsmbs/wcsstr.c (wcsstr): Likewise.
64857         * wcsmbs/wmemchr.c (wmemchr): Likewise.
64858         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
64859         * wcsmbs/wmemset.c (wmemset): Likewise.
64861 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
64863         * scripts/config.guess: Update to version 2013-05-16.
64864         * scripts/config.sub: Update to version 2013-04-24.
64865         * scripts/install-sh: Update to version 2011-11-20.07.
64866         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
64867         * scripts/move-if-change: Update to version 2012-01-06 07:23.
64869 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
64871         * debug/fgetws_u_chk.c: Fix leading whitespaces.
64872         * elf/sln.c: Likewise.
64873         * hurd/hurd/ioctl.h: Likewise.
64874         * hurd/hurdmalloc.c: Likewise.
64875         * hurd/xattr.c: Likewise.
64876         * include/shlib-compat.h: Likewise.
64877         * inet/ruserpass.c: Likewise.
64878         * libio/iofgets_u.c: Likewise.
64879         * libio/iofgetws_u.c: Likewise.
64880         * locale/programs/ld-identification.c: Likewise.
64881         * locale/programs/ld-time.c: Likewise.
64882         * mach/msg-destroy.c: Likewise.
64883         * nss/nss_files/files-netgrp.c: Likewise.
64884         * resolv/res_data.c: Likewise.
64885         * soft-fp/op-1.h: Likewise.
64886         * soft-fp/op-2.h: Likewise.
64887         * soft-fp/op-4.h: Likewise.
64888         * soft-fp/op-common.h: Likewise.
64889         * stdio-common/printf_fphex.c: Likewise.
64890         * stdlib/strtod_l.c: Likewise.
64891         * sunrpc/rpc/clnt.h: Likewise.
64892         * sysdeps/generic/framestate.c: Likewise.
64893         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64894         * sysdeps/i386/bsd-setjmp.S: Likewise.
64895         * sysdeps/i386/__longjmp.S: Likewise.
64896         * sysdeps/i386/setjmp.S: Likewise.
64897         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64898         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64899         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64900         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64901         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64902         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
64903         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64904         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64905         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64906         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
64907         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
64908         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
64909         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
64910         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
64911         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
64912         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64913         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
64914         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
64915         * sysdeps/ieee754/support.c: Likewise.
64916         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64917         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
64918         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
64919         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
64920         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
64921         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
64922         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
64923         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
64924         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
64925         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
64926         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
64927         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
64928         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
64929         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
64930         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
64931         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
64932         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
64935 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
64937         * posix/transbug.c: Remove executable mode.
64939 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
64941         * crypt/speeds.c: Remove trailing whitespace.
64942         * dlfcn/default.c: Likewise.
64943         * elf/ifuncdep2.c: Likewise.
64944         * elf/ifuncmain1.c: Likewise.
64945         * elf/ifuncmain1vis.c: Likewise.
64946         * elf/testobj.h: Likewise.
64947         * elf/tst-stackguard1.c: Likewise.
64948         * gmon/sys/gmon.h: Likewise.
64949         * hurd/hurdmsg.c: Likewise.
64950         * hurd/new-fd.c: Likewise.
64951         * hurd/ports-get.c: Likewise.
64952         * iconvdata/ibm1008_420.c: Likewise.
64953         * inet/tst-getni1.c: Likewise.
64954         * inet/tst-getni2.c: Likewise.
64955         * libio/ioungetc.c: Likewise.
64956         * libio/wfiledoalloc.c: Likewise.
64957         * manual/libm-err-tab.pl: Likewise.
64958         * math/w_dremf.c: Likewise.
64959         * misc/ftruncate.c: Likewise.
64960         * posix/bug-glob2.c: Likewise.
64961         * posix/tst-pcre.c: Likewise.
64962         * posix/wait4.c: Likewise.
64963         * resolv/README: Likewise.
64964         * resolv/res_debug.h: Likewise.
64965         * resolv/tst-inet_ntop.c: Likewise.
64966         * setjmp/bug269-setjmp.c: Likewise.
64967         * soft-fp/extended.h: Likewise.
64968         * soft-fp/op-1.h: Likewise.
64969         * soft-fp/op-2.h: Likewise.
64970         * soft-fp/op-4.h: Likewise.
64971         * soft-fp/op-8.h: Likewise.
64972         * soft-fp/testit.c: Likewise.
64973         * stdio-common/bug16.c: Likewise.
64974         * stdlib/random.c: Likewise.
64975         * sunrpc/rpcsvc/rquota.x: Likewise.
64976         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
64977         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64978         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64979         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64980         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64981         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64982         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64983         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64984         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64985         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64986         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64987         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
64988         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64989         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
64990         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64991         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
64992         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
64993         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64994         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
64995         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64996         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64997         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64998         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
64999         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65000         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65001         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65002         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65003         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65004         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65005         * sysdeps/ieee754/s_lib_version.c: Likewise.
65006         * sysdeps/mach/hurd/check_fds.c: Likewise.
65007         * sysdeps/mach/hurd/getsockname.c: Likewise.
65008         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65009         * sysdeps/mach/hurd/recvfrom.c: Likewise.
65010         * sysdeps/powerpc/bits/link.h: Likewise.
65011         * sysdeps/powerpc/dl-procinfo.c: Likewise.
65012         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65013         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65014         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65015         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65016         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65017         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65018         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65019         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65020         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65021         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65022         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65023         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65024         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65025         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65026         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65027         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65028         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65029         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65030         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65031         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65032         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65033         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65034         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65035         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65036         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65037         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65038         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65039         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65040         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65041         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65042         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65043         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65044         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65045         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65046         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65047         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65048         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65049         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65050         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65051         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65052         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65053         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65054         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65055         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65056         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65057         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65058         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65059         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65060         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65061         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65062         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65063         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65064         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65065         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65066         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65067         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65068         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65069         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65070         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65071         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65072         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65073         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65074         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65075         * sysdeps/powerpc/sysdep.h: Likewise.
65076         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65077         * sysdeps/s390/s390-64/sub_n.S: Likewise.
65078         * sysdeps/sh/dl-trampoline.S: Likewise.
65079         * sysdeps/sh/memset.S: Likewise.
65080         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65081         * sysdeps/sh/strlen.S: Likewise.
65082         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65083         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65084         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65085         * sysdeps/sparc/sparc32/rem.S: Likewise.
65086         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65087         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65088         * sysdeps/sparc/sparc32/strchr.S: Likewise.
65089         * sysdeps/sparc/sparc32/udiv.S: Likewise.
65090         * sysdeps/sparc/sparc32/urem.S: Likewise.
65091         * sysdeps/sparc/sparc64/add_n.S: Likewise.
65092         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65093         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65094         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65095         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65096         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65097         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65098         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65099         * sysdeps/unix/bsd/times.c: Likewise.
65100         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
65101         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
65102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
65103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
65104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
65105         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
65106         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
65107         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
65108         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
65109         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
65110         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
65111         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65112         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
65113         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65114         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65115         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
65116         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65117         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
65118         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
65119         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
65120         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
65121         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
65122         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65123         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
65124         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
65125         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
65126         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
65127         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65128         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
65129         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
65130         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
65131         * sysdeps/x86_64/strcspn.S: Likewise.
65133 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65135         * locale/C-translit.h: Revert #include <stdint.h> because this is a
65136         generated file.  Regenerate properly from gen-translit.pl.
65137         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
65138         locale/C-translit.h.
65140 2013-06-05  Andreas Schwab  <schwab@suse.de>
65142         [BZ #15100]
65143         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
65144         week as 6 instead of -1.
65145         * time/tst-strptime.c (day_tests): Add test case.
65147 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
65149         * sysdeps/generic/math_private.h
65150         (libc_feholdexcept_setround_53bit): Replace with
65151         libc_feholdsetround_53bit.
65152         (libc_feupdateenv_53bit): Replace with
65153         libc_feresetround_53bit.
65154         (SET_RESTORE_ROUND_53BIT): Adjust.
65156 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
65158         * string/test-strchrnul.c: Add copyright header.
65160         * posix/tst-getaddrinfo4.c: Increase test timeout.
65162 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
65164         [BZ #15536]
65165         * math/libm-test.inc (MAX_EXP): Remove
65166         (MIN_EXP): Define.
65167         (ulp): Use MIN_EXP - MANT_DIG.
65168         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
65170 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
65172         * po/be.po: Revert last change.
65173         * po/zh_CN.po: Likewise.
65174         * po/header.pot: Likewise.
65176 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
65178         * Makefile ($(common-objpfx)linkobj/libc.so): Define
65179         link-libc-deps to empty as target-specific variable.
65180         * Makerules (link-libc-args): New variable.
65181         (libc-for-link): Likewise.
65182         (link-libc-deps): Likewise.
65183         (lib%.so): Depend on $(link-libc-deps).  Link with
65184         $(link-libc-args).
65185         (build-module): Link with $(link-libc-args).
65186         (build-module-asneeded): Likewise.
65187         (build-module-helper-objlist): Filter out $(link-libc-deps) from
65188         list of objects.
65189         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
65190         target-specific variable.
65191         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
65192         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
65193         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
65194         libc.
65195         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
65196         libc and ld.so.
65197         ($(objpfx)libpcprofile.so): Likewise.
65198         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
65199         libc_nonshared.a.
65200         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
65201         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
65202         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
65203         $(link-libc-deps).
65204         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
65205         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
65206         * login/Makefile ($(objpfx)libutil.so): Likewise.
65207         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
65208         * math/Makefile ($(objpfx)libm.so): Likewise.
65209         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
65210         $(objpfx)libnsl.so): Define libc-for-link as target-specific
65211         variable instead of depending directly on libc.
65212         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
65213         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
65214         $(link-libc-deps).
65215         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
65216         libc.
65217         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
65218         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
65219         ($(objpfx)libanl.so): Likewise.
65220         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
65221         ld.so.
65222         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
65223         $(link-libc-deps).
65224         * sysdeps/i386/fpu/Makefile: Remove file.
65225         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
65226         ($(objpfx)libm.so): Remove dependency on ld.so.
65228 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
65230         [BZ # 15553]
65231         * nis/yp_xdr.c (XDRMAXNAME): Define.
65232         (XDRMAXRECORD): Define.
65233         (xdr_domainname): Use XDRMAXNAME.
65234         (xdr_mapname): Likewise.
65235         (xdr_peername): Likewise.
65236         (xdr_keydat): Use XDRMAXRECORD.
65237         (xdr_valdat): Likewise.
65239 2013-05-30  Jeff Law  <law@redhat.com>
65241         [BZ #14256]
65242         * manual/errno.texi (ESTALE): Update to account for more than
65243         just NFS file systems.
65244         * sysdeps/gnu/errlist.c: Regenerated.
65246 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65248         [BZ #15465]
65249         * elf/Makefile (tests): Add tst-null-argv.
65250         (modules-names):  Add tst-null-argv-lib.
65251         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
65252         (tst-null-argv-ENV): Set environment for tst-null-argv.
65253         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
65254         (RTLD_PROGNAME): New macro.
65255         * elf/tst-null-argv.c: New test case.
65256         * elf/tst-null-argv-lib.c: Library for test case.
65257         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
65258         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
65259         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
65260         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
65261         * elf/dl-init.c (call_init): Likewise.
65262         (_dl_init): Likewise.
65263         * elf/dl-load.c (print_search_path): Likewise.
65264         (_dl_map_object): Likewise.
65265         * elf/dl-lookup.c (do_lookup_x): Likewise.
65266         (add_dependency): Likewise.
65267         (_dl_lookup_symbol_x): Likewise.
65268         (_dl_debug_bindings): Likewise.
65269         * elf/dl-open.c (_dl_show_scope): Likewise.
65270         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
65271         * elf/dl-version.c (match_symbol): Likewise.
65272         (_dl_check_map_versions): Likewise.
65273         * elf/rtld.c (dl_main): Likewise.
65274         (print_unresolved): Use RTLD_PROGNAME.
65275         (print_missing_version): Likewise.
65276         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
65277         (elf_machine_rela): Likewise.
65278         * sysdeps/powerpc/powerpc32/dl-machine.c
65279         (__process_machine_rela): Likewise.
65280         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65281         Likewise.
65282         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65283         Likewise.
65284         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
65285         Likewise.
65286         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65287         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
65288         Likewise.
65289         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
65290         Likewise.
65291         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65293 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
65295         * po/be.po: Add descriptive title.
65296         * po/zh_CN.po: Likewise.
65297         * po/header.pot: Likewise.
65299 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
65301         * locale/programs/locarchive.c (create_archive): Inlucde fname in
65302         error message.
65303         (enlarge_archive): Likewise.
65305 2013-05-28  Ben North  <ben@redfrontdoor.org>
65307         * manual/arith.texi (frexp): It is the magnitude of the return
65308         value which lies in [0.5, 1), not the return value itself.
65310 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65314 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
65316         * stdio-common/bug26.c (main): Correct fscanf template.
65318         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
65319         declare _dl_skip_args.
65321         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
65322         Don't declare.
65324         * manual/platform.texi: Add missing @end deftypefun.
65326 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
65328         [BZ #15529]
65329         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
65330         bit of mantissa of 2^16382.
65331         * math/libm-test.inc (hypot_test_data): Add more tests.
65333         * math/libm-test.inc: Add drem and pow10 to list of tested
65334         functions.
65335         (pow10_test): New function.
65336         (drem_test): Likewise.
65337         (drem_test_tonearest): Likewise.
65338         (drem_test_towardzero): Likewise.
65339         (drem_test_downward): Likewise.
65340         (drem_test_upward): Likewise.
65341         (main): Call the new functions.
65343         * math/libm-test.inc (finite_test_data): Remove.
65344         (finite_test): Run tests from isfinite_test_data.
65345         (gamma_test_data): Remove.
65346         (gamma_test): Run tests from lgamma_test_data.
65347         * sysdeps/i386/fpu/libm-test-ulps: Update.
65348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65350 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65352         * manual/platform.texi: Add PowerPC PPR function set documentation.
65353         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
65354         implementation.
65356 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
65358         * math/libm-test.inc (MAX_EXP): Define.
65359         (ULPDIFF): Define.
65360         (ulp): New function.
65361         (check_float_internal): Use ULPDIFF.
65362         (cpow_test): Disable failing test.
65363         (check_ulp): Test ulp() implementation.
65364         (main): Call check_ulp before starting tests.
65366 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
65368         * math/gen-libm-test.pl (generate_testfile): Do not handle
65369         START_DATA and END_DATA.
65370         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
65371         END_DATA.
65372         (acos_tonearest_test_data): Likewise.
65373         (acos_towardzero_test_data): Likewise.
65374         (acos_downward_test_data): Likewise.
65375         (acos_upward_test_data): Likewise.
65376         (acosh_test_data): Likewise.
65377         (asin_test_data): Likewise.
65378         (asin_tonearest_test_data): Likewise.
65379         (asin_towardzero_test_data): Likewise.
65380         (asin_downward_test_data): Likewise.
65381         (asin_upward_test_data): Likewise.
65382         (asinh_test_data): Likewise.
65383         (atan_test_data): Likewise.
65384         (atanh_test_data): Likewise.
65385         (atan2_test_data): Likewise.
65386         (cabs_test_data): Likewise.
65387         (cacos_test_data): Likewise.
65388         (cacosh_test_data): Likewise.
65389         (carg_test_data): Likewise.
65390         (casin_test_data): Likewise.
65391         (casinh_test_data): Likewise.
65392         (catan_test_data): Likewise.
65393         (catanh_test_data): Likewise.
65394         (cbrt_test_data): Likewise.
65395         (ccos_test_data): Likewise.
65396         (ccosh_test_data): Likewise.
65397         (ceil_test_data): Likewise.
65398         (cexp_test_data): Likewise.
65399         (cimag_test_data): Likewise.
65400         (clog_test_data): Likewise.
65401         (clog10_test_data): Likewise.
65402         (conj_test_data): Likewise.
65403         (copysign_test_data): Likewise.
65404         (cos_test_data): Likewise.
65405         (cos_tonearest_test_data): Likewise.
65406         (cos_towardzero_test_data): Likewise.
65407         (cos_downward_test_data): Likewise.
65408         (cos_upward_test_data): Likewise.
65409         (cosh_test_data): Likewise.
65410         (cosh_tonearest_test_data): Likewise.
65411         (cosh_towardzero_test_data): Likewise.
65412         (cosh_downward_test_data): Likewise.
65413         (cosh_upward_test_data): Likewise.
65414         (cpow_test_data): Likewise.
65415         (cproj_test_data): Likewise.
65416         (creal_test_data): Likewise.
65417         (csin_test_data): Likewise.
65418         (csinh_test_data): Likewise.
65419         (csqrt_test_data): Likewise.
65420         (ctan_test_data): Likewise.
65421         (ctan_tonearest_test_data): Likewise.
65422         (ctan_towardzero_test_data): Likewise.
65423         (ctan_downward_test_data): Likewise.
65424         (ctan_upward_test_data): Likewise.
65425         (ctanh_test_data): Likewise.
65426         (ctanh_tonearest_test_data): Likewise.
65427         (ctanh_towardzero_test_data): Likewise.
65428         (ctanh_downward_test_data): Likewise.
65429         (ctanh_upward_test_data): Likewise.
65430         (erf_test_data): Likewise.
65431         (erfc_test_data): Likewise.
65432         (exp_test_data): Likewise.
65433         (exp_tonearest_test_data): Likewise.
65434         (exp_towardzero_test_data): Likewise.
65435         (exp_downward_test_data): Likewise.
65436         (exp_upward_test_data): Likewise.
65437         (exp10_test_data): Likewise.
65438         (exp2_test_data): Likewise.
65439         (expm1_test_data): Likewise.
65440         (fabs_test_data): Likewise.
65441         (fdim_test_data): Likewise.
65442         (finite_test_data): Likewise.
65443         (floor_test_data): Likewise.
65444         (fma_test_data): Likewise.
65445         (fma_towardzero_test_data): Likewise.
65446         (fma_downward_test_data): Likewise.
65447         (fma_upward_test_data): Likewise.
65448         (fmax_test_data): Likewise.
65449         (fmin_test_data): Likewise.
65450         (fmod_test_data): Likewise.
65451         (fpclassify_test_data): Likewise.
65452         (frexp_test_data): Likewise.
65453         (gamma_test_data): Likewise.
65454         (hypot_test_data): Likewise.
65455         (ilogb_test_data): Likewise.
65456         (isfinite_test_data): Likewise.
65457         (isgreater_test_data): Likewise.
65458         (isgreaterequal_test_data): Likewise.
65459         (isinf_test_data): Likewise.
65460         (isless_test_data): Likewise.
65461         (islessequal_test_data): Likewise.
65462         (islessgreater_test_data): Likewise.
65463         (isnan_test_data): Likewise.
65464         (isnormal_test_data): Likewise.
65465         (issignaling_test_data): Likewise.
65466         (isunordered_test_data): Likewise.
65467         (j0_test_data): Likewise.
65468         (j1_test_data): Likewise.
65469         (jn_test_data): Likewise.
65470         (ldexp_test_data): Likewise.
65471         (lgamma_test_data): Likewise.
65472         (lrint_test_data): Likewise.
65473         (lrint_tonearest_test_data): Likewise.
65474         (lrint_towardzero_test_data): Likewise.
65475         (lrint_downward_test_data): Likewise.
65476         (lrint_upward_test_data): Likewise.
65477         (llrint_test_data): Likewise.
65478         (llrint_tonearest_test_data): Likewise.
65479         (llrint_towardzero_test_data): Likewise.
65480         (llrint_downward_test_data): Likewise.
65481         (llrint_upward_test_data): Likewise.
65482         (log_test_data): Likewise.
65483         (log10_test_data): Likewise.
65484         (log1p_test_data): Likewise.
65485         (log2_test_data): Likewise.
65486         (logb_test_data): Likewise.
65487         (logb_downward_test_data): Likewise.
65488         (lround_test_data): Likewise.
65489         (llround_test_data): Likewise.
65490         (modf_test_data): Likewise.
65491         (nearbyint_test_data): Likewise.
65492         (nextafter_test_data): Likewise.
65493         (nexttoward_test_data): Likewise.
65494         (pow_test_data): Likewise.
65495         (pow_tonearest_test_data): Likewise.
65496         (pow_towardzero_test_data): Likewise.
65497         (pow_downward_test_data): Likewise.
65498         (pow_upward_test_data): Likewise.
65499         (remainder_test_data): Likewise.
65500         (remainder_tonearest_test_data): Likewise.
65501         (remainder_towardzero_test_data): Likewise.
65502         (remainder_downward_test_data): Likewise.
65503         (remainder_upward_test_data): Likewise.
65504         (remquo_test_data): Likewise.
65505         (rint_test_data): Likewise.
65506         (rint_tonearest_test_data): Likewise.
65507         (rint_towardzero_test_data): Likewise.
65508         (rint_downward_test_data): Likewise.
65509         (rint_upward_test_data): Likewise.
65510         (round_test_data): Likewise.
65511         (scalb_test_data): Likewise.
65512         (scalbn_test_data): Likewise.
65513         (scalbln_test_data): Likewise.
65514         (signbit_test_data): Likewise.
65515         (sin_test_data): Likewise.
65516         (sin_tonearest_test_data): Likewise.
65517         (sin_towardzero_test_data): Likewise.
65518         (sin_downward_test_data): Likewise.
65519         (sin_upward_test_data): Likewise.
65520         (sincos_test_data): Likewise.
65521         (sinh_test_data): Likewise.
65522         (sinh_tonearest_test_data): Likewise.
65523         (sinh_towardzero_test_data): Likewise.
65524         (sinh_downward_test_data): Likewise.
65525         (sinh_upward_test_data): Likewise.
65526         (sqrt_test_data): Likewise.
65527         (tan_test_data): Likewise.
65528         (tan_tonearest_test_data): Likewise.
65529         (tan_towardzero_test_data): Likewise.
65530         (tan_downward_test_data): Likewise.
65531         (tan_upward_test_data): Likewise.
65532         (tanh_test_data): Likewise.
65533         (tgamma_test_data): Likewise.
65534         (trunc_test_data): Likewise.
65535         (y0_test_data): Likewise.
65536         (y1_test_data): Likewise.
65537         (yn_test_data): Likewise.
65538         (significand_test_data): Likewise.
65540         * math/gen-libm-test.pl (@functions): Remove variable.
65541         (generate_testfile): Don't handle START and END lines.
65542         * math/libm-test.inc (START): New macro.
65543         (END): Likewise.
65544         (END_COMPLEX): Likewise.
65545         (acos_test): Use END macro without arguments.
65546         (acos_test_tonearest): Likewise.
65547         (acos_test_towardzero): Likewise.
65548         (acos_test_downward): Likewise.
65549         (acos_test_upward): Likewise.
65550         (acosh_test): Likewise.
65551         (asin_test): Likewise.
65552         (asin_test_tonearest): Likewise.
65553         (asin_test_towardzero): Likewise.
65554         (asin_test_downward): Likewise.
65555         (asin_test_upward): Likewise.
65556         (asinh_test): Likewise.
65557         (atan_test): Likewise.
65558         (atanh_test): Likewise.
65559         (atan2_test): Likewise.
65560         (cabs_test): Likewise.
65561         (cacos_test): Use END_COMPLEX macro without arguments.
65562         (cacosh_test): Likewise.
65563         (carg_test): Use END macro without arguments.
65564         (casin_test): Use END_COMPLEX macro without arguments.
65565         (casinh_test): Likewise.
65566         (catan_test): Likewise.
65567         (catanh_test): Likewise.
65568         (cbrt_test): Use END macro without arguments.
65569         (ccos_test): Use END_COMPLEX macro without arguments.
65570         (ccosh_test): Likewise.
65571         (ceil_test): Use END macro without arguments.
65572         (cexp_test): Use END_COMPLEX macro without arguments.
65573         (cimag_test): Use END macro without arguments.
65574         (clog_test): Use END_COMPLEX macro without arguments.
65575         (clog10_test): Likewise.
65576         (conj_test): Likewise.
65577         (copysign_test): Use END macro without arguments.
65578         (cos_test): Likewise.
65579         (cos_test_tonearest): Likewise.
65580         (cos_test_towardzero): Likewise.
65581         (cos_test_downward): Likewise.
65582         (cos_test_upward): Likewise.
65583         (cosh_test): Likewise.
65584         (cosh_test_tonearest): Likewise.
65585         (cosh_test_towardzero): Likewise.
65586         (cosh_test_downward): Likewise.
65587         (cosh_test_upward): Likewise.
65588         (cpow_test): Use END_COMPLEX macro without arguments.
65589         (cproj_test): Likewise.
65590         (creal_test): Use END macro without arguments.
65591         (csin_test): Use END_COMPLEX macro without arguments.
65592         (csinh_test): Likewise.
65593         (csqrt_test): Likewise.
65594         (ctan_test): Likewise.
65595         (ctan_test_tonearest): Likewise.
65596         (ctan_test_towardzero): Likewise.
65597         (ctan_test_downward): Likewise.
65598         (ctan_test_upward): Likewise.
65599         (ctanh_test): Likewise.
65600         (ctanh_test_tonearest): Likewise.
65601         (ctanh_test_towardzero): Likewise.
65602         (ctanh_test_downward): Likewise.
65603         (ctanh_test_upward): Likewise.
65604         (erf_test): Use END macro without arguments.
65605         (erfc_test): Likewise.
65606         (exp_test): Likewise.
65607         (exp_test_tonearest): Likewise.
65608         (exp_test_towardzero): Likewise.
65609         (exp_test_downward): Likewise.
65610         (exp_test_upward): Likewise.
65611         (exp10_test): Likewise.
65612         (exp2_test): Likewise.
65613         (expm1_test): Likewise.
65614         (fabs_test): Likewise.
65615         (fdim_test): Likewise.
65616         (finite_test): Likewise.
65617         (floor_test): Likewise.
65618         (fma_test): Likewise.
65619         (fma_test_towardzero): Likewise.
65620         (fma_test_downward): Likewise.
65621         (fma_test_upward): Likewise.
65622         (fmax_test): Likewise.
65623         (fmin_test): Likewise.
65624         (fmod_test): Likewise.
65625         (fpclassify_test): Likewise.
65626         (frexp_test): Likewise.
65627         (gamma_test): Likewise.
65628         (hypot_test): Likewise.
65629         (ilogb_test): Likewise.
65630         (isfinite_test): Likewise.
65631         (isgreater_test): Likewise.
65632         (isgreaterequal_test): Likewise.
65633         (isinf_test): Likewise.
65634         (isless_test): Likewise.
65635         (islessequal_test): Likewise.
65636         (islessgreater_test): Likewise.
65637         (isnan_test): Likewise.
65638         (isnormal_test): Likewise.
65639         (issignaling_test): Likewise.
65640         (isunordered_test): Likewise.
65641         (j0_test): Likewise.
65642         (j1_test): Likewise.
65643         (jn_test): Likewise.
65644         (ldexp_test): Likewise.
65645         (lgamma_test): Likewise.
65646         (lrint_test): Likewise.
65647         (lrint_test_tonearest): Likewise.
65648         (lrint_test_towardzero): Likewise.
65649         (lrint_test_downward): Likewise.
65650         (lrint_test_upward): Likewise.
65651         (llrint_test): Likewise.
65652         (llrint_test_tonearest): Likewise.
65653         (llrint_test_towardzero): Likewise.
65654         (llrint_test_downward): Likewise.
65655         (llrint_test_upward): Likewise.
65656         (log_test): Likewise.
65657         (log10_test): Likewise.
65658         (log1p_test): Likewise.
65659         (log2_test): Likewise.
65660         (logb_test): Likewise.
65661         (logb_test_downward): Likewise.
65662         (lround_test): Likewise.
65663         (llround_test): Likewise.
65664         (modf_test): Likewise.
65665         (nearbyint_test): Likewise.
65666         (nextafter_test): Likewise.
65667         (nexttoward_test): Likewise.
65668         (pow_test): Likewise.
65669         (pow_test_tonearest): Likewise.
65670         (pow_test_towardzero): Likewise.
65671         (pow_test_downward): Likewise.
65672         (pow_test_upward): Likewise.
65673         (remainder_test): Likewise.
65674         (remainder_test_tonearest): Likewise.
65675         (remainder_test_towardzero): Likewise.
65676         (remainder_test_downward): Likewise.
65677         (remainder_test_upward): Likewise.
65678         (remquo_test): Likewise.
65679         (rint_test): Likewise.
65680         (rint_test_tonearest): Likewise.
65681         (rint_test_towardzero): Likewise.
65682         (rint_test_downward): Likewise.
65683         (rint_test_upward): Likewise.
65684         (round_test): Likewise.
65685         (scalb_test): Likewise.
65686         (scalbn_test): Likewise.
65687         (scalbln_test): Likewise.
65688         (signbit_test): Likewise.
65689         (sin_test): Likewise.
65690         (sin_test_tonearest): Likewise.
65691         (sin_test_towardzero): Likewise.
65692         (sin_test_downward): Likewise.
65693         (sin_test_upward): Likewise.
65694         (sincos_test): Likewise.
65695         (sinh_test): Likewise.
65696         (sinh_test_tonearest): Likewise.
65697         (sinh_test_towardzero): Likewise.
65698         (sinh_test_downward): Likewise.
65699         (sinh_test_upward): Likewise.
65700         (sqrt_test): Likewise.
65701         (tan_test): Likewise.
65702         (tan_test_tonearest): Likewise.
65703         (tan_test_towardzero): Likewise.
65704         (tan_test_downward): Likewise.
65705         (tan_test_upward): Likewise.
65706         (tanh_test): Likewise.
65707         (tgamma_test): Likewise.
65708         (trunc_test): Likewise.
65709         (y0_test): Likewise.
65710         (y1_test): Likewise.
65711         (yn_test): Likewise.
65712         (significand_test): Likewise.
65714 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
65716         [BZ #15381]
65717         * libio/genops.c (_IO_no_init): Initialize wide struct info.
65719 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
65721         [BZ #14894]
65722         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
65723         __ppc_mdoio and __ppc_mdoom.
65724         * manual/platform.texi: Document new functions __ppc_yield,
65725         __ppc_mdoio and __ppc_mdoom.
65727 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
65729         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
65730         (main): Mention "tls" pseudo-hwcap is legacy.
65731         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
65733 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
65735         * math/gen-libm-test.pl (parse_args): Output only string of
65736         arguments as text for test name, not full call or descriptions of
65737         tests for extra outputs.
65738         (generate_testfile): Do not pass function name to parse_args.
65739         Generate this_func variable from START.
65740         * math/libm-test.inc (struct test_f_f_data): Rename test_name
65741         field to arg_str.
65742         (struct test_ff_f_data): Likewise.
65743         (test_ff_f_data_nexttoward): Likewise.
65744         (struct test_fi_f_data): Likewise.
65745         (struct test_fl_f_data): Likewise.
65746         (struct test_if_f_data): Likewise.
65747         (struct test_fff_f_data): Likewise.
65748         (struct test_c_f_data): Likewise.
65749         (struct test_f_f1_data): Likewise.  Remove field extra_name.
65750         (struct test_fF_f1_data): Likewise.
65751         (struct test_ffI_f1_data): Likewise.
65752         (struct test_c_c_data): Rename test_name field to arg_str.
65753         (struct test_cc_c_data): Likewise.
65754         (struct test_f_i_data): Likewise.
65755         (struct test_ff_i_data): Likewise.
65756         (struct test_f_l_data): Likewise.
65757         (struct test_f_L_data): Likewise.
65758         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
65759         and extra2_name.
65760         (COMMON_TEST_SETUP): New macro.
65761         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
65762         (COMMON_TEST_CLEANUP): Likewise.
65763         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
65764         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
65765         macros.
65766         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
65767         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
65768         macros.
65769         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
65770         (RUN_TEST_fff_f): Take argument string.  Call new setup and
65771         cleanup macros.
65772         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
65773         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
65774         macros.
65775         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
65776         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
65777         macros.
65778         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
65779         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
65780         cleanup macros.
65781         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
65782         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
65783         cleanup macros.
65784         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
65785         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
65786         cleanup macros.
65787         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
65788         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
65789         macros.
65790         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
65791         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
65792         macros.
65793         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
65794         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
65795         macros.
65796         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
65797         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
65798         cleanup macros.
65799         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
65800         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
65801         cleanup macros.
65802         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
65803         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
65804         macros.
65805         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
65806         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
65807         cleanup macros.
65808         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
65809         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
65810         macros.
65811         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
65812         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
65813         macros.
65814         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
65815         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
65816         cleanup macros.
65817         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
65819 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
65821         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
65822         to _sifields.sigfault.
65823         (si_addr_lsb): Define new macro.
65824         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
65825         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
65826         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
65828 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
65830         [BZ #15441]
65831         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
65832         returns -1.
65833         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
65834         null return -1.
65835         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
65836         loading the domain.
65838 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
65840         * math/gen-libm-test.pl (parse_args): Do not include expected
65841         result in test name.
65842         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
65843         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65844         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65845         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65846         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65849 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65851         * benchtests/Makefile: Sort function entries.
65853         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
65854         tanh, asinh, acosh, atanh.
65855         * benchtests/acos-inputs: New file.
65856         * benchtests/acosh-inputs: New file.
65857         * benchtests/asin-inputs: New file.
65858         * benchtests/asinh-inputs: New file.
65859         * benchtests/atanh-inputs: New file.
65860         * benchtests/cosh-inputs: New file.
65861         * benchtests/log-inputs: New file.
65862         * benchtests/sinh-inputs: New file.
65863         * benchtests/tanh-inputs: New file.
65865 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
65867         [BZ #15339]
65868         * posix/tst-getaddrinfo4.c: New test.
65869         * posix/Makefile (tests): Add it.
65871 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65873         [BZ #15339]
65874         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
65875         when no services were used.
65876         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
65877         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
65879 2013-05-21  Andreas Schwab  <schwab@suse.de>
65881         [BZ #15014]
65882         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
65883         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
65884         successful.
65885         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
65886         redundant variable declarations and reallocation of buffer when
65887         parsing as IPv6 address.  Always set NSS status when called from
65888         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
65889         buffer too small.  Correct computation of needed size.
65890         * nss/Makefile (tests): Add test-digits-dots.
65891         * nss/test-digits-dots.c: New test.
65893 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65895         * benchtests/Makefile: Remove instructions for adding
65896         benchmark tests.
65897         * benchtests/README: New file to explain how to execute and
65898         enhance the benchmark tests.
65900 2013-05-21  Andreas Schwab  <schwab@suse.de>
65902         [BZ #15493]
65903         * setjmp/Makefile (tests): Add tst-sigsetjmp.
65904         * setjmp/tst-sigsetjmp.c: New test.
65906 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
65908         * sysdeps/x86_64/memset.S (memset): New implementation.
65909         (__bzero): Likewise.
65910         (__memset_tail): New function.
65912 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
65914         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
65915         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
65916         __memcpy_sse2_unaligned ifunc selection.
65917         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65918         Add memcpy-sse2-unaligned.S.
65919         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
65920         Add: __memcpy_sse2_unaligned.
65922 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
65924         [BZ #15490]
65925         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
65926         math_force_eval before restoring floating-point envrionment.
65927         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
65928         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
65929         Likewise.
65930         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
65931         <math_private.h>.
65932         (__nearbyintl): Use math_force_eval before restoring
65933         floating-point environment.
65934         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
65936         * math/gen-libm-test.pl (special_functions): Remove.
65937         (parse_args): Don't handle TEST_extra.  Handle functions with no
65938         return value.
65939         * math/libm-test.inc (struct test_sincos_data): Replace with
65940         struct test_fFF_11_data.
65941         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
65942         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
65943         (sincos_test_data): Change element type to struct
65944         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
65945         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
65946         RUN_TEST_LOOP_sincos.
65947         * math/README.libm-test: Don't mention special handling of
65948         individual functions.
65949         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
65950         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65951         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65952         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65953         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65956         * math/gen-libm-test.pl (get_variable): Remove function.
65957         (parse_args): Don't show pointer parameters to call in test
65958         names.  Use "extra output N" in test names for extra outputs
65959         rather than naming variables.
65961 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
65963         [BZ #15488]
65964         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
65965         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
65966         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
65967         double tests.
65968         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
65969         disable.
65970         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
65971         check_long_double.
65973         * math/gen-libm-test.pl (@tests): Remove variable.
65974         ($count): Likewise.
65975         (new_test): Remove function.
65976         (show_exceptions): New function.
65977         (special_functions): Use show_exceptions instead of new_test.
65978         (parse_args): Likewise.
65979         (generate_testfile): Pass only function name in generated call to
65980         print_max_error or print_complex_max_error.
65981         (get_ulps): Do not handle complex tests specially.
65982         (output_test): Rename to ...
65983         (get_all_ulps_for_test): ... this.  Return a string rather than
65984         printing to a file.  Require ulps to be present.
65985         (output_ulps): Generate arrays rather than #defines.
65986         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
65987         (struct ulp_data): New type.
65988         (BUILD_COMPLEX_ULP): Remove macro.
65989         (compare_ulp_data): New function.
65990         (find_ulps): Likewise.
65991         (find_test_ulps): Likewise.
65992         (find_function_ulps): Likewise.
65993         (find_complex_function_ulps): Likewise.
65994         (print_max_error): Determine allowed ulps using
65995         find_function_ulps.
65996         (print_complex_max_error): Determine allowed ulps using
65997         find_complex_function_ulps.
65998         (check_float_internal): Determine max ulps using find_test_ulps.
65999         (check_float): Do not take max_ulp parameter.  Update call to
66000         check_float_internal.
66001         (check_complex): Likewise.
66002         (check_int): Do not take max_ulp parameter.
66003         (check_long): Likewise.
66004         (check_bool): Likewise.
66005         (check_longlong): Likewise.
66006         (struct test_f_f_data): Remove max_ulp field.
66007         (struct test_ff_f_data): Likewise.
66008         (struct test_ff_f_data_nexttoward): Likewise.
66009         (struct test_fi_f_data): Likewise.
66010         (struct test_fl_f_data): Likewise.
66011         (struct test_if_f_data): Likewise.
66012         (struct test_fff_f_data): Likewise.
66013         (struct test_c_f_data): Likewise.
66014         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66015         (struct test_fF_f1_data): Likewise.
66016         (struct test_ffI_f1_data): Likewise.
66017         (struct test_c_c_data): Remove max_ulp field.
66018         (struct test_cc_c_data): Likewise.
66019         (struct test_f_i_data): Likewise.
66020         (struct test_ff_i_data): Likewise.
66021         (struct test_f_l_data): Likewise.
66022         (struct test_f_L_data): Likewise.
66023         (struct test_sincos_data): Likewise.
66024         (RUN_TEST_f_f): Do not handle ulps.
66025         (RUN_TEST_LOOP_f_f): Likewise.
66026         (RUN_TEST_2_f): Likewise.
66027         (RUN_TEST_LOOP_2_f): Likewise.
66028         (RUN_TEST_fff_f): Likewise.
66029         (RUN_TEST_LOOP_fff_f): Likewise.
66030         (RUN_TEST_c_f): Likewise.
66031         (RUN_TEST_LOOP_c_f): Likewise.
66032         (RUN_TEST_f_f1): Likewise.
66033         (RUN_TEST_LOOP_f_f1): Likewise.
66034         (RUN_TEST_fF_f1): Likewise.
66035         (RUN_TEST_LOOP_fF_f1): Likewise.
66036         (RUN_TEST_fI_f1): Likewise.
66037         (RUN_TEST_LOOP_fI_f1): Likewise.
66038         (RUN_TEST_ffI_f1): Likewise.
66039         (RUN_TEST_LOOP_ffI_f1): Likewise.
66040         (RUN_TEST_c_c): Likewise.
66041         (RUN_TEST_LOOP_c_c): Likewise.
66042         (RUN_TEST_cc_c): Likewise.
66043         (RUN_TEST_LOOP_cc_c): Likewise.
66044         (RUN_TEST_f_i): Likewise.
66045         (RUN_TEST_LOOP_f_i): Likewise.
66046         (RUN_TEST_f_i_tg): Likewise.
66047         (RUN_TEST_LOOP_f_i_tg): Likewise.
66048         (RUN_TEST_ff_i_tg): Likewise.
66049         (RUN_TEST_LOOP_ff_i_tg): Likewise.
66050         (RUN_TEST_f_b): Likewise.
66051         (RUN_TEST_LOOP_f_b): Likewise.
66052         (RUN_TEST_f_b_tg): Likewise.
66053         (RUN_TEST_LOOP_f_b_tg): Likewise.
66054         (RUN_TEST_f_l): Likewise.
66055         (RUN_TEST_LOOP_f_l): Likewise.
66056         (RUN_TEST_f_L): Likewise.
66057         (RUN_TEST_LOOP_f_L): Likewise.
66058         (RUN_TEST_sincos): Likewise.
66059         (RUN_TEST_LOOP_sincos): Likewise.
66061 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
66063         [BZ #15480]
66064         [BZ #15485]
66065         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66066         main case of finite arguments, set rounding mode to FE_TONEAREST
66067         and discard exceptions.
66068         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66069         exceptions.
66070         (remainder_tonearest_test_data): New variable.
66071         (remainder_test_tonearest): New function.
66072         (remainder_towardzero_test_data): New variable.
66073         (remainder_test_towardzero): New function.
66074         (remainder_downward_test_data): New variable.
66075         (remainder_test_downward): New function.
66076         (remainder_upward_test_data): New variable.
66077         (remainder_test_upward): New function.
66078         (main): Call the new test functions.
66080         * math/libm-test.inc (struct test_f_f1_data): Remove field
66081         extra_init.
66082         (struct test_fF_f1_data): Likewise.
66083         (struct test_ffI_f1_data): Likewise.
66084         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
66085         based on value of EXTRA_EXPECTED.
66086         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66087         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
66088         EXTRA_VAR based on value of EXTRA_EXPECTED.
66089         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66090         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
66091         EXTRA_VAR based on value of EXTRA_EXPECTED.
66092         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66093         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
66094         EXTRA_VAR based on value of EXTRA_EXPECTED.
66095         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66096         * math/gen-libm-test.pl (parse_args): Don't output initializers
66097         for extra output values.
66099         * math/libm-test.inc (check_int): Expect result to be exactly
66100         equal to expected value and do not handle ulps.
66101         (check_long): Likewise.
66102         (check_longlong): Likewise.
66104         * math/libm-test.inc (ceil_test_data): Test for "inexact"
66105         exceptions.
66106         (cimag_test_data): Likewise.
66107         (conj_test_data): Likewise.
66108         (copysign_test_data): Likewise.
66109         (cproj_test_data): Likewise.
66110         (creal_test_data): Likewise.
66111         (fabs_test_data): Likewise.
66112         (fdim_test_data): Likewise.
66113         (finite_test_data): Likewise.
66114         (floor_test_data): Likewise.
66115         (fmax_test_data): Likewise.
66116         (fmin_test_data): Likewise.
66117         (fmod_test_data): Likewise.
66118         (fpclassify_test_data): Likewise.
66119         (frexp_test_data): Likewise.
66120         (ilogb_test_data): Likewise.
66121         (isfinite_test_data): Likewise.
66122         (isgreater_test_data): Likewise.
66123         (isgreaterequal_test_data): Likewise.
66124         (isinf_test_data): Likewise.
66125         (isless_test_data): Likewise.
66126         (islessequal_test_data): Likewise.
66127         (islessgreater_test_data): Likewise.
66128         (isnan_test_data): Likewise.
66129         (isnormal_test_data): Likewise.
66130         (issignaling_test_data): Likewise.
66131         (isunordered_test_data): Likewise.
66132         (ldexp_test_data): Likewise.
66133         (lrint_test_data): Likewise.
66134         (lrint_test_data) [TEST_FLOAT]: Disable one test.
66135         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
66136         (lrint_tonearest_test_data): Test for "inexact" exceptions.
66137         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66138         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
66139         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66140         test input.
66141         (lrint_towardzero_test_data): Test for "inexact" exceptions.
66142         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66143         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
66144         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
66145         that test input.
66146         (lrint_downward_test_data): Test for "inexact" exceptions.
66147         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66148         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
66149         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66150         test input.
66151         (lrint_upward_test_data): Test for "inexact" exceptions.
66152         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
66153         test input.
66154         (llrint_test_data): Test for "inexact" exceptions.
66155         (llrint_test_data) [TEST_FLOAT]: Disable one test.
66156         (llrint_tonearest_test_data): Test for "inexact" exceptions.
66157         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66158         (llrint_towardzero_test_data): Test for "inexact" exceptions.
66159         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66160         (llrint_downward_test_data): Test for "inexact" exceptions.
66161         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66162         (llrint_upward_test_data): Test for "inexact" exceptions.
66163         (logb_test_data): Likewise.
66164         (logb_downward_test_data): Likewise.
66165         (nextafter_test_data): Likewise.
66166         (nexttoward_test_data): Likewise.
66167         (remainder_test_data): Likewise.
66168         (remquo_test_data): Likewise.
66169         (scalbn_test_data): Likewise.
66170         (scalbln_test_data): Likewise.
66171         (signbit_test_data): Likewise.
66172         (sqrt_test_data): Likewise.
66173         (significand_test_data): Likewise.
66175 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66177         [BZ #15424]
66178         * benchtests/bench-modf.c (struct args): Mark arg0 as
66179         volatile.
66180         * scripts/bench.pl: Mark members of struct args as volatile.
66182 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66184         [BZ # 15497]
66185         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
66186         negative infinity on POWER6 or lower.
66187         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
66189 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
66191         [BZ #15442]
66192         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
66193         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
66194         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
66195         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
66196         (_FP_SETQNAN): New macro.
66197         (_FP_SETQNAN_SEMIRAW): Likewise.
66198         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
66199         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
66200         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
66201         (FP_EXTEND): Use _FP_FRAC_SNANP.
66202         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
66203         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
66204         into account.
66205         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66206         New macro.
66207         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66208         Likewise.
66210 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
66212         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
66213         with DIVIDE_BY_ZERO_EXCEPTION.
66214         (gamma_test_data): Likewise.
66215         (lgamma_test_data): Likewise.
66216         (log_test_data): Likewise.
66217         (log10_test_data): Likewise.
66218         (log2_test_data): Likewise.
66219         (tgamma_test_data): Likewise.
66221         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
66222         (acos_test_tonearest): Likewise.
66223         (acos_test_towardzero): Likewise.
66224         (acos_test_downward): Likewise.
66225         (acos_test_upward): Likewise.
66226         (acosh_test): Likewise.
66227         (asin_test): Likewise.
66228         (asin_test_tonearest): Likewise.
66229         (asin_test_towardzero): Likewise.
66230         (asin_test_downward): Likewise.
66231         (asin_test_upward): Likewise.
66232         (asinh_test): Likewise.
66233         (atan_test): Likewise.
66234         (atanh_test): Likewise.
66235         (atan2_test): Likewise.
66236         (cabs_test): Likewise.
66237         (cacos_test): Likewise.
66238         (cacosh_test): Likewise.
66239         (casin_test): Likewise.
66240         (casinh_test): Likewise.
66241         (catan_test): Likewise.
66242         (catanh_test): Likewise.
66243         (cbrt_test): Likewise.
66244         (ccos_test): Likewise.
66245         (ccosh_test): Likewise.
66246         (cexp_test): Likewise.
66247         (clog_test): Likewise.
66248         (clog10_test): Likewise.
66249         (cos_test): Likewise.
66250         (cos_test_tonearest): Likewise.
66251         (cos_test_towardzero): Likewise.
66252         (cos_test_downward): Likewise.
66253         (cos_test_upward): Likewise.
66254         (cosh_test): Likewise.
66255         (cosh_test_tonearest): Likewise.
66256         (cosh_test_towardzero): Likewise.
66257         (cosh_test_downward): Likewise.
66258         (cosh_test_upward): Likewise.
66259         (cpow_test): Likewise.
66260         (csin_test): Likewise.
66261         (csinh_test): Likewise.
66262         (csqrt_test): Likewise.
66263         (ctan_test): Likewise.
66264         (ctan_test_tonearest): Likewise.
66265         (ctan_test_towardzero): Likewise.
66266         (ctan_test_downward): Likewise.
66267         (ctan_test_upward): Likewise.
66268         (ctanh_test): Likewise.
66269         (ctanh_test_tonearest): Likewise.
66270         (ctanh_test_towardzero): Likewise.
66271         (ctanh_test_downward): Likewise.
66272         (ctanh_test_upward): Likewise.
66273         (erf_test): Likewise.
66274         (erfc_test): Likewise.
66275         (exp_test): Likewise.
66276         (exp_test_tonearest): Likewise.
66277         (exp_test_towardzero): Likewise.
66278         (exp_test_downward): Likewise.
66279         (exp_test_upward): Likewise.
66280         (exp10_test): Likewise.
66281         (exp2_test): Likewise.
66282         (expm1_test): Likewise.
66283         (fmod_test): Likewise.
66284         (gamma_test): Likewise.
66285         (hypot_test): Likewise.
66286         (j0_test): Likewise.
66287         (j1_test): Likewise.
66288         (jn_test): Likewise.
66289         (lgamma_test): Likewise.
66290         (log_test): Likewise.
66291         (log10_test): Likewise.
66292         (log1p_test): Likewise.
66293         (log2_test): Likewise.
66294         (logb_test_downward): Likewise.
66295         (pow_test): Likewise.
66296         (pow_test_tonearest): Likewise.
66297         (pow_test_towardzero): Likewise.
66298         (pow_test_downward): Likewise.
66299         (pow_test_upward): Likewise.
66300         (remainder_test): Likewise.
66301         (remquo_test): Likewise.
66302         (sin_test): Likewise.
66303         (sin_test_tonearest): Likewise.
66304         (sin_test_towardzero): Likewise.
66305         (sin_test_downward): Likewise.
66306         (sin_test_upward): Likewise.
66307         (sincos_test): Likewise.
66308         (sinh_test): Likewise.
66309         (sinh_test_tonearest): Likewise.
66310         (sinh_test_towardzero): Likewise.
66311         (sinh_test_downward): Likewise.
66312         (sinh_test_upward): Likewise.
66313         (sqrt_test): Likewise.
66314         (tan_test): Likewise.
66315         (tan_test_tonearest): Likewise.
66316         (tan_test_towardzero): Likewise.
66317         (tan_test_downward): Likewise.
66318         (tan_test_upward): Likewise.
66319         (tanh_test): Likewise.
66320         (tgamma_test): Likewise.
66321         (y0_test): Likewise.
66322         (y1_test): Likewise.
66323         (yn_test): Likewise.
66325         * math/gen-libm-test.pl (adjust_arg): Remove function.
66326         (special_function): Remove argument $in_func.  Only handle
66327         generating output for tables of tests, not inside functions.
66328         (parse_args): Likewise.
66329         (generate_testfile): Remove variable $in_func.  Update call to
66330         parse_args.
66331         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
66332         (MINUS_ZERO_INIT): Rename macro to minus_zero.
66333         (PLUS_INFTY_INIT): Rename macro to plus_infty.
66334         (MINUS_INFTY_INIT): Rename macro to minus_infty.
66335         (QNAN_VALUE_INIT): Rename macro to qnan_value.
66336         (MAX_VALUE_INIT): Rename macro to max_value.
66337         (MIN_VALUE_INIT): Rename macro to min_value.
66338         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
66339         (plus_zero): Remove variable.
66340         (minus_zero): Likewise.
66341         (plus_infty): Likewise.
66342         (minus_infty): Likewise.
66343         (qnan_value): Likewise.
66344         (max_value): Likewise.
66345         (min_value): Likewise.
66346         (min_subnorm_value): Likewise.
66348 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66350         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
66351         uint64_t or uint32_t usage.
66352         * crypt/sha256-block.c: Likewise.
66353         * crypt/sha256-crypt.c: Likewise.
66354         * crypt/sha256.c: Likewise.
66355         * crypt/sha512-block.c: Likewise.
66356         * crypt/sha512-crypt.c: Likewise.
66357         * crypt/sha512.c: Likewise.
66358         * debug/backtrace-tst.c: Likewise.
66359         * debug/pcprofiledump.c: Likewise.
66360         * elf/cache.c: Likewise.
66361         * elf/dl-cache.c: Likewise.
66362         * elf/dl-misc.c: Likewise.
66363         * elf/dl-profile.c: Likewise.
66364         * elf/dl-support.c: Likewise.
66365         * elf/ldconfig.c: Likewise.
66366         * elf/sprof.c: Likewise.
66367         * iconv/dummy-repertoire.c: Likewise.
66368         * iconv/iconv_charmap.c: Likewise.
66369         * iconv/skeleton.c: Likewise.
66370         * iconvdata/8bit-generic.c: Likewise.
66371         * iconvdata/cp737.h: Likewise.
66372         * iconvdata/cp775.h: Likewise.
66373         * iconvdata/ibm1008.h: Likewise.
66374         * iconvdata/ibm1025.h: Likewise.
66375         * iconvdata/ibm1046.h: Likewise.
66376         * iconvdata/ibm1097.h: Likewise.
66377         * iconvdata/ibm1112.h: Likewise.
66378         * iconvdata/ibm1122.h: Likewise.
66379         * iconvdata/ibm1123.h: Likewise.
66380         * iconvdata/ibm1124.h: Likewise.
66381         * iconvdata/ibm1129.h: Likewise.
66382         * iconvdata/ibm1130.h: Likewise.
66383         * iconvdata/ibm1132.h: Likewise.
66384         * iconvdata/ibm1133.h: Likewise.
66385         * iconvdata/ibm1137.h: Likewise.
66386         * iconvdata/ibm1140.h: Likewise.
66387         * iconvdata/ibm1141.h: Likewise.
66388         * iconvdata/ibm1142.h: Likewise.
66389         * iconvdata/ibm1143.h: Likewise.
66390         * iconvdata/ibm1144.h: Likewise.
66391         * iconvdata/ibm1145.h: Likewise.
66392         * iconvdata/ibm1146.h: Likewise.
66393         * iconvdata/ibm1147.h: Likewise.
66394         * iconvdata/ibm1148.h: Likewise.
66395         * iconvdata/ibm1149.h: Likewise.
66396         * iconvdata/ibm1153.h: Likewise.
66397         * iconvdata/ibm1154.h: Likewise.
66398         * iconvdata/ibm1155.h: Likewise.
66399         * iconvdata/ibm1156.h: Likewise.
66400         * iconvdata/ibm1157.h: Likewise.
66401         * iconvdata/ibm1158.h: Likewise.
66402         * iconvdata/ibm1160.h: Likewise.
66403         * iconvdata/ibm1161.h: Likewise.
66404         * iconvdata/ibm1162.h: Likewise.
66405         * iconvdata/ibm1163.h: Likewise.
66406         * iconvdata/ibm1164.h: Likewise.
66407         * iconvdata/ibm1166.h: Likewise.
66408         * iconvdata/ibm1167.h: Likewise.
66409         * iconvdata/ibm12712.h: Likewise.
66410         * iconvdata/ibm1390.h: Likewise.
66411         * iconvdata/ibm1399.h: Likewise.
66412         * iconvdata/ibm16804.h: Likewise.
66413         * iconvdata/ibm4517.h: Likewise.
66414         * iconvdata/ibm4899.h: Likewise.
66415         * iconvdata/ibm4909.h: Likewise.
66416         * iconvdata/ibm4971.h: Likewise.
66417         * iconvdata/ibm5347.h: Likewise.
66418         * iconvdata/ibm803.h: Likewise.
66419         * iconvdata/ibm856.h: Likewise.
66420         * iconvdata/ibm901.h: Likewise.
66421         * iconvdata/ibm902.h: Likewise.
66422         * iconvdata/ibm9030.h: Likewise.
66423         * iconvdata/ibm9066.h: Likewise.
66424         * iconvdata/ibm921.h: Likewise.
66425         * iconvdata/ibm922.h: Likewise.
66426         * iconvdata/ibm9448.h: Likewise.
66427         * iconvdata/isiri-3342.h: Likewise.
66428         * iconvdata/jis0201.h: Likewise.
66429         * include/link.h: Likewise.
66430         * include/netdb.h: Likewise.
66431         * inet/check_native.c: Likewise.
66432         * inet/check_pf.c: Likewise.
66433         * inet/getipv4sourcefilter.c: Likewise.
66434         * inet/getnameinfo.c: Likewise.
66435         * inet/getsourcefilter.c: Likewise.
66436         * inet/htonl.c: Likewise.
66437         * inet/setipv4sourcefilter.c: Likewise.
66438         * inet/setsourcefilter.c: Likewise.
66439         * inet/test-inet6_opt.c: Likewise.
66440         * inet/tst-network.c: Likewise.
66441         * locale/C-collate.c: Likewise.
66442         * locale/C-ctype.c: Likewise.
66443         * locale/C-time.c: Likewise.
66444         * locale/C-translit.h: Likewise.
66445         * locale/loadarchive.c: Likewise.
66446         * locale/programs/3level.h: Likewise.
66447         * locale/programs/charmap.c: Likewise.
66448         * locale/programs/charmap.h: Likewise.
66449         * locale/programs/ld-address.c: Likewise.
66450         * locale/programs/ld-collate.c: Likewise.
66451         * locale/programs/ld-ctype.c: Likewise.
66452         * locale/programs/ld-identification.c: Likewise.
66453         * locale/programs/ld-measurement.c: Likewise.
66454         * locale/programs/ld-messages.c: Likewise.
66455         * locale/programs/ld-monetary.c: Likewise.
66456         * locale/programs/ld-name.c: Likewise.
66457         * locale/programs/ld-numeric.c: Likewise.
66458         * locale/programs/ld-paper.c: Likewise.
66459         * locale/programs/ld-telephone.c: Likewise.
66460         * locale/programs/ld-time.c: Likewise.
66461         * locale/programs/linereader.c: Likewise.
66462         * locale/programs/locale.c: Likewise.
66463         * locale/programs/locarchive.c: Likewise.
66464         * locale/programs/locfile.h: Likewise.
66465         * locale/programs/repertoire.c: Likewise.
66466         * locale/programs/simple-hash.c: Likewise.
66467         * locale/programs/simple-hash.h: Likewise.
66468         * malloc/memusage.c: Likewise.
66469         * malloc/memusagestat.c: Likewise.
66470         * nis/nis_defaults.c: Likewise.
66471         * nis/nis_hash.c: Likewise.
66472         * nis/nis_print.c: Likewise.
66473         * nis/nis_xdr.c: Likewise.
66474         * nscd/connections.c: Likewise.
66475         * nscd/hstcache.c: Likewise.
66476         * nscd/nscd_gethst_r.c: Likewise.
66477         * nscd/nscd_getserv_r.c: Likewise.
66478         * nscd/nscd_helper.c: Likewise.
66479         * nscd/servicescache.c: Likewise.
66480         * nss/makedb.c: Likewise.
66481         * nss/nss_db/db-XXX.c: Likewise.
66482         * nss/nss_db/db-initgroups.c: Likewise.
66483         * nss/nss_db/db-netgrp.c: Likewise.
66484         * nss/nss_files/files-network.c: Likewise.
66485         * nss/nss_files/files-parse.c: Likewise.
66486         * posix/bug-regex5.c: Likewise.
66487         * posix/fnmatch_loop.c: Likewise.
66488         * posix/regcomp.c: Likewise.
66489         * posix/regexec.c: Likewise.
66490         * posix/tst-rfc3484-2.c: Likewise.
66491         * posix/tst-rfc3484-3.c: Likewise.
66492         * posix/tst-rfc3484.c: Likewise.
66493         * resolv/nss_dns/dns-canon.c: Likewise.
66494         * resolv/nss_dns/dns-network.c: Likewise.
66495         * resolv/res_init.c: Likewise.
66496         * resolv/res_mkquery.c: Likewise.
66497         * resolv/tst-aton.c: Likewise.
66498         * stdlib/cxa_atexit.c: Likewise.
66499         * stdlib/cxa_finalize.c: Likewise.
66500         * stdlib/gen-fpioconst.c: Likewise.
66501         * stdlib/strtol_l.c: Likewise.
66502         * string/tst-endian.c: Likewise.
66503         * sunrpc/auth_des.c: Likewise.
66504         * sunrpc/clnt_udp.c: Likewise.
66505         * sunrpc/rtime.c: Likewise.
66506         * sunrpc/svcauth_des.c: Likewise.
66507         * sunrpc/xdr.c: Likewise.
66508         * sunrpc/xdr_intXX_t.c: Likewise.
66509         * sunrpc/xdr_rec.c: Likewise.
66510         * sysdeps/generic/ldconfig.h: Likewise.
66511         * sysdeps/generic/ldsodefs.h: Likewise.
66512         * sysdeps/generic/memusage.h: Likewise.
66513         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66514         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
66515         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
66516         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66517         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66518         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66519         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66520         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66521         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66522         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
66523         * sysdeps/posix/getaddrinfo.c: Likewise.
66524         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66525         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66526         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66527         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66528         * sysdeps/powerpc/test-gettimebase.c: Likewise.
66529         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
66530         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
66531         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
66532         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
66533         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
66534         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66535         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66536         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
66537         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
66538         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
66539         * sysdeps/x86_64/dl-tls.h: Likewise.
66540         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
66541         * time/alt_digit.c: Likewise.
66542         * time/era.c: Likewise.
66543         * wcsmbs/tst-c16c32-1.c: Likewise.
66545 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
66547         * math/libm-test.inc (struct test_sincos_data): New type.
66548         (RUN_TEST_LOOP_sincos): New macro.
66549         (sincos_test_data): New variable.
66550         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
66552 2013-05-16  Richard Henderson  <rth@redhat.com>
66554         * math/atest-exp2.c (LIMB64): New macro.
66555         (CONSTSZ): New macro.
66556         (mp_exp1, mp_exp_m1, mp_log2): New variables.
66557         (hexdig): Move ...
66558         (print_mpn_fp): ... to function scope.
66559         (read_mpn_hex): Remove.
66560         (get_log2): Remove.
66561         (exp2_mpn): Use mp_log2.
66562         (main): Use mp_exp1.
66564 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
66566         * math/libm-test.inc: Remove comment about not testing "inexact"
66567         exceptions.
66568         (INEXACT_EXCEPTION): New macro.
66569         (NO_INEXACT_EXCEPTION): Likewise.
66570         (INVALID_EXCEPTION_OK): Update value.
66571         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66572         (OVERFLOW_EXCEPTION_OK): Likewise.
66573         (UNDERFLOW_EXCEPTION_OK): Likewise.
66574         (IGNORE_ZERO_INF_SIGN): Likewise.
66575         (ERRNO_UNCHANGED): Likewise.
66576         (ERRNO_EDOM): Likewise.
66577         (ERRNO_ERANGE): Likewise.
66578         (test_exceptions): Handle testing "inexact" exceptions.
66579         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
66580         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
66581         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
66582         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
66583         INEXACT_EXCEPTION.
66584         (rint_towardzero_test_data): Likewise.
66585         (rint_downward_test_data): Likewise.
66586         (rint_upward_test_data): Likewise.
66588         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
66589         with OVERFLOW_EXCEPTION.
66590         (exp10_test_data): Likewise.
66591         (exp2_test_data): Likewise.
66592         (expm1_test_data): Likewise.
66593         (lgamma_test_data): Likewise.
66594         (pow_test_data): Likewise.
66595         (tgamma_test_data): Likewise.
66596         (yn_test_data): Remove duplicate test of overflow.
66598         * math/libm-test.inc (struct test_cc_c_data): New type.
66599         (RUN_TEST_LOOP_cc_c): New macro.
66600         (cpow_test_data): New variable.
66601         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
66603         * math/libm-test.inc (struct test_f_L_data): New type.
66604         (RUN_TEST_LOOP_f_L): New macro.
66605         (llrint_test_data): New variable.
66606         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
66607         (llrint_tonearest_test_data): New variable.
66608         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
66609         (llrint_towardzero_test_data): New variable.
66610         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
66611         (llrint_downward_test_data): New variable.
66612         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
66613         (llrint_upward_test_data): New variable.
66614         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
66615         (llround_test_data): New variable.
66616         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
66618 2013-05-13  Peter Collingbourne  <pcc@google.com>
66620         * math/atest-exp2.c (get_log2): Remove const attribute.
66622 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
66624         * math/libm-test.inc (struct test_f_l_data): New type.
66625         (RUN_TEST_LOOP_f_l): New macro.
66626         (lrint_test_data): New variable.
66627         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
66628         (lrint_tonearest_test_data): New variable.
66629         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
66630         (lrint_towardzero_test_data): New variable.
66631         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
66632         (lrint_downward_test_data): New variable.
66633         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
66634         (lrint_upward_test_data): New variable.
66635         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
66636         (lround_test_data): New variable.
66637         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
66639 2013-05-15  Peter Collingbourne  <pcc@google.com>
66641         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
66642         (EXTRACT_WORDS64) Use where appropriate.
66643         (INSERT_WORDS64) Likewise.
66645         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
66646         constraints with x constraints.
66647         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
66649         * malloc/obstack.c (_obstack_compat): Add initializer.
66651 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
66653         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
66654         si_trapno and add si_addr_lsb to _sifields.sigfault.
66655         (si_trapno): Remove macro.
66656         (si_addr_lsb): Define new macro.
66657         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66659 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
66661         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
66662         instead of TEST_f_l.
66663         (llrint_test_tonearest): Likewise.
66664         (llrint_test_towardzero): Likewise.
66665         (llrint_test_downward): Likewise.
66666         (llrint_test_upward): Likewise.
66667         (llround_test): Likewise.
66669         * math/libm-test.inc (struct test_f_i_data): Add comment.
66670         (RUN_TEST_LOOP_f_b): New macro.
66671         (RUN_TEST_LOOP_f_b_tg): Likewise.
66672         (finite_test_data): New variable.
66673         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
66674         (isfinite_test_data): New variable.
66675         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66676         (isinf_test_data): New variable.
66677         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66678         (isnan_test_data): New variable.
66679         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66680         (isnormal_test_data): New variable.
66681         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66682         (issignaling_test_data): New variable.
66683         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66684         (signbit_test_data): New variable.
66685         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66687         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
66688         with INVALID_EXCEPTION.
66689         (acosh_test_data): Likewise.
66690         (asin_test_data): Likewise.
66691         (atanh_test_data): Likewise.
66692         (fmod_test_data): Likewise.
66693         (log_test_data): Likewise.
66694         (log10_test_data): Likewise.
66695         (log2_test_data): Likewise.
66696         (pow_test_data): Likewise.
66697         (sqrt_test_data): Likewise.
66698         (y0_test_data): Likewise.
66699         (y1_test_data): Likewise.
66700         (yn_test_data): Likewise.
66702         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
66703         function contents.
66705         * math/libm-test.inc (struct test_ff_i_data): New type.
66706         (RUN_TEST_LOOP_ff_i_tg): New macro.
66707         (isgreater_test_data): New variable.
66708         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66709         (isgreaterequal_test_data): New variable.
66710         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66711         (isless_test_data): New variable.
66712         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66713         (islessequal_test_data): New variable.
66714         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66715         (islessgreater_test_data): New variable.
66716         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66717         (isunordered_test_data): New variable.
66718         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66720 2013-05-14  David S. Miller  <davem@davemloft.net>
66722         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66724 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
66726         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
66728         * math/libm-test.inc (struct test_fF_f1_data): Change type of
66729         extra_test to int.
66730         (struct test_f_i_data): Change type of max_ulp to int.
66732         * math/libm-test.inc (test_ffI_f1_data): New type.
66733         (RUN_TEST_LOOP_ffI_f1): New macro.
66734         (remquo_test_data): New variable.
66735         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
66737         * setjmp/tst-setjmp-fp.c: New file.
66738         * setjmp/Makefile (tests): Add tst-setjmp-fp.
66739         (link-libm): New variable.
66740         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
66742         * math/libm-test.inc (struct test_f_i_data): New type.
66743         (RUN_TEST_LOOP_f_i): New macro.
66744         (RUN_TEST_LOOP_f_i_tg): Likewise.
66745         (fpclassify_test_data): New variable.
66746         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
66747         (ilogb_test_data): New variable.
66748         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
66750         * math/libm-test.inc (scalbln_test): Correct function name in END
66751         call.
66753         * math/libm-test.inc (struct test_f_f1_data): Add comment.
66754         (RUN_TEST_LOOP_fI_f1): New macro.
66755         (frexp_test_data): New variable.
66756         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
66758         * math/libm-test.inc (struct test_fF_f1_data): New type.
66759         (RUN_TEST_LOOP_fF_f1): New macro.
66760         (modf_test_data): New variable.
66761         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
66763         * math/libm-test.inc (struct test_f_f1_data): New type.
66764         (RUN_TEST_LOOP_f_f1): New macro.
66765         (gamma_test_data): New variable.
66766         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
66767         (lgamma_test_data): New variable.
66768         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
66770 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
66772         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
66773         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
66774         (main): Comment "tls" pseudo-hwcap.
66776 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
66778         * math/libm-test.inc (struct test_fl_f_data): New type.
66779         (RUN_TEST_LOOP_fl_f): New variable.
66780         (scalbln_test_data): New variable.
66781         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
66783         * math/libm-test.inc (struct test_fi_f_data): New type.
66784         (RUN_TEST_LOOP_fi_f): New macro.
66785         (ldexp_test_data): New variable.
66786         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
66787         (scalbn_test_data): New variable.
66788         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
66790         * math/libm-test.inc (struct test_c_f_data): New type.
66791         (RUN_TEST_LOOP_c_f): New macro.
66792         (cabs_test_data): New variable.
66793         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
66794         (carg_test_data): New variable.
66795         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
66796         (cimag_test_data): New variable.
66797         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
66798         (creal_test_data): New variable.
66799         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
66801         * math/libm-test.inc (struct test_if_f_data): New type.
66802         (RUN_TEST_LOOP_if_f): New macro.
66803         (jn_test_data): New variable.
66804         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
66805         (yn_test_data): New variable.
66806         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
66808         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
66810 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66812         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
66813         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
66815 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
66817         * benchtests/Makefile (CPPFLAGS-nonlib): Add
66818         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
66819         (bench-deps): Add bench-timing.h.
66820         * benchtests-bench-skeleton.c: Include bench-timing.h.
66821         (main): Use TIMING_* macros instead of clock_gettime.
66822         * benchtests/bench-timing.h: New file.
66824         [BZ #14582]
66825         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
66826         Renamed from _LIB_VERSION.
66827         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
66829 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
66831         * math/libm-test.inc (struct test_fff_f_data): New type.
66832         (RUN_TEST_LOOP_fff_f): New macro.
66833         (fma_test_data): New variable.
66834         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
66835         (fma_towardzero_test_data): New variable.
66836         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
66837         (fma_downward_test_data): New variable.
66838         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
66839         (fma_upward_test_data): New variable.
66840         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
66842         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
66843         (struct test_c_c_data): New type.
66844         (RUN_TEST_LOOP_c_c): New macro.
66845         (cacos_test_data): New variable.
66846         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
66847         (cacosh_test_data): New variable.
66848         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
66849         (casin_test_data): New variable.
66850         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
66851         (casinh_test_data): New variable.
66852         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
66853         (catan_test_data): New variable.
66854         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
66855         (catanh_test_data): New variable.
66856         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
66857         (ccos_test_data): New variable.
66858         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
66859         (ccosh_test_data): New variable.
66860         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
66861         (cexp_test_data): New variable.
66862         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
66863         (clog_test_data): New variable.
66864         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
66865         (clog10_test_data): New variable.
66866         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
66867         (conj_test_data): New variable.
66868         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
66869         (cproj_test_data): New variable.
66870         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
66871         (csin_test_data): New variable.
66872         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
66873         (csinh_test_data): New variable.
66874         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
66875         (csqrt_test_data): New variable.
66876         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
66877         (ctan_test_data): New variable.
66878         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
66879         (ctan_tonearest_test_data): New variable.
66880         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
66881         (ctan_towardzero_test_data): New variable.
66882         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66883         (ctan_downward_test_data): New variable.
66884         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66885         (ctan_upward_test_data): New variable.
66886         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66887         (ctanh_test_data): New variable.
66888         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
66889         (ctanh_tonearest_test_data): New variable.
66890         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
66891         (ctanh_towardzero_test_data): New variable.
66892         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66893         (ctanh_downward_test_data): New variable.
66894         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66895         (ctanh_upward_test_data): New variable.
66896         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66897         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
66898         of BUILD_COMPLEX.
66900         * math/libm-test.inc (struct test_ff_f_data): New type.
66901         (struct test_ff_f_data_nexttoward): Likewise.
66902         (RUN_TEST_LOOP_2_f): New macro.
66903         (RUN_TEST_LOOP_ff_f): Likewise.
66904         (atan2_test_data): New variable.
66905         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
66906         (copysign_test_data): New variable.
66907         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
66908         (fdim_test_data): New variable.
66909         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
66910         (fmax_test_data): New variable.
66911         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
66912         (fmin_test_data): New variable.
66913         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
66914         (fmod_test_data): New variable.
66915         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
66916         (hypot_test_data): New variable.
66917         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
66918         (nextafter_test_data): New variable.
66919         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
66920         (nexttoward_test_data): New variable.
66921         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
66922         (pow_test_data): New variable.
66923         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
66924         (pow_tonearest_test_data): New variable.
66925         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
66926         (pow_towardzero_test_data): New variable.
66927         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
66928         (pow_downward_test_data): New variable.
66929         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
66930         (pow_upward_test_data): New variable.
66931         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
66932         (remainder_test_data): New variable.
66933         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
66934         (scalb_test_data): New variable.
66935         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
66936         * sysdeps/i386/fpu/libm-test-ulps: Update.
66938 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
66940         * math/libm-test.inc (fma_test): Use max_value instead of local
66941         variable fltmax.
66942         (nextafter_test): Likewise.
66944         * math/libm-test.inc (acos_towardzero_test_data): New variable.
66945         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66946         (acos_downward_test_data): New variable.
66947         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66948         (acos_upward_test_data): New variable.
66949         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66950         (acosh_test_data): New variable.
66951         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
66952         (asin_test_data): New variable.
66953         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
66954         (asin_tonearest_test_data): New variable.
66955         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66956         (asin_towardzero_test_data): New variable.
66957         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66958         (asin_downward_test_data): New variable.
66959         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66960         (asin_upward_test_data): New variable.
66961         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66962         (asinh_test_data): New variable.
66963         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
66964         (atan_test_data): New variable.
66965         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
66966         (atanh_test_data): New variable.
66967         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
66968         (cbrt_test_data): New variable.
66969         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
66970         (ceil_test_data): New variable.
66971         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
66972         (cos_test_data): New variable.
66973         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
66974         (cos_tonearest_test_data): New variable.
66975         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66976         (cos_towardzero_test_data): New variable.
66977         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66978         (cos_downward_test_data): New variable.
66979         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66980         (cos_upward_test_data): New variable.
66981         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66982         (cosh_test_data): New variable.
66983         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
66984         (cosh_tonearest_test_data): New variable.
66985         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66986         (cosh_towardzero_test_data): New variable.
66987         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66988         (cosh_downward_test_data): New variable.
66989         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66990         (cosh_upward_test_data): New variable.
66991         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66992         (erf_test_data): New variable.
66993         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
66994         (erfc_test_data): New variable.
66995         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
66996         (exp_test_data): New variable.
66997         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
66998         (exp_tonearest_test_data): New variable.
66999         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67000         (exp_towardzero_test_data): New variable.
67001         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67002         (exp_downward_test_data): New variable.
67003         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67004         (exp_upward_test_data): New variable.
67005         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67006         (exp10_test_data): New variable.
67007         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67008         (exp2_test_data): New variable.
67009         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67010         (expm1_test_data): New variable.
67011         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67012         (fabs_test_data): New variable.
67013         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67014         (floor_test_data): New variable.
67015         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67016         (j0_test_data): New variable.
67017         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67018         (j1_test_data): New variable.
67019         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67020         (log_test_data): New variable.
67021         (log_test): Run tests with RUN_TEST_LOOP_f_f.
67022         (log10_test_data): New variable.
67023         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67024         (log1p_test_data): New variable.
67025         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67026         (log2_test_data): New variable.
67027         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67028         (logb_test_data): New variable.
67029         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67030         (logb_downward_test_data): New variable.
67031         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67032         (nearbyint_test_data): New variable.
67033         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67034         (rint_test_data): New variable.
67035         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67036         (rint_tonearest_test_data): New variable.
67037         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67038         (rint_towardzero_test_data): New variable.
67039         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67040         (rint_downward_test_data): New variable.
67041         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67042         (rint_upward_test_data): New variable.
67043         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67044         (round_test_data): New variable.
67045         (round_test): Run tests with RUN_TEST_LOOP_f_f.
67046         (sin_test_data): New variable.
67047         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67048         (sin_tonearest_test_data): New variable.
67049         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67050         (sin_towardzero_test_data): New variable.
67051         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67052         (sin_downward_test_data): New variable.
67053         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67054         (sin_upward_test_data): New variable.
67055         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67056         (sinh_test_data): New variable.
67057         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67058         (sinh_tonearest_test_data): New variable.
67059         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67060         (sinh_towardzero_test_data): New variable.
67061         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67062         (sinh_downward_test_data): New variable.
67063         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67064         (sinh_upward_test_data): New variable.
67065         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67066         (sqrt_test_data): New variable.
67067         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67068         (tan_test_data): New variable.
67069         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67070         (tan_tonearest_test_data): New variable.
67071         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67072         (tan_towardzero_test_data): New variable.
67073         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67074         (tan_downward_test_data): New variable.
67075         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67076         (tan_upward_test_data): New variable.
67077         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67078         (tanh_test_data): New variable.
67079         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67080         (tgamma_test_data): New variable.
67081         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67082         (trunc_test_data): New variable.
67083         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67084         (y0_test_data): New variable.
67085         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67086         (y1_test_data): New variable.
67087         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67088         (significand_test_data): New variable.
67089         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67091 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
67093         [BZ #12387]
67094         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67096 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67098         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67100 2013-05-10  Andreas Jaeger  <aj@suse.de>
67102         [BZ #15448]
67103         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
67104         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
67106 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
67108         * math/gen-libm-test.pl (adjust_arg): New function.
67109         (special_functions): Handle generating output in both functions
67110         and arrays.
67111         (parse_args): Likewise.
67112         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
67113         $in_func argument to parse_args.
67114         * math/libm-test.inc (struct test_f_f_data): New type.
67115         (IF_ROUND_INIT_): New macro.
67116         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
67117         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
67118         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
67119         (IF_ROUND_INIT_FE_UPWARD): Likewise.
67120         (ROUND_RESTORE_): Likewise.
67121         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
67122         (ROUND_RESTORE_FE_TONEAREST): Likewise.
67123         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
67124         (ROUND_RESTORE_FE_UPWARD): Likewise.
67125         (RUN_TEST_LOOP_f_f): New macro.
67126         (acos_test_data): New variable.
67127         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
67128         (acos_tonearest_test_data): New variable.
67129         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67131 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67133         * benchtests/bench-skeleton.c (startup): Fix coding style.
67135 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
67137         [BZ #6809]
67138         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
67139         negative infinity argument.
67140         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
67141         negative infinity argument.
67142         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
67143         negative infinity argument.
67144         * math/libm-test.inc (tgamma_test): Expect errno to be set for
67145         domain errors.
67147 2013-05-10  Florian Weimer  <fweimer@redhat.com>
67149         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
67150         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
67151         * iconv/iconv_prog.c (main): Likewise.
67152         * locale/programs/charmap-dir.c (charmap_readdir)
67153         (fopen_uncompressed): Likewise.
67154         * locale/programs/locfile.c (siblings_uncached)
67155         (write_locale_data): Use lstat64 instead of lstat.
67156         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
67157         stat.
67159 2013-05-10  Andreas Jaeger  <aj@suse.de>
67161         [BZ #15395]
67162         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
67163         localization.
67164         Include <locale.h>.
67166 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
67168         * elf/dl-close.c (_dl_close_worker): Add comments.
67170 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
67172         [BZ #15359]
67173         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
67174         high part of pi/2.
67175         (__ieee754_rem_pio2l): Update comments.
67177         [BZ #15429]
67178         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
67179         high part of pi/2.
67180         (__ieee754_rem_pio2l): Update comments.
67182         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
67183         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
67185         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
67186         M_PI_4l.
67188         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
67189         (M_PI_34_LOG10El): Likewise.
67190         (M_PI2_LOG10El): Likewise.
67191         (M_PI4_LOG10El): Likewise.
67192         (M_PI_LOG10El): Likewise.
67194 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67198 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
67200         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
67201         (MINUS_ZERO_INIT): Likewise.
67202         (PLUS_INFTY_INIT): Likewise.
67203         (MINUS_INFTY_INIT): Likewise.
67204         (QNAN_VALUE_INIT): Likewise.
67205         (MAX_VALUE_INIT): Likewise.
67206         (MIN_VALUE_INIT): Likewise.
67207         (MIN_SUBNORM_VALUE_INIT): Likewise.
67208         (plus_zero): Initialize with PLUS_ZERO_INIT.
67209         (minus_zero): Initialize with MINUS_ZERO_INIT.
67210         (plus_infty): Initialize with PLUS_INFTY_INIT.
67211         (minus_infty): Initialize with MINUS_INFTY_INIT.
67212         (qnan_value): Initialize with QNAN_VALUE_INIT.
67213         (max_value): Initialize with MAX_VALUE_INIT.
67214         (min_value): Initialize with MIN_VALUE_INIT.
67215         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
67217         * math/libm-test.inc (RUN_TEST_if_f): New macro.
67218         (jn_test): Use TEST_if_f instead of TEST_ff_f.
67219         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
67220         (yn_test): Use TEST_if_f instead of TEST_ff_f.
67222         * math/libm-test.inc (RUN_TEST_f_f): New macro.
67223         (RUN_TEST_2_f): Likewise.
67224         (RUN_TEST_ff_f): Likewise.
67225         (RUN_TEST_fi_f): Likewise.
67226         (RUN_TEST_fl_f): Likewise.
67227         (RUN_TEST_fff_f): Likewise.
67228         (RUN_TEST_c_f): Likewise.
67229         (RUN_TEST_f_f1): Likewise.
67230         (RUN_TEST_fF_f1): Likewise.
67231         (RUN_TEST_fI_f1): Likewise.
67232         (RUN_TEST_ffI_f1): Likewise.
67233         (RUN_TEST_c_c): Likewise.
67234         (RUN_TEST_cc_c): Likewise.
67235         (RUN_TEST_f_i): Likewise.
67236         (RUN_TEST_f_i_tg): Likewise.
67237         (RUN_TEST_ff_i_tg): Likewise.
67238         (RUN_TEST_f_b): Likewise.
67239         (RUN_TEST_f_b_tg): Likewise.
67240         (RUN_TEST_f_l): Likewise.
67241         (RUN_TEST_f_L): Likewise.
67242         (RUN_TEST_sincos): Likewise.
67243         * math/gen-libm-test.pl (new_test): Take new argument to indicate
67244         whether to show exceptions.  Do not include ");\n" in return
67245         value.
67246         (special_functions): Output call to RUN_TEST_sincos instead of
67247         check_float calls.  Update calls to new_test.
67248         (parse_args): Output call to single RUN_TEST_* macro instead of
67249         check_* calls and other assignments.  Update calls to new_test.
67251         [BZ #2546]
67252         [BZ #2560]
67253         [BZ #5159]
67254         [BZ #15426]
67255         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
67256         input to result for tgamma overflow.
67257         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
67258         (gamma_coeff): New variable.
67259         (NCOEFF): New macro.
67260         (gamma_positive): New function.
67261         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
67262         underflow here.  Use gamma_positive instead of exp (lgamma) for
67263         other arguments.
67264         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
67265         (gamma_coeff): New variable.
67266         (NCOEFF): New macro.
67267         (gammaf_positive): New function.
67268         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
67269         underflow here.  Use gamma_positive instead of exp (lgamma) for
67270         other arguments.
67271         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
67272         (gamma_coeff): New variable.
67273         (NCOEFF): New macro.
67274         (gammal_positive): New function.
67275         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
67276         underflow here.  Use gamma_positive instead of exp (lgamma) for
67277         other arguments.
67278         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
67279         (gamma_coeff): New variable.
67280         (NCOEFF): New macro.
67281         (gammal_positive): New function.
67282         (__ieee754_gammal_r): Handle positive infinity, overflow and
67283         underflow here.  Handle NaN the same as positive infinity.  Remove
67284         check x < 0xffffffff for negative integers.  Use gamma_positive
67285         instead of exp (lgamma) for other arguments.
67286         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
67287         (gamma_coeff): New variable.
67288         (NCOEFF): New macro.
67289         (gammal_positive): New function.
67290         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
67291         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
67292         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
67293         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
67294         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
67295         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
67296         * sysdeps/generic/math_private.h (__gamma_productf): New
67297         prototype.
67298         (__gamma_product): Likewise.
67299         (__gamma_productl): Likewise.
67300         * math/Makefile (libm-calls): Add gamma_product.
67301         * math/libm-test.inc (tgamma_test): Add more tests.
67302         * sysdeps/i386/fpu/libm-test-ulps: Update.
67303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67305 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
67307         * benchtests/bench-skeleton.c (main): Preheat CPU.
67309 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
67311         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
67313 2013-05-07  Roland McGrath  <roland@hack.frob.com>
67315         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
67316         and _dl_skip_args_internal.
67318 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
67320         * manual/message.texi (Message Translation): Talk about users.
67321         Message to key mapping impacts design.
67323 2013-05-06  Roland McGrath  <roland@hack.frob.com>
67325         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
67327         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
67329         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
67330         * sysdeps/wordsize-64/glob64.c: ... here.
67332         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
67333         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
67334         New macros.
67336         * debug/getlogin_r_chk.c: Moved to ...
67337         * login/getlogin_r_chk.c: ... here.
67338         * debug/Makefile (routines): Move getlogin_r_chk to ...
67339         * login/Makefile (routines): ... here.
67340         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
67341         * login/Versions (libc: GLIBC_2.4): ... here.
67343         * io/poll.c (__poll): Renamed from poll.
67344         Add libc_hidden_def.
67345         (poll): Define as weak alias.
67347         * debug/ptsname_r_chk.c: Moved to ...
67348         * login/ptsname_r_chk.c: ... here.
67349         * debug/Makefile (routines): Move ptsname_r_chk to ...
67350         * login/Makefile (routines): ... here.
67351         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
67352         * login/Versions (libc: GLIBC_2.4): ... here.
67354         * posix/getlogin.c: Moved to ...
67355         * login/getlogin.c: ... here.
67356         * posix/getlogin_r.c: Moved to ...
67357         * login/getlogin_r.c: ... here.
67358         * posix/getlogin_r.c: Moved to ...
67359         * login/getlogin_r.c: ... here.
67360         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
67361         * login/Makefile (routines): ... here.
67362         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
67363         * login/Versions (libc: GLIBC_2.0): ... here.
67365         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
67366         (setrlimit): Define as weak alias.
67368         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
67369         Call __ names for open, ftruncate, and close.
67370         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
67371         (truncate): Define as weak alias.
67373 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
67375         * math/gen-libm-test.pl (parse_args): Initialize x before each
67376         test of frexp, modf and remquo.
67378         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
67379         test signgam value.
67381 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67383         [BZ #15418]
67384         [BZ #15419]
67385         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
67386         internal tests.
67387         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67389 2013-05-06  Roland McGrath  <roland@hack.frob.com>
67391         * elf/dl-writev.h: New file.
67392         * elf/dl-misc.c: Include it.
67393         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
67394         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
67396 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
67398         * math/libm-test.inc (noXFails): Remove variable.
67399         (noXPasses): Likewise.
67400         (BUILD_COMPLEX_INT): Remove macro.
67401         (print_screen): Remove xfail argument.
67402         (print_screen_max_error): Likewise.
67403         (update_stats): Likewise.
67404         (print_max_error): Likewise.  Update calls to other affected
67405         functions.
67406         (print_complex_max_error): Likewise.
67407         (test_single_exception): Update calls to print_screen.
67408         (test_single_errno): Likewise.
67409         (check_float_internal): Remove xfail argument.  Update calls to
67410         other affected functions.
67411         (check_float): Likewise.
67412         (check_complex): Likewise.
67413         (check_int): Likewise.
67414         (check_long): Likewise.
67415         (check_bool): Likewise.
67416         (check_longlong): Likewise.
67417         (main): Don't print noXFails and noXPasses.
67418         * math/gen-libm-test.pl (top level): Don't mention expected
67419         failure handling in comment.
67420         (new_test): Don't handle expected failures.
67421         (parse_args): Don't mention expected failure handling in comment.
67422         (generate_testfile): Don't handle expected failures.
67423         (parse_ulps): Likewise.
67424         (print_ulps_file): Likewise.
67425         (get_failure): Remove function.
67426         (output_test): Don't handle expected failures.
67427         * make/README.libm-test: Don't mention expected failure handling.
67429         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
67430         (minus_zero): Likewise.
67431         (plus_infty): Likewise.
67432         (minus_infty): Likewise.
67433         (qnan_value): Likewise.
67434         (max_value): Likewise.
67435         (min_value): Likewise.
67436         (min_subnorm_value): Likewise.
67437         (initialize): Do not initialize those variables dynamically.
67439 2013-05-03  Roland McGrath  <roland@hack.frob.com>
67441         * io/open.c (__open_2): Moved to ...
67442         * io/open_2.c: ... this new file.
67443         * io/open64.c (__open64_2): Moved to ...
67444         * io/open64_2.c: ... this new file.
67445         * io/openat.c (__openat_2): Moved to ...
67446         * io/openat_2.c: ... this new file.
67447         * io/openat64.c (__openat64_2): Moved to ...
67448         * io/openat64_2.c: ... this new file.
67449         * io/Makefile (routines): Add them.
67450         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
67451         * sysdeps/unix/sysv/linux/open_2.c: File removed.
67452         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
67453         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
67454         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
67455         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
67456         (__openat64): Add hidden_ver.
67457         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
67458         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
67460         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
67461         Separately conditionalize setting of GLRO(dl_sysinfo) so
67462         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
67463         as well, but the actual setting is only under [NEED_DL_SYSINFO].
67465 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67467         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
67468         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
67469         definition.
67470         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
67471         * sysdeps/unix/sysv/linux/powerpc/init-first.c
67472         (_libc_vdso_platform_setup): Add __vdso_time initialization.
67473         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
67474         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
67476 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
67478         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
67479         test signgam value.
67481         * math/libm-test.inc (hypot_test): Do not use
67482         IGNORE_ZERO_INF_SIGN.
67484 2013-05-03  Andreas Jaeger  <aj@suse.de>
67486         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
67487         Linux 3.9.
67488         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
67489         (PF_MAX): Adjust for VSOCK change.
67491 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67495 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
67497         [BZ #15264]
67498         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
67499         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
67500         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
67502 2013-05-02  David S. Miller  <davem@davemloft.net>
67504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67506 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
67508         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
67510 2013-05-01  Roland McGrath  <roland@hack.frob.com>
67512         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
67514 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
67516         [BZ #14952]
67517         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
67518         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
67519         Use __attribute__ ((__gnu_inline__)).
67520         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
67521         Don't use __attribute__ ((__gnu_inline__)).
67523 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
67525         [BZ #15423]
67526         * math/s_catan.c (__catan): Handle small real or imaginary part of
67527         input specially to avoid spurious underflow.
67528         * math/s_catanf.c (__catanf): Likewise.
67529         * math/s_catanh.c (__catanh): Likewise.
67530         * math/s_catanhf.c (__catanhf): Likewise.
67531         * math/s_catanhl.c (__catanhl): Likewise.
67532         * math/s_catanl.c (__catanl): Likewise.
67533         * math/libm-test.inc (catan_test): Add more tests.
67534         (catanh_test): Likewise.
67535         * sysdeps/i386/fpu/libm-test-ulps: Update.
67536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67538 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67542 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
67544         [BZ #15416]
67545         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
67546         accurately for denominator in atan2.
67547         * math/s_catanf.c (__catanf): Likewise.
67548         * math/s_catanh.c (__catanh): Likewise.
67549         * math/s_catanhf.c (__catanhf): Likewise.
67550         * math/s_catanhl.c (__catanhl): Likewise.
67551         * math/s_catanl.c (__catanl): Likewise.
67552         * math/libm-test.inc (catan_test): Add more tests.
67553         (catanh_test): Likewise.
67554         * sysdeps/i386/fpu/libm-test-ulps: Update.
67555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67557 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67559         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
67561         * benchtests/Makefile (bench): Remove slow benchmarks.
67562         * benchtests/atan-inputs: Add slow benchmark inputs.
67563         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
67564         (BENCH_FUNC): Accept variant offset.
67565         (VARIANT): Define.
67566         * benchtests/bench-skeleton.c (main): Run benchmark for each
67567         variant.
67568         * benchtests/cos-inputs: Add slow benchmark inputs.
67569         * benchtests/exp-inputs: Likewise.
67570         * benchtests/pow-inputs: Likewise.
67571         * benchtests/sin-inputs: Likewise.
67572         * benchtests/slowatan-inputs: Remove.
67573         * benchtests/slowatan.c: Remove.
67574         * benchtests/slowcos-inputs: Remove.
67575         * benchtests/slowcos.c: Remove.
67576         * benchtests/slowexp-inputs: Remove.
67577         * benchtests/slowexp.c: Remove.
67578         * benchtests/slowpow-inputs: Remove.
67579         * benchtests/slowpow.c: Remove.
67580         * benchtests/slowsin-inputs: Remove.
67581         * benchtests/slowsin.c: Remove.
67582         * benchtests/slowtan-inputs: Remove.
67583         * benchtests/slowtan.c: Remove.
67584         * benchtests/tan-inputs: Add slow benchmark inputs.
67585         * scripts/bench.pl: Parse comments and directives.
67587         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
67588         in CPPFLAGS.
67589         ($(objpfx)bench-%.c): Remove *-ITER.
67590         * benchtests/bench-modf.c: Remove definition of ITER.
67591         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
67592         (main): Loop for DURATION seconds instead of fixed number of
67593         iterations.
67594         * scripts/bench.pl: Don't expect iterations in parameters.
67596 2013-04-29  Roland McGrath  <roland@hack.frob.com>
67598         * io/fchdir.c (__fchdir): Renamed from fchdir.
67599         (fchdir): Define as weak alias.
67601 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
67603         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
67604         (ERRNO_EDOM): Likewise.
67605         (ERRNO_ERANGE): Likewise.
67606         (noErrnoTests): New variable.
67607         (init_max_error): Set errno to 0.
67608         (test_single_errno): New function.
67609         (test_errno): Likewise.
67610         (check_float_internal): Call test_errno.  Set errno to 0.
67611         (check_complex): Refer to errno tests in comment.
67612         (check_int): Call test_errno.  Set errno to 0.
67613         (check_long): Likewise.
67614         (check_bool): Likewise.
67615         (check_longlong): Likewise.
67616         (cos_test): Use ERRNO_* flags for errno tests instead of
67617         check_int.
67618         (expm1_test): Likewise.
67619         (fmod_test): Likewise.
67620         (ilogb_test): Likewise.
67621         (lgamma_test): Likewise.
67622         (pow_test): Likewise.
67623         (remainder_test): Likewise.
67624         (sin_test): Likewise.
67625         (tan_test): Likewise.
67626         (yn_test): Likewise.
67627         (initialize): Set errno to 0.
67628         (main): Print number of errno tests.
67629         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
67631 2013-04-29  Andreas Jaeger  <aj@suse.de>
67633         [BZ #15084]
67634         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
67635         and RES_USEVC.
67637         [BZ #15085]
67638         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
67639         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
67640         unimplemented.
67642         [BZ #15380]
67643         * stdlib/random.c (__initstate): Return NULL if
67644         __initstate fails.
67646         [BZ #15086]
67647         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
67648         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
67649         RES_SNGLKUPREOP.
67651 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67655 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
67657         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
67658         of individual tests.
67659         (casin_test): Likewise.
67660         (casinh_test): Likewise.
67662 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
67664         [BZ #15409]
67665         * math/s_catan.c (__catan): Handle arguments with large real or
67666         imaginary part separately without squaring.
67667         * math/s_catanf.c (__catanf): Likewise.
67668         * math/s_catanh.c (__catanh): Likewise.
67669         * math/s_catanhf.c (__catanhf): Likewise.
67670         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
67671         and redefine.
67672         (__catanhl): Handle arguments with large real or imaginary part
67673         separately without squaring.
67674         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
67675         and redefine.
67676         (__catanl): Handle arguments with large real or imaginary part
67677         separately without squaring.
67678         * math/libm-test.inc (catan_test): Add more tests.
67679         (catanh_test): Likewise.
67680         * sysdeps/i386/fpu/libm-test-ulps: Update.
67681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67683 2013-04-27  Andreas Jaeger  <aj@suse.de>
67685         [BZ #15007]
67686         * stdlib/stdlib.h: Update guards for qecvt.
67687         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
67688         <stdlib.h>.
67690 2013-04-27  Allan McRae  <allan@archlinux.org>
67692         * sysdeps/i386/fpu/libm-test-ulps: Update.
67694 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
67696         [BZ #15406]
67697         * math/s_catan.c: Include <float.h>.
67698         (__catan): Ensure underflow exception occurs for underflowed
67699         result.
67700         * math/s_catanf.c: Include <float.h>.
67701         (__catanf): Ensure underflow exception occurs for underflowed
67702         result.
67703         * math/s_catanh.c: Include <float.h>.
67704         (__catanh): Ensure underflow exception occurs for underflowed
67705         result.
67706         * math/s_catanhf.c: Include <float.h>.
67707         (__catanhf): Ensure underflow exception occurs for underflowed
67708         result.
67709         * math/s_catanhl.c: Include <float.h>.
67710         (__catanhl): Ensure underflow exception occurs for underflowed
67711         result.
67712         * math/s_catanl.c: Include <float.h>.
67713         (__catanl): Ensure underflow exception occurs for underflowed
67714         result.
67715         * math/libm-test.inc (catan_test): Add more tests.
67716         (catanh_test): Likewise.
67718         [BZ #15405]
67719         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
67720         underflowed result.
67721         * math/s_ccoshf.c (__ccoshf): Likewise.
67722         * math/s_ccoshl.c (__ccoshl): Likewise.
67723         * math/s_csin.c (__csin): Likewise.
67724         * math/s_csinf.c (__csinf): Likewise.
67725         * math/s_csinh.c (__csinh): Likewise.
67726         * math/s_csinhf.c (__csinhf): Likewise.
67727         * math/s_csinhl.c (__csinhl): Likewise.
67728         * math/s_csinl.c (__csinl): Likewise.
67729         * math/libm-test.inc (ccos_test): Add more tests.
67730         (ccosh_test): Likewise.
67731         (csin_test): Likewise.
67732         (csinh_test): Likewise.
67734 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67736         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
67737         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
67738         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
67739         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
67740         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
67741         powerpc/power5+/fpu folders.
67742         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
67745 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
67747         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67749 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
67751         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
67752         additions to variable.
67753         [$(config-machine) = x86_64] (modules-names): Likewise.
67754         ($(objpfx)tst-audit3): Remove dependency.
67755         ($(objpfx)tst-audit3.out): Likewise.
67756         ($(objpfx)tst-audit4): Likewise.
67757         ($(objpfx)tst-audit4.out): Likewise.
67758         ($(objpfx)tst-audit5): Likewise.
67759         ($(objpfx)tst-audit5.out): Likewise.
67760         ($(objpfx)tst-audit6): Likewise.
67761         ($(objpfx)tst-audit6.out): Likewise.
67762         ($(objpfx)tst-audit7): Likewise.
67763         ($(objpfx)tst-audit7.out): Likewise.
67764         (tst-audit3-ENV): Remove variable.
67765         (tst-audit4-ENV): Likewise.
67766         (tst-audit5-ENV): Likewise.
67767         (tst-audit6-ENV): Likewise.
67768         (tst-audit7-ENV): Likewise.
67769         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
67770         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
67771         addition to variable.
67772         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
67773         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
67774         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
67775         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
67776         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
67777         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
67778         tst-audit3, tst-audit4 and tst-audit5.
67779         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
67780         tst-audit6 and tst-audit7.
67781         [$(subdir) = elf] (modules-names): Add audit modules for those
67782         tests.
67783         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
67784         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
67785         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
67786         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
67787         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
67788         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
67789         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
67790         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
67791         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
67792         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
67793         [$(subdir) = elf] (tst-audit3-ENV): New variable.
67794         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
67795         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
67796         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
67797         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
67798         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
67799         Likewise.
67800         [$(subdir) = elf && $(config-cflags-avx) = yes]
67801         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
67802         [$(subdir) = elf && $(config-cflags-avx) = yes]
67803         (CFLAGS-tst-auditmod4a.c): Likewise.
67804         [$(subdir) = elf && $(config-cflags-avx) = yes]
67805         (CFLAGS-tst-auditmod4b.c): Likewise.
67806         [$(subdir) = elf && $(config-cflags-avx) = yes]
67807         (CFLAGS-tst-auditmod6b.c): Likewise.
67808         [$(subdir) = elf && $(config-cflags-avx) = yes]
67809         (CFLAGS-tst-auditmod6c.c): Likewise.
67810         [$(subdir) = elf && $(config-cflags-avx) = yes]
67811         (CFLAGS-tst-auditmod7b.c): Likewise.
67812         * elf/tst-audit3.c: Move to ...
67813         * sysdeps/x86_64/tst-audit3.c: ... here.
67814         * elf/tst-audit4.c: Move to ...
67815         * sysdeps/x86_64/tst-audit4.c: ... here.
67816         * elf/tst-audit5.c: Move to ...
67817         * sysdeps/x86_64/tst-audit5.c: ... here.
67818         * elf/tst-audit6.c: Move to ...
67819         * sysdeps/x86_64/tst-audit6.c: ... here.
67820         * elf/tst-audit7.c: Move to ...
67821         * sysdeps/x86_64/tst-audit7.c: ... here.
67822         * elf/tst-auditmod3a.c: Move to ...
67823         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
67824         * elf/tst-auditmod3b.c: Move to ...
67825         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
67826         * elf/tst-auditmod4a.c: Move to ...
67827         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
67828         * elf/tst-auditmod4b.c: Move to ...
67829         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
67830         * elf/tst-auditmod5a.c: Move to ...
67831         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
67832         * elf/tst-auditmod5b.c: Move to ...
67833         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
67834         * elf/tst-auditmod6a.c: Move to ...
67835         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
67836         * elf/tst-auditmod6b.c: Move to ...
67837         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
67838         * elf/tst-auditmod6c.c: Move to ...
67839         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
67840         * elf/tst-auditmod7a.c: Move to ...
67841         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
67842         * elf/tst-auditmod7b.c: Move to ...
67843         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
67845 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
67847         [BZ #15366]
67848         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
67849         define unconditionally.
67850         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
67851         define unconditionally.
67852         (INT8_C, INT16_C, etc.): Likewise.
67854 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
67856         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
67857         __ehdr_start with hidden visibility.
67859         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
67861 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
67863         * math/libm-test.inc (cos_test): Use accurate hex constants.
67864         (sincost_test): Likewise.
67866 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
67868         * math/libm-test.inc (catan_test): Add more tests.
67869         (catanh_test): Likewise.
67871         * math/s_catanf.c (__catanf): Use suffixed floating-point
67872         constants.
67873         * math/s_catanhf.c (__catanhf): Likewise.
67874         * math/s_catanhl.c (__catanhl): Likewise.
67875         * math/s_catanl.c (__catanl): Likewise.
67877         [BZ #15394]
67878         * math/s_catan.c (__catan): Calculate imaginary part of result
67879         with log1p not log unless computing log of number close to 0.
67880         * math/s_catanf.c (__catanf): Likewise.
67881         * math/s_catanl.c (__catanl): Likewise.
67882         * math/s_catanh.c (__catanh): Calculate real part of result with
67883         log1p not log unless computing log of number close to 0.
67884         * math/s_catanhf.c (__catanhf): Likewise.
67885         * math/s_catanhl.c (__catanhl): Likewise.
67886         * math/libm-test.inc (catan_test): Add more tests.
67887         (catanh_test): Likewise.
67888         * sysdeps/i386/fpu/libm-test-ulps: Update.
67889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67891 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
67893         * benchtests/Makefile: Mention files in which fast and slow
67894         paths of math functions are implemented.
67896 2013-04-23  Roland McGrath  <roland@hack.frob.com>
67898         * sysdeps/posix/timespec_get.c: New file.
67900 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67902         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
67903         POWER.
67904         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
67905         for POWER.
67906         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
67907         powerpc/power5/fpu folders.
67908         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
67909         * benchtests/Makefile: Add modf testcase.
67910         * benchtests/bench-modf.c: New file: Benchmark test for mo
67912 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
67914         [BZ #14888]
67915         * time/Makefile (tests): Add tst-strptime-whitespace.
67916         * time/strptime_l.c (get_number): Use ISSPACE.
67917         (__strptime_internal): Likewise.
67918         * time/tst-strptime-whitespace.c: New test case.
67920 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
67922         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
67923         member.
67924         (_nss_files_init): Set it here.
67926 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
67928         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
67929         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
67930         unsigned.
67932 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
67934         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
67936 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
67938         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
67939         size just once.
67941 2013-04-21  David S. Miller  <davem@davemloft.net>
67943         * po/ru.po: Update Russion translation from translation project.
67945 2013-04-17  Adam Conrad  <adconrad@0c3.net>
67947         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
67948         and setfsgid.
67950 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
67952         * configure.in: Remove i386 configure warning. Remove i386 case.
67953         * configure: Regenerate.
67954         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
67955         Add example to error message.
67956         * sysdeps/i386/configure: Regenerate.
67958 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
67960         * benchtests/Makefile (bench): Add cos, tan, slowcos and
67961         slowtan.
67962         * benchtests/cos-inputs: New file.
67963         * benchtests/slowcos-inputs: New file.
67964         * benchtests/slowcos.c: New file.
67965         * benchtests/slowtan-inputs: New file.
67966         * benchtests/slowtan.c: New file.
67967         * benchtests/tan-inputs: New file.
67969 2013-04-16  Roland McGrath  <roland@hack.frob.com>
67971         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
67972         considered kosher.
67974 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67976         * benchtests/Makefile: Include cppflags-iterator.mk to add
67977         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
67979         * Makefile.in (bench-clean): New target.
67980         * benchtests/Makefile (bench-clean): Likewise.
67982 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
67984         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
67986 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
67988         * stdio-common/tstdiomisc.c: Fix coding-style violation.
67990 2013-04-15  Andreas Schwab  <schwab@suse.de>
67992         * nscd/grpcache.c (cache_addgr): Properly check for short write.
67993         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67994         * nscd/pwdcache.c (cache_addpw): Likewise.
67995         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
67996         more than recsize.
67998 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68000         * benchtests/Makefile (bench): Write all output to
68001         bench-out.tmp together.
68003 2013-04-15  Andreas Schwab  <schwab@suse.de>
68005         * nscd/nscd.c (main): Don't fork again after closing files.
68007 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68009         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68011         * benchtests/Rules (bench-deps): Collect dependencies into a
68012         single variable.  Add Makefile to dependencies.
68013         ($(objpfx)bench-%.c): Depend on bench-deps.
68015 2013-04-12  Roland McGrath  <roland@hack.frob.com>
68016             Xavier Roche  <roche+kml2@exalead.com>
68018         [BZ #15361]
68019         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68020         just that it's a file descriptor.
68021         * manual/llio.texi (Synchronizing AIO Operations): Update description
68022         for EBADF error from aio_fsync.
68024 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
68026         * Rules (bench): Move target definition...
68027         * benchtests/Makefile: ... here.
68029 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
68031         * math/libm-test.inc (cos_test): Fix PI/2 test.
68032         (sincos_test): Likewise.
68033         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68034         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68036 2013-04-11  Andreas Schwab  <schwab@suse.de>
68038         [BZ #13988]
68039         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68040         accept exponent character only when digits were seen.
68041         * stdio-common/Makefile (tests): Add bug26.
68042         * stdio-common/bug26.c: New file.
68044         [BZ #14293]
68045         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68046         non-freeable.
68048 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
68050         * Makeconfig (rtld-prefix): Define built linker prefix.
68051         * Rules (run-bench): Use it.
68052         * math/Makefile (run-regen-ulps): Likewise.
68054         * Rules (bench): Remove eval.
68056 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68057             Roland McGrath  <roland@hack.frob.com>
68058             Ondrej Bilka  <neleai@seznam.cz>
68060         [BZ #15346]
68061         * time/getdate.c: Include ctype.h and alloca.h.
68062         (__getdate_r): Trim leading and trailing spaces of input.
68063         * time/tst-getdate.c (tests): Add tests with leading and
68064         trailing spaces.
68066 2013-04-08  Roland McGrath  <roland@hack.frob.com>
68068         [BZ #14280]
68069         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68070         when computing value.
68072 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68074         * math/README.libm-test (How can I generate "libm-test-ulps"?):
68075         Use testrun.sh to run libm tests.
68077         [BZ #15309]
68078         * elf/dl-open.c (dl_open_worker): memset all of seen array.
68080 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
68082         [BZ #15264]
68083         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68085 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68087         * Makefile.in (regen-ulps): New target.
68088         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68089         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68090         [ifneq (no,$(PERL)] (regen-ulps): New target.
68091         [ifeq (no,$(PERL)] (regen-ulps): New target.
68092         * math/libm-test.inc (ulps_file_name): Define.
68093         (output_dir): New variable.
68094         (options): Add "output-dir" option.
68095         (parse_opt): Handle 'o' case.
68096         (main): If output_dir is non-NULL use it as a prefix
68097         otherwise use "".
68098         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68100 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68102         [BZ #10060, #10062]
68103         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
68104         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
68105         fail configure if __sync_val_compare_and_swap is not inlined.
68106         * sysdeps/i386/configure: Regenerate.
68107         * configure.in: Build for i686 when configured for i386.
68108         * configure: Regenerate.
68109         * README: Remove i386 reference.
68111 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68113         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
68114         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68116 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68118         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
68119         (lmsnanval): New variables.
68120         (F): Add conversion tests.
68121         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
68122         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68124         * stdio-common/tstdiomisc.c (F): Properly collect individual
68125         tests' results.
68127         [BZ #14686, #15336]
68128         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
68129         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
68130         Instead, use input NaN values or generate a qNaN by arithmetic
68131         operation.  Also fix bugs to comply with the standard.
68132         * math/libm-test.inc (remainder_test): Add more tests.
68134         [BZ #15335, #15342]
68135         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
68136         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
68137         input NaN values or generate a qNaN by arithmetic operation.
68139         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
68140         unreachable code.
68142         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
68143         definitions.
68145 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
68147         [BZ #14478]
68148         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
68149         underflowed result.
68150         * math/s_cexpf.c (__cexpf): Likewise.
68151         * math/s_cexpl.c (__cexpl): Likewise.
68152         * math/libm-test.inc (cexp_test): Add more tests.
68154 2013-04-03  Andreas Schwab  <schwab@suse.de>
68156         [BZ #15330]
68157         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
68158         order arrays from heap if bigger than alloca cutoff.
68160 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
68162         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
68163         (SNAN_TESTS_double): Refer to GCC PR56831.
68164         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
68165         GCC PR56828.
68167 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
68169         * Rules (bench): Move bench.out after the run is complete.
68171         * Rules (bench): Echo currently running benchmark.
68173         * benchtests/Makefile (bench): Add atan and slowatan.
68174         * benchtests/atan-inputs: New file.
68175         * benchtests/slowatan-inputs: New file.
68176         * benchtests/slowatan.c: New file.
68178         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
68179         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
68180         its value.
68182         [BZ #15305]
68183         * sysdeps/unix/sysv/linux/kernel-features.h
68184         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
68185         __ASSUME_XFS_RESTRICTED_CHOWN.
68186         * sysdeps/unix/sysv/linux/pathconf.c
68187         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
68188         Save and restore errno.
68190 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
68192         [BZ #15327]
68193         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
68194         arguments using __kernel_casinh.
68195         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
68196         arguments using __kernel_casinhf.
68197         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
68198         arguments using __kernel_casinhl.
68199         * math/libm-test.inc (cacosh_test): Add more tests.
68200         * sysdeps/i386/fpu/libm-test-ulps: Update.
68201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68203 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
68205         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
68206         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
68208         * bench/Makefile (bench): Add sin and slowsin.
68209         * benchtests/sin-inputs: New file.
68210         * benchtests/slowsin-inputs: New file.
68211         * benchtests/slowsin.c: New file.
68213         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
68214         (bench): Add slowexp and slowpow.
68215         (exp-ITER): Increase iterations.
68216         (pow-ITER): Likewise.
68217         * benchtests/exp-inputs: Change input.
68218         * benchtests/pow-inputs: Likewise.
68219         * benchtests/slowexp-inputs: New file.
68220         * benchtests/slowexp.c: New file.
68221         * benchtests/slowpow-inputs: New file.
68222         * benchtests/slowpow.c: New file.
68224 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68226         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
68227         instructions.
68228         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68229         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
68230         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
68231         * benchtests/Makefile: Add rint benchtest.
68232         * benchtests/rint-inputs: Input for rint benchtest.
68234 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68236         * Versions.def (libm): Add GLIBC_2.18.
68237         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
68238         hidden libm prototypes.
68239         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
68240         * math/Makefile (libm-calls): Add s_issignaling.
68241         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
68242         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
68243         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
68244         declaration.
68245         * math/math.h [__USE_GNU] (issignaling): New macro.
68246         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
68247         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
68248         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
68249         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
68250         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
68251         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
68252         * manual/arith.texi (issignaling): New section.
68253         * manual/libm-err-tab.pl (@all_functions): Update comment.
68254         * math/gen-libm-test.pl (parse_args): Apply special handling for
68255         issignaling.
68256         * math/libm-test.inc (print_float, issignaling_test): New
68257         functions.
68258         (check_float_internal): Add issignaling checks.
68259         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
68260         default definition.
68261         * sysdeps/powerpc/math-tests.h: New file.
68262         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
68263         tests.
68264         * math/test-snan.c (TEST_FUNC): Likewise.
68266 2013-03-30  David S. Miller  <davem@davemloft.net>
68268         * po/de.po: Update from translation team.
68270 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
68272         [BZ #10357]
68273         * math/k_casinh.c (__kernel_casinh): Handle arguments with
68274         imaginary part less than 1.0 and real part less than 0.5
68275         specially.
68276         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68277         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68278         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
68279         (cacos_test): Add more tests.
68280         (casin_test): Likewise.
68281         (casinh_test): Likewise.
68282         * sysdeps/i386/fpu/libm-test-ulps: Update.
68283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68285 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68287         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
68288         ONE with its value.
68290         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
68291         (__pow_mp): Replace ONE and MONE with their values.
68292         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68293         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
68294         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68295         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
68296         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68297         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68299         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
68301         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
68302         (__pow_mp): Replace ZERO and MZERO with their values.
68303         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68304         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68305         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68306         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68307         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68308         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
68309         (__sqr): Likewise.
68311         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
68313         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
68315 2013-03-28  Roland McGrath  <roland@hack.frob.com>
68317         * include/stdlib.h [!SHARED] (__call_tls_dtors):
68318         Declare with __attribute__ ((weak)).
68319         * stdlib/exit.c (__libc_atexit) [!SHARED]:
68320         Call __call_tls_dtors only if it's not NULL.
68322 2013-03-28  Roland McGrath  <roland@hack.frob.com>
68324         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
68325         didn't do it already, then set _dl_phdr and _dl_phnum based on the
68326         magic __ehdr_start linker symbol if it's defined.
68327         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
68328         them up here if it was already done.
68330         * elf/dl-support.c (_dl_phdr): Make pointer to const.
68331         (_dl_aux_init): Use const in cast when setting it.
68332         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
68333         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
68334         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
68336         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
68337         Declare them here.
68338         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
68339         * csu/libc-tls.c: Nor here.
68340         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
68342         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
68343         (__libc_message): Never call vsyslog.
68345 2013-03-28  Alan Modra  <amodra@gmail.com>
68347         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
68348         Define as empty.
68349         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
68350         Likewise.
68352 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68354         [BZ #15214]
68355         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
68356         underflow.
68357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68359 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68361         [BZ #15304]
68362         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
68363         Don't add gid passed as argument.
68365         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
68367 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
68369         [BZ #15307]
68370         * math/k_casinh.c (__kernel_casinh): Handle arguments with
68371         imaginary part between 1.0 and 1.5 and real part less than 0.5
68372         specially.
68373         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68374         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68375         * math/libm-test.inc (cacos_test): Add more tests.
68376         (casin_test): Likewise.
68377         (casinh_test): Likewise.
68378         * sysdeps/i386/fpu/libm-test-ulps: Update.
68379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68381 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68383         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
68384         constants.
68385         (norm): Likewise.
68386         (denorm): Likewise.
68387         (__dbl_mp): Likewise.
68388         (add_magnitudes): Likewise.
68389         (sub_magnitudes): Likewise.
68390         (__add): Likewise.
68391         (__sub): Likewise.
68392         (__mul): Likewise.
68393         (__sqr): Likewise.
68394         (__inv): Likewise.
68395         (__dvd): Likewise.
68397         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
68398         commented code.
68399         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
68400         (__dubcos): Likewise.
68401         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
68402         (__ieee754_acos): Likewise.
68403         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68404         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
68405         (__exp1): Likewise.
68406         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68407         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68408         (log1): Likewise.
68409         (my_log2): Likewise.
68410         (checkint): Likewise.
68411         * sysdeps/ieee754/dbl-64/e_remainder.c
68412         (__ieee754_remainder): Likewise.
68413         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68414         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
68415         (bsloww): Likewise.
68416         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68418         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
68419         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
68420         MANTISSA_STORE_T to store computations on mantissa.  Use
68421         macros for rounding and division.
68422         (denorm): Likewise.
68423         (__dbl_mp): Likewise.
68424         (add_magnitudes): Likewise.
68425         (sub_magnitudes): Likewise.
68426         (__mul): Likewise.
68427         (__sqr): Likewise.
68428         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
68429         powers of two in terms of TWOPOW macro.
68430         (mp_no): Make type of mantissa as MANTISSA_T.
68431         [!RADIXI]: Define RADIXI.
68432         [!TWO52]: Define TWO52.
68433         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
68435 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68437         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
68438         llroundl symbol when building for PPC32.
68440 2013-03-24  Mark H Weaver  <mhw@netris.org>
68442         * manual/arith.texi (Normalization Functions): Fix prototypes for
68443         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
68445 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68447         [BZ #13889]
68448         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
68449         high value to check if expl overflow.
68450         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
68451         to check for underflow and overflow.
68452         * math/libm-test.inc: Add exp test.
68454 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
68456         [BZ #11120]
68457         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
68458         with NOT_IN_libc.
68460 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68462         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
68463         symbol.
68465 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68467         * math/gen-libm-test.pl (parse_args, special_functions): Properly
68468         wrap blocks consisting of several statements.
68470         * sysdeps/generic/math-tests.h: New file.
68471         * sysdeps/i386/fpu/math-tests.h: Likewise.
68472         * math/test-snan.c: Include it.
68473         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
68475 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
68477         [BZ #15285]
68478         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
68479         (__ieee754_j0l): Do not improve calculations using cos of twice
68480         input for inputs above LDBL_MAX / 2.0L.
68481         (__ieee754_y0l): Likewise.
68482         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
68483         (__ieee754_j1l): Do not improve calculations using cos of twice
68484         input for inputs above LDBL_MAX / 2.0L.
68485         (__ieee754_y1l): Likewise.
68486         * math/libm-test.inc (j0_test): Add another test.
68487         (j1_test): Likewise.
68488         (y0_test): Likewise.
68489         (y1_test): Likewise.
68490         * sysdeps/i386/fpu/libm-test-ulps: Update.
68492 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
68494         * Rules ($(objpfx)bench-%.c): Include code from a C source
68495         file.
68497 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
68499         [BZ #15287]
68500         * math/k_casinh.c (__kernel_casinh): Handle arguments with
68501         imaginary part 1.0 and real part less than 0.5 specially.
68502         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68503         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68504         * math/libm-test.inc (cacos_test): Add more tests.
68505         (casin_test): Likewise.
68506         (casinh_test): Likewise.
68507         * sysdeps/i386/fpu/libm-test-ulps: Update.
68508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68510 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
68512         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
68513         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
68515 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
68517         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
68518         * config.make.in (config-cflags-sse4): Remove variable.
68519         (config-cflags-avx): Likewise.
68520         (config-cflags-sse2avx): Likewise.
68521         (config-cflags-novzeroupper): Likewise.
68522         (config-asflags-i686): Likewise.
68523         (have-mfma4): Likewise.
68524         (have-as-vis3): Likewise.
68525         (MIG): Likewise.
68526         * configure.in (MIG): Do not AC_SUBST.
68527         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
68528         (libc_cv_cc_sse4): Do not AC_SUBST.
68529         (libc_cv_cc_avx): Likewise.
68530         (libc_cv_cc_sse2avx): Likewise.
68531         (libc_cv_cc_novzeroupper): Likewise.
68532         (libc_cv_cc_fma4): Likewise.
68533         (libc_cv_as_i686): Likewise.
68534         (libc_cv_sparc_as_vis3): Likewise.
68535         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
68536         LIBC_CONFIG_VAR.
68537         (config-asflags-i686): Likewise.
68538         (config-cflags-avx): Likewise.
68539         (config-cflags-sse2avx): Likewise.
68540         (have-mfma4): Likewise.
68541         (config-cflags-novzeroupper): Likewise.
68542         * sysdeps/mach/configure.in (MIG): Likewise.
68543         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
68544         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
68545         LIBC_CONFIG_VAR.
68546         (config-cflags-avx): Likewise.
68547         (config-cflags-sse2avx): Likewise.
68548         (have-mfma4): Likewise.
68549         (config-cflags-novzeroupper): Likewise.
68550         * configure: Regenerated.
68551         * sysdeps/i386/configure: Likewise.
68552         * sysdeps/mach/configure: Likewise.
68553         * sysdeps/sparc/configure: Likewise.
68554         * sysdeps/x86_64/configure: Likewise.
68556 2013-03-20  Roland McGrath  <roland@hack.frob.com>
68558         [BZ #14812]
68559         * locale/programs/localedef.c (options): Put N_ translation marker
68560         on argument names, not just descriptions.
68562 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68564         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
68566 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
68568         [BZ #14176]
68569         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
68571 2013-03-19  Roland McGrath  <roland@hack.frob.com>
68573         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
68574         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
68575         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
68576         [!BEFORE_ABORT] (before_abort): New function.
68577         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
68578         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
68579         (writev_for_fatal): New function.
68580         (WRITEV_FOR_FATAL): New macro; call that.
68581         (backtrace_and_maps): New function.
68582         (BEFORE_ABORT): New macro; call that.
68583         (struct str_list): Type removed.
68584         (__libc_message, __libc_fatal): Functions removed.
68585         Include <sysdeps/posix/libc_fatal.c> instead.
68587 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
68589         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
68590         constants.
68591         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
68592         double constants.
68594 2013-03-19  Andreas Schwab  <schwab@suse.de>
68596         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
68597         * sysdeps/gnu/configure: Regenerate.
68599         * configure.in: Substitute libc_cv_rtlddir.
68600         * configure: Regenerate.
68601         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
68602         * Makeconfig (rtlddir, inst_rtlddir): New variables.
68603         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
68604         * elf/Makefile (install-others, CFLAGS-interp.c)
68605         (ldso_install, common-ldd-rewrite): Likewise.
68606         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
68607         $(inst_slibdir)/$(rtld-installed-name).
68608         * scripts/rellns-sh: Add -p option.
68609         * Makerules (make-shlib-link): Use rellns-sh to get relative name
68610         for source.
68612 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
68614         * manual/nptl.texi: Renamed to ...
68615         * manual/threads.texi: ... this.
68616         * manual/Makefile (chapters): Update.
68618 2013-03-18  Roland McGrath  <roland@hack.frob.com>
68620         [BZ #14812]
68621         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
68622         on argument names, not just descriptions.
68623         * malloc/memusagestat.c (options): Likewise.
68624         * nss/getent.c (options): Likewise.
68626 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
68628         [BZ #14812]
68629         * iconv/iconv_prog.c (options): Put N_ translation marker
68630         on argument names, not just descriptions.
68631         * iconv/iconvconfig.c (options): Likewise.
68633 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
68635         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
68636         implementation which is faster on all x86_64 architectures.
68637         Tested on AMD, Intel Nehalem, SNB, IVB.
68638         * sysdeps/x86_64/strnlen.S: Likewise.
68640         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
68641         Remove all multiarch strlen and strnlen versions.
68642         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
68643         Remove strlen and strnlen related parts.
68645         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
68646         Inline strlen part.
68647         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
68649         * sysdeps/x86_64/multiarch/strlen.S: Remove.
68650         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
68651         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
68652         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
68653         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
68654         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
68656 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
68658         * manual/memory.texi (Malloc Tunable Parameters):
68659         Sort parameters alphabetically. Add comments for missing entries.
68661 2013-03-17  David S. Miller  <davem@davemloft.net>
68663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68665 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
68667         [BZ #15283]
68668         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
68669         for arguments at most half maximum finite value.
68670         * math/libm-test.inc (j0_test): Add more tests.
68671         (j1_test): Likewise.
68672         (y0_test): Likewise.
68673         (y1_test): Likewise.
68674         * sysdeps/i386/fpu/libm-test-ulps: Update.
68675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68677         [BZ #14155]
68678         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
68679         1 / x and functions P and Q for arguments above 0x1p256L.
68680         (__ieee754_y0l): Likewise.
68681         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
68682         (__ieee754_y1l): Likewise.
68683         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
68684         (j1_test): Likewise.
68685         (y0_test): Likewise.
68686         (y1_test): Likewise.
68688 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
68690         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
68691         variable.
68693 2013-03-15  Roland McGrath  <roland@hack.frob.com>
68695         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
68696         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
68697         zero since it's initialized to EXEC_PAGESIZE.
68699         * sysdeps/unix/sysv/linux/ldsodefs.h
68700         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
68701         * sysdeps/generic/ldsodefs.h: ... here.
68703 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
68705         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
68707         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
68708         math/test-snan.c.
68709         * math/test-snan.c: Renamed from
68710         sysdeps/powerpc/fpu/test-powerpc-snan.c.
68711         * math/Makefile (tests): Add test-snan.
68712         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
68713         test-powerpc-snan.
68715         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
68716         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
68717         functions.
68718         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
68719         __builtin_nan family of functions.
68720         * math/libm-test.inc (initialize): Initialize qnan_value with
68721         __builtin_nan family of functions.
68722         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
68723         Remove variables.
68724         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
68725         Remove functions.
68726         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
68727         storage class.  Initialize qNaN_var and sNaN_var with
68728         __builtin_nan and __builtin_nans families of functions,
68729         respectively.
68731         * math/libm-test.inc (acosh_test): Also test with qNaN input.
68732         (sqrt_test): Remove duplicate test with qNaN input.
68733         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
68734         (round_test, signbit_test, significand_test): Note missing +/-Inf
68735         as well as qNaN tests.
68737         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
68738         qNaN_var.  Fix a few strings, too.
68739         * math/libm-test.inc (nan_value): Rename to qnan_value.
68740         * math/gen-libm-test.pl (%beautify): Adjust to that.
68741         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
68742         * math/test-misc.c (main): Likewise.
68743         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
68744         to __qnan_bytes, and __qnan_union, respectively.
68745         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
68746         Likewise.
68747         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
68748         and lqnanval, respectively.
68749         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
68750         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
68751         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
68752         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
68754         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
68755         * math/test-misc.c (main) [__x86_64__]: Enable test for long
68756         doubles.
68758         * math/test-misc.c (main): Fix copy'n'pastos.
68759         * misc/tst-efgcvt.c (special): Likewise.
68761         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
68762         Remove declarations.
68764 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68766         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
68767         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
68768         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
68769         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
68771 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68773         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
68774         macro to return vdso values correctly in IFUNC implementations.
68775         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
68776         Optimization by using IFUNC.
68778 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68779             Richard Henderson  <rth@redhat.com>
68780             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68782         * Makefile.in (bench): New target.
68783         * NEWS: Mention the benchmark framework.
68784         * Rules (bench): Likewise.
68785         (binaries-bench): Generate binaries for functions to
68786         benchmark.
68787         * benchtests/Makefile: New makefile for benchmark tests.
68788         * benchtests/bench-skeleton.c: New skeleton file for benchmark
68789         programs.
68790         * benchtests/exp-inputs: New input file for EXP function.
68791         * benchtests/pow-inputs: New input file for POW function.
68792         * scripts/bench.pl: New script to generate source files for
68793         benchmark programs.
68795 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68797         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
68798         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
68799         computations on mantissa.  Use macros for rounding and
68800         division.
68801         (denorm): Likewise.
68802         (__dbl_mp): Likewise.
68803         (add_magnitudes): Likewise.
68804         (sub_magnitudes): Likewise.
68805         (__mul): Likewise.
68806         (__sqr): Likewise.
68807         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
68808         powers of two in terms of TWOPOW macro.
68809         (mp_no): Make type of mantissa as MANTISSA_T.
68810         [!RADIXI]: Define RADIXI.
68811         [!TWO52]: Define TWO52.
68812         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
68814         * manual/nptl.texi (cindex): Modify threads to pthreads.
68816 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
68818         * sysdeps/x86_64/preconfigure: Regenerated.
68820 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
68822         [BZ #14155]
68823         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
68824         0x1p28 and above.
68825         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
68826         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
68827         0x1p28 and above.
68828         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
68829         * math/libm-test.inc (j0_test): Do not allow one spurious
68830         underflow exception.
68831         (y1_test): Likewise.
68833 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
68835         * manual/Makefile (chapters): Add nptl.
68836         * manual/debug.texi (Debugging Support): Add link to Threads
68837         chapter.
68838         * manual/nptl.texi: New file.
68840         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
68842 2013-03-14  Petr Baudis  <pasky@ucw.cz>
68844         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
68845         for non-NULL pointer before the memory validity test. Pointed
68846         out by Holger Brunck <holger.brunck@keymile.com>.
68848 2013-03-13  Andreas Schwab  <schwab@suse.de>
68850         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
68851         instead of .os.
68853 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
68855         * timezone/zic.c: Update from tzcode 2013b.
68857 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
68859         * manual/install.texi (Configuring and compiling):
68860         Mention i686 and i586.
68861         * INSTALL: Regenerate.
68863 2013-03-12  Roland McGrath  <roland@hack.frob.com>
68865         * sysdeps/init_array/elf-init.c: New file.
68866         * csu/elf-init.c
68867         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
68868         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
68870         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
68871         __gmon_start__ as global, but as static with a .preinit_array pointer.
68872         * sysdeps/init_array/gmon-start.c: New file.  Use that.
68873         * sysdeps/init_array/crti.S: New file, empty except for comments.
68874         * sysdeps/init_array/crtn.S: Likewise.
68876 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
68878         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
68879         definining bcopy.
68880         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68881         Remove Prefer_SSE_for_memop.
68882         * sysdeps/x86_64/multiarch/init-arch.h: Remove
68883         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
68884         HAS_PREFER_SSE_FOR_MEMOP.
68885         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
68886         memset-x86-64.
68887         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
68888         Remove bzero, memset ifunc support.
68889         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
68890         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
68891         * sysdeps/x86_64/multiarch/memset.S: Likewise.
68892         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68894 2013-03-11  Andreas Schwab  <schwab@suse.de>
68896         [BZ #15234]
68897         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
68898         by SHLIB_COMPAT.
68899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
68900         (GLIBC_2.16): Remove pthread_atfork.
68902 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
68904         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
68905         (ptestcases.h): Likewise.
68907 2013-03-08  Roland McGrath  <roland@hack.frob.com>
68909         * Makeconfig ($(common-objpfx)config.status): Depend on
68910         sysdeps/*/preconfigure{,.in} too.
68912 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
68914         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
68915         (__free_hook): Use void * instead of __malloc_ptr_t.
68916         (__malloc_hook): Likewise.
68917         (__realloc_hook): Likewise.
68918         (__memalign_hook): Likewise.
68919         (__after_morecore_hook): Likewise.
68920         * malloc/arena.c (save_malloc_hook): Likewise.
68921         (save_free_hook): Likewise.
68922         * malloc/hooks.c (malloc_hook_ini): Likewise.
68923         (realloc_hook_ini): Likewise.
68924         (memalign_hook_ini): Likewise.
68925         * malloc/malloc.c (malloc_hook_ini): Likewise.
68926         (realloc_hook_ini): Likewise.
68927         (memalign_hook_ini): Likewise.
68928         (__free_hook): Likewise.
68929         (__malloc_hook): Likewise.
68930         (__realloc_hook): Likewise.
68931         (__memalign_hook): Likewise.
68932         (__libc_malloc): Likewise.
68933         (__libc_free): Likewise.
68934         (__libc_realloc): Likewise.
68935         (__libc_memalign): Likewise.
68936         (__libc_valloc): Likewise.
68937         (__libc_pvalloc): Likewise.
68938         (__libc_calloc): Likewise.
68939         (__posix_memalign): Likewise.
68940         * malloc/morecore.c (__sbrk): Likewise.
68941         (__default_morecore): Likewise.
68943         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
68945         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
68946         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
68947         __malloc_ptrdiff_t.
68949         * malloc/malloc.h (__malloc_size_t): Remove macro.
68950         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
68951         __malloc_size_t.
68952         (old_memalign_hook): Likewise.
68953         (old_realloc_hook): Likewise.
68954         (struct hdr): Likewise.
68955         (flood): Likewise.
68956         (mallochook): Likewise.
68957         (memalignhook): Likewise.
68958         (reallochook): Likewise.
68959         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
68960         (tr_old_realloc_hook): Likewise.
68961         (tr_old_memalign_hook): Likewise.
68962         (tr_mallochook): Likewise.
68963         (tr_reallochook): Likewise.
68964         (tr_memalignhook): Likewise.
68966 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68968         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
68969         default_ldbl_pack and using as default implementation.
68970         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
68971         implementation.
68972         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
68973         redundant definition.
68974         (ldbl_insert_mantissa): Likewise.
68975         (ldbl_canonicalize): Likewise.
68976         (ldbl_nearbyint): Likewise.
68977         (ldbl_pack): Rename to ldbl_pack_ppc.
68978         (ldbl_unpack): Rename to ldbl_unpack_ppc.
68979         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
68980         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
68982 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
68984         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
68985         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
68986         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
68987         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
68988         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
68989         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
68990         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
68991         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
68993 2013-03-07  Andreas Jaeger  <aj@suse.de>
68995         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68996         bits/mman-linux.h.
68998 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69000         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69001         Include mpa.h and declare __MPEXP.
69002         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69003         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69004         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69005         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69006         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69007         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69008         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69010         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69011         (__slowpow): Use long double EXPL and LOGL functions to
69012         compute POW.
69013         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69014         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69015         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69016         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69017         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69018         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69020         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69021         intermediate variable to calculate exponent.
69022         (__sqr): Likewise.
69023         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69024         Likewise.
69025         (__sqr): Likewise.
69027         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69028         [!NO__SQR]: Define __sqr.
69029         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69030         and NO__SQR.  Remove all code except __mul and __sqr.  Include
69031         sysdeps/ieee754/dbl-64/mpa.c.
69032         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69034         [BZ #12723]
69035         * posix/Makefile (tests): Add tst-pathconf.
69036         * posix/tst-pathconf.c: New test case.
69037         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69038         _PC_PIPE_BUF.
69039         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69041 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
69043         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69045 2013-03-06  Andreas Jaeger  <aj@suse.de>
69047         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69048         definition via __MAP_ANONYMOUS.
69050         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69051         it's not part of Linux headers.
69053         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69054         (MAP_HUGE_MASK): Define.
69056         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69057         Define.
69058         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69059         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69060         Define.
69061         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69062         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69063         Define.
69064         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69065         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69066         Define.
69067         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69069         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69070         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69071         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69072         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69073         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69074         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69076         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69077         Handle f2fs.
69079         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69080         Handle f2fs and efivarfs.
69082         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69083         f2fs.
69085         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69086         (EFIVARFS_MAGIC): Add.
69087         (F2FS_LINK_MAX): Add.
69089 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69091         * stdio-common/vfprintf.c: Replace __builtin_expect with
69092         __glibc_unlikely.
69094 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
69096         [BZ #13550]
69097         * sysdeps/generic/bp-sym.h: Remove file.
69098         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69099         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
69100         <bp-sym.h> and <bp-asm.h>.
69101         (__longjmp): Don't use BP_SYM.
69102         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
69103         and <bp-asm.h>.
69104         (memcpy): Don't use BP_SYM.
69105         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
69106         <bp-sym.h> and <bp-asm.h>.
69107         (memcpy): Don't use BP_SYM.
69108         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
69109         <bp-asm.h>.
69110         (memcpy): Don't use BP_SYM.
69111         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
69112         <bp-asm.h>.
69113         (memset): Don't use BP_SYM.
69114         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69115         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69116         (__bzero): Don't use BP_SYM.
69117         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69118         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69119         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
69120         <bp-sym.h> and <bp-asm.h>.
69121         (memcmp): Don't use BP_SYM.  Remove comment about bounded
69122         pointers.
69123         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
69124         <bp-sym.h> and <bp-asm.h>.
69125         (memcpy): Don't use BP_SYM.
69126         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
69127         <bp-sym.h> and <bp-asm.h>.
69128         (memset): Don't use BP_SYM.
69129         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69130         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69131         (__bzero): Don't use BP_SYM.
69132         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69133         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69134         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
69135         <bp-sym.h> and <bp-asm.h>.
69136         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69137         pointers.
69138         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
69139         <bp-sym.h> and <bp-asm.h>.
69140         (memcpy): Don't use BP_SYM.
69141         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
69142         <bp-sym.h> and <bp-asm.h>.
69143         (memset): Don't use BP_SYM.
69144         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69145         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69146         (__bzero): Don't use BP_SYM.
69147         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69148         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69149         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
69150         <bp-sym.h> and <bp-asm.h>.
69151         (__memchr): Don't use BP_SYM.
69152         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
69153         <bp-sym.h> and <bp-asm.h>.
69154         (memcmp): Don't use BP_SYM.  Remove comment about bounded
69155         pointers.
69156         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69157         <bp-sym.h> and <bp-asm.h>.
69158         (memcpy): Don't use BP_SYM.
69159         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
69160         <bp-sym.h> and <bp-asm.h>.
69161         (__mempcpy): Don't use BP_SYM.
69162         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
69163         <bp-sym.h> and <bp-asm.h>.
69164         (__memrchr): Don't use BP_SYM.
69165         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
69166         <bp-sym.h> and <bp-asm.h>.
69167         (memset): Don't use BP_SYM.
69168         (__bzero): Likewise.
69169         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
69170         <bp-sym.h> and <bp-asm.h>.
69171         (__rawmemchr): Don't use BP_SYM.
69172         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
69173         <bp-sym.h> and <bp-asm.h>.
69174         (__STRCMP): Don't use BP_SYM.
69175         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
69176         <bp-sym.h> and <bp-asm.h>.
69177         (strchr): Don't use BP_SYM.
69178         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
69179         <bp-sym.h> and <bp-asm.h>.
69180         (__strchrnul): Don't use BP_SYM.
69181         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
69182         <bp-sym.h> and <bp-asm.h>.
69183         (strlen): Don't use BP_SYM.
69184         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
69185         <bp-sym.h> and <bp-asm.h>.
69186         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69187         pointers.
69188         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
69189         <bp-sym.h> and <bp-asm.h>.
69190         (__strnlen): Don't use BP_SYM.
69191         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
69192         <bp-sym.h> and <bp-asm.h>.
69193         (__GI__setjmp): Don't use BP_SYM.
69194         (_setjmp): Likewise.
69195         (__sigsetjmp): Likewise.
69196         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
69197         (L(start_addresses)): Don't use BP_SYM.
69198         (_start): Likewise.
69199         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
69200         <bp-asm.h>.
69201         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
69202         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
69203         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69204         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69205         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
69206         <bp-asm.h>.
69207         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
69208         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
69209         about bounded pointers.
69210         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69211         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69212         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
69213         <bp-asm.h>.
69214         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
69215         about bounded pointers.  Remove GKM FIXME comments.
69216         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69217         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
69218         <bp-asm.h>.
69219         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
69220         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
69221         Remove GKM FIXME comments.
69222         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69223         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69224         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
69225         <bp-asm.h>.
69226         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
69227         about bounded pointers.  Remove GKM FIXME comment.
69228         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
69229         and <bp-asm.h>.
69230         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69231         pointers.
69232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
69233         <bp-sym.h> and <bp-asm.h>.
69234         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
69236         <bp-sym.h> and <bp-asm.h>.
69237         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
69238         comment.
69240 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69242         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
69243         call free(NULL).
69245 2013-03-05  David S. Miller  <davem@davemloft.net>
69247         * po/es.po: Update from translation team.
69249 2013-03-05  Andreas Jaeger  <aj@suse.de>
69251         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
69252         <bits/mman-linux.h>.
69253         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69254         is fine.
69255         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
69256         <bits/mman-linux.h> to end of file.
69257         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69258         is fine.
69259         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
69260         <bits/mman-linux.h> to end of file.
69261         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69262         is fine.
69263         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
69264         <bits/mman-linux.h> to end of file.
69266         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
69267         (MCL_CURRENT, MCL_FUTURE): Define here.
69269 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69271         [BZ #15232]
69272         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
69273         attribute_hidden.
69274         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69276 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69278         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
69279         fourth parameter needed for rt_sigprocmask syscall.
69280         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
69281         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
69282         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
69283         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
69284         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
69285         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
69287 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
69289         [BZ #13550]
69290         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
69291         comment about bounded pointers.
69292         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
69293         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
69295 2013-03-04  Andreas Jaeger  <aj@suse.de>
69297         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
69298         common definitions.
69300         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
69301         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
69302         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
69303         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69304         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69305         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69307 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69309         [BZ #15055]
69310         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
69311         __ieee754_sqrl instead of __sqrl.
69313 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
69315         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
69316         * sysdeps/powerpc/fpu_control.h: ... here.
69317         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
69318         * sysdeps/powerpc/bits/fenvinline.h: ... here.
69319         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
69320         * sysdeps/powerpc/bits/mathinline.h: ... here.
69322 2013-03-01  Roland McGrath  <roland@hack.frob.com>
69324         * elf/dl-hwcaps.c (_dl_important_hwcaps):
69325         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
69326         to just [NEED_DL_SYSINFO_DSO].
69327         * elf/dl-support.c: Likewise.
69328         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
69329         * elf/rtld.c (dl_main): Likewise.
69330         * elf/setup-vdso.h (setup_vdso): Likewise.
69331         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
69332         * sysdeps/unix/sysv/linux/dl-sysdep.c
69333         (_dl_discover_osversion): Likewise.
69335 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
69337         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
69338         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69340 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
69342         * NEWS: Mention libm performance improvements and non-x86 PI
69343         futex support.
69345         * csu/libc-start.c (__pthread_initialize_minimal): Change
69346         function arguments.
69347         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69349 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
69351         [BZ #13550]
69352         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
69353         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
69354         <bp-sym.h> and <bp-asm.h>.
69355         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69356         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
69357         and <bp-asm.h>.
69358         (memcpy): Don't use BP_SYM.
69359         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
69360         <bp-asm.h>.
69361         (__mpn_add_n): Don't use BP_SYM.
69362         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
69363         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
69364         and <bp-asm.h>.
69365         (__mpn_addmul_1): Don't use BP_SYM.
69366         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69367         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
69368         <bp-sym.h>.
69369         (_setjmp): Don't use BP_SYM.
69370         (__novmx_setjmp): Likewise.
69371         (__GI__setjmp): Likewise.
69372         (__vmx_setjmp): Likewise.
69373         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
69374         <bp-sym.h>.
69375         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
69376         (__bzero): Don't use BP_SYM.
69377         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69378         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69379         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
69380         <bp-sym.h> and <bp-asm.h>.
69381         (memcpy): Don't use BP_SYM.
69382         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
69383         <bp-sym.h> and <bp-asm.h>.
69384         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69385         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
69386         <bp-sym.h> and <bp-asm.h>.
69387         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69388         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
69389         <bp-asm.h>.
69390         (__mpn_lshift): Don't use BP_SYM.
69391         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69392         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
69393         <bp-asm.h>.
69394         (memset): Don't use BP_SYM.
69395         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69396         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69397         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
69398         <bp-asm.h>.
69399         (__mpn_mul_1): Don't use BP_SYM.
69400         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69401         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
69402         <bp-sym.h> and <bp-asm.h>.
69403         (memcmp): Don't use BP_SYM.
69404         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
69405         <bp-sym.h> and <bp-asm.h>.
69406         (memcpy): Don't use BP_SYM.
69407         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
69408         <bp-sym.h> and <bp-asm.h>.
69409         (memset): Don't use BP_SYM.
69410         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
69411         <bp-sym.h> and <bp-asm.h>.
69412         (strncmp): Don't use BP_SYM.
69413         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
69414         <bp-sym.h> and <bp-asm.h>.
69415         (memcpy): Don't use BP_SYM.
69416         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
69417         <bp-sym.h> and <bp-asm.h>.
69418         (memset): Don't use BP_SYM.
69419         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
69420         <bp-sym.h> and <bp-asm.h>.
69421         (__memchr): Don't use BP_SYM.
69422         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
69423         <bp-sym.h> and <bp-asm.h>.
69424         (memcmp): Don't use BP_SYM.
69425         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
69426         <bp-sym.h> and <bp-asm.h>.
69427         (memcpy): Don't use BP_SYM.
69428         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
69429         <bp-sym.h> and <bp-asm.h>.
69430         (__mempcpy): Don't use BP_SYM.
69431         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
69432         <bp-sym.h> and <bp-asm.h>.
69433         (__memrchr): Don't use BP_SYM.
69434         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
69435         <bp-sym.h> and <bp-asm.h>.
69436         (memset): Don't use BP_SYM.
69437         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
69438         <bp-sym.h> and <bp-asm.h>.
69439         (__rawmemchr): Don't use BP_SYM.
69440         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
69441         <bp-sym.h> and <bp-asm.h>.
69442         (__STRCMP): Don't use BP_SYM.
69443         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
69444         <bp-sym.h> and <bp-asm.h>.
69445         (strchr): Don't use BP_SYM.
69446         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
69447         <bp-sym.h> and <bp-asm.h>.
69448         (__strchrnul): Don't use BP_SYM.
69449         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
69450         <bp-sym.h> and <bp-asm.h>.
69451         (strlen): Don't use BP_SYM.
69452         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
69453         <bp-sym.h> and <bp-asm.h>.
69454         (strncmp): Don't use BP_SYM.
69455         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
69456         <bp-sym.h> and <bp-asm.h>.
69457         (__strnlen): Don't use BP_SYM.
69458         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
69459         <bp-asm.h>.
69460         (__mpn_rshift): Don't use BP_SYM.
69461         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69462         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
69463         <bp-sym.h> and <bp-asm.h>.
69464         (__sigsetjmp): Don't use BP_SYM.
69465         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
69466         (L(start_addresses)): Don't use BP_SYM.
69467         (_start): Likewise.
69468         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
69469         <bp-asm.h>.
69470         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
69471         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69472         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69473         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
69474         <bp-asm.h>.
69475         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
69476         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69477         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69478         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
69479         <bp-asm.h>.
69480         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
69481         comments.
69482         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69483         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
69484         <bp-asm.h>.
69485         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
69486         FIXME comments.
69487         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69488         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69489         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
69490         <bp-asm.h>.
69491         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
69492         comment.
69493         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
69494         and <bp-asm.h>.
69495         (strncmp): Don't use BP_SYM,
69496         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
69497         <bp-asm.h>.
69498         (__mpn_sub_n): Don't use BP_SYM.
69499         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69500         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
69501         and <bp-asm.h>.
69502         (__mpn_submul_1): Don't use BP_SYM.
69503         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
69505         <bp-sym.h> and <bp-asm.h>.
69506         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
69508         <bp-sym.h> and <bp-asm.h>.
69509         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
69510         comment.
69512 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69514         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
69515         Use ZK to minimize writes to Z.
69516         (sub_magnitudes): Simplify code a bit.
69517         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
69518         Use ZK to minimize writes to Z.
69519         (sub_magnitudes): Simplify code a bit.
69521 2013-02-27  Roland McGrath  <roland@hack.frob.com>
69523         * csu/gmon-start.c: Add special exception to license text.
69525 2013-02-27  Richard Henderson  <rth@redhat.com>
69527         * scripts/config.guess: Update from config.git.
69528         * scripts/config.sub: Likewise.
69530 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
69532         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
69534         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
69536         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
69538         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
69540         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
69542 2013-02-26  Roland McGrath  <roland@hack.frob.com>
69544         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
69545         [$(build-shared = yes].
69547 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69549         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
69550         (__mul): Reduce iterations for calculating mantissa.
69552         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
69553         MPTWO.
69554         (__mpranred): Likewise.
69556         [BZ #15160]
69557         * malloc/memusagestat.c (main): Draw graphs for heap and stack
69558         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
69560 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
69562         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
69563         Define __attribute__.
69565 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69567         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
69568         unused.
69569         * posix/regex_internal.h (__attribute): Remove.
69570         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
69571         (re_string_context_at): Likewise.
69572         (bitset_not): Use __attribute__ and mark function as possibly
69573         unused.
69574         (bitset_merge): Likewise.
69575         (bitset_mask): Likewise.
69576         (re_string_char_size_at): Likewise.
69577         (re_string_wchar_at): Likewise.
69578         (re_string_elem_size_at): Likewise.
69580 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69582         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
69583         code.
69584         (cc32): Likewise.
69586         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
69587         (__acr): Likewise.
69588         (__cpy): Likewise.
69589         (norm): Likewise.
69590         (denorm): Likewise.
69591         (__dbl_mp): Likewise.
69592         (add_magnitudes): Likewise.
69593         (sub_magnitudes): Likewise.
69594         (__mul): Likewise.
69595         (__inv): Likewise.
69597         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
69598         style.
69600         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
69601         style.
69603         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
69604         code.
69606         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
69607         up changes with default code.
69608         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
69609         Likewise.
69611 2013-02-24  Allan McRae  <allan@archlinux.org>
69613         * manual/socket.texi (The Internet Namespace): Order menu items
69614         to match that in the file.
69616         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
69617         node listing of the info page menu.
69619 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
69621         [BZ #13550]
69622         * sysdeps/i386/bp-asm.h: Remove file.
69623         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
69624         (PARMS): Do not use macros from bp-asm.h.
69625         (S1): Likewise.
69626         (S2): Likewise.
69627         (SIZE): Likewise.
69628         (__mpn_add_n): Do not use BP_SYM
69629         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
69630         "bp-asm.h".
69631         (PARMS): Do not use macros from bp-asm.h.
69632         (S1): Likewise.
69633         (SIZE): Likewise.
69634         (__mpn_addmul_1): Do not use BP_SYM
69635         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
69636         "bp-asm.h".
69637         (PARMS): Do not use macros from bp-asm.h.
69638         (SIGMSK): Likewise.
69639         (_setjmp): Likewise.  Do not use BP_SYM.
69640         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
69641         "bp-asm.h".
69642         (PARMS): Do not use macros from bp-asm.h.
69643         (SIGMSK): Likewise.
69644         (setjmp): Likewise.  Do not use BP_SYM.
69645         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
69646         "bp-asm.h".
69647         (PARMS): Do not use macros from bp-asm.h.
69648         (__frexp): Do not use BP_SYM.
69649         (frexp): Likewise.
69650         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
69651         "bp-asm.h".
69652         (PARMS): Do not use macros from bp-asm.h.
69653         (__frexpf): Do not use BP_SYM.
69654         (frexpf): Likewise.
69655         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
69656         "bp-asm.h".
69657         (PARMS): Do not use macros from bp-asm.h.
69658         (__frexpl): Do not use BP_SYM.
69659         (frexpl): Likewise.
69660         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
69661         "bp-asm.h".
69662         (PARMS): Do not use macros from bp-asm.h.
69663         (__remquo): Do not use BP_SYM.
69664         (remquo): Likewise.
69665         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
69666         "bp-asm.h".
69667         (PARMS): Do not use macros from bp-asm.h.
69668         (__remquof): Do not use BP_SYM.
69669         (remquof): Likewise.
69670         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
69671         "bp-asm.h".
69672         (PARMS): Do not use macros from bp-asm.h.
69673         (__remquol): Do not use BP_SYM.
69674         (remquol): Likewise.
69675         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
69676         "bp-asm.h".
69677         (PARMS): Do not use macros from bp-asm.h.
69678         (DEST): Likewise.
69679         (SRC): Likewise.
69680         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
69681         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
69682         "bp-asm.h".
69683         (PARMS): Do not use macros from bp-asm.h.
69684         (strlen): Do not use BP_SYM.
69685         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
69686         "bp-asm.h".
69687         (PARMS): Do not use macros from bp-asm.h.
69688         (S1): Likewise.
69689         (S2): Likewise.
69690         (SIZE): Likewise.
69691         (__mpn_add_n): Do not use BP_SYM.
69692         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
69693         "bp-asm.h".
69694         (PARMS): Do not use macros from bp-asm.h.
69695         (S1): Likewise.
69696         (SIZE): Likewise.
69697         (__mpn_addmul_1): Do not use BP_SYM.
69698         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
69699         weak_alias.
69700         (bzero): Likewise.
69701         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
69702         "bp-asm.h".
69703         (PARMS): Do not use macros from bp-asm.h.
69704         (S): Likewise.
69705         (SIZE): Likewise.
69706         (__mpn_lshift): Do not use BP_SYM.
69707         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
69708         "bp-asm.h".
69709         (PARMS): Do not use macros from bp-asm.h.
69710         (DEST): Likewise.
69711         (SRC): Likewise.
69712         (LEN): Likewise.
69713         (memcpy): Likewise.  Do not use BP_SYM.
69714         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
69715         libc_hidden_def and weak_alias.
69716         (mempcpy): Do not use BP_SYM in weak_alias.
69717         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
69718         "bp-asm.h".
69719         (PARMS): Do not use macros from bp-asm.h.
69720         (DEST): Likewise.
69721         (LEN): Likewise.
69722         [!BZERO_P] (CHR): Likewise.
69723         (memset): Likewise.  Do not use BP_SYM.
69724         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
69725         "bp-asm.h".
69726         (PARMS): Do not use macros from bp-asm.h.
69727         (S1): Likewise.
69728         (SIZE): Likewise.
69729         (__mpn_mul_1): Do not use BP_SYM.
69730         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
69731         "bp-asm.h".
69732         (PARMS): Do not use macros from bp-asm.h.
69733         (S): Likewise.
69734         (SIZE): Likewise.
69735         (__mpn_rshift): Do not use BP_SYM.
69736         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
69737         "bp-asm.h".
69738         (PARMS): Do not use macros from bp-asm.h.
69739         (STR): Likewise.
69740         (CHR): Likewise.
69741         (strchr): Likewise.  Do not use BP_SYM.
69742         (index): Do not use BP_SYM in weak_alias.
69743         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
69744         "bp-asm.h".
69745         (PARMS): Do not use macros from bp-asm.h.
69746         (DEST): Likewise.
69747         (SRC): Likewise.
69748         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
69749         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
69750         "bp-asm.h".
69751         (PARMS): Do not use macros from bp-asm.h.
69752         (strlen): Do not use BP_SYM.
69753         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
69754         "bp-asm.h".
69755         (PARMS): Do not use macros from bp-asm.h.
69756         (S1): Likewise.
69757         (S2): Likewise.
69758         (SIZE): Likewise.
69759         (__mpn_sub_n): Do not use BP_SYM.
69760         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
69761         "bp-asm.h".
69762         (PARMS): Do not use macros from bp-asm.h.
69763         (S1): Likewise.
69764         (SIZE): Likewise.
69765         (__mpn_submul_1): Do not use BP_SYM.
69766         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
69767         "bp-asm.h".
69768         (PARMS): Do not use macros from bp-asm.h.
69769         (S1): Likewise.
69770         (S2): Likewise.
69771         (SIZE): Likewise.
69772         (__mpn_add_n): Do not use BP_SYM.
69773         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
69774         weak_alias.
69775         (bzero): Likewise.
69776         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
69777         "bp-asm.h".
69778         (PARMS): Do not use macros from bp-asm.h.
69779         (BLK2): Likewise.
69780         (LEN): Likewise.
69781         (memcmp): Do not use BP_SYM.
69782         (bcmp): Do not use BP_SYM in weak_alias.
69783         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
69784         "bp-asm.h".
69785         (PARMS): Do not use macros from bp-asm.h.
69786         (DEST): Likewise.
69787         (SRC): Likewise.
69788         (LEN): Likewise.
69789         (memcpy): Likewise.  Do not use BP_SYM.
69790         * sysdeps/i386/i686/memmove.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         (SRC): Likewise.
69795         (LEN): Likewise.
69796         (memmove): Likewise.  Do not use BP_SYM.
69797         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
69798         "bp-asm.h".
69799         (PARMS): Do not use macros from bp-asm.h.
69800         (DEST): Likewise.
69801         (SRC): Likewise.
69802         (LEN): Likewise.
69803         (__mempcpy): Likewise.  Do not use BP_SYM.
69804         (mempcpy): Do not use BP_SYM in weak_alias.
69805         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
69806         "bp-asm.h".
69807         (PARMS): Do not use macros from bp-asm.h.
69808         (DEST): Likewise.
69809         (LEN): Likewise.
69810         [!BZERO_P] (CHR): Likewise.
69811         (memset): Likewise.  Do not use BP_SYM.
69812         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
69813         "bp-asm.h".
69814         (PARMS): Do not use macros from bp-asm.h.
69815         (STR2): Likewise.
69816         (strcmp): Do not use BP_SYM.
69817         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
69818         "bp-asm.h".
69819         (PARMS): Do not use macros from bp-asm.h.
69820         (STR): Likewise.
69821         (DELIM): Likewise.
69822         [USE_AS_STRTOK_R] (SAVE): Likewise.
69823         (FUNCTION): Likewise.  Do not use BP_SYM.
69824         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
69825         aliases.
69826         (strtok_r): Likewise.
69827         (__GI___strtok_r): Likewise.
69828         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
69829         (PARMS): Do not use macros from bp-asm.h.
69830         (S): Likewise.
69831         (SIZE): Likewise.
69832         (__mpn_lshift): Do not use BP_SYM.
69833         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
69834         (PARMS): Do not use macros from bp-asm.h.
69835         (STR): Likewise.
69836         (CHR): Likewise.
69837         (__memchr): Do not use BP_SYM.
69838         (memchr): Do not use BP_SYM in weak_alias.
69839         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
69840         (PARMS): Do not use macros from bp-asm.h.
69841         (BLK2): Likewise.
69842         (LEN): Likewise.
69843         (memcmp): Do not use BP_SYM.
69844         (bcmp): Do not use BP_SYM in weak_alias.
69845         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
69846         (PARMS): Do not use macros from bp-asm.h.
69847         (S1): Likewise.
69848         (SIZE): Likewise.
69849         (__mpn_mul_1): Do not use BP_SYM.
69850         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
69851         "bp-asm.h".
69852         (PARMS): Do not use macros from bp-asm.h.
69853         (STR): Likewise.
69854         (CHR): Likewise.
69855         (__rawmemchr): Do not use BP_SYM.
69856         (rawmemchr): Do not use BP_SYM in weak_alias.
69857         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
69858         (PARMS): Do not use macros from bp-asm.h.
69859         (S): Likewise.
69860         (SIZE): Likewise.
69861         (__mpn_rshift): Do not use BP_SYM.
69862         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
69863         (PARMS): Do not use macros from bp-asm.h.
69864         (SIGMSK): Likewise.
69865         (__sigsetjmp): Likewise.  Do not use BP_SYM.
69866         * sysdeps/i386/start.S: Do not include "bp-sym.h".
69867         (_start): Do not use BP_SYM.
69868         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
69869         (PARMS): Do not use macros from bp-asm.h.
69870         (DEST): Likewise.
69871         (SRC): Likewise.
69872         (__stpcpy): Likewise.  Do not use BP_SYM.
69873         (stpcpy): Do not use BP_SYM in weak_alias.
69874         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
69875         "bp-asm.h".
69876         (PARMS): Do not use macros from bp-asm.h.
69877         (DEST): Likewise.
69878         (SRC): Likewise.
69879         (LEN): Likewise.
69880         (__stpncpy): Likewise.  Do not use BP_SYM.
69881         (stpncpy): Do not use BP_SYM in weak_alias.
69882         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
69883         (PARMS): Do not use macros from bp-asm.h.
69884         (STR): Likewise.
69885         (CHR): Likewise.
69886         (strchr): Likewise.  Do not use BP_SYM.
69887         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
69888         "bp-asm.h".
69889         (PARMS): Do not use macros from bp-asm.h.
69890         (STR): Likewise.
69891         (CHR): Likewise.
69892         (__strchrnul): Likewise.  Do not use BP_SYM.
69893         (strchrnul): Do not use BP_SYM in weak_alias.
69894         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
69895         "bp-asm.h".
69896         (PARMS): Do not use macros from bp-asm.h.
69897         (STOP): Likewise.
69898         (strcspn): Do not use BP_SYM.
69899         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
69900         "bp-asm.h".
69901         (PARMS): Do not use macros from bp-asm.h.
69902         (STR): Likewise.
69903         (STOP): Likewise.
69904         (strpbrk): Likewise.  Do not use BP_SYM.
69905         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
69906         "bp-asm.h".
69907         (PARMS): Do not use macros from bp-asm.h.
69908         (STR): Likewise.
69909         (CHR): Likewise.
69910         (strrchr): Likewise.  Do not use BP_SYM.
69911         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
69912         (PARMS): Do not use macros from bp-asm.h.
69913         (SKIP): Likewise.
69914         (strspn): Do not use BP_SYM.
69915         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
69916         (PARMS): Do not use macros from bp-asm.h.
69917         (STR): Likewise.
69918         (DELIM): Likewise.
69919         (SAVE): Likewise.
69920         (FUNCTION): Likewise.  Do not use BP_SYM.
69921         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
69922         aliases.
69923         (strtok_r): Likewise.
69924         (__GI___strtok_r): Likewise.
69925         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
69926         (PARMS): Do not use macros from bp-asm.h.
69927         (S1): Likewise.
69928         (S2): Likewise.
69929         (SIZE): Likewise.
69930         (__mpn_sub_n): Do not use BP_SYM.
69931         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
69932         "bp-asm.h".
69933         (PARMS): Do not use macros from bp-asm.h.
69934         (S1): Likewise.
69935         (SIZE): Likewise.
69936         (__mpn_submul_1): Do not use BP_SYM.
69937         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
69938         <bp-sym.h>.
69939         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
69940         and <bp-asm.h>.
69941         (PARMS): Do not use macros from bp-asm.h.
69942         (FLAGS): Likewise.
69943         (PTID): Likewise.
69944         (TLS): Likewise.
69945         (CTID): Likewise.
69946         (__clone): Do not use BP_SYM.
69947         (clone): Do not use BP_SYM in weak_alias.
69948         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
69949         and <bp-asm.h>.
69950         (PARMS): Do not use macros from bp-asm.h.
69951         (LEN): Likewise.
69952         (__mmap64): Do not use BP_SYM.
69953         (mmap64): Do not use BP_SYM in weak_alias.
69954         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
69955         <bp-sym.h> and <bp-asm.h>.
69956         (PARMS): Do not use macros from bp-asm.h.
69957         (__posix_fadvise64_l64): Do not use BP_SYM.
69958         * sysdeps/unix/sysv/linux/i386/semtimedop.S
69959         (PARMS): Do not use macros from bp-asm.h.
69960         (NSOPS): Likewise.
69961         (semtimedop): Do not use BP_SYM.
69962         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
69963         and <bp-asm.h>.
69965 2013-02-21  Allan McRae  <allan@archlinux.org>
69967         * manual/message.texi (Charset conversion in gettext):
69968         Move @end statement to beginning of line.
69970 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69972         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
69973         static.
69974         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
69975         Likewise.
69977         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
69978         (denorm): Likewise.
69979         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
69980         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
69982 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69984         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
69985         tail-call to the resolved function if pltexit isn't needed.
69987 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69989         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
69990         or Y being zero as being unlikely.
69991         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69992         Likewise.
69994 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
69996         * manual/nss.texi (System Databases and Name Service Switch):
69997         Remove frobnicate @pxref.
69999 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70001         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70002         __attribute__ ((unused)) to __attribute__ ((__unused__)).
70004 2013-02-20  Petr Machata  <pmachata@redhat.com>
70006         * elf/elf.h (R_ARM_TARGET1): New macro.
70007         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70008         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70009         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70010         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70011         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70012         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70013         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70014         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70015         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70016         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70017         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70018         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70019         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70020         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70021         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70022         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70023         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70024         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70025         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70026         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70027         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70028         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70029         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70030         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70031         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70032         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70033         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70034         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70035         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70036         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70037         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70038         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70039         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70040         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70041         (R_ARM_THM_GOT_BREL12): Likewise.
70042         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70043         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70044         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70045         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70046         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70047         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70048         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70049         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70050         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70052 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70054         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70055         __attribute_used__ to __attribute__ ((unused)).
70057 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
70059         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70060         powerpc mpa.c.
70061         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70062         comment formatting.
70063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70065 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
70067         [BZ #13550]
70068         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70069         Remove macro.
70070         (ENTER): Remove both macro definitions.
70071         (LEAVE): Likewise.
70072         (CHECK_BOUNDS_LOW): Likewise.
70073         (CHECK_BOUNDS_HIGH): Likewise.
70074         (CHECK_BOUNDS_BOTH): Likewise.
70075         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70076         (RETURN_BOUNDED_POINTER): Likewise.
70077         (RETURN_NULL_BOUNDED_POINTER): Likewise.
70078         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70079         (POP_ERRNO_LOCATION_RETURN): Likewise.
70080         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70081         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70082         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70083         macros.
70084         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70085         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70086         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70087         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70088         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70089         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70090         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70091         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70092         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70093         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70094         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70095         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70096         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70097         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70098         removed macros.
70099         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70100         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
70101         macros.
70102         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70103         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
70104         * sysdeps/i386/i586/memset.S (memset): Likewise.
70105         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
70106         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70107         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
70108         macros.
70109         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70110         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
70111         Change uses of L(2) to L(out).
70112         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
70113         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
70114         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
70115         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70116         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
70117         removed macros.
70118         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70119         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
70120         macros.
70121         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70122         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
70123         (RETURN): Do not use macro LEAVE.
70124         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
70125         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70126         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
70127         * sysdeps/i386/i686/memset.S (memset): Likewise.
70128         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
70129         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
70130         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70131         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
70132         Likewise.
70133         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70134         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
70135         L(1_2) and L(1_3) into L(1).
70136         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70137         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
70138         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70139         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
70140         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70141         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
70142         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
70143         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70144         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
70145         macros.
70146         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
70147         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70148         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
70149         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
70150         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
70151         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70152         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
70153         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
70154         * sysdeps/i386/strcspn.S (strcspn): Likewise.
70155         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
70156         * sysdeps/i386/strrchr.S (strrchr): Likewise.
70157         * sysdeps/i386/strspn.S (strspn): Likewise.
70158         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
70159         conditional code.
70160         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70161         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
70162         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70163         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
70164         L(1_3) into L(1_1).
70165         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
70166         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70167         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
70168         macros.
70169         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70171 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
70173         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
70174         macro.
70176 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
70178         * math/atest-exp.c (exp_mpn): Remove ROUND.
70179         * math/atest-exp2.c (exp_mpn): Likewise.
70180         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
70182         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
70183         * stdlib/tst-tls-atexit-lib.c: Likewise.
70184         * stdlib/tst-tls-atexit.c: Likewise.
70186 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70188         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
70189         and __attribute_alloc_size__.
70191 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70193         * include/programs/xmalloc.h: Change __attribute_alloc_size to
70194         __attribute_alloc_size__.
70195         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
70196         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
70198 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70200         * include/programs/xmalloc.h: New file.
70201         * catgets/gencat.c: Include it.
70202         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
70203         * elf/pldd.c: Likewise.
70204         * iconv/iconv_charmap.c: Likewise.
70205         * iconv/iconvconfig.c: Likewise.
70206         * iconv/strtab.c: Likewise.
70207         * locale/programs/locale.c: Likewise.
70208         * locale/programs/localedef.h: Likewise.
70209         * locale/programs/simple-hash.c: Likewise.
70210         * nscd/nscd.h: Likewise.
70211         * nss/makedb.c: Likewise.
70212         * sysdeps/generic/ldconfig.h: Likewise.
70214 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70216         * Versions.def: Add GLIBC_2.18.
70217         * include/link.h (struct link_map): New member l_tls_dtor_count.
70218         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
70219         (__call_tls_dtors): Likewise.
70220         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
70221         __cxa_thread_atexit_impl.
70222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70223         Likewise.
70224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70225         Likewise.
70226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
70227         Likewise.
70228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
70229         Likewise.
70230         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
70232         Likewise.
70233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
70234         Likewise.
70235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70236         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70237         Likewise.
70238         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
70239         (tests): Add test case tst-tls-atexit.
70240         (modules-names): Add shared library for tst-tls-atexit.
70241         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
70242         (GLIBC_PRIVATE): Add __call_tls_dtors.
70243         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
70244         for libstdc++.
70245         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
70246         * stdlib/tst-tls-atexit.c: New test case.
70247         * stdlib/tst-tls-atexit-lib.c: New test case.
70249         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
70251         * elf/Versions (ld): Add _dl_find_dso_for_object.
70252         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
70253         * elf/dl-open.c (_dl_find_dso_for_object): New function.
70254         (dl_open_worker): Use _dl_find_dso_for_object.
70255         * elf/dl-sym.c (do_sym): Likewise.
70256         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
70258 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70260         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
70261         Syntactic changes only.
70262         (_dl_runtime_profile): Do a tail-call to the resolved function.
70264 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
70266         [BZ #13550]
70267         * sysdeps/x86_64/bp-asm.h: Remove file.
70268         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
70269         <bp-sym.h> and <bp-asm.h>.
70270         (__clone): Do not use BP_SYM.
70271         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
70272         <bp-sym.h> and <bp-asm.h>.
70273         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70274         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
70275         "bp-asm.h".
70276         (_setjmp): Do not use BP_SYM.
70277         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
70278         "bp-asm.h".
70279         (setjmp): Do not use BP_SYM.
70280         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
70281         libc_hidden_def.
70282         (mempcpy): Do not use BP_SYM in weak_alias.
70283         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
70284         "bp-asm.h".
70285         (strchr): Do not use BP_SYM.
70286         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
70287         "bp-asm.h".
70288         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
70289         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
70290         (_start): Do not use BP_SYM.
70291         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
70292         "bp-asm.h".
70293         (strcat): Do not use BP_SYM.
70294         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
70295         "bp-asm.h".
70296         (STRCMP): Do not use BP_SYM.
70297         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
70298         "bp-asm.h".
70299         (STRCPY): Do not use BP_SYM.
70300         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
70301         "bp-asm.h".
70302         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
70303         "bp-asm.h".
70304         (FUNCTION): Do not use BP_SYM.
70305         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
70306         weak_alias.
70307         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
70309 2013-02-17  Andreas Jaeger  <aj@suse.de>
70311         * time/Versions: Sort entries.
70312         * string/Versions: Likewise.
70313         * resolv/Versions: Likewise.
70314         * posix/Versions: Likewise.
70315         * iconv/Versions: Likewise.
70316         * elf/Versions: Likewise.
70317         * wcsmbs/Versions: Likewise.
70319 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
70321         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
70322         loop termination condition.
70324         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
70325         variable to calculate EZ.
70326         (__sqr): Likewise.
70328         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
70329         the lower precision input.
70331 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
70333         [BZ #13550]
70334         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
70335         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
70336         (run-via-rtld-prefix): Do not handle %-bp tests.
70337         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
70338         (all-object-suffixes): Remove .ob.
70339         (bppfx): Remove variable.
70340         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
70341         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
70342         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
70343         [$(build-bounded) = yes] (libtype.ob): Likewise.
70344         * Makerules (elide-routines.ob): Remove variable.
70345         (do-tests-clean): Do not handle *-bp.out.
70346         (common-mostlyclean): Do not handle *-bp and *-bp.out.
70347         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
70348         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
70349         (tests): Do not include $(tests-bp.out).
70350         (xtests): Do not include $(xtests-bp.out).
70351         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
70352         [$(build-bounded) = yes] ($(addprefix
70353         $(objpfx),$(binaries-bounded))): Remove rule.
70354         ($(objpfx)%-bp.out): Remove rule.
70355         * config.make.in (build-bounded): Remove variable.
70356         * crypt/Makefile [$(build-bounded) = yes]
70357         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
70358         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
70359         append to variable.
70360         [$(build-bounded) = yes] (install-lib): Likewise.
70361         [$(build-bounded) = yes] (generated): Likewise.
70362         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
70363         Remove rule.
70364         * intl/Makefile [$(build-bounded) = yes]
70365         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
70366         * math/Makefile [$(build-bounded) = yes]
70367         ($(tests:%=$(objpfx)%-bp): Likewise.
70368         * misc/Makefile [$(build-bounded) = yes]
70369         ($(objpfx)tst-tsearch-bp): Likewise.
70370         * nptl/Makeconfig (bounded-thread-library): Remove variable.
70371         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
70372         Remove dependency.
70373         * string/Makefile (o-objects.ob): Remove variable.
70374         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
70375         (CFLAGS-.ob): Remove variable.
70376         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
70377         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
70378         both definitions of variable.
70379         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
70380         (ASFLAGS-.ob): Remove variable.
70382 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
70384         [BZ #13550]
70385         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
70386         Remove __BOUNDED_POINTERS__ from condition.
70387         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
70388         * string/bits/string2.h [!__NO_STRING_INLINES &&
70389         !__BOUNDED_POINTERS__]: Likewise.
70390         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
70391         Likewise.
70392         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
70393         Remove conditional code.
70394         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
70395         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
70396         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
70397         condition.
70399         [BZ #13550]
70400         * csu/libc-start.c: Do not include <bp-sym.h>.
70401         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
70402         * elf/dl-open.c: Do not include <bp-sym.h>.
70403         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
70404         * math/fegetenv.c: Do not include <bp-sym.h>.
70405         (fegetenv): Do not use BP_SYM in versioned symbols.
70406         * nptl/sysdeps/pthread/bits/libc-lockP.h
70407         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
70408         <bp-sym.h>.
70409         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70410         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
70411         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70412         (__pthread_mutex_destroy): Likewise.
70413         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70414         (__pthread_mutex_lock): Likewise.
70415         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70416         (__pthread_mutex_trylock): Likewise.
70417         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70418         (__pthread_mutex_unlock): Likewise.
70419         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70420         (__pthread_mutexattr_init): Likewise.
70421         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70422         (__pthread_mutexattr_destroy): Likewise.
70423         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70424         (__pthread_mutexattr_settype): Likewise.
70425         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70426         (__pthread_rwlock_init): Likewise.
70427         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70428         (__pthread_rwlock_destroy): Likewise.
70429         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70430         (__pthread_rwlock_rdlock): Likewise.
70431         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70432         (__pthread_rwlock_tryrdlock): Likewise.
70433         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70434         (__pthread_rwlock_wrlock): Likewise.
70435         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70436         (__pthread_rwlock_trywrlock): Likewise.
70437         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70438         (__pthread_rwlock_unlock): Likewise.
70439         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70440         (__pthread_key_create): Likewise.
70441         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70442         (__pthread_setspecific): Likewise.
70443         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70444         (__pthread_getspecific): Likewise.
70445         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
70446         Likewise.
70447         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70448         (_pthread_cleanup_push_defer): Likewise.
70449         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70450         (_pthread_cleanup_pop_restore): Likewise.
70451         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70452         (pthread_setcancelstate): Likewise.
70453         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
70454         <bp-sym.h>.
70455         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
70456         (memchr): Do not use BP_SYM in weak_alias.
70457         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
70458         (fegetenv): Do not use BP_SYM in versioned symbols.
70459         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
70460         (fesetenv): Do not use BP_SYM in versioned symbols.
70461         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
70462         (feupdateenv): Do not use BP_SYM in versioned symbols.
70463         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
70464         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
70465         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
70466         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
70467         (open64): Do not use BP_SYM in weak_alias.
70468         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
70469         (fegetenv): Do not use BP_SYM in versioned symbols.
70470         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
70471         (fesetenv): Do not use BP_SYM in versioned symbols.
70472         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
70473         (feupdateenv): Do not use BP_SYM in versioned symbols.
70474         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
70475         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
70476         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
70477         (feraiseexcept): Do not use BP_SYM in versioned symbols.
70478         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
70479         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
70480         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
70481         <bp-sym.h>.
70482         (__libc_start_main): Do not use BP_SYM.
70484 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
70486         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
70487         redundant return line.
70488         (norm): Likewise.
70489         (denorm): Likewise.
70490         (dbl_mp): Likewise.
70491         (sub_magnitudes): Likewise.
70492         (__add): Likewise.
70493         (__sub): Likewise.
70494         (__mul): Likewise.
70495         (__inv): Likewise.
70496         (__dvd): Likewise.
70497         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
70498         (norm): Likewise.
70499         (denorm): Likewise.
70500         (dbl_mp): Likewise.
70501         (sub_magnitudes): Likewise.
70502         (__add): Likewise.
70503         (__sub): Likewise.
70504         (__mul): Likewise.
70505         (__inv): Likewise.
70506         (__dvd): Likewise.
70508         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
70509         instead of __mul.
70510         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70511         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
70512         (cc32): Likewise.
70514         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
70515         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
70516         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
70517         of __mul for squares.
70518         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
70519         function
70520         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
70521         Likewise.
70522         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
70523         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70525 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
70527         [BZ #13550]
70528         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
70529         code.
70530         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
70531         prototype or function definition.  Rename ubp_* variables and
70532         parameters.  Remove argv definitions conditional on
70533         [__BOUNDED_POINTERS__].
70534         * debug/backtrace.c (__backtrace): Do not use __unbounded.
70535         * elf/dl-runtime.c (_dl_fixup): Likewise.
70536         * include/set-hooks.h (RUN_HOOK): Likewise.
70537         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
70538         definition.
70539         * string/strcpy.c (strcpy): Do not use __unbounded.
70540         * sysdeps/generic/frame.h (struct layout): Likewise.
70541         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
70542         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
70543         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
70544         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
70545         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
70546         (__backtrace): Likewise.
70547         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
70548         use __ptrvalue.
70549         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
70550         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
70551         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
70552         Likewise.
70553         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
70554         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
70555         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
70556         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
70557         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
70558         Do not use __unbounded.
70559         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
70560         Rename __unboundedrlimits parameter to rlimits in prototype.
70561         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
70562         Do not use __unbounded.
70563         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
70564         not use __ptrvalue.
70565         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
70566         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
70567         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
70568         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
70569         __ptrvalue or __unbounded.
70570         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
70571         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
70572         use __unbounded.
70573         (__new_msgctl): Do not use __ptrvalue.
70574         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
70575         __unbounded.
70576         (__libc_msgrcv): Do not use __ptrvalue.
70577         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
70578         startup_info): Do not use __unbounded.
70579         (__libc_start_main): Likewise.  Rename ubp_* variables and
70580         parameters.  Remove argv definitions conditional on
70581         [__BOUNDED_POINTERS__].
70582         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
70583         __ptrvalue.
70584         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
70585         use __unbounded.
70586         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
70587         or __ptrvalue.
70588         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
70589         use __unbounded.
70590         (__new_shmctl): Do not use __ptrvalue.
70591         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
70592         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
70593         Likewise.
70594         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
70595         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
70596         (__libc_sigaction): Likewise.
70597         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
70598         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
70599         Likewise.
70600         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
70602 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
70604         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
70606         * string/mempcpy.c: Implement by calling memcpy.
70608 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
70610         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
70612         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
70613         evaluation.
70615         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
70616         values in the mantissa.
70618         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
70619         minimize writes to Z.
70620         (sub_magnitudes): Simplify code a bit.
70622 2013-02-12  Roland McGrath  <roland@hack.frob.com>
70624         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
70625         from the message.  The linker prefixes all warnings with that already.
70627 2013-02-12  Andreas Schwab  <schwab@suse.de>
70629         [BZ #15078]
70630         * posix/regexec.c (extend_buffers): Add parameter min_len.
70631         (check_matching): Pass minimum needed length.
70632         (clean_state_log_if_needed): Likewise.
70633         (get_subexp): Likewise.
70634         * posix/Makefile (tests): Add bug-regex34.
70635         (bug-regex34-ENV): Define.
70636         * posix/bug-regex34.c: New file.
70638         [BZ #11561]
70639         * posix/regcomp.c (parse_bracket_exp): When looking up collating
70640         elements compare against the byte sequence of it, not its name.
70641         * posix/Makefile (tests): Add bug-regex35.
70642         (bug-regex35-ENV): Define.
70643         * posix/bug-regex35.c: New file.
70645 2013-02-11  Tom de Vries  <tom@codesourcery.com>
70647         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
70648         comment.
70649         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
70650         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
70651         (CHECK_EOL): Add undef.
70653 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
70655         * bits/stdlib-bsearch.h: New file.
70656         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
70657         * stdlib/stdlib.h: Likewise.
70659 2013-02-11  Roland McGrath  <roland@hack.frob.com>
70661         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
70662         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
70663         declaration.
70664         * manual/search.texi (Array Search Function): Add missing const in
70665         lfind prototype.
70666         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
70667         declaration to use rlim_t.
70668         (Basic Scheduling Functions): Remove erroneous const from
70669         sched_getparam prototype.  Remove erroneous * from
70670         sched_get_priority_max and sched_get_priority_min prototypes.
70671         (Resource Usage): Fix summary @comment on vtimes to refer to
70672         sys/vtimes.h rather than vtimes.h.
70673         Add missing *s in vtimes prototype.
70674         (Limits on Resources): Fix ulimit prototype to return long int.
70675         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
70676         prototypes to use long int rather than double.
70677         (BSD Random): Fix initstate and setstate to use char *, not void *.
70678         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
70679         prototype to make second argument 'struct aiocb64 *const[]'.
70680         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
70681         (Status of AIO Operations): Remove erroneous const in aio_return and
70682         aio_return64 prototypes.
70683         (Synchronizing I/O): Fix sync prototype to return void.
70684         * manual/startup.texi (Suboptions): Remove an erroneous const in
70685         getsubopt prototype.
70686         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
70687         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
70688         use size_t rather than int.
70689         (Scanning All Users): Likewise for getpwent_r.
70690         (Setting Groups): Add missing const to setgroups prototype.
70691         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
70692         * manual/socket.texi (Host Names): Fix gethostbyaddr and
70693         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
70694         'const void *' rather than 'const char *'.
70695         (Host Address Functions): Likewise for inet_ntop.
70696         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
70697         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
70698         ssize_t for return value.
70699         (Sending Data): Likewise for send, sendto, sendmsg.
70700         (Socket Option Functions): Add a missing const in setsockopt prototype.
70701         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
70702         use wchar_t for the argument.
70703         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
70704         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
70705         take no arguments.
70706         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
70707         double/float/long double for second argument.
70708         Fix return types of significand, significandf, significandl.
70709         * manual/filesys.texi (Setting Permissions): Use mode_t for second
70710         argument in fchmod prototype.
70711         (File Owner): Use uid_t and gid_t in fchown prototype.
70712         (File Times): Add const to utimes, futimes, and lutimes prototypes.
70713         (Making Special Files): Use mode_t and dev_t in mknod prototype.
70714         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
70715         use 'const struct dirent **' as argument types to CMP function pointer
70716         argument.
70717         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
70718         (File Times): Fix summary magic @comment for struct utimbuf and utime
70719         to refer to utime.h, not time.h.
70720         * manual/string.texi (Argz Functions): Add missing const in
70721         argz_extract and argz_next prototypes.
70722         (Finding Tokens in a String): Likewise for basename.
70723         (String/Array Comparison): Fix typo in wcscasecmp prototype.
70724         (Copying and Concatenation): Fix typo in wmemmove prototype.
70725         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
70726         (Signal Stack): Remove erroneous const in sigstack prototype.
70727         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
70728         prototype.
70729         (Simple Calendar Time): Likewise for stime.
70730         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
70731         prototype.
70732         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
70733         say sys/sysctl.h instead.
70734         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
70735         and vsyslog prototypes.
70737 2013-02-11  Tom de Vries  <tom@codesourcery.com>
70739         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
70740         Remove.
70742 2013-02-11  Roland McGrath  <roland@hack.frob.com>
70744         * misc/sys/mman.h: Fix typo in mremap comment.
70746 2013-02-08  Roland McGrath  <roland@hack.frob.com>
70748         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
70749         the '\0' terminator.
70751 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
70753         [BZ #13550]
70754         * debug/segfault.c: Don't include <bp-checks.h>.
70755         * sysdeps/generic/bp-checks.h: Remove file.
70756         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
70757         (__GETDENTS): Don't use CHECK_N.
70758         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
70759         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
70760         (__getgroups): Don't use CHECK_N.
70761         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
70762         (setgroups): Don't use CHECK_N.
70763         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
70764         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
70765         (__libc_msgrcv): Don't use CHECK_N.
70766         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
70767         (__libc_msgsnd): Don't use CHECK_N.
70768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
70769         <bp-checks.h>.
70770         (__libc_pread): Don't use CHECK_N.
70771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
70772         include <bp-checks.h>.
70773         (__libc_pread64): Don't use CHECK_N.
70774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
70775         include <bp-checks.h>.
70776         (__libc_pwrite): Don't use CHECK_N.
70777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
70778         include <bp-checks.h>.
70779         (__libc_pwrite64): Don't use CHECK_N.
70780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
70781         <bp-checks.h>.
70782         (__libc_pread): Don't use CHECK_N.
70783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
70784         include <bp-checks.h>.
70785         (__libc_pread64): Don't use CHECK_N.
70786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
70787         include <bp-checks.h>.
70788         (__libc_pwrite): Don't use CHECK_N.
70789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
70790         include <bp-checks.h>.
70791         (__libc_pwrite64): Don't use CHECK_N.
70792         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
70793         (do_pread): Don't use CHECK_N.
70794         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
70795         (do_pread64): Don't use CHECK_N.
70796         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
70797         (do_pwrite): Don't use CHECK_N.
70798         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
70799         (do_pwrite64): Don't use CHECK_N.
70800         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
70801         (__libc_readv): Don't use CHECK_N.
70802         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
70803         (semop): Don't use CHECK_N.
70804         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
70805         <bp-checks.h>.
70806         (semtimedop): Don't use CHECK_N.
70807         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
70808         (__libc_pread): Don't use CHECK_N.
70809         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
70810         <bp-checks.h>.
70811         (__libc_pread64): Don't use CHECK_N.
70812         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
70813         <bp-checks.h>.
70814         (__libc_pwrite): Don't use CHECK_N.
70815         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
70816         <bp-checks.h>.
70817         (__libc_pwrite64): Don't use CHECK_N.
70818         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
70819         <bp-checks.h>.
70820         (__libc_msgrcv): Don't use CHECK_N.
70821         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
70822         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
70823         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
70824         (__libc_writev): Don't use CHECK_N.
70826 2013-02-08  Roland McGrath  <roland@hack.frob.com>
70828         * string/strcpy.c: Removed unused variable.
70830         * Makeconfig (+sysdep-includes): Define with := rather than =.
70831         Use an existing include/ subdir of each sysdeps dir before it.
70833 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
70835         * nscd/connection.c (register_traced_file): Comment function.
70836         [HAVE_INOTIFY] (union __inev): Define.
70837         [HAVE_INOTIFY] (inotify_check_files): New function.
70838         [HAVE_INOTIFY] (clear_db_cache): Likewise.
70839         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
70840         clear_db_cache.
70841         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
70843 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
70845         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
70846         loaded if not already and that a failure is permanent.
70848 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
70850         [BZ #15006]
70851         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
70852         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
70854 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
70856         [BZ #13550]
70857         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
70858         (CHECK_1_NULL_OK): Likewise.
70859         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
70860         (__fxstat): Do not use CHECK_1.
70861         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
70862         <bp-checks.h>.
70863         (___fxstat64): Do not use CHECK_1.
70864         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
70865         <bp-checks.h>.
70866         (__fxstatat): Do not use CHECK_1.
70867         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
70868         <bp-checks.h>.
70869         (__fxstatat64): Do not use CHECK_1.
70870         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
70871         <bp-checks.h>.
70872         (__fxstat): Do not use CHECK_1.
70873         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
70874         <bp-checks.h>.
70875         (__fxstatat): Do not use CHECK_1.
70876         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70877         <bp-checks.h>.
70878         (__getresgid): Do not use CHECK_1.
70879         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70880         <bp-checks.h>.
70881         (__getresuid): Do not use CHECK_1.
70882         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
70883         <bp-checks.h>.
70884         (__lxstat): Do not use CHECK_1.
70885         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70886         <bp-checks.h>.
70887         (__old_msgctl): Do not use CHECK_1.
70888         (__new_msgctl): Likewise.
70889         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
70890         <bp-checks.h>.
70891         (__new_setrlimit): Do not use CHECK_1.
70892         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70893         <bp-checks.h>.
70894         (__old_shmctl): Do not use CHECK_1.
70895         (__new_shmctl): Likewise.
70896         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
70897         <bp-checks.h>.
70898         (__xstat): Do not use CHECK_1.
70899         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
70900         (__lxstat): Do not use CHECK_1.
70901         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
70902         <bp-checks.h>.
70903         (___lxstat64): Do not use CHECK_1.
70904         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
70905         (__old_msgctl): Do not use CHECK_1.
70906         (__new_msgctl): Likewise.
70907         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
70908         <bp-checks.h>.
70909         (__gettimeofday): Do not use CHECK_1.
70910         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
70911         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
70912         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
70913         <bp-checks.h>.
70914         (__gettimeofday): Do not use CHECK_1.
70915         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
70916         (__old_shmctl): Do not use CHECK_1_NULL_OK.
70917         (__new_shmctl): Do not use CHECK_1.
70918         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
70919         <bp-checks.h>.
70920         (do_sigtimedwait): Do not use CHECK_1.
70921         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
70922         <bp-checks.h>.
70923         (do_sigwaitinfo): Do not use CHECK_1.
70924         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
70925         <bp-checks.h>.
70926         (msgctl): Do not use CHECK_1.
70927         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
70928         <bp-checks.h>.
70929         (shmctl): Do not use CHECK_1.
70930         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
70931         (ustat): Do not use CHECK_1.
70932         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
70933         <bp-checks.h>.
70934         (__fxstat): Do not use CHECK_1.
70935         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
70936         <bp-checks.h>.
70937         (__fxstatat): Do not use CHECK_1.
70938         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
70939         <bp-checks.h>.
70940         (__lxstat): Do not use CHECK_1.
70941         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
70942         <bp-checks.h>.
70943         (__xstat): Do not use CHECK_1.
70944         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
70945         (__xstat): Do not use CHECK_1.
70946         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
70947         (___xstat64): Do not use CHECK_1.
70949         [BZ #13550]
70950         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
70951         definitions.
70952         (CHECK_BOUNDS_HIGH): Likewise.
70953         * string/strcpy.c: Do not include <bp-checks.h>.
70954         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
70956 2013-02-07  Roland McGrath  <roland@hack.frob.com>
70958         * nscd/nscd-client.h (__nscd_drop_map_ref):
70959         Add __attribute__ ((unused)).
70960         * nis/nss-nisplus.h (niserr2nss): Likewise.
70962         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
70963         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
70965         * csu/libc-tls.c (init_static_tls, init_slotinfo):
70966         Remove inline keyword.
70967         * include/rounding-mode.h (round_away): Likewise.
70968         * libio/wfileops.c (adjust_wide_data): Likewise.
70969         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
70970         (__m128i_strloadu_tolower): Likewise.
70971         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
70972         (__m128i_strloadu_tolower): Likewise.
70973         * time/mktime.c (ydhms_diff): Likewise.
70974         * locale/elem-hash.h (elem_hash): Likewise.
70975         * locale/setlocale.c (setdata): Likewise.
70976         * posix/regex_internal.h (re_string_char_size_at): Likewise.
70977         (re_string_wchar_at): Likewise.
70978         (bitset_not, bitset_merge, bitset_mask): Likewise.
70979         [!(__GNUC__ > 3)] (inline): Remove macro.
70980         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
70981         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
70982         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
70983         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
70984         * string/memcmp.c (memcmp_bytes): Likewise.
70985         * locale/programs/locarchive.c (compute_hashval): Likewise.
70986         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
70987         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
70988         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
70989         * nss/getent.c (print_rpc, print_protocols): Likewise.
70990         (print_passwd, print_group, print_aliases): Likewise.
70991         * nis/nss-nisplus.h (niserr2nss): Likewise.
70992         * nscd/connections.c (restart_p): Likewise.
70993         Change return type to bool.
70995 2013-02-05  Roland McGrath  <roland@hack.frob.com>
70997         * Makeconfig (all-Depend-files): Add existing
70998         $(sorted-subdirs:=/Depend) files.
70999         (all-subdirs): Remove nss.
71000         * sysdeps/unix/inet/Subdirs: Add it here instead.
71001         * hesiod/Depend: New file.
71003         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71004         instead of calling alloca.
71006         * io/lseek.c (__lseek): Rename to __libc_lseek.
71007         Define __lseek as an alias.
71009         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71011 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
71013         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71014         else clause and remove check for non-standard endianness.
71016 2013-02-04  David S. Miller  <davem@davemloft.net>
71018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71020 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
71022         [BZ #13550]
71023         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71024         (__ubp_memchr): Remove prototype.
71025         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71026         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71027         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71028         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71029         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71030         Remove alias.
71031         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71032         (__ubp_memchr): Likewise.
71033         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71034         (__ubp_memchr): Likewise.
71035         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71036         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71037         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71038         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71039         CHECK_STRING.
71040         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71041         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71042         (__getcwd): Do not use CHECK_STRING.
71043         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71044         <bp-checks.h>.
71045         (__real_chown): Do not use CHECK_STRING.
71046         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71047         <bp-checks.h>.
71048         (fchownat): Do not use CHECK_STRING.
71049         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71050         CHECK_STRING.
71051         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71052         <bp-checks.h>.
71053         (__lchown): Do not use CHECK_STRING.
71054         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71055         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71056         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71057         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71059         include <bp-checks.h>.
71060         (truncate64): Do not use CHECK_STRING.
71061         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71062         <bp-checks.h>.
71063         (__real_chown): Do not use CHECK_STRING.
71064         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71065         <bp-checks.h>.
71066         (__lchown): Do not use CHECK_STRING.
71067         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71068         <bp-checks.h>.
71069         (__chown): Do not use CHECK_STRING.
71070         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71071         <bp-checks.h>.
71072         (truncate64): Do not use CHECK_STRING.
71073         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71074         Likewise.
71075         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71076         (__xmknod): Do not use CHECK_STRING.
71077         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71078         <bp-checks.h>.
71079         (__xmknodat): Do not use CHECK_STRING.
71080         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71081         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71083 2013-02-04  Andreas Schwab  <schwab@suse.de>
71085         [BZ #14142]
71086         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71087         * include/netdb.h: Likewise for h_errno.
71088         * elf/tst-stackguard1.c: Include <tls.h>.
71090 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
71092         * elf/link.h (struct link_map): Extend the l_addr comment.
71093         * include/link.h (struct link_map): Likewise.
71095 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
71097         [BZ #13550]
71098         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71099         (BOUNDED_1): Remove macro.
71100         * debug/backtrace.c: Don't include <bp-checks.h>.
71101         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
71102         (__backtrace): Likewise.
71103         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
71104         <bp-checks.h>.
71105         (__backtrace): Don't use BOUNDED_1.
71106         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
71107         <bp-checks.h>.
71108         (__backtrace): Don't use BOUNDED_1.
71109         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
71110         (__backtrace): Don't use BOUNDED_1.
71111         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
71112         (shmat): Don't use BOUNDED_N.
71114 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
71116         [BZ #13550]
71117         * sysdeps/generic/bp-start.h: Remove file.
71118         * csu/libc-start.c: Don't include <bp-start.h>.
71119         (LIBC_START_MAIN): Set up __environ directly instead of using
71120         INIT_ARGV_and_ENVIRON.
71121         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
71122         <bp-start.h>.
71124         [BZ #13550]
71125         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
71126         definitions.
71127         (CHECK_FCNTL): Likewise.
71128         (CHECK_N_PAGES): Likewise.
71130         [BZ #13550]
71131         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
71132         definitions.
71133         (CHECK_SIGSET_NULL_OK): Likewise.
71134         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
71135         <bp-checks.h>.
71136         (sigpending): Don't use CHECK_SIGSET.
71137         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
71138         <bp-checks.h>.
71139         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71140         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
71141         <bp-checks.h>.
71142         (do_sigsuspend): Don't use CHECK_SIGSET.
71143         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
71144         use CHECK_SIGSET.
71145         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
71146         (do_sigwait): Don't use CHECK_SIGSET.
71147         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
71148         use CHECK_SIGSET.
71149         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
71150         include <bp-checks.h>.
71151         (sigpending): Don't use CHECK_SIGSET.
71152         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
71153         include <bp-checks.h>.
71154         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71155         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
71156         <bp-checks.h>.
71157         (sigpending): Don't use CHECK_SIGSET.
71158         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
71159         <bp-checks.h>.
71160         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71162         [BZ #13550]
71163         * sysdeps/generic/bp-semctl.h: Remove file.
71164         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71165         <bp-checks.h> and <bp-semctl.h>.
71166         (__old_semctl): Don't use CHECK_SEMCTL.
71167         (__new_semctl): Likewise.
71168         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
71169         and <bp-semctl.h>.
71170         (__old_semctl): Don't use CHECK_SEMCTL.
71171         (__new_semctl): Likewise.
71172         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
71173         <bp-checks.h> and <bp-semctl.h>.
71174         (__old_semctl): Don't use CHECK_SEMCTL.
71175         (__new_semctl): Likewise.
71176         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
71177         <bp-checks.h> and <bp-semctl.h>.
71178         (semctl): Don't use CHECK_SEMCTL.
71180         [BZ #13550]
71181         * Makerules (elide-bp-thunks): Remove variable.
71182         (elide-routines.oS): Don't use $(elide-bp-thunks).
71183         (elide-routines.os): Likewise.
71184         (elide-routines.o): Likewise.
71185         (elide-routines.op): Likewise.
71186         (elide-routines.og): Likewise.
71187         (objects): Don't use $(bp-thunks).
71188         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
71189         include.
71190         (common-generated): Do not add s-proto-bp.d.
71191         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
71192         (int): Likewise.
71193         (typ): Likewise.
71194         Do not generate makefile rules for bounded-pointer thunks.
71195         * sysdeps/generic/bp-thunks.h: Remove file.
71196         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
71197         * sysdeps/unix/s-proto-bp.S: Likewise.
71199         [BZ #15062]
71200         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
71201         parts of result separately when argument is not close to line from
71202         -i to i and one part of argument is small.
71203         * math/k_casinhf.c (__kernel_casinhf): Likewise.
71204         * math/k_casinhl.c (__kernel_casinhl): Likewise.
71205         * math/libm-test.inc (cacos_test): Add more tests.
71206         (casin_test): Likewise.
71207         (casinh_test): Likewise.
71208         * sysdeps/i386/fpu/libm-test-ulps: Update.
71209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71211 2013-01-31  David S. Miller  <davem@davemloft.net>
71213         * po/de.po: Update from translation team.
71215 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
71217         * time/tzfile.c: Include stdint.h for SIZE_MAX.
71219 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
71221         * configure.in (_AC_PROG_CC_C89): New definition.
71222         * configure: Regenerate.
71224         * configure.in (AC_PROG_CPP): New definition.
71225         * configure: Regenerate.
71227 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
71229         * debug/tst-backtrace.h: New file.
71230         * debug/tst-backtrace2.c: Include tst-backtrace.h.
71231         (ret): Remove variable.
71232         (x): Likewise.
71233         (FAIL): Remove macro.
71234         (NO_INLINE): Likewise.
71235         (fn1): Use match function instead of strstr.
71236         * debug/tst-backtrace3.c: Include tst-backtrace.h.
71237         (ret): Remove variable.
71238         (x): Likewise.
71239         (FAIL): Remove macro.
71240         (NO_INLINE): Likewise.
71241         (fn): Use match function instead of strstr.
71242         * debug/tst-backtrace4.c: Include tst-backtrace.h.
71243         (ret): Remove variable.
71244         (x): Likewise.
71245         (FAIL): Remove macro.
71246         (NO_INLINE): Likewise.
71247         (handle_signal): Use match function instead of strstr.
71248         * debug/tst-backtrace5.c: Include tst-backtrace.h.
71249         (ret): Remove variable.
71250         (x): Likewise.
71251         (FAIL): Remove macro.
71252         (NO_INLINE): Likewise.
71253         (handle_signal): Use match function instead of strstr.
71255 2013-01-23  Roland McGrath  <roland@hack.frob.com>
71257         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
71259 2013-01-23  David S. Miller  <davem@davemloft.net>
71261         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
71262         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
71263         argument of CAS if possible.
71264         * sysdeps/sparc/sparc64/bits/atomic.h
71265         (__arch_compare_and_exchange_val_32_acq): Likewise.
71266         (__arch_compare_and_exchange_val_64_acq): Likewise.
71268 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
71270         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
71271         * sysdeps/posix/ulimit.c: ... this.
71272         Include <limits.h>.
71273         * sysdeps/unix/bsd/ulimit.c: Remove file.
71275 2013-01-23  Adam Conrad  <adconrad@0c3.net>
71277         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
71278         (LDFLAGS-tst-array5): Likewise.
71280 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
71282         [BZ #15036]
71283         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
71284         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
71285         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
71286         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
71288 2013-01-21  David S. Miller  <davem@davemloft.net>
71290         * sysdeps/sparc/backtrace.c: New file.
71291         * sysdeps/sparc/sparc32/backtrace.h: New file.
71292         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
71293         * sysdeps/sparc/sparc64/backtrace.h: New file.
71294         * sysdeps/sparc/sparc64/backtrace.c: Delete.
71295         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
71296         -funwind-tables.
71298 2013-01-21  Andreas Schwab  <schwab@suse.de>
71300         [BZ #15020]
71301         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
71302         closed its stdout.
71304 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
71306         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
71307         "mpa2.h".
71308         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71310 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
71311             Mark Mitchell  <mark@codesourcery.com>
71312             Tom de Vries  <tom@codesourcery.com>
71313             Paul Pluzhnikov  <ppluzhnikov@google.com>
71315         * debug/tst-backtrace2.c: New file.
71316         * debug/tst-backtrace3.c: Likewise.
71317         * debug/tst-backtrace4.c: Likewise.
71318         * debug/tst-backtrace5.c: Likewise.
71319         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
71320         (CFLAGS-tst-backtrace3.c): Likewise.
71321         (CFLAGS-tst-backtrace4.c): Likewise.
71322         (CFLAGS-tst-backtrace5.c): Likewise.
71323         (LDFLAGS-tst-backtrace2): Likewise.
71324         (LDFLAGS-tst-backtrace3): Likewise.
71325         (LDFLAGS-tst-backtrace4): Likewise.
71326         (LDFLAGS-tst-backtrace5): Likewise.
71327         (tests): Add new tests tst-backtrace2, tst-backtrace3,
71328         tst-backtrace4 and tst-backtrace5.
71330 2013-01-18  Anton Blanchard  <anton@samba.org>
71331             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
71333         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
71334         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
71335         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
71336         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
71337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71338         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
71339         "+r" and remove output regs list as redundant.  Add explicit inline
71340         asm to specify register of return val to work around compiler codegen
71341         bug.  Remove (int) cast on return value.  Add return type parameter to
71342         use in macro so that this macro does not truncate return value for
71343         64-bit values.
71344         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
71345         pass to INTERNAL_VSYSCALL_NCS.
71346         (INLINE_VSYSCALL): Add 'long int' as return type to
71347         INTERNAL_VSYSCALL_NCS macro invocation.
71348         (INTERNAL_VSYSCALL): Add 'long int' as return type to
71349         INTERNAL_VSYSCALL_NCS macro invocation.
71350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71352 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
71354         [BZ #14496]
71355         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
71356         Fix application of SIMD FP exception mask.
71358         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
71359         mp_no from a power of two.
71360         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
71361         __mpexp_twomm1.  Use __pow_mp.
71363         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
71364         multiplication.
71366 2013-01-17  David S. Miller  <davem@davemloft.net>
71368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71370 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
71372         [BZ #15023]
71373         * include/complex.h: Condition contents on [!_COMPLEX_H].
71374         (__kernel_casinhf): New prototype.
71375         (__kernel_casinh): Likewise.
71376         (__kernel_casinhl): Likewise.
71377         * math/Makefile (libm_calls): Add k_casinh.
71378         * math/k_casinh.c: New file.
71379         * math/k_casinhf.c: Likewise.
71380         * math/k_casinhl.c: Likewise.
71381         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
71382         finite nonzero arguments.
71383         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
71384         finite nonzero arguments.
71385         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
71386         finite nonzero arguments.
71387         * math/s_casinh.c: Do not include <float.h>.
71388         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
71389         * math/s_casinhf.c: Do not include <float.h>.
71390         (__casinhf): Move code for finite nonzero arguments to
71391         k_casinhf.c.
71392         * math/s_casinhl.c: Do not include <float.h>.
71393         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
71394         redefine.
71395         (__casinhl): Move code for finite nonzero arguments to
71396         k_casinhl.c.
71397         * math/libm-test.inc (cacos_test): Add more tests.
71398         * sysdeps/i386/fpu/libm-test-ulps: Update.
71399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71401 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
71403         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
71404         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
71405         [!HAVE_MREMAP]: Remove [defined linux] case.
71406         * malloc/arena.c: Do not include <malloc-sysdep.h>.
71408 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
71410         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
71412 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
71414         * elf/elf.h (R_386_SIZE32): New relocation.
71415         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
71416         R_386_SIZE32.
71417         (elf_machine_rela): Likewise.
71418         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71419         R_X86_64_SIZE64 and R_X86_64_SIZE32.
71421 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
71423         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
71424         (FP_FAST_FMA): Do not define.
71425         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
71426         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
71427         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
71428         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
71429         !_SOFT_FLOAT]: Likewise.
71430         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
71431         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
71432         value.
71433         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
71434         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
71435         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
71436         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
71437         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
71438         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
71439         file.
71441 2013-01-16  Andreas Schwab  <schwab@suse.de>
71443         [BZ #14327]
71444         * include/stdlib.h (__mktemp): Add declaration.
71445         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
71446         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
71448 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
71450         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
71451         definitions.
71452         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
71453         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
71454         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
71455         definitions here.
71456         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
71457         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
71458         definitions.
71459         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
71460         and ONE.
71461         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
71462         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
71463         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
71464         definitions.
71465         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
71466         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
71467         definitions.
71468         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
71470         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
71472 2013-01-15  David S. Miller  <davem@davemloft.net>
71474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71475         trunc{,f} to libm-sysdep_routes.
71476         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
71478         file.
71479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
71480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
71481         file.
71482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
71483         file.
71484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
71485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
71486         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
71487         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
71488         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
71489         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
71490         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
71491         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
71493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71494         nearbyint{,f} to libm-sysdep_routes.
71495         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
71497         New file.
71498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
71499         file.
71500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
71501         New file.
71502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
71503         file.
71504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
71505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
71506         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
71507         file.
71508         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
71509         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
71510         file.
71511         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
71512         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
71513         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
71515         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
71516         libc_feholdexcept and libc_fesetenv.
71518 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
71520         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
71522 2013-01-14  David S. Miller  <davem@davemloft.net>
71524         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
71525         (SPARC_ASM_VIS2_IFUNC): Likewise.
71526         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
71527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
71528         use of 'siam' instruction.
71529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
71530         Likewise.
71531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
71532         Likewise.
71533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
71534         Likewise.
71535         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
71536         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
71537         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
71538         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
71539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
71540         file.
71541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
71542         file.
71543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
71544         file.
71545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
71546         file.
71547         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
71548         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
71549         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
71550         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
71551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
71552         new VIS2 routines.
71553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71556         Likewise.
71557         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71558         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71559         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71560         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
71562         routines to libm-sysdep_routines.
71563         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71566         fdim/fdimf to libm-sysdep_routines.
71567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
71568         file.
71569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
71570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
71571         file.
71572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
71573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
71574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
71575         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
71576         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
71577         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
71578         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
71580 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
71582         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
71583         to optimize copies.
71585         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
71586         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71587         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71589         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
71590         local variable MPTWO.
71591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
71592         Likewise.
71594 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
71596         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
71597         GLOB_NOESCAPE.
71599 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
71601         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
71603 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
71605         * manual/pattern.texi (glob_t): Document gl_flags.
71606         (glob64_t): Likewise.
71608 2013-01-11  David S. Miller  <davem@davemloft.net>
71610         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
71611         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
71612         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
71613         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
71614         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
71615         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
71616         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
71617         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
71618         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
71619         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
71620         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
71621         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
71622         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
71624         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
71625         sparc V9 rather than using V8 code.
71626         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
71627         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
71629         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71630         Move to...
71631         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
71632         Here.
71634 2013-01-11  Roland McGrath  <roland@hack.frob.com>
71636         [BZ #14941]
71637         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
71638         not in the main loop.
71639         * configure: Regenerated.
71641 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
71643         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
71644         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
71645         to just #else.
71646         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
71647         [!__GLIBC_HAVE_LONG_LONG] case.
71648         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
71649         condition to just #else.
71650         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
71651         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
71652         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
71653         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
71654         unconditional.
71655         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
71656         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
71657         #elif condition to just #else.
71658         * sysdeps/unix/sysv/linux/sys/sysmacros.h
71659         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
71660         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
71661         #elif condition to just #else.
71663 2013-01-11  Steve Ellcey  <sellcey@mips.com>
71665         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
71666         (EF_MIPS_ARCH_64): Fix value.
71667         (EF_MIPS_ARCH_32R2): New.
71668         (EF_MIPS_ARCH_64R2): New.
71670 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
71672         * Makeconfig (+link-pie-before-libc): New.
71673         (+link-pie-after-libc): Likewise.
71674         (+link-pie-tests): Likewise.
71675         (+link-pie): Rewritten.
71676         (link-before-libc): Remove $(config-LDFLAGS).
71677         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
71678         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
71679         (config-LDFLAGS): Renamed to ...
71680         (rtld-LDFLAGS): This.
71681         (rtld-tests-LDFLAGS): New macro.
71682         (link-libc-rpath-link): Likewise.
71683         (link-libc-tests-rpath-link): Likewise.
71684         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
71685         (link-libc): Prepand $(link-libc-rpath-link).
71686         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
71687         (test-program-prefix): New macro.
71688         (test-via-rtld-prefix): Likewise.
71689         (test-program-cmd): Likewise.
71690         (host-test-program-cmd): Likewise.
71691         * Makefile ($(common-objpfx)testrun.sh): Replace
71692         $(run-program-prefix) with $(test-program-prefix).
71693         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
71694         $(rtld-LDFLAGS).
71695         ($(common-objpfx)shlib.lds): Likewise.
71696         (build-module-helper): Likewise.
71697         ($(common-objpfx)format.lds): Likewise.
71698         * Rules (binaries-pie-tests): New.
71699         (binaries-pie-notests): Likewise.
71700         (binaries-pie): Rewritten.
71701         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
71702         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
71703         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
71704         (make-test-out): Replace $(host-built-program-cmd) with
71705         $(host-test-program-cmd).
71706         * config.make.in (build-hardcoded-path-in-tests): New variable.
71707         * configure.in (--enable-hardcoded-path-in-tests): New configure
71708         option.
71709         (hardcoded_path_in_tests): New AC_SUBST.
71710         * configure: Regenerated.
71711         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
71712         $(built-program-cmd) with $(test-program-cmd).
71713         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
71714         (test_program_cmd): This.
71715         * elf/Makefile ($(objpfx)order.out): Run test with
71716         $(test-program-prefix).
71717         ($(objpfx)order2.out): Likewise.
71718         ($(objpfx)tst-initorder.out): Likewise.
71719         ($(objpfx)tst-initorder2.out): Likewise.
71720         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
71721         $(test-program-cmd).
71722         ($(objpfx)tst-array1-static.out): Likewise.
71723         ($(objpfx)tst-array2.out): Likewise.
71724         ($(objpfx)tst-array3.out): Likewise.
71725         ($(objpfx)tst-array4.out): Likewise.
71726         ($(objpfx)tst-array5.out): Likewise.
71727         ($(objpfx)tst-array5-static.out): Likewise.
71728         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
71729         $(test-program-cmd).
71730         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
71731         $(run-program-prefix) with $(test-program-prefix).
71732         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
71733         (test_program_prefix): This.
71734         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
71735         $(run-program-prefix) with $(test-program-prefix).
71736         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
71737         (test_program_prefix): This.
71738         * iconvdata/tst-tables.sh: Likewise.
71739         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
71740         $(run-program-prefix) with $(test-program-prefix).
71741         ($(objpfx)tst-translit.out): Likewise.
71742         ($(objpfx)tst-gettext2.out): Likewise.
71743         ($(objpfx)tst-gettext4.out): Likewise.
71744         ($(objpfx)tst-gettext6.out): Likewise.
71745         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
71746         (test_program_prefix): This.
71747         * intl/tst-gettext2.sh: Likewise.
71748         * intl/tst-gettext4.sh  Likewise.
71749         * intl/tst-gettext6.sh: Likewise.
71750         * intl/tst-translit.sh: Likewise.
71751         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
71752         with $(test-program-cmd).
71753         * libio/Makefile ($(objpfx)test-freopen.out): Replace
71754         $(run-program-prefix) with $(test-program-prefix).
71755         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
71756         (test_program_prefix): This.
71757         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
71758         $(run-program-prefix) with $(test-program-prefix).
71759         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
71760         (test_program_prefix): This.
71761         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
71762         * posix/Makefile ($(objpfx)globtest.out): Replace
71763         $(run-via-rtld-prefix) and $(test-wrapper) with
71764         $(test-program-prefix) and $(test-via-rtld-prefix).
71765         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
71766         $(test-program-prefix).
71767         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
71768         $(host-test-program-cmd).
71769         (tst-spawn-ARGS): Likewise.
71770         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
71771         $(test-program-prefix).
71772         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
71773         (test_via_rtld_prefix): This.
71774         (test_wrapper): Renamed to ...
71775         (test_program_prefix): This.
71776         (run_program_prefix): Replaced by test_program_prefix.
71777         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
71778         (test_program_prefix): This.
71779         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
71780         with $(host-test-program-cmd).
71781         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
71782         $(run-program-prefix) with $(test-program-prefix).
71783         ($(objpfx)tst-printf.out): Likewise.
71784         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
71785         $(test-program-cmd).
71786         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
71787         (test_program_prefix): This.
71788         * stdio-common/tst-unbputc.sh: Likewise.
71789         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
71790         $(run-program-prefix) with $(test-program-prefix).
71791         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
71792         (test_program_prefix): This.
71793         * string/Makefile ($(objpfx)tst-svc.out):  Replace
71794         $(built-program-cmd) with $(test-program-cmd).
71796 2013-01-11  Andreas Jaeger  <aj@suse.de>
71798         [BZ #15003]
71799         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
71800         value. Sync with Linux 3.7.
71802 2013-01-10  David S. Miller  <davem@davemloft.net>
71804         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
71805         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
71806         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
71808 2013-01-10  Roland McGrath  <roland@hack.frob.com>
71810         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
71811         never set.
71812         * configure: Regenerated.
71814 2013-01-10  David S. Miller  <davem@davemloft.net>
71816         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
71817         sparc V9 rather than using V8 code.
71818         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
71819         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
71821 2013-01-10  Roland McGrath  <roland@hack.frob.com>
71823         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
71824         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
71825         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
71826         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
71827         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
71828         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
71829         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
71830         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
71831         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
71832         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
71833         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
71834         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
71835         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
71836         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
71837         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
71838         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
71839         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
71840         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
71841         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
71842         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
71843         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
71844         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
71845         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
71846         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
71847         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
71848         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
71849         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
71851 2013-01-10  David S. Miller  <davem@davemloft.net>
71853         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71855 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
71857         * posix/Makefile (tests-static): New variable.
71858         (tests): Add $(tests-static).
71859         (tst-exec-static-ARGS): New variable.
71860         (tst-spawn-static-ARGS): Likewise.
71861         * posix/tst-exec-static.c: New file.
71862         * posix/tst-spawn-static.c: Likewise.
71863         * posix/tst-exec.c: Support run directly.
71864         * posix/tst-spawn.c: Likewise.
71866 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
71868         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
71869         long.
71870         * math/bits/mathcalls.h (llrint): Likewise.
71871         (llround): Likewise.
71872         * stdlib/stdlib.h (struct drand48_data): Likewise.
71873         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
71874         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
71875         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
71876         Likewise.
71877         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
71878         Likewise.
71879         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
71880         (elf_greg_t): Likewise.
71881         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
71882         (__jmp_buf): Likewise.
71883         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
71884         definitions.
71885         (llrint): Likewise, for all definitions.
71886         (llrintl): Likewise.
71888         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
71889         Remove [__GNUC__] condition.
71890         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
71891         condition to just [__USE_ISOC99].
71892         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
71894 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
71896         [BZ #14200]
71897         * sysdeps/unix/sysv/linux/x86/bits/environments.h
71898         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
71899         defined.
71900         (_POSIX_V6_ILP32_OFF32): Likewise.
71901         (_XBS5_ILP32_OFF32): Likewise.
71902         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
71903         (__ILP32_OFFBIG_LDFLAGS): Likewise.
71905 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
71907         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
71909         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
71910         doubles __mpexp_twomm1.  Adjust usage.
71911         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
71912         Remove.
71914 2013-01-10  Andreas Schwab  <schwab@suse.de>
71916         [BZ #14964]
71917         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
71918         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
71920 2013-01-09  David S. Miller  <davem@davemloft.net>
71922         [BZ #15003]
71923         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
71924         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
71925         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
71926         (TCP_FASTOPEN): Define.
71927         (tcp_repair_opt): New structure.
71928         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
71929         enum values.
71930         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
71931         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
71932         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
71933         (tcp_cookie_transactions): New structure.
71935 2013-01-09  Anton Blanchard  <anton@samba.org>
71937         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
71938         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
71939         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
71940         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
71942 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
71944         * include/features.h (__USE_ANSI): Remove.
71946 2013-01-09  Roland McGrath  <roland@hack.frob.com>
71948         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
71950         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
71952 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
71954         * sysdeps/s390/fpu/libm-test-ulps: Update.
71956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71958         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
71959         (__acr): Likewise.
71960         (__cpy): Likewise.
71961         (norm): Likewise.
71962         (denorm): Likewise.
71963         (__mp_dbl): Likewise.
71964         (__dbl_mp): Likewise.
71965         (add_magnitudes): Likewise.
71966         (sub_magnitudes): Likewise.
71967         (__add): Likewise.
71968         (__sub): Likewise.
71969         (__mul): Likewise.
71970         (__inv): Likewise.
71971         (__dvd): Likewise.
71972         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
71973         (__acr): Likewise.
71974         (__cpy): Likewise.
71975         (norm): Likewise.
71976         (denorm): Likewise.
71977         (__mp_dbl): Likewise.
71978         (__dbl_mp): Likewise.
71979         (add_magnitudes): Likewise.
71980         (sub_magnitudes): Likewise.
71981         (__add): Likewise.
71982         (__sub): Likewise.
71983         (__mul): Likewise.
71984         (__inv): Likewise.
71985         (__dvd): Likewise.
71986         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
71987         (__acr): Likewise.
71988         (__cpy): Likewise.
71989         (norm): Likewise.
71990         (denorm): Likewise.
71991         (__mp_dbl): Likewise.
71992         (__dbl_mp): Likewise.
71993         (add_magnitudes): Likewise.
71994         (sub_magnitudes): Likewise.
71995         (__add): Likewise.
71996         (__sub): Likewise.
71997         (__mul): Likewise.
71998         (__inv): Likewise.
71999         (__dvd): Likewise.
72001 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
72003         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72004         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72005         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72006         2 && __USE_EXTERN_INLINES]: Likewise.
72008 2013-01-08  Andreas Jaeger  <aj@suse.de>
72010         [BZ #14985]
72011         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72012         Remove.
72013         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72014         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72016 2013-01-07  Anton Blanchard  <anton@samba.org>
72018         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72019         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72020         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72021         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72022         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72023         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72024         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72025         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72026         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72027         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72028         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72029         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72030         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72031         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72032         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72033         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72034         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72035         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72036         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72037         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72038         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72039         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72040         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72041         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72042         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72043         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72044         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72045         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72046         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72047         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72048         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72049         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72050         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72051         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72052         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72053         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72054         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72055         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72056         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72057         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72058         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72059         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72060         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72062 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
72064         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72065         (__MALLOC_PMT): Likewise.
72066         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72067         [__GNUC__], only on [_LIBC].
72068         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72069         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72070         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72071         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72072         forward declaration.
72073         (realloc_hook_ini): Likewise.
72074         (memalign_hook_ini): Likewise.
72075         (__libc_memalign): Do not use __MALLOC_PMT in variable
72076         declaration.
72077         (__libc_valloc): Likewise.
72078         (__libc_pvalloc): Likewise.
72079         (__libc_calloc): Likewise.
72080         (__posix_memalign): Likewise.
72082         [BZ #14996]
72083         * math/s_casinh.c: Include <float.h>.
72084         (__casinh): Do not do computation with squaring and square root
72085         for large arguments.
72086         * math/s_casinhf.c: Include <float.h>.
72087         (__casinhf): Do not do computation with squaring and square root
72088         for large arguments.
72089         * math/s_casinhl.c: Include <float.h>.
72090         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72091         (__casinhl): Do not do computation with squaring and square root
72092         for large arguments.
72093         * math/libm-test.inc (casin_test): Add more tests.
72094         (casinh_test): Likewise.
72095         * sysdeps/i386/fpu/libm-test-ulps: Update.
72096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72098 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
72100         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
72101         (__x86_64_raw_data_cache_size): Likewise.
72102         (__x86_64_data_cache_size_half): Likewise.
72103         (__x86_64_raw_data_cache_size_half): Likewise.
72104         (__x86_64_shared_cache_size): Likewise.
72105         (__x86_64_raw_shared_cache_size): Likewise.
72106         (__x86_64_shared_cache_size_half): Likewise.
72107         (__x86_64_raw_shared_cache_size_half): Likewise.
72108         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
72109         to ...
72110         (__x86_data_cache_size): This.
72111         (__x86_64_raw_data_cache_size): Renamed to ...
72112         (__x86_raw_data_cache_size): This.
72113         (__x86_64_data_cache_size_half): Renamed to ...
72114         (__x86_data_cache_size_half): This.
72115         (__x86_64_raw_data_cache_size_half): Renamed to ...
72116         (__x86_raw_data_cache_size_half): This.
72117         (__x86_64_shared_cache_size): Renamed to ...
72118         (__x86_shared_cache_size): This.
72119         (__x86_64_raw_shared_cache_size): Renamed to ...
72120         (__x86_raw_shared_cache_size): This.
72121         (__x86_64_shared_cache_size_half): Renamed to ...
72122         (__x86_shared_cache_size_half): This.
72123         (__x86_64_raw_shared_cache_size_half): Renamed to ...
72124         (__x86_raw_shared_cache_size_half): This.
72125         * sysdeps/x86_64/memcpy.S: Updated.
72126         * sysdeps/x86_64/memset.S: Likewise.
72127         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
72128         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72129         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72131 2013-01-04  David S. Miller  <davem@davemloft.net>
72133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72135 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
72137         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
72138         1 to avoid redefinition warning.
72139         (__USE_GNU): Don't define.
72140         (init_signaling_nan): Protoize.
72142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72144 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72146         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
72147         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
72148         (__cpymn): Likewise.
72149         (norm): Remove commented code.
72150         (denorm): Likewise.
72151         (__mp_dbl): Likewise.
72152         (__inv): Likewise.
72153         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
72154         (__cpymn): Likewise.
72155         (norm): Remove commented code.
72156         (denorm): Likewise.
72157         (__mp_dbl): Likewise.
72158         (__inv): Likewise.
72160         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
72161         mp_no value for 1.0 and 2.0.
72162         (norm): Use RADIXI instead of radixi.d.
72163         (denorm): Likewise.
72164         (__mul): Use 0.0 instead of zero.d.
72165         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
72166         mp_no value for 1.0 and 2.0.
72167         (norm): Use RADIXI instead of radixi.d.
72168         (denorm): Likewise.
72169         (__mul): Use 0.0 instead of zero.d.
72171 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
72173         [BZ #14994]
72174         * math/s_casinh.c (__casinh): Reduce finite argument to first
72175         quadrant then set signs of results at the end.
72176         * math/s_casinhf.c (__casinhf): Likewise.
72177         * math/s_casinhl.c (__casinhl): Likewise.
72178         * math/libm-test.inc (casin_test): Add more tests.
72179         (casinh_test): Likewise.
72180         * sysdeps/i386/fpu/libm-test-ulps: Update.
72181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72183 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72185         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
72187         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
72189         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
72190         declarations.
72191         (denorm): Likewise.
72192         (__mp_dbl): Likewise.
72193         (__inv): Likewise.
72195         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
72196         and adjust the header comment.
72198         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
72199         variable name from declaration.
72201 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
72203         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72204         Initialize COMMON_CPUID_INDEX_7 element.
72205         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
72206         (CPUID_RTM): Likewise.
72207         (HAS_RTM): Likewise.
72208         (COMMON_CPUID_INDEX_7): New enum.
72210 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
72212         [BZ #14981]
72213         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
72214         size is zero, record memory as freed.
72216 2013-01-03  Andreas Jaeger  <aj@suse.de>
72218         * po/ia.po: Add new Interlingua translation.
72220 2012-01-03  Allan McRae  <allan@archlinux.org>
72222         * locale/programs/localedef.c: Fix description of '--posix' flag.
72224 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
72226         * NEWS: Update dates in second copyright notice.
72227         * README: Update copyright dates in example.
72228         * manual/libc.texinfo: Update copyright dates.
72229         * scripts/test-installation.pl: Update copyright date in --version
72230         output.
72232         * hurd/ctty-input.c: Fix copyright notice formatting.
72233         * hurd/ctty-output.c: Likewise.
72234         * hurd/dtable.c: Likewise.
72235         * hurd/hurd-raise.c: Likewise.
72236         * hurd/hurdprio.c: Likewise.
72237         * hurd/msgportdemux.c: Likewise.
72238         * misc/sys/file.h: Likewise.
72239         * misc/sys/ioctl.h: Likewise.
72240         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
72241         * sysdeps/mach/hurd/chdir.c: Likewise.
72242         * sysdeps/mach/hurd/fchdir.c: Likewise.
72243         * sysdeps/mach/hurd/rename.c: Likewise.
72244         * sysdeps/mach/hurd/rmdir.c: Likewise.
72245         * sysdeps/mach/hurd/seekdir.c: Likewise.
72246         * sysdeps/mach/hurd/setsid.c: Likewise.
72247         * sysdeps/posix/wait3.c: Likewise.
72249         * All files with FSF copyright notices: Update copyright dates
72250         using scripts/update-copyrights.
72251         * intl/plural.c: Regenerated.
72252         * locale/programs/charmap-kw.h: Likewise.
72253         * locale/programs/locfile-kw.h: Likewise.
72255 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
72257         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
72258         four values.
72260         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
72261         calculation loop and add branch prediction.
72263         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
72264         check access beyond bounds of m1np.
72266         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72267         MPTWO.
72268         (__inv): Remove local variable MPTWO to use the global
72269         constant.
72270         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
72271         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72272         variable MPTWO.
72273         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
72274         MP3HALFS static const.
72276 2013-01-01  David S. Miller  <davem@davemloft.net>
72278         * po/ca.po: Update from translation team.
72280 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
72282         * scripts/update-copyrights: New file.
72283         * Makeconfig: Reformat copyright notice.
72284         * ctype/ctype.h: Likewise.
72285         * debug/swprintf_chk.c: Likewise.
72286         * elf/dl-cache.c: Likewise.
72287         * elf/dl-debug.c: Likewise.
72288         * elf/dl-object.c: Likewise.
72289         * grp/initgroups.c: Likewise.
72290         * hurd/Makefile: Likewise.
72291         * hurd/hurd/signal.h: Likewise.
72292         * hurd/hurdfault.c: Likewise.
72293         * hurd/hurdioctl.c: Likewise.
72294         * hurd/hurdlookup.c: Likewise.
72295         * hurd/intr-msg.c: Likewise.
72296         * iconv/gconv_open.c: Likewise.
72297         * libio/swprintf.c: Likewise.
72298         * locale/lc-ctype.c: Likewise.
72299         * locale/nl_langinfo.c: Likewise.
72300         * mach/Machrules: Likewise.
72301         * mach/Makefile: Likewise.
72302         * malloc/obstack.h: Likewise.
72303         * manual/Makefile: Likewise.
72304         * manual/tsort.awk: Likewise.
72305         * misc/bits/stab.def: Likewise.
72306         * nis/nis_print_group_entry.c: Likewise.
72307         * nis/nis_table.c: Likewise.
72308         * nis/nss_compat/compat-pwd.c: Likewise.
72309         * nis/nss_compat/compat-spwd.c: Likewise.
72310         * po/Makefile: Likewise.
72311         * posix/fnmatch.c: Likewise.
72312         * posix/regex.h: Likewise.
72313         * resolv/Makefile: Likewise.
72314         * resolv/nss_dns/dns-network.c: Likewise.
72315         * resolv/res_hconf.c: Likewise.
72316         * scripts/gen-sorted.awk: Likewise.
72317         * soft-fp/soft-fp.h: Likewise.
72318         * stdio-common/printf.h: Likewise.
72319         * stdlib/monetary.h: Likewise.
72320         * stdlib/random.c: Likewise.
72321         * stdlib/random_r.c: Likewise.
72322         * sysdeps/generic/Makefile: Likewise.
72323         * sysdeps/gnu/Makefile: Likewise.
72324         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72325         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72326         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72327         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72328         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72329         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72330         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72331         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72332         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72333         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72334         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72335         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72336         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72337         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72338         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
72339         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72340         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72341         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72342         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72343         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72344         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72345         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72346         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72347         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
72348         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
72349         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72350         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
72351         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
72352         * sysdeps/mach/hurd/errnos.awk: Likewise.
72353         * sysdeps/mach/hurd/fork.c: Likewise.
72354         * sysdeps/mach/hurd/getcwd.c: Likewise.
72355         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
72356         * sysdeps/mach/hurd/mmap.c: Likewise.
72357         * sysdeps/mach/hurd/utimes.c: Likewise.
72358         * sysdeps/mach/hurd/xmknod.c: Likewise.
72359         * sysdeps/posix/profil.c: Likewise.
72360         * sysdeps/posix/readdir_r.c: Likewise.
72361         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72362         * sysdeps/powerpc/bits/setjmp.h: Likewise.
72363         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
72364         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72365         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72366         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72367         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72368         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72369         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72370         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72371         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72372         * sysdeps/pthread/lio_listio.c: Likewise.
72373         * sysdeps/sparc/dl-procinfo.h: Likewise.
72374         * sysdeps/unix/i386/sysdep.S: Likewise.
72375         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
72376         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
72377         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
72378         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
72379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72380         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
72381         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
72382         * sysdeps/unix/sysv/linux/speed.c: Likewise.
72383         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
72384         * sysdeps/wordsize-32/divdi3.c: Likewise.
72385         * time/sys/time.h: Likewise.
72386         * wcsmbs/Makefile: Likewise.
72388 2013-01-01  David S. Miller  <davem@davemloft.net>
72390         * po/fr.po: Update from translation team.
72392         * catgets/gencat.c: Update copyright year.
72393         * csu/version.c: Likewise.
72394         * debug/catchsegv.sh: Likewise.
72395         * debug/pcprofiledump.c: Likewise.
72396         * debug/xtrace.sh: Likewise.
72397         * elf/ldconfig.c: Likewise.
72398         * elf/ldd.bash.in: Likewise.
72399         * elf/pldd.c: Likewise.
72400         * elf/sotruss.ksh: Likewise.
72401         * elf/sprof.c: Likewise.
72402         * iconv/iconv_prog.c: Likewise.
72403         * iconv/iconvconfig.c: Likewise.
72404         * locale/programs/locale.c: Likewise.
72405         * locale/programs/localedef.c: Likewise.
72406         * login/programs/pt_chown.c: Likewise.
72407         * malloc/memusage.sh: Likewise.
72408         * malloc/memusagestat.c: Likewise.
72409         * malloc/mtrace.pl: Likewise.
72410         * nscd/nscd.c: Likewise.
72411         * nss/getent.c: Likewise.
72412         * nss/makedb.c: Likewise.
72413         * posix/getconf.c: Likewise.
72415 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
72417         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
72418         numbers.
72420 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
72422         * math/bits/mathcalls.h (modf): Use __nonnull.
72424 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
72426         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
72427         (split): Use macro CN instead of the bare value.
72428         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
72429         could be used.
72430         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
72431         instead of the bare value.
72432         (power1): Likewise.
72434 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72436         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
72437         __ATAN_TWOM.
72438         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72440         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
72441         their values.
72442         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72443         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
72444         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
72445         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72447 2012-12-28  Andreas Jaeger  <aj@suse.de>
72449         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
72450         values are from Linux 3.7.
72452         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
72453         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
72455 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72457         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
72458         TRUE case.
72460         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
72461         (norm): Likewise.
72462         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
72463         variables with preprocessor constants.
72464         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72465         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72466         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72468 2012-12-27  Bruno Haible  <bruno@clisp.org>
72470         [BZ #14317]
72471         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
72472         only if needed.
72474 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
72476         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
72477         and use variable directly.
72478         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
72480         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72481         MPONE.
72482         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
72483         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72484         variable MPONE.
72485         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
72486         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
72487         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
72488         include directive.  Remove local variable MPONE.
72489         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
72490         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
72491         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72493 2012-12-25  David S. Miller  <davem@davemloft.net>
72495         * version.h (RELEASE): Set to "development".
72496         (VERSION): Set to "2.17.90".
72497         * NEWS: Add 2.18 section.
72499 2012-12-21  David S. Miller  <davem@davemloft.net>
72501         * po/hr.po: Update from translation team.
72503 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72505         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
72507 2012-12-19  Steve Ellcey  <sellcey@mips.com>
72509         * NEWS:  Mention new memcpy for MIPS.
72511 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72513         * manual/contrib.texi (Contributors): Spelling correction.
72515 2012-12-15  David S. Miller  <davem@davemloft.net>
72517         * po/ru.po: Update from translation team.
72519 2012-12-13  David S. Miller  <davem@davemloft.net>
72521         * NEWS: Mention IFUNC testsuite enhancements.
72523         * po/pl.po: Update from translation team.
72524         * po/bg.po: Likewise.
72526         * manual/contrib.texi (Contributors): Update entries for Hongjiu
72527         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
72529 2012-12-11  David S. Miller  <davem@davemloft.net>
72531         * po/sv.po: Update from translation team.
72533         * po/vi.po: Update from translation team.
72535         * po/cs.po: Update from translation team.
72537         * po/de.po: Update from translation team.
72538         * po/eo.po: Likewise.
72539         * po/nl.po: Likewise.
72541 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
72543         [BZ #14246]
72544         * manual/argp.texi (Argp Helper Functions): Move node to follow
72545         Argp Parsing State.
72547         [BZ #14872]
72548         * manual/conf.texi (Limits on File System Capacity): Mention if
72549         terminating null is included in the max size.
72551 2012-12-10  Andreas Jaeger  <aj@suse.de>
72553         * po/cs.po: Update from translation team.
72555 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
72557         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
72558         void pointer and cast to uintptr_t.
72559         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
72560         path.
72561         * sysdeps/s390/s390-64/memcpy.S: Likewise.
72562         * sysdeps/s390/s390-64/memset.S: Likewise.
72564 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
72566         [BZ #14833]
72567         * menual/message.texi (Message Translation): Fix typos.
72568         (Helper programs for gettext): Likewise.
72570 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
72572         [BZ #14898]
72573         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
72574         Change to -1.
72576 2012-12-07  David S. Miller  <davem@davemloft.net>
72578         * po/libc.pot: Update.
72580 2012-12-07  Richard Henderson  <rth@redhat.com>
72582         [BZ #10114]
72583         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
72584         normal/normal case to before the switch.
72585         (_FP_DIV): Likewise.
72587 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
72588             Mike Frysinger  <vapier@gentoo.org>
72590         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
72591         check for __NR_fadvise64_64.
72593 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
72595         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
72596         0, not just to plain "0" as a statement.
72597         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
72598         with cw.
72600 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
72602         * NEWS: Use sourceware.org in Bugzilla URL.
72604 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
72606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
72607         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
72609         * stdio-common/tst-put-error.c (do_test): Add newline to the
72610         padded test to ensure flush.
72612 2012-12-05  Jeff Law  <law@redhat.com>
72614         * sunrpc/etc.rpc (fedfs_admin): Add entry.
72616 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
72618         * README: Don't refer to ports add-on as distributed separately.
72619         Mention AArch64 in list of systems supported in the ports add-on.
72621         * LICENSES: Add more non-FSF copyright and license notices.
72623         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
72624         ((unused)).
72626         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
72628         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
72629         10000 as width of padded output.
72631 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
72633         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
72635         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
72636         variable LX with __attribute__ ((unused)).
72637         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
72638         Likewise.
72639         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
72640         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72641         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
72642         with __attribute__ ((unused)).
72644 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
72646         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
72648 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
72650         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
72651         (CFLAGS-nldbl-acos.c): New variable.
72652         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
72653         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
72654         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
72655         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
72656         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
72657         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
72658         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
72659         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
72660         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
72661         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
72662         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
72663         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
72664         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
72665         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
72666         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
72667         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
72668         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
72669         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
72670         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
72671         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
72672         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
72673         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
72674         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
72675         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
72676         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
72677         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
72678         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
72679         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
72680         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
72681         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
72682         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
72683         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
72684         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
72685         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
72686         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
72687         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
72688         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
72689         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
72690         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
72691         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
72692         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
72693         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
72694         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
72695         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
72696         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
72697         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
72698         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
72699         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
72700         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
72701         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
72702         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
72703         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
72704         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
72705         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
72706         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
72707         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
72708         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
72709         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
72710         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
72711         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
72712         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
72713         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
72714         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
72715         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
72716         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
72717         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
72718         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
72719         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
72720         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
72721         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
72722         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
72723         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
72724         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
72725         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
72726         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
72727         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
72728         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
72729         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
72730         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
72731         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
72732         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
72733         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
72734         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
72735         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
72736         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
72737         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
72738         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
72739         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
72740         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
72741         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
72742         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
72743         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
72744         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
72745         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
72746         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
72747         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
72748         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
72750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
72751         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
72753         [BZ #14914]
72754         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
72755         whole low double instead of just low 47 bits when splitting values
72756         into two parts.
72758 2012-12-03  Allan McRae  <allan@archlinux.org>
72760         * manual/stdio.texi (Predefined Printf Handlers): Remove
72761         @hsep and @vsep usage.
72763 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
72765         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
72766         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
72768 2012-12-03  Jeff Law  <law@redhat.com>
72770         * time/sys/time.h (settimeofday): Do not mark TV argument
72771         as __nonnull.
72773 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
72775         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
72776         when currently writing and seek to current position when not.
72777         * libio/Makefile (tests): Remove bug-fclose1.
72778         * libio/bug-fclose1.c: Delete.
72780 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
72782         * manual/arith.texi (feenableexcept): Fix typo.
72783         (fedisableexcept): Likewise.
72785 2012-11-30  Roland McGrath  <roland@hack.frob.com>
72787         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
72788         second, differently-typed declaration, rather than a cast.
72790 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
72792         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
72793         * include/rpc/svc.h: ... here.
72795 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
72797         [BZ #13013]
72798         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
72799         depending n and resplen2 to catch cases where answer
72800         equals answerp2.
72802 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
72804         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
72805         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
72807 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
72809         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
72811 2012-11-29  Roland McGrath  <roland@hack.frob.com>
72813         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
72815 2012-11-28  Jeff Law  <law@redhat.com>
72817         [BZ #13761]
72818         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
72819         dataset_temporary.  Track alloca usage into alloca_used.
72820         If dataset is large allocate and release it via malloc/free.
72822 2012-06-04  Florian Weimer  <fweimer@redhat.com>
72824         [BZ #14197]
72825         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
72827 2012-11-28  David S. Miller  <davem@davemloft.net>
72829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72831 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
72833         [BZ #14803]
72834         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
72835         of pi/2 rounded to nearest to 64 bits.
72836         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
72837         nearest to 64 bits.
72838         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
72839         bits.
72841 2012-11-28  Jeff Law <law@redhat.com>
72842             Martin Osvald <mosvald@redhat.com>
72844         [BZ #14889]
72845         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
72846         * sunrpc/svc.c: Include time.h.
72847         (__svc_accept_failed): New function.
72848         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
72849         any reason other than EINTR, call __svc_accept_failed.
72850         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
72851         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
72853 2012-11-28  Andreas Schwab  <schwab@suse.de>
72855         * scripts/abilist.awk: Also handle indirect functions in .opd
72856         section.
72858 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
72860         [BZ #13881]
72861         * sysdeps/x86/fpu/powl_helper.c: New file.
72862         * sysdeps/x86/fpu/Makefile: Likewise.
72863         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
72864         (p3): New object.
72865         (__ieee754_powl): Use __powl_helper for finite arguments except
72866         integer exponents below 8.
72867         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
72868         (p3): New object.
72869         (__ieee754_powl): Use __powl_helper for finite arguments except
72870         integer exponents below 8.
72871         * math/libm-test.inc (pow_test): Add more tests and enable some
72872         previously disabled tests.
72873         * sysdeps/i386/fpu/libm-test-ulps: Update.
72874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72876 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72877             Carlos O'Donell  <carlos_odonell@mentor.com>
72879         * nss/makedb.c (is_prime): Assert that input is odd and greater
72880         than 4.  Note that fact in a comment too.
72881         (next_prime): Add 4 to input.
72883 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
72885         [BZ #11741]
72886         * libio/Makefile (tests): Add test case tst-fwrite-error.
72887         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
72888         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
72889         * libio/tst-fwrite-error.c: New test case.
72891 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
72893         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
72894         before casting to void *.
72895         * include/libc-internal.h (__pointer_type): New macro.
72896         (__integer_if_pointer_type_sub): Likewise.
72897         (__integer_if_pointer_type): Likewise.
72898         (cast_to_integer): Likewise.
72899         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
72900         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
72901         before casting to atomic64_t.
72902         (atomic_exchange_acq): Likewise.
72903         (__arch_exchange_and_add_body): Likewise.
72904         (__arch_add_body): Likewise.
72905         (atomic_add_negative): Likewise.
72906         (atomic_add_zero): Likewise.
72908 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
72910         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
72911         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
72912         (add_fdes): Likewise.
72913         (linear_search_fdes): Likewise.
72914         (binary_search_unencoded_fdes): Likewise.
72916 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
72918         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
72920 2012-11-24  Adam Conrad  <adconrad@0c3.net>
72922         * configure.in: Autodetect C++ header directories.
72923         * configure: Regenerated.
72925 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
72927         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
72929 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
72931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72933 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
72935         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
72936         LDBL_MANT_DIG == 106]: Disable some tests.
72937         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
72938         Likewise.
72939         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
72940         Likewise.
72942         [BZ #14871]
72943         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
72944         input for small inputs.  Return +/- pi/2 for large inputs.
72945         * math/libm-test.inc (atan_test): Add more tests.
72947         * sysdeps/generic/unwind-dw2-fde-glibc.c
72948         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
72949         __attribute__ ((unused)).
72951         [BZ #14645]
72952         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
72953         x * y if x and y are nonzero and z is zero.
72955         [BZ #14811]
72956         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
72957         nonzero exponents with absolute value below 0x1p-117 to +/-
72958         0x1p-117.
72960         [BZ #14869]
72961         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
72962         up arguments below 2**-450, not just those below 2**-500.
72963         * math/libm-test.inc (hypot_test): Add another test.
72965         [BZ #14868]
72966         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
72967         Return a+b for ratio over 2**120, not 2**60.
72968         * math/libm-test.inc (hypot_test): Add another test.
72970         * math/libm-test.inc (clog_test): Use
72971         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
72972         (clog10_test): Likewise.
72974         [BZ #6778]
72975         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
72977 2012-11-22  Andreas Schwab  <schwab@suse.de>
72979         * sysdeps/i386/fpu/libm-test-ulps: Update.
72981 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
72983         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
72984         printf output with newline.
72986 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
72988         [BZ #14865]
72989         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
72990         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
72991         -z nodlopen, -z initfirst and -z execstack support.
72992         * configure: Regenerated.
72994         * elf/elf.h (DF_1_NODIRECT): New macro.
72995         (DF_1_IGNMULDEF): Likewise.
72996         (DF_1_NOKSYMS): Likewise.
72997         (DF_1_NOHDR): Likewise.
72998         (DF_1_EDITED): Likewise.
72999         (DF_1_NORELOC): Likewise.
73000         (DF_1_SYMINTPOSE): Likewise.
73001         (DF_1_GLOBAUDIT): Likewise.
73002         (DF_1_SINGLETON): Likewise.
73003         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73004         DT_1_SUPPORTED_MASK bits.
73005         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73007 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
73009         * sysdeps/unix/make-syscalls.sh: Document prefixes.
73011 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
73013         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73014         macro.
73016         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73017         (sendmmsg): Move declarations...
73018         * socket/sys/socket.h: ... here.
73019         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73020         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73021         include it from...
73022         * socket/recvmmsg.c: ... this new file.
73023         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73024         (sendmmsg): Rename to __sendmmsg, create weak alias and make
73025         definition of __sendmmsg hidden.
73026         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73027         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73028         Move ENOSYS stub into and include it from...
73029         * socket/sendmmsg.c: ... this new file.
73030         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73031         (sysdep_routines): Move recvmmsg and sendmmsg...
73032         * socket/Makefile (routines): ... here.
73033         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73034         (GLIBC_PRIVATE): Add __sendmmsg.
73035         * include/sys/socket.h (__sendmmsg): Add declarations.
73036         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73037         sendmmsg.
73039 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
73041         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73042         variable I1 with __attribute__ ((unused)).
73043         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73045 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
73047         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73048         DUMMY variables with __attribute__ ((unused)).
73050         * bits/byteswap.h: Include <bits/types.h>.
73051         (__bswap_64): Use __uint64_t instead of unsigned long long int.
73053 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
73055         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73056         string_t.  Do not manually set errno.
73057         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73058         length with __strnlen.  Make sure to both set errno and return it on
73059         failure.
73061 2012-11-19  David S. Miller  <davem@davemloft.net>
73063         With help from Joseph Myers.
73064         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73065         very large arguments properly.
73066         * math/libm-test.inc (atan_test): New tests.
73067         (atan2_test): New tests.
73068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73069         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73071 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
73073         [BZ #14856]
73074         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73075         Define to 3.
73077         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73078         [POSIX] (EADDRNOTAVAIL): Likewise.
73079         [POSIX] (EAFNOSUPPORT): Likewise.
73080         [POSIX] (EALREADY): Likewise.
73081         [POSIX] (ECONNABORTED): Likewise.
73082         [POSIX] (ECONNREFUSED): Likewise.
73083         [POSIX] (ECONNRESET): Likewise.
73084         [POSIX] (EDESTADDRREQ): Likewise.
73085         [POSIX] (EDQUOT): Likewise.
73086         [POSIX] (EHOSTUNREACH): Likewise.
73087         [POSIX] (EIDRM): Likewise.
73088         [POSIX] (EISCONN): Likewise.
73089         [POSIX] (ELOOP): Likewise.
73090         [POSIX] (EMULTIHOP): Likewise.
73091         [POSIX] (ENETDOWN): Likewise.
73092         [POSIX] (ENETUNREACH): Likewise.
73093         [POSIX] (ENOBUFS): Likewise.
73094         [POSIX] (ENODATA): Likewise.
73095         [POSIX] (ENOLINK): Likewise.
73096         [POSIX] (ENOMSG): Likewise.
73097         [POSIX] (ENOPROTOOPT): Likewise.
73098         [POSIX] (ENOSR): Likewise.
73099         [POSIX] (ENOSTR): Likewise.
73100         [POSIX] (ENOTCONN): Likewise.
73101         [POSIX] (ENOTSOCK): Likewise.
73102         [POSIX] (EOPNOTSUPP): Likewise.
73103         [POSIX] (EOVERFLOW): Likewise.
73104         [POSIX] (EPROTO): Likewise.
73105         [POSIX] (EPROTONOSUPPORT): Likewise.
73106         [POSIX] (EPROTOTYPE): Likewise.
73107         [POSIX] (ESTALE): Likewise.
73108         [POSIX] (ETIME): Likewise.
73109         [POSIX] (ETXTBSY): Likewise.
73110         [POSIX] (EWOULDBLOCK): Likewise.
73111         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
73112         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
73113         [POSIX] (SEEK_CUR): Likewise.
73114         [POSIX] (SEEK_END): Likewise.
73115         [POSIX || UNIX98] (mode_t): Do not require.
73116         [POSIX] (off_t): Likewise.
73117         [POSIX] (pid_t): Likewise.
73118         [POSIX] (sys/stat.h): Do not allow header.
73119         [POSIX] (unistd.h): Likewise.
73120         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
73121         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
73122         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
73123         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
73124         require.
73125         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
73126         sigevent): Specify elements.
73127         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
73128         entry.
73129         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
73130         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
73132         * conform/data/cpio.h-data [POSIX]: Disable whole file.
73133         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
73134         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
73135         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
73136         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
73137         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
73138         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
73139         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
73140         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
73141         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
73142         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
73143         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
73144         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
73145         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
73146         Likewise.
73147         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
73148         Likewise.
73149         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
73150         Likewise.
73151         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
73152         Likewise.
73153         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
73154         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
73155         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
73156         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
73157         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
73158         Specify lower bound on value.
73159         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
73160         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
73161         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
73162         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
73163         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
73164         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
73165         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
73166         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
73167         value.
73168         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
73169         as optional.
73170         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
73171         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
73172         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
73173         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
73174         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
73175         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
73176         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
73177         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
73178         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
73179         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
73180         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
73181         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
73182         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
73183         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
73184         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
73185         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
73186         entry.
73187         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
73188         optional.
73189         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
73190         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
73191         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
73192         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
73193         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
73194         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
73195         Likewise.
73196         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
73197         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
73198         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
73199         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
73200         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
73201         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
73202         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
73203         as optional.
73204         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
73205         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
73206         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
73207         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
73208         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
73209         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
73210         specify as optional.
73211         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
73212         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
73213         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
73214         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
73215         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
73216         [XPG3] (NL_LANGMAX): Likewise.
73217         [POSIX || XPG3] (NL_MSGMAX): Likewise.
73218         [POSIX || XPG3] (NL_NMAX): Likewise.
73219         [POSIX || XPG3] (NL_SETMAX): Likewise.
73220         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
73221         [XPG3] (NZERO): Likewise.
73222         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
73223         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
73224         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
73225         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
73226         (REG_ERANGE): Expect.
73227         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
73228         optional-constant.
73229         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
73230         Use (void) in prototype.
73231         [POSIX] (*_t): Allow.
73232         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
73233         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
73234         (WRDE_BADVAL): Expect.
73236         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
73237         expect.
73238         [XPG3 || XPG4] (O_RSYNC): Likewise.
73239         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
73240         Likewise.
73241         [XPG3 || XPG4] (pthread_sigmask): Likewise.
73242         [XPG3 || XPG4] (sigqueue): Likewise.
73243         [XPG3 || XPG4] (sigtimedwait): Likewise.
73244         [XPG3 || XPG4] (sigwaitinfo): Likewise.
73245         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
73246         [XPG3 || XPG4] (vsnprintf): Likewise.
73247         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
73248         Likewise.
73249         [XPG3 || XPG4] (blksize_t): Likewise.
73250         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
73251         Likewise.
73252         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
73253         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
73254         [XPG3 || XPG4] (struct itimerspec): Likewise.
73255         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
73256         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
73257         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
73258         [XPG3 || XPG4] (clockid_t): Likewise.
73259         [XPG3 || XPG4] (timer_t): Likewise.
73260         [XPG3 || XPG4] (clock_getres): Likewise.
73261         [XPG3 || XPG4] (clock_gettime): Likewise.
73262         [XPG3 || XPG4] (clock_settime): Likewise.
73263         [XPG3 || XPG4] (nanosleep): Likewise.
73264         [XPG3 || XPG4] (timer_create): Likewise.
73265         [XPG3 || XPG4] (timer_delete): Likewise.
73266         [XPG3 || XPG4] (timer_gettime): Likewise.
73267         [XPG3 || XPG4] (timer_getoverrun): Likewise.
73268         [XPG3 || XPG4] (timer_settime): Likewise.
73269         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
73270         [XPG3 || XPG4] (getlogin_r): Likewise.
73271         [XPG3 || XPG4] (pread): Likewise.
73272         [XPG3 || XPG4] (pthread_atfork): Likewise.
73273         [XPG3 || XPG4] (pwrite): Likewise.
73275         [BZ #14835]
73276         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
73277         <bits/siginfo.h>.
73279 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
73281         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
73282         finalizing MALLSTREAM.
73284         * sysdeps/mach/hurd/syncfs.c: New file.
73286 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
73288         [BZ #14719]
73289         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
73290         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
73291         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
73292         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
73293         (_nss_dns_gethostbyname4_r): Likewise.
73294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
73295         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
73297 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
73299         [BZ #13763]
73300         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
73302 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
73304         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
73305         * elf/cache.c (print_entry): Print ",AArch64" for
73306         FLAG_AARCH64_LIB64
73308         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
73309         * elf/cache.c (print_entry): Print ",hard-float" for
73310         FLAG_ARM_LIBHF.
73312 2012-11-18  David S. Miller  <davem@davemloft.net>
73314         With help from Joseph Myers.
73315         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
73316         cutoff to 2**-13.
73317         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
73318         cutoff to 2**-25.
73319         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
73320         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
73321         small.
73322         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
73323         * math/libm-test.inc (y0_test): New tests.
73324         (y1_test): New tests.
73325         * sysdeps/i386/fpu/libm-test-ulps: Update.
73326         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73329 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
73331         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
73332         64-bit targets.
73333         * configure: Regenerated.
73335 2012-11-17  David S. Miller  <davem@davemloft.net>
73337         [BZ #14811]
73338         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
73339         nonzero exponents with absolute value below 0x1p-128 to +/-
73340         0x1p-128.
73342 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
73344         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
73346         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
73348         * posix/getconf-speclist.c: New file.
73349         * posix/posix-envs.def: Likewise.
73350         * posix/confstr.c (START_ENV_GROUP): New macro.
73351         (END_ENV_GROUP): Likewise.
73352         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73353         (KNOWN_PRESENT_ENV_STRING): Likewise.
73354         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73355         (UNKNOWN_ENVIRONMENT): Likewise.
73356         (confstr): Include posix-envs.def instead of handling
73357         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
73358         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
73359         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
73360         (END_ENV_GROUP): Likewise.
73361         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73362         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73363         (UNKNOWN_ENVIRONMENT): Likewise.
73364         (__sysconf): Include posix-envs.def instead of handling associated
73365         cases directly here.
73366         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
73367         preprocessing getconf-speclist.c rather than running getconf or
73368         generating empty file.
73370 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
73372         * scripts/check-local-headers.sh: Ignore 'mach' headers.
73374 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
73376         [BZ #14672]
73377         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
73379 2012-11-16  David S. Miller  <davem@davemloft.net>
73381         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
73382         smaller than LDBL_EPSILON/2.0L, just return xm1.
73384 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
73386         * elf/tst-array1.c (init): Set constructor priority to 1000.
73387         (fini): Set destructor priority to 1000.
73388         * elf/tst-array2dep.c: Likewise.
73390 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
73392         [BZ #11741]
73393         * libio/fileops.c (_IO_new_file_write): Correctly return error.
73394         (_IO_new_file_xsputn): Also return EOF if none of the input
73395         data was written when overflow failed.
73396         * libio/iopadn.c (_IO_padn): Likewise.
73397         * libio/iowpadn.c (_IO_wpadn): Likewise.
73398         * stdio-common/tst-put-error.c: Add copyright notice.
73399         (do_test): Add case for printing padded string.
73400         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
73401         _IO_padn returned error.
73402         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
73403         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
73404         return EOF.
73406 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
73408         * libio/libioP.h: Add comment note that the references to C++
73409         bits are now obsolete.
73411 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73413         * math/libm-test.inc (check_complex): Use asprintf.
73415 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
73417         * debug/pcprofiledump.c (print_version): Update copyright year.
73418         * malloc/memusagestat.c (print_version): Likewise.
73420 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
73422         [BZ #14831]
73423         * elf/Makefile (tests): Add tst-audit8.
73424         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
73425         ($(objpfx)tst-audit8.out): New target.
73426         (tst-audit8-ENV): New variable.
73427         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
73428         audit if l_reloc_result is NULL.
73429         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
73430         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
73431         * elf/tst-audit8.c: New file.
73433 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73435         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
73436         * misc/Makefile (CFLAGS-select.c): Define.
73437         * posix/Makefile (CFLAGS-pause.c): Define.
73439 2012-11-13  David S. Miller  <davem@davemloft.net>
73441         * crypt/Makefile: Move test targets after toplevel Rules
73442         inclusion.  Grab any necessary sysdep routines when linking.
73443         * crypt/md5.c (md5_process_block): Remove define, we will always
73444         name it __md5_process_block.
73445         (md5_finish_ctx): Update md5_process_block call.
73446         (md5_stream): Likewise.
73447         (md5_process_bytes): Likewise.
73448         (md5_process_block): Rename to __md5_process_block and move to ...
73449         * crypt/md5-block.c: ... here.
73450         * crypt/sha256.c (sha256_process_block): Move to ...
73451         * crypt/sha256-block.c: ... here.
73452         * crypt/sha512.c (sha512_process_block): Move to ...
73453         * crypt/sha512-block.c: ... here.
73454         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
73455         path.
73456         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
73457         * sysdeps/sparc/sparc64/multiarch/Makefile
73458         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
73459         crypt subdir.
73460         (localedef-aux): Add md5 crypto assembler when in locale subdir.
73461         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
73462         multiarch changes.
73463         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
73464         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
73465         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
73466         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
73467         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
73468         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
73469         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
73470         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
73471         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
73472         file.
73473         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
73474         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
73475         file.
73476         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
73478 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
73480         * timezone/tzselect.ksh: Update from tzcode git revision
73481         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
73482         * timezone/zdump.c: Likewise.
73483         * timezone/zic.c: Likewise.
73484         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
73485         in TZVERSION setting, not $(PKGVERSION).
73486         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
73487         REPORT_BUGS_TO settings.
73489         [BZ #14838]
73490         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
73491         macro.
73493 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73495         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
73496         detection to immediately after _FP_ROUND().
73497         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
73498         bits are 0.
73500 2012-11-11  David S. Miller  <davem@davemloft.net>
73502         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
73503         inttypes.h
73504         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
73505         __close rather than their public counterparts.
73507 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
73509         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
73510         file.
73511         [UNIX98] (sem_timedwait): Do not expect.
73512         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
73513         [XPG4 || UNIX98] (sockatmark): Do not expect.
73514         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
73515         (clock_getcpuclockid): Do not expect.
73516         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
73517         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
73518         Do not expect.
73519         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
73520         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
73521         [UNIX98] (vwscanf): Likewise.
73522         [UNIX98] (vswscanf): Likewise.
73524 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
73526         * timezone/version.h: Remove file.
73527         * timezone/README: Do not refer to version.h.
73528         * timezone/Makefile ($(objpfx)zic.o): New dependency on
73529         $(objpfx)version.h.
73530         ($(objpfx)zdump.o): Likewise.
73531         ($(objpfx)version.h): New target.
73533         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
73534         2012i.
73535         * timezone/README: Don't mention modification to tzselect.ksh.
73536         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
73537         work on unmodified tzselect.ksh.  Substitute version numbers in
73538         tzselect.ksh.
73540         * Makefile (format-me): Remove.
73541         (INSTALL): Adjust indentation.  Use commands directly instead of
73542         using $(format-me).
73544         * aclocal.m4 (ACX_PKGVERSION): New macro.
73545         (ACX_BUGURL): Likewise.
73546         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
73547         (PKGVERSION): New AC_DEFINE_UNQUOTED.
73548         (REPORT_BUGS_TO): Likewise.
73549         * configure: Regenerated.
73550         * config.h.in (PKGVERSION): New macro.
73551         (REPORT_BUGS_TO): Likewise.
73552         * config.make.in (PKGVERSION): New variable.
73553         (PKGVERSION_TEXI): Likewise.
73554         (REPORT_BUGS_TO): Likewise.
73555         (REPORT_BUGS_TEXI): Likewise.
73556         * Makefile (format-me): Use -I$(common-objpfx)manual.
73557         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
73558         ($(common-objpfx)manual/%): New target.
73559         (manual/%): Remove target.
73560         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
73561         (print_version): Use PKGVERSION.
73562         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
73563         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
73564         and REPORT_BUGS_TO.
73565         ($(objpfx)xtrace): Likewise.
73566         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
73567         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
73568         (print_version): Use PKGVERSION.
73569         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
73570         (do_version): Use PKGVERSION.
73571         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
73572         REPORT_BUGS_TO.
73573         (common-ldd-rewrite): Likewise.
73574         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
73575         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
73576         (print_version): Use PKGVERSION.
73577         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
73578         * elf/pldd.c (argp_program_bug_address): Remove variable.
73579         (more_help): New function.
73580         (argp): Use more_help.
73581         (print_version): Use PKGVERSION.
73582         * elf/sln.c (main): Use PKGVERSION.
73583         (usage): Use REPORT_BUGS_TO.
73584         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
73585         (top level): Use PKGVERSION.
73586         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
73587         (print_version): Use PKGVERSION.
73588         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
73589         (print_version): Use PKGVERSION.
73590         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
73591         (print_version): Use PKGVERSION.
73592         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
73593         (print_version): Use PKGVERSION.
73594         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
73595         (print_version): Use PKGVERSION.
73596         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
73597         (print_version): Use PKGVERSION.
73598         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
73599         and BUGURL.
73600         ($(objpfx)memusage): Likewise.
73601         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
73602         (do_version): Use PKGVERSION.
73603         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
73604         (print_version): Use PKGVERSION.
73605         * malloc/mtrace.pl ($PACKAGE): Remove variable.
73606         ($PKGVERSION): New variable.
73607         ($REPORT_BUGS_TO): Likewise.
73608         (usage): Use $REPORT_BUGS_TO.
73609         (top level): Use $PKGVERSION.
73610         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
73611         ($(objpfx)pkgvers.texi): New rule.
73612         ($(objpfx)stamp-pkgvers): Likewise.
73613         * manual/install.texi: Include pkgvers.texi.
73614         (--with-pkgversion): Document new configure option.
73615         (--with-bugurl): Likewise.
73616         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
73617         than necessarily for this particular distribution.  Use
73618         REPORT_BUGS_TO for where to report bugs.
73619         * INSTALL: Regenerated.
73620         * manual/libc.texinfo: Include pkgvers.texi.
73621         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
73622         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
73623         (print_version): Use PKGVERSION.
73624         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
73625         (print_version): Use PKGVERSION.
73626         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
73627         (print_version): Use PKGVERSION.
73628         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
73629         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
73630         macro.
73631         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
73632         (print_version): Use PKGVERSION.
73633         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
73634         (print_version): Use PKGVERSION.
73635         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
73636         and PKGVERSION.
73638         * timezone/checktab.awk: Update from tzcode 2012i.
73639         * timezone/ialloc.c: Likewise.
73640         * timezone/private.h: Likewise.
73641         * timezone/scheck.c: Likewise.
73642         * timezone/tzfile.h: Likewise.
73643         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
73644         (TZVERSION): Hardcode tzcode version number.
73645         * timezone/zdump.c: Update from tzcode 2012i.
73646         * timezone/zic.c: Likewise.
73647         * timezone/version.h: New file.
73648         * timezone/README: Describe version.h.  Update upstream location.
73650         [BZ #14824]
73651         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
73652         (mktemp): Enable declaration.
73653         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
73654         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
73655         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
73656         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
73657         Likewise.
73658         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
73659         Likewise.
73660         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
73661         Likewise.
73662         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
73663         Likewise.
73664         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
73665         Likewise.
73666         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
73667         Likewise.
73669         [BZ #14821]
73670         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
73671         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
73672         for copies of such integer values.
73673         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
73674         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
73676 2012-11-09  Andreas Jaeger  <aj@suse.de>
73678         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
73679         definitions and declarations that are provided by
73680         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
73682 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73684         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
73685         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
73686         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
73687         definition.
73689 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73691         * elf/elf.h: Update comment before AArch64 relocations.
73693 2012-11-07  David S. Miller  <davem@davemloft.net>
73695         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
73696         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
73697         (__start_context): Declare.
73698         (__makecontext_ret): Delete.
73699         (__makecontext): Hook up __start_context instead of
73700         __makecontext_ret.
73701         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
73702         (sysdep_routines): Add __start_context when in stdlib.
73704 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73706         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
73707         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
73708         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
73709         hardcoded "nm".
73710         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
73711         (READELF): New variable.  Use it instead of hardcoded "readelf".
73713 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
73715         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
73716         * sysdeps/x86/Makefile: Here.
73717         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
73718         * sysdeps/x86/tst-xmmymm.sh: This.
73720 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73722         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
73723         expectations.
73724         [UNIX98] (pthread_barrier_t): Do not expect.
73725         [UNIX98] (pthread_barrierattr_t): Likewise.
73726         [UNIX98] (pthread_spinlock_t): Likewise.
73727         [UNIX98] (pthread_barrier_destroy): Likewise.
73728         [UNIX98] (pthread_barrier_init): Likewise.
73729         [UNIX98] (pthread_barrier_wait): Likewise.
73730         [UNIX98] (pthread_barrierattr_destroy): Likewise.
73731         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
73732         [UNIX98] (pthread_barrierattr_init): Likewise.
73733         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
73734         [UNIX98] (pthread_getcpuclockid): Likewise.
73735         [UNIX98] (pthread_mutex_timedlock): Likewise.
73736         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
73737         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
73738         [UNIX98] (pthread_sigmask): Likewise.
73739         [UNIX98] (pthread_spin_destroy): Likewise.
73740         [UNIX98] (pthread_spin_init): Likewise.
73741         [UNIX98] (pthread_spin_lock): Likewise.
73742         [UNIX98] (pthread_spin_trylock): Likewise.
73743         [UNIX98] (pthread_spin_unlock): Likewise.
73744         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
73745         Do not expect.
73746         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
73747         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
73748         [XPG3 || XPG4] (pthread_cond_t): Likewise.
73749         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
73750         [XPG3 || XPG4] (pthread_key_t): Likewise.
73751         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
73752         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
73753         [XPG3 || XPG4] (pthread_once_t): Likewise.
73754         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
73755         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
73756         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
73757         [XPG3 || XPG4] (pthread_t): Likewise.
73759         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
73760         not expect.
73761         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
73763         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
73764         Change function return type to int.
73766         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
73767         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
73768         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
73769         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
73770         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
73771         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
73772         [!POSIX] (posix_madvise): Likewise.
73773         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
73774         && !UNIX98].
73775         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
73776         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
73777         (mode_t): Likewise.
73778         (posix_mem_offset): Likewise.
73779         (posix_typed_mem_get_info): Likewise.
73780         (posix_typed_mem_open): Likewise.
73782         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
73783         Change condition to [XOPEN2K8].
73785         * conform/conformtest.pl: Preprocess allow-header data with -x c
73786         instead of from stdin.
73787         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
73788         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
73789         [C99-based standards] (cerfc): Likewise.
73790         [C99-based standards] (cexp2): Likewise.
73791         [C99-based standards] (cexpm1): Likewise.
73792         [C99-based standards] (clog10): Likewise.
73793         [C99-based standards] (clog1p): Likewise.
73794         [C99-based standards] (clog2): Likewise.
73795         [C99-based standards] (clgamma): Likewise.
73796         [C99-based standards] (ctgamma): Likewise.
73797         [C99-based standards] (cerff): Likewise.
73798         [C99-based standards] (cerfcf): Likewise.
73799         [C99-based standards] (cexp2f): Likewise.
73800         [C99-based standards] (cexpm1f): Likewise.
73801         [C99-based standards] (clog10f): Likewise.
73802         [C99-based standards] (clog1pf): Likewise.
73803         [C99-based standards] (clog2f): Likewise.
73804         [C99-based standards] (clgammaf): Likewise.
73805         [C99-based standards] (ctgammaf): Likewise.
73806         [C99-based standards] (cerfl): Likewise.
73807         [C99-based standards] (cerfcl): Likewise.
73808         [C99-based standards] (cexp2l): Likewise.
73809         [C99-based standards] (cexpm1l): Likewise.
73810         [C99-based standards] (clog10l): Likewise.
73811         [C99-based standards] (clog1pl): Likewise.
73812         [C99-based standards] (clog2l): Likewise.
73813         [C99-based standards] (clgammal): Likewise.
73814         [C99-based standards] (ctgammal): Likewise.
73815         * conform/data/inttypes.h-data [C99-based standards]: Include
73816         stdint.h-data.  Remove all expectations for stdint.h contents.
73817         [C99-based standards] (PRI*): Do not allow.
73818         [C99-based standards] (SCN*): Likewise.
73819         [C99-based standards] (*_t): Likewise.
73820         [C99-based-standards] (PRId8): Expect macro.
73821         [C99-based-standards] (PRIi8): Likewise.
73822         [C99-based-standards] (PRIo8): Likewise.
73823         [C99-based-standards] (PRIu8): Likewise.
73824         [C99-based-standards] (PRIx8): Likewise.
73825         [C99-based-standards] (PRIX8): Likewise.
73826         [C99-based-standards] (SCNd8): Likewise.
73827         [C99-based-standards] (SCNi8): Likewise.
73828         [C99-based-standards] (SCNo8): Likewise.
73829         [C99-based-standards] (SCNu8): Likewise.
73830         [C99-based-standards] (SCNx8): Likewise.
73831         [C99-based-standards] (PRIdLEAST8): Likewise.
73832         [C99-based-standards] (PRIiLEAST8): Likewise.
73833         [C99-based-standards] (PRIoLEAST8): Likewise.
73834         [C99-based-standards] (PRIuLEAST8): Likewise.
73835         [C99-based-standards] (PRIxLEAST8): Likewise.
73836         [C99-based-standards] (PRIXLEAST8): Likewise.
73837         [C99-based-standards] (SCNdLEAST8): Likewise.
73838         [C99-based-standards] (SCNiLEAST8): Likewise.
73839         [C99-based-standards] (SCNoLEAST8): Likewise.
73840         [C99-based-standards] (SCNuLEAST8): Likewise.
73841         [C99-based-standards] (SCNxLEAST8): Likewise.
73842         [C99-based-standards] (PRIdFAST8): Likewise.
73843         [C99-based-standards] (PRIiFAST8): Likewise.
73844         [C99-based-standards] (PRIoFAST8): Likewise.
73845         [C99-based-standards] (PRIuFAST8): Likewise.
73846         [C99-based-standards] (PRIxFAST8): Likewise.
73847         [C99-based-standards] (PRIXFAST8): Likewise.
73848         [C99-based-standards] (SCNdFAST8): Likewise.
73849         [C99-based-standards] (SCNiFAST8): Likewise.
73850         [C99-based-standards] (SCNoFAST8): Likewise.
73851         [C99-based-standards] (SCNuFAST8): Likewise.
73852         [C99-based-standards] (SCNxFAST8): Likewise.
73853         [C99-based-standards] (PRId16): Likewise.
73854         [C99-based-standards] (PRIi16): Likewise.
73855         [C99-based-standards] (PRIo16): Likewise.
73856         [C99-based-standards] (PRIu16): Likewise.
73857         [C99-based-standards] (PRIx16): Likewise.
73858         [C99-based-standards] (PRIX16): Likewise.
73859         [C99-based-standards] (SCNd16): Likewise.
73860         [C99-based-standards] (SCNi16): Likewise.
73861         [C99-based-standards] (SCNo16): Likewise.
73862         [C99-based-standards] (SCNu16): Likewise.
73863         [C99-based-standards] (SCNx16): Likewise.
73864         [C99-based-standards] (PRIdLEAST16): Likewise.
73865         [C99-based-standards] (PRIiLEAST16): Likewise.
73866         [C99-based-standards] (PRIoLEAST16): Likewise.
73867         [C99-based-standards] (PRIuLEAST16): Likewise.
73868         [C99-based-standards] (PRIxLEAST16): Likewise.
73869         [C99-based-standards] (PRIXLEAST16): Likewise.
73870         [C99-based-standards] (SCNdLEAST16): Likewise.
73871         [C99-based-standards] (SCNiLEAST16): Likewise.
73872         [C99-based-standards] (SCNoLEAST16): Likewise.
73873         [C99-based-standards] (SCNuLEAST16): Likewise.
73874         [C99-based-standards] (SCNxLEAST16): Likewise.
73875         [C99-based-standards] (PRIdFAST16): Likewise.
73876         [C99-based-standards] (PRIiFAST16): Likewise.
73877         [C99-based-standards] (PRIoFAST16): Likewise.
73878         [C99-based-standards] (PRIuFAST16): Likewise.
73879         [C99-based-standards] (PRIxFAST16): Likewise.
73880         [C99-based-standards] (PRIXFAST16): Likewise.
73881         [C99-based-standards] (SCNdFAST16): Likewise.
73882         [C99-based-standards] (SCNiFAST16): Likewise.
73883         [C99-based-standards] (SCNoFAST16): Likewise.
73884         [C99-based-standards] (SCNuFAST16): Likewise.
73885         [C99-based-standards] (SCNxFAST16): Likewise.
73886         [C99-based-standards] (PRId32): Likewise.
73887         [C99-based-standards] (PRIi32): Likewise.
73888         [C99-based-standards] (PRIo32): Likewise.
73889         [C99-based-standards] (PRIu32): Likewise.
73890         [C99-based-standards] (PRIx32): Likewise.
73891         [C99-based-standards] (PRIX32): Likewise.
73892         [C99-based-standards] (SCNd32): Likewise.
73893         [C99-based-standards] (SCNi32): Likewise.
73894         [C99-based-standards] (SCNo32): Likewise.
73895         [C99-based-standards] (SCNu32): Likewise.
73896         [C99-based-standards] (SCNx32): Likewise.
73897         [C99-based-standards] (PRIdLEAST32): Likewise.
73898         [C99-based-standards] (PRIiLEAST32): Likewise.
73899         [C99-based-standards] (PRIoLEAST32): Likewise.
73900         [C99-based-standards] (PRIuLEAST32): Likewise.
73901         [C99-based-standards] (PRIxLEAST32): Likewise.
73902         [C99-based-standards] (PRIXLEAST32): Likewise.
73903         [C99-based-standards] (SCNdLEAST32): Likewise.
73904         [C99-based-standards] (SCNiLEAST32): Likewise.
73905         [C99-based-standards] (SCNoLEAST32): Likewise.
73906         [C99-based-standards] (SCNuLEAST32): Likewise.
73907         [C99-based-standards] (SCNxLEAST32): Likewise.
73908         [C99-based-standards] (PRIdFAST32): Likewise.
73909         [C99-based-standards] (PRIiFAST32): Likewise.
73910         [C99-based-standards] (PRIoFAST32): Likewise.
73911         [C99-based-standards] (PRIuFAST32): Likewise.
73912         [C99-based-standards] (PRIxFAST32): Likewise.
73913         [C99-based-standards] (PRIXFAST32): Likewise.
73914         [C99-based-standards] (SCNdFAST32): Likewise.
73915         [C99-based-standards] (SCNiFAST32): Likewise.
73916         [C99-based-standards] (SCNoFAST32): Likewise.
73917         [C99-based-standards] (SCNuFAST32): Likewise.
73918         [C99-based-standards] (SCNxFAST32): Likewise.
73919         [C99-based-standards] (PRId64): Likewise.
73920         [C99-based-standards] (PRIi64): Likewise.
73921         [C99-based-standards] (PRIo64): Likewise.
73922         [C99-based-standards] (PRIu64): Likewise.
73923         [C99-based-standards] (PRIx64): Likewise.
73924         [C99-based-standards] (PRIX64): Likewise.
73925         [C99-based-standards] (SCNd64): Likewise.
73926         [C99-based-standards] (SCNi64): Likewise.
73927         [C99-based-standards] (SCNo64): Likewise.
73928         [C99-based-standards] (SCNu64): Likewise.
73929         [C99-based-standards] (SCNx64): Likewise.
73930         [C99-based-standards] (PRIdLEAST64): Likewise.
73931         [C99-based-standards] (PRIiLEAST64): Likewise.
73932         [C99-based-standards] (PRIoLEAST64): Likewise.
73933         [C99-based-standards] (PRIuLEAST64): Likewise.
73934         [C99-based-standards] (PRIxLEAST64): Likewise.
73935         [C99-based-standards] (PRIXLEAST64): Likewise.
73936         [C99-based-standards] (SCNdLEAST64): Likewise.
73937         [C99-based-standards] (SCNiLEAST64): Likewise.
73938         [C99-based-standards] (SCNoLEAST64): Likewise.
73939         [C99-based-standards] (SCNuLEAST64): Likewise.
73940         [C99-based-standards] (SCNxLEAST64): Likewise.
73941         [C99-based-standards] (PRIdFAST64): Likewise.
73942         [C99-based-standards] (PRIiFAST64): Likewise.
73943         [C99-based-standards] (PRIoFAST64): Likewise.
73944         [C99-based-standards] (PRIuFAST64): Likewise.
73945         [C99-based-standards] (PRIxFAST64): Likewise.
73946         [C99-based-standards] (PRIXFAST64): Likewise.
73947         [C99-based-standards] (SCNdFAST64): Likewise.
73948         [C99-based-standards] (SCNiFAST64): Likewise.
73949         [C99-based-standards] (SCNoFAST64): Likewise.
73950         [C99-based-standards] (SCNuFAST64): Likewise.
73951         [C99-based-standards] (SCNxFAST64): Likewise.
73952         [C99-based-standards] (PRIdMAX): Likewise.
73953         [C99-based-standards] (PRIiMAX): Likewise.
73954         [C99-based-standards] (PRIoMAX): Likewise.
73955         [C99-based-standards] (PRIuMAX): Likewise.
73956         [C99-based-standards] (PRIxMAX): Likewise.
73957         [C99-based-standards] (PRIXMAX): Likewise.
73958         [C99-based-standards] (SCNdMAX): Likewise.
73959         [C99-based-standards] (SCNiMAX): Likewise.
73960         [C99-based-standards] (SCNoMAX): Likewise.
73961         [C99-based-standards] (SCNuMAX): Likewise.
73962         [C99-based-standards] (SCNxMAX): Likewise.
73963         [C99-based-standards] (PRIdPTR): Likewise.
73964         [C99-based-standards] (PRIiPTR): Likewise.
73965         [C99-based-standards] (PRIoPTR): Likewise.
73966         [C99-based-standards] (PRIuPTR): Likewise.
73967         [C99-based-standards] (PRIxPTR): Likewise.
73968         [C99-based-standards] (PRIXPTR): Likewise.
73969         [C99-based-standards] (SCNdPTR): Likewise.
73970         [C99-based-standards] (SCNiPTR): Likewise.
73971         [C99-based-standards] (SCNoPTR): Likewise.
73972         [C99-based-standards] (SCNuPTR): Likewise.
73973         [C99-based-standards] (SCNxPTR): Likewise.
73974         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
73975         allow.
73976         * conform/data/stdint.h-data: Update comments to clarify
73977         requirements.
73978         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
73979         type.
73980         [C99-based standards] (INT8_MAX): Likewise.
73981         [C99-based standards] (INT16_MIN): Likewise.
73982         [C99-based standards] (INT16_MAX): Likewise.
73983         [C99-based standards] (INT32_MIN): Likewise.
73984         [C99-based standards] (INT32_MAX): Likewise.
73985         [C99-based standards] (INT64_MIN): Likewise.
73986         [C99-based standards] (INT64_MAX): Likewise.
73987         [C99-based standards] (UINT8_MAX): Likewise.
73988         [C99-based standards] (UINT16_MAX): Likewise.
73989         [C99-based standards] (UINT32_MAX): Likewise.
73990         [C99-based standards] (UINT64_MAX): Likewise.
73991         [C99-based standards] (INT_LEAST8_MIN): Likewise.
73992         [C99-based standards] (INT_LEAST8_MAX): Likewise.
73993         [C99-based standards] (INT_LEAST16_MIN): Likewise.
73994         [C99-based standards] (INT_LEAST16_MAX): Likewise.
73995         [C99-based standards] (INT_LEAST32_MIN): Likewise.
73996         [C99-based standards] (INT_LEAST32_MAX): Likewise.
73997         [C99-based standards] (INT_LEAST64_MIN): Likewise.
73998         [C99-based standards] (INT_LEAST64_MAX): Likewise.
73999         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74000         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74001         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74002         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74003         [C99-based standards] (INT_FAST8_MIN): Likewise.
74004         [C99-based standards] (INT_FAST8_MAX): Likewise.
74005         [C99-based standards] (INT_FAST16_MIN): Likewise.
74006         [C99-based standards] (INT_FAST16_MAX): Likewise.
74007         [C99-based standards] (INT_FAST32_MIN): Likewise.
74008         [C99-based standards] (INT_FAST32_MAX): Likewise.
74009         [C99-based standards] (INT_FAST64_MIN): Likewise.
74010         [C99-based standards] (INT_FAST64_MAX): Likewise.
74011         [C99-based standards] (UINT_FAST8_MAX): Likewise.
74012         [C99-based standards] (UINT_FAST16_MAX): Likewise.
74013         [C99-based standards] (UINT_FAST32_MAX): Likewise.
74014         [C99-based standards] (UINT_FAST64_MAX): Likewise.
74015         [C99-based standards] (INTPTR_MIN): Likewise.
74016         [C99-based standards] (INTPTR_MAX): Likewise.
74017         [C99-based standards] (UINTPTR_MAX): Likewise.
74018         [C99-based standards] (INTMAX_MIN): Likewise.
74019         [C99-based standards] (INTMAX_MAX): Likewise.
74020         [C99-based standards] (UINTMAX_MAX): Likewise.
74021         [C99-based standards] (PTRDIFF_MIN): Likewise.
74022         [C99-based standards] (PTRDIFF_MAX): Likewise.
74023         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74024         [C99-based standards] (SIZE_MAX): Likewise.
74025         [C99-based standards] (WCHAR_MAX): Likewise.
74026         [C99-based standards] (WINT_MAX): Likewise.
74027         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
74028         constraint on value.
74029         [C99-based standards] (WCHAR_MIN): Likewise.
74030         [C99-based standards] (WINT_MIN): Likewise.
74031         [C99-based standards] (*_t): Allow.
74032         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74033         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74034         Include math.h-data and complex.h-data.  Remove all expectations
74035         of math.h and complex.h contents.
74036         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74037         at end of line.
74038         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74039         (struct tm): Expect tag.
74040         [C99-based-standards] (wcstof): Expect function.
74041         [C99-based-standards] (wcstold): Likewise.
74042         [C99-based-standards] (wcstoll): Likewise.
74043         [C99-based-standards] (wcstoull): Likewise.
74044         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74045         macro-int-constant.  Specify type.
74046         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
74047         constraint on value.
74048         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74049         Specify type.
74050         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74051         Specify value.
74052         [ISO C standards]: Do not allow headers.
74053         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74054         wcs[abcdefghijklmnopqrstuvwxyz]*.
74055         [ISO C standards] (*_t): Do not allow.
74056         * conform/data/wctype.h-data [C99-based standards] (iswblank):
74057         Expect function.
74058         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74059         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74060         Specify type.
74061         [ISO C standards]: Do not allow headers.
74062         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74063         is[abcdefghijklmnopqrstuvwxyz]*.
74064         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74065         to[abcdefghijklmnopqrstuvwxyz]*.
74066         [ISO C standards] (*_t): Do not allow.
74067         * conform/data/stdalign.h-data: New file.
74068         * conform/data/stdbool.h-data: Likewise.
74069         * conform/data/stdnoreturn.h-data: Likewise.
74071 2012-11-07  Roland McGrath  <roland@hack.frob.com>
74073         [BZ #14815]
74074         * manual/filesys.texi (Directory Entries): Typo fix.
74075         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74077 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74079         * elf/elf.h (EM_AARCH64): New macro.
74080         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74081         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74082         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74083         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74084         (R_AARCH64_TLSDESC): Likewise.
74085         (NT_ARM_TLS): Likewise.
74086         (NT_ARM_HW_BREAK): Likewise.
74087         (NT_ARM_HW_WATCH): Likewise.
74089 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74091         [BZ #14811]
74092         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74093         (__ieee754_powl): Saturate nonzero exponents with absolute value
74094         below 0x1p-79 to +/- 0x1p-79.
74095         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74096         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74097         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74098         nonzero exponents with absolute value below 0x1p-32 to +/-
74099         0x1p-32.
74100         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
74101         (__ieee754_powl): Saturate nonzero exponents with absolute value
74102         below 0x1p-79 to +/- 0x1p-79.
74103         * math/libm-test.inc (pow_test): Add more tests.
74105 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74107         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
74108         _dl_s390_cap_flags with kernel. Increase string length.
74109         (_dl_s390_platforms): Add z196 and zEC12.
74111 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74113         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
74114         Change XOPEN21K to XOPEN2K.
74116 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
74118         * string/memmove.c: Use memcpy when possible.
74120 2012-11-06  Andreas Jaeger  <aj@suse.de>
74122         * po/eo.po: Update from translation team.
74124 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
74126         [BZ #14793]
74127         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
74128         exponent and small x and y exponents, scale x or y up.  Increase
74129         by 2 the exponent used in scaling up.
74130         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74131         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74132         * math/libm-test.inc (fma_test): Add more tests.
74133         (fma_test_towardzero): Likewise.
74134         (fma_test_downward): Likewise.
74135         (fma_test_upward): Likewise.
74137 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
74139         [BZ #14805]
74140         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74141         fenv_t *.
74143         [BZ #14801]
74144         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
74145         namespace for names of struct fields.
74146         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
74147         fenv_t fields.
74148         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
74149         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
74151 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74153         [BZ #3665]
74154         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
74156 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
74158         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
74159         PTR_DEMANGLE.
74161         [BZ #5246]
74162         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
74163         PTR_DEMANGLE.
74165 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
74167         [BZ #14797]
74168         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
74169         definitely overflow as x * y not x * y + z.
74170         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74171         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74172         * math/libm-test.inc (fma_test): Add more tests.
74173         (fma_test_towardzero): Likewise.
74174         (fma_test_downward): Likewise.
74175         (fma_test_upward): Likewise.
74177 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
74179         [BZ #157]
74181         * include/stub-tag.h: Remove file.
74182         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
74183         '#include' of it.
74184         * manual/maint.texi (Porting): Don't reference it.
74185         * Makerules ($(objpfx)stubs): Likewise.
74186         * dirent/closedir.c: Don't include <stub-tag.h>.
74187         * dirent/dirfd.c: Likewise.
74188         * dirent/fdopendir.c: Likewise.
74189         * dirent/getdents.c: Likewise.
74190         * dirent/getdents64.c: Likewise.
74191         * dirent/opendir.c: Likewise.
74192         * dirent/readdir.c: Likewise.
74193         * dirent/readdir64.c: Likewise.
74194         * dirent/readdir64_r.c: Likewise.
74195         * dirent/readdir_r.c: Likewise.
74196         * dirent/rewinddir.c: Likewise.
74197         * dirent/seekdir.c: Likewise.
74198         * dirent/telldir.c: Likewise.
74199         * gmon/profil.c: Likewise.
74200         * grp/setgroups.c: Likewise.
74201         * inet/if_index.c: Likewise.
74202         * io/access.c: Likewise.
74203         * io/chdir.c: Likewise.
74204         * io/chmod.c: Likewise.
74205         * io/chown.c: Likewise.
74206         * io/close.c: Likewise.
74207         * io/dup.c: Likewise.
74208         * io/dup2.c: Likewise.
74209         * io/dup3.c: Likewise.
74210         * io/euidaccess.c: Likewise.
74211         * io/faccessat.c: Likewise.
74212         * io/fchdir.c: Likewise.
74213         * io/fchmod.c: Likewise.
74214         * io/fchmodat.c: Likewise.
74215         * io/fchown.c: Likewise.
74216         * io/fchownat.c: Likewise.
74217         * io/fcntl.c: Likewise.
74218         * io/flock.c: Likewise.
74219         * io/fstatfs.c: Likewise.
74220         * io/fstatfs64.c: Likewise.
74221         * io/fstatvfs.c: Likewise.
74222         * io/fstatvfs64.c: Likewise.
74223         * io/futimens.c: Likewise.
74224         * io/fxstat.c: Likewise.
74225         * io/fxstat64.c: Likewise.
74226         * io/fxstatat.c: Likewise.
74227         * io/fxstatat64.c: Likewise.
74228         * io/getcwd.c: Likewise.
74229         * io/isatty.c: Likewise.
74230         * io/lchmod.c: Likewise.
74231         * io/lchown.c: Likewise.
74232         * io/link.c: Likewise.
74233         * io/linkat.c: Likewise.
74234         * io/lseek.c: Likewise.
74235         * io/lseek64.c: Likewise.
74236         * io/lxstat64.c: Likewise.
74237         * io/mkdir.c: Likewise.
74238         * io/mkdirat.c: Likewise.
74239         * io/mkfifo.c: Likewise.
74240         * io/mkfifoat.c: Likewise.
74241         * io/open.c: Likewise.
74242         * io/open64.c: Likewise.
74243         * io/openat.c: Likewise.
74244         * io/openat64.c: Likewise.
74245         * io/pipe.c: Likewise.
74246         * io/pipe2.c: Likewise.
74247         * io/poll.c: Likewise.
74248         * io/posix_fadvise.c: Likewise.
74249         * io/posix_fadvise64.c: Likewise.
74250         * io/posix_fallocate.c: Likewise.
74251         * io/posix_fallocate64.c: Likewise.
74252         * io/read.c: Likewise.
74253         * io/readlink.c: Likewise.
74254         * io/readlinkat.c: Likewise.
74255         * io/rmdir.c: Likewise.
74256         * io/sendfile.c: Likewise.
74257         * io/sendfile64.c: Likewise.
74258         * io/statfs.c: Likewise.
74259         * io/statfs64.c: Likewise.
74260         * io/statvfs.c: Likewise.
74261         * io/statvfs64.c: Likewise.
74262         * io/symlink.c: Likewise.
74263         * io/symlinkat.c: Likewise.
74264         * io/ttyname.c: Likewise.
74265         * io/ttyname_r.c: Likewise.
74266         * io/umask.c: Likewise.
74267         * io/unlink.c: Likewise.
74268         * io/unlinkat.c: Likewise.
74269         * io/utime.c: Likewise.
74270         * io/utimensat.c: Likewise.
74271         * io/write.c: Likewise.
74272         * io/xmknod.c: Likewise.
74273         * io/xmknodat.c: Likewise.
74274         * io/xstat.c: Likewise.
74275         * io/xstat64.c: Likewise.
74276         * login/getpt.c: Likewise.
74277         * login/grantpt.c: Likewise.
74278         * login/unlockpt.c: Likewise.
74279         * math/e_acoshl.c: Likewise.
74280         * math/e_acosl.c: Likewise.
74281         * math/e_asinl.c: Likewise.
74282         * math/e_atan2l.c: Likewise.
74283         * math/e_atanhl.c: Likewise.
74284         * math/e_coshl.c: Likewise.
74285         * math/e_expl.c: Likewise.
74286         * math/e_fmodl.c: Likewise.
74287         * math/e_gammal_r.c: Likewise.
74288         * math/e_hypotl.c: Likewise.
74289         * math/e_j0l.c: Likewise.
74290         * math/e_j1l.c: Likewise.
74291         * math/e_jnl.c: Likewise.
74292         * math/e_lgammal_r.c: Likewise.
74293         * math/e_log10l.c: Likewise.
74294         * math/e_log2l.c: Likewise.
74295         * math/e_logl.c: Likewise.
74296         * math/e_powl.c: Likewise.
74297         * math/e_rem_pio2l.c: Likewise.
74298         * math/e_sinhl.c: Likewise.
74299         * math/e_sqrtl.c: Likewise.
74300         * math/fclrexcpt.c: Likewise.
74301         * math/fedisblxcpt.c: Likewise.
74302         * math/feenablxcpt.c: Likewise.
74303         * math/fegetenv.c: Likewise.
74304         * math/fegetexcept.c: Likewise.
74305         * math/fegetround.c: Likewise.
74306         * math/feholdexcpt.c: Likewise.
74307         * math/fesetenv.c: Likewise.
74308         * math/fesetround.c: Likewise.
74309         * math/feupdateenv.c: Likewise.
74310         * math/fgetexcptflg.c: Likewise.
74311         * math/fraiseexcpt.c: Likewise.
74312         * math/fsetexcptflg.c: Likewise.
74313         * math/ftestexcept.c: Likewise.
74314         * math/k_cosl.c: Likewise.
74315         * math/k_rem_pio2l.c: Likewise.
74316         * math/k_sinl.c: Likewise.
74317         * math/k_tanl.c: Likewise.
74318         * math/s_asinhl.c: Likewise.
74319         * math/s_atanl.c: Likewise.
74320         * math/s_cbrtl.c: Likewise.
74321         * math/s_erfl.c: Likewise.
74322         * math/s_expm1l.c: Likewise.
74323         * math/s_log1pl.c: Likewise.
74324         * math/s_tanhl.c: Likewise.
74325         * misc/acct.c: Likewise.
74326         * misc/brk.c: Likewise.
74327         * misc/chflags.c: Likewise.
74328         * misc/chroot.c: Likewise.
74329         * misc/fchflags.c: Likewise.
74330         * misc/fgetxattr.c: Likewise.
74331         * misc/flistxattr.c: Likewise.
74332         * misc/fremovexattr.c: Likewise.
74333         * misc/fsetxattr.c: Likewise.
74334         * misc/fsync.c: Likewise.
74335         * misc/ftruncate.c: Likewise.
74336         * misc/futimes.c: Likewise.
74337         * misc/futimesat.c: Likewise.
74338         * misc/getdomain.c: Likewise.
74339         * misc/getdtsz.c: Likewise.
74340         * misc/gethostid.c: Likewise.
74341         * misc/gethostname.c: Likewise.
74342         * misc/getloadavg.c: Likewise.
74343         * misc/getpagesize.c: Likewise.
74344         * misc/getsysstats.c: Likewise.
74345         * misc/getxattr.c: Likewise.
74346         * misc/gtty.c: Likewise.
74347         * misc/ioctl.c: Likewise.
74348         * misc/lgetxattr.c: Likewise.
74349         * misc/listxattr.c: Likewise.
74350         * misc/llistxattr.c: Likewise.
74351         * misc/lremovexattr.c: Likewise.
74352         * misc/lsetxattr.c: Likewise.
74353         * misc/lutimes.c: Likewise.
74354         * misc/madvise.c: Likewise.
74355         * misc/mincore.c: Likewise.
74356         * misc/mlock.c: Likewise.
74357         * misc/mlockall.c: Likewise.
74358         * misc/mmap.c: Likewise.
74359         * misc/mprotect.c: Likewise.
74360         * misc/msync.c: Likewise.
74361         * misc/munlock.c: Likewise.
74362         * misc/munlockall.c: Likewise.
74363         * misc/munmap.c: Likewise.
74364         * misc/preadv.c: Likewise.
74365         * misc/preadv64.c: Likewise.
74366         * misc/ptrace.c: Likewise.
74367         * misc/pwritev.c: Likewise.
74368         * misc/pwritev64.c: Likewise.
74369         * misc/readv.c: Likewise.
74370         * misc/reboot.c: Likewise.
74371         * misc/remap_file_pages.c: Likewise.
74372         * misc/removexattr.c: Likewise.
74373         * misc/revoke.c: Likewise.
74374         * misc/select.c: Likewise.
74375         * misc/setdomain.c: Likewise.
74376         * misc/setegid.c: Likewise.
74377         * misc/seteuid.c: Likewise.
74378         * misc/sethostid.c: Likewise.
74379         * misc/sethostname.c: Likewise.
74380         * misc/setregid.c: Likewise.
74381         * misc/setreuid.c: Likewise.
74382         * misc/setxattr.c: Likewise.
74383         * misc/sstk.c: Likewise.
74384         * misc/stty.c: Likewise.
74385         * misc/swapoff.c: Likewise.
74386         * misc/swapon.c: Likewise.
74387         * misc/sync.c: Likewise.
74388         * misc/syncfs.c: Likewise.
74389         * misc/syscall.c: Likewise.
74390         * misc/truncate.c: Likewise.
74391         * misc/ualarm.c: Likewise.
74392         * misc/usleep.c: Likewise.
74393         * misc/ustat.c: Likewise.
74394         * misc/utimes.c: Likewise.
74395         * misc/vhangup.c: Likewise.
74396         * misc/writev.c: Likewise.
74397         * posix/_exit.c: Likewise.
74398         * posix/alarm.c: Likewise.
74399         * posix/execve.c: Likewise.
74400         * posix/fexecve.c: Likewise.
74401         * posix/fork.c: Likewise.
74402         * posix/fpathconf.c: Likewise.
74403         * posix/getaddrinfo.c: Likewise.
74404         * posix/getegid.c: Likewise.
74405         * posix/geteuid.c: Likewise.
74406         * posix/getgid.c: Likewise.
74407         * posix/getgroups.c: Likewise.
74408         * posix/getlogin.c: Likewise.
74409         * posix/getlogin_r.c: Likewise.
74410         * posix/getpgid.c: Likewise.
74411         * posix/getpid.c: Likewise.
74412         * posix/getppid.c: Likewise.
74413         * posix/getresgid.c: Likewise.
74414         * posix/getresuid.c: Likewise.
74415         * posix/getsid.c: Likewise.
74416         * posix/getuid.c: Likewise.
74417         * posix/glob64.c: Likewise.
74418         * posix/nanosleep.c: Likewise.
74419         * posix/pathconf.c: Likewise.
74420         * posix/pause.c: Likewise.
74421         * posix/posix_madvise.c: Likewise.
74422         * posix/pread.c: Likewise.
74423         * posix/pread64.c: Likewise.
74424         * posix/pwrite.c: Likewise.
74425         * posix/pwrite64.c: Likewise.
74426         * posix/sched_getaffinity.c: Likewise.
74427         * posix/sched_getp.c: Likewise.
74428         * posix/sched_gets.c: Likewise.
74429         * posix/sched_primax.c: Likewise.
74430         * posix/sched_primin.c: Likewise.
74431         * posix/sched_rr_gi.c: Likewise.
74432         * posix/sched_setaffinity.c: Likewise.
74433         * posix/sched_setp.c: Likewise.
74434         * posix/sched_sets.c: Likewise.
74435         * posix/sched_yield.c: Likewise.
74436         * posix/setgid.c: Likewise.
74437         * posix/setlogin.c: Likewise.
74438         * posix/setpgid.c: Likewise.
74439         * posix/setresgid.c: Likewise.
74440         * posix/setresuid.c: Likewise.
74441         * posix/setsid.c: Likewise.
74442         * posix/setuid.c: Likewise.
74443         * posix/sleep.c: Likewise.
74444         * posix/spawni.c: Likewise.
74445         * posix/sysconf.c: Likewise.
74446         * posix/times.c: Likewise.
74447         * posix/wait.c: Likewise.
74448         * posix/wait3.c: Likewise.
74449         * posix/wait4.c: Likewise.
74450         * posix/waitpid.c: Likewise.
74451         * resolv/gai_sigqueue.c: Likewise.
74452         * resource/getpriority.c: Likewise.
74453         * resource/getrlimit.c: Likewise.
74454         * resource/getrusage.c: Likewise.
74455         * resource/nice.c: Likewise.
74456         * resource/setpriority.c: Likewise.
74457         * resource/setrlimit.c: Likewise.
74458         * resource/ulimit.c: Likewise.
74459         * rt/aio_cancel.c: Likewise.
74460         * rt/aio_fsync.c: Likewise.
74461         * rt/aio_read.c: Likewise.
74462         * rt/aio_sigqueue.c: Likewise.
74463         * rt/aio_suspend.c: Likewise.
74464         * rt/aio_write.c: Likewise.
74465         * rt/clock_getres.c: Likewise.
74466         * rt/clock_gettime.c: Likewise.
74467         * rt/clock_nanosleep.c: Likewise.
74468         * rt/clock_settime.c: Likewise.
74469         * rt/lio_listio.c: Likewise.
74470         * rt/mq_close.c: Likewise.
74471         * rt/mq_getattr.c: Likewise.
74472         * rt/mq_notify.c: Likewise.
74473         * rt/mq_open.c: Likewise.
74474         * rt/mq_receive.c: Likewise.
74475         * rt/mq_send.c: Likewise.
74476         * rt/mq_setattr.c: Likewise.
74477         * rt/mq_timedreceive.c: Likewise.
74478         * rt/mq_timedsend.c: Likewise.
74479         * rt/mq_unlink.c: Likewise.
74480         * rt/shm_open.c: Likewise.
74481         * rt/shm_unlink.c: Likewise.
74482         * rt/timer_create.c: Likewise.
74483         * rt/timer_delete.c: Likewise.
74484         * rt/timer_getoverr.c: Likewise.
74485         * rt/timer_gettime.c: Likewise.
74486         * rt/timer_settime.c: Likewise.
74487         * setjmp/__longjmp.c: Likewise.
74488         * setjmp/setjmp.c: Likewise.
74489         * signal/kill.c: Likewise.
74490         * signal/killpg.c: Likewise.
74491         * signal/raise.c: Likewise.
74492         * signal/sigaction.c: Likewise.
74493         * signal/sigaltstack.c: Likewise.
74494         * signal/sigblock.c: Likewise.
74495         * signal/sigignore.c: Likewise.
74496         * signal/sigintr.c: Likewise.
74497         * signal/signal.c: Likewise.
74498         * signal/sigpause.c: Likewise.
74499         * signal/sigpending.c: Likewise.
74500         * signal/sigqueue.c: Likewise.
74501         * signal/sigreturn.c: Likewise.
74502         * signal/sigset.c: Likewise.
74503         * signal/sigsetmask.c: Likewise.
74504         * signal/sigstack.c: Likewise.
74505         * signal/sigsuspend.c: Likewise.
74506         * signal/sigtimedwait.c: Likewise.
74507         * signal/sigvec.c: Likewise.
74508         * signal/sigwait.c: Likewise.
74509         * signal/sigwaitinfo.c: Likewise.
74510         * signal/sysv_signal.c: Likewise.
74511         * socket/accept.c: Likewise.
74512         * socket/accept4.c: Likewise.
74513         * socket/bind.c: Likewise.
74514         * socket/connect.c: Likewise.
74515         * socket/getpeername.c: Likewise.
74516         * socket/getsockname.c: Likewise.
74517         * socket/getsockopt.c: Likewise.
74518         * socket/isfdtype.c: Likewise.
74519         * socket/listen.c: Likewise.
74520         * socket/recv.c: Likewise.
74521         * socket/recvfrom.c: Likewise.
74522         * socket/recvmsg.c: Likewise.
74523         * socket/send.c: Likewise.
74524         * socket/sendmsg.c: Likewise.
74525         * socket/sendto.c: Likewise.
74526         * socket/setsockopt.c: Likewise.
74527         * socket/shutdown.c: Likewise.
74528         * socket/sockatmark.c: Likewise.
74529         * socket/socket.c: Likewise.
74530         * socket/socketpair.c: Likewise.
74531         * stdio-common/ctermid.c: Likewise.
74532         * stdio-common/cuserid.c: Likewise.
74533         * stdio-common/remove.c: Likewise.
74534         * stdio-common/rename.c: Likewise.
74535         * stdio-common/renameat.c: Likewise.
74536         * stdio-common/tempname.c: Likewise.
74537         * stdlib/getcontext.c: Likewise.
74538         * stdlib/makecontext.c: Likewise.
74539         * stdlib/setcontext.c: Likewise.
74540         * stdlib/swapcontext.c: Likewise.
74541         * stdlib/system.c: Likewise.
74542         * streams/fattach.c: Likewise.
74543         * streams/fdetach.c: Likewise.
74544         * streams/getmsg.c: Likewise.
74545         * streams/getpmsg.c: Likewise.
74546         * streams/putmsg.c: Likewise.
74547         * streams/putpmsg.c: Likewise.
74548         * sysdeps/unix/bsd/getpt.c: Likewise.
74549         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
74550         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
74551         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
74552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
74553         Likewise.
74554         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
74555         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
74556         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
74557         * sysvipc/msgctl.c: Likewise.
74558         * sysvipc/msgget.c: Likewise.
74559         * sysvipc/msgrcv.c: Likewise.
74560         * sysvipc/msgsnd.c: Likewise.
74561         * sysvipc/semctl.c: Likewise.
74562         * sysvipc/semget.c: Likewise.
74563         * sysvipc/semop.c: Likewise.
74564         * sysvipc/semtimedop.c: Likewise.
74565         * sysvipc/shmat.c: Likewise.
74566         * sysvipc/shmctl.c: Likewise.
74567         * sysvipc/shmdt.c: Likewise.
74568         * sysvipc/shmget.c: Likewise.
74569         * termios/tcdrain.c: Likewise.
74570         * termios/tcflow.c: Likewise.
74571         * termios/tcflush.c: Likewise.
74572         * termios/tcgetattr.c: Likewise.
74573         * termios/tcgetpgrp.c: Likewise.
74574         * termios/tcsendbrk.c: Likewise.
74575         * termios/tcsetattr.c: Likewise.
74576         * termios/tcsetpgrp.c: Likewise.
74577         * time/adjtime.c: Likewise.
74578         * time/clock.c: Likewise.
74579         * time/getitimer.c: Likewise.
74580         * time/gettimeofday.c: Likewise.
74581         * time/setitimer.c: Likewise.
74582         * time/settimeofday.c: Likewise.
74583         * time/stime.c: Likewise.
74584         * time/time.c: Likewise.
74586 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
74588         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
74589         /usr/old/bin.
74591         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
74592         instead of spaces.
74593         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
74595 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
74597         [BZ #14796]
74598         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
74599         FE_TONEAREST before applying Dekker multiplication and Knuth
74600         addition.  Clear inexact exceptions and check for exact zero
74601         results afterwards.
74602         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74603         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
74604         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74605         * math/libm-test.inc (fma_test): Add more tests.
74606         (fma_test_towardzero): Likewise.
74607         (fma_test_downward): Likewise.
74608         (fma_test_upward): Likewise.
74609         * sysdeps/generic/math_private.h (default_libc_fesetround): New
74610         function.
74611         (libc_fesetround): New macro.
74612         (libc_fesetroundf): Likewise.
74613         (libc_fesetroundl): Likewise.
74614         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
74615         function.
74616         (libc_fesetround_387): Likewise.
74617         (libc_fesetroundf): New macro.
74618         (libc_fesetround): Likewise.
74619         (libc_fesetroundl): Likewise.
74620         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
74621         function.
74622         (libc_fesetroundf): New macro.
74623         (libc_fesetround): Likewise.
74624         (libc_fesetroundl): Likewise.
74625         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
74626         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
74627         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
74628         libm_hidden_ver.
74629         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
74630         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
74631         libm_hidden_def.
74632         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
74633         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
74634         libm_hidden_ver.
74635         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
74636         libm_hidden_def.
74638         [BZ #3439]
74639         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
74640         integer constant usable in #if and use that to give value to enum
74641         constant.
74642         (FE_DIVBYZERO): Likewise.
74643         (FE_UNDERFLOW): Likewise.
74644         (FE_OVERFLOW): Likewise.
74645         (FE_INVALID): Likewise.
74646         (FE_INVALID_SNAN): Likewise.
74647         (FE_INVALID_ISI): Likewise.
74648         (FE_INVALID_IDI): Likewise.
74649         (FE_INVALID_ZDZ): Likewise.
74650         (FE_INVALID_IMZ): Likewise.
74651         (FE_INVALID_COMPARE): Likewise.
74652         (FE_INVALID_SOFTWARE): Likewise.
74653         (FE_INVALID_SQRT): Likewise.
74654         (FE_INVALID_INTEGER_CONVERSION): Likewise.
74655         (FE_TONEAREST): Likewise.
74656         (FE_TOWARDZERO): Likewise.
74657         (FE_UPWARD): Likewise.
74658         (FE_DOWNWARD): Likewise.
74659         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
74660         (FE_DIVBYZERO): Likewise.
74661         (FE_OVERFLOW): Likewise.
74662         (FE_UNDERFLOW): Likewise.
74663         (FE_INEXACT): Likewise.
74664         (FE_TONEAREST): Likewise.
74665         (FE_DOWNWARD): Likewise.
74666         (FE_UPWARD): Likewise.
74667         (FE_TOWARDZERO): Likewise.
74668         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
74669         (FE_UNDERFLOW): Likewise.
74670         (FE_OVERFLOW): Likewise.
74671         (FE_DIVBYZERO): Likewise.
74672         (FE_INVALID): Likewise.
74673         (FE_TONEAREST): Likewise.
74674         (FE_TOWARDZERO): Likewise.
74675         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
74676         (FE_OVERFLOW): Likewise.
74677         (FE_UNDERFLOW): Likewise.
74678         (FE_DIVBYZERO): Likewise.
74679         (FE_INEXACT): Likewise.
74680         (FE_TONEAREST): Likewise.
74681         (FE_TOWARDZERO): Likewise.
74682         (FE_UPWARD): Likewise.
74683         (FE_DOWNWARD): Likewise.
74684         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
74685         (FE_DIVBYZERO): Likewise.
74686         (FE_OVERFLOW): Likewise.
74687         (FE_UNDERFLOW): Likewise.
74688         (FE_INEXACT): Likewise.
74689         (FE_TONEAREST): Likewise.
74690         (FE_DOWNWARD): Likewise.
74691         (FE_UPWARD): Likewise.
74692         (FE_TOWARDZERO): Likewise.
74694 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
74696         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
74698 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
74700         * scripts/cross-test-ssh.sh (command): Use newlines to separate
74701         commands.  Quote $PWD.
74702         (blacklist_exports): Don't use remove_newlines.  Replace "declare
74703         -x" by "export".
74704         (remove_newlines): Remove.
74706 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
74708         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
74709         * stdlib/stdlib.h (atof): Moved to ...
74710         * include/bits/stdlib-float.h: Here.  New file.
74711         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
74712         * stdlib/bits/stdlib-float.h: New file.
74713         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
74714         -mno-sse -mno-mmx.
74715         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
74716         <xmmintrin.h>.
74718 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
74720         * conform/conformtest.pl (@headers): Add fenv.h.
74721         * conform/data/fenv.h-data: New file.
74722         * include/fenv.h [_ISOMAC]: Disable all contents of file except
74723         include of <math/fenv.h>.
74725         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
74726         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
74727         && !UNIX98].  Enables tests for XOPEN2K8.
74728         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
74729         POSIX2008]: Likewise.
74731         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
74732         (struct rusage): Do not expect type or its members.
74734         [BZ #3439]
74735         * math/math.h (FP_NAN): Define macro to integer constant usable in
74736         #if and use that to give value to enum constant.
74737         (FP_INFINITE): Likewise.
74738         (FP_ZERO): Likewise.
74739         (FP_SUBNORMAL): Likewise.
74740         (FP_NORMAL): Likewise.
74742 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
74744         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
74745         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
74746         arguments.
74748 2012-11-02  Roland McGrath  <roland@hack.frob.com>
74750         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
74751         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
74752         autoconf-time if not.
74753         * configure.in: Remove AC_PREREQ.
74755 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74757         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
74758         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
74759         of the internal implementation.
74761 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
74763         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
74764         except include of <misc/sys/syslog.h>.
74766 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
74769         function returns with a NULL context exit with zero.
74771 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74773         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
74775 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
74777         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
74778         (run_program_cmd): This.
74779         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
74780         (tst_langinfo): New variable.  Use it.
74782 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
74784         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
74785         floating point opcodes.
74787 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
74789         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
74790         variable.
74792         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
74794         * sysdeps/mach/hurd/powerpc: Remove directory.
74795         * sysdeps/mach/powerpc: Likewise.
74797 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74799         * scripts/check-local-headers.sh: Ignore c++ headers.
74801 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
74803         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
74804         __libc_cleanup_region_start argument.
74806 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
74808         [BZ #14784]
74809         [BZ #14785]
74810         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
74811         x * y using scaling, not as x * y + z.
74812         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74813         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74814         * math/libm-test.inc (fma_test): Add more tests.
74815         (fma_test_towardzero): Likewise.
74816         (fma_test_downward): Likewise.
74817         (fma_test_upward): Likewise.
74819 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
74821         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
74823 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
74825         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
74826         New variable.
74828 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
74830         * rt/tst-shm.c (worker): Correct checking for mmap failure.
74832 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
74834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74835         Fix sort order.
74836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74837         Likewise.
74839 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74842         Fix the order of the list for glibc 2.17.
74843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74844         Likewise.
74846 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
74848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74850 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
74852         [BZ #14610]
74853         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
74854         for low part of x being zero before using __atanl (y).
74855         * math/libm-test.inc (atan2_test): Add another test.
74857         * manual/install.texi (Configuring and compiling): Document
74858         general use of test-wrapper and test-wrapper-env.
74859         * INSTALL: Regenerated.
74861         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
74862         (__fma): Do not extract and scale down low bits on after-rounding
74863         systems when result rounded to normal precision would have normal
74864         exponent.
74865         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
74866         (__fmal): Do not extract and scale down low bits on after-rounding
74867         systems when result rounded to normal precision would have normal
74868         exponent.
74869         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
74870         (__fmal): Do not extract and scale down low bits on after-rounding
74871         systems when result rounded to normal precision would have normal
74872         exponent.
74873         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
74874         macro.
74875         (fma_test): Add more tests.
74876         (fma_test_towardzero): Likewise.
74877         (fma_test_downward): Likewise.
74878         (fma_test_upward): Likewise.
74880 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
74882         * sysdeps/i386/tininess.h: Renamed to ...
74883         * sysdeps/x86/tininess.h: This.
74884         * sysdeps/x86_64/tininess.h: Removed.
74886 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
74888         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
74889         input.  Use $(build-program-cmd).
74890         ($(objpfx)tst-array1-static.out): Likewise.
74891         ($(objpfx)tst-array2.out): Likewise.
74892         ($(objpfx)tst-array3.out): Likewise.
74893         ($(objpfx)tst-array4.out): Likewise.
74894         ($(objpfx)tst-array5.out): Likewise.
74895         ($(objpfx)tst-array5-static.out): Likewise.
74897 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
74899         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
74900         if defined.
74902         * nss/nsswitch.h (nss_interface_function): Provide new
74903         macro for use with NSS functions.
74904         * grp/initgroups.c: Use new macro.
74905         * nss/getXXbyYY.c: Likewise.
74906         * nss/getXXbyYY_r.c: Likewise.
74907         * nss/getXXent.c: Likewise.
74908         * nss/getXXent_r.c: Likewise.
74909         * sysdeps/posix/getaddrinfo.c: Likewise.
74911 2012-10-30  Andreas Jaeger  <aj@suse.de>
74913         * po/ru.po: Update Russion translation from translation project.
74915 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
74917         [BZ #14152]
74918         [BZ #14783]
74919         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
74920         result and shift together with sticky bit instead of replicating
74921         round-to-nearest rounding.
74922         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74923         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74924         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
74925         missing underflow exceptions.
74926         (fma_test_towardzero): Add more tests.
74927         (fma_test_downward): Likewise.
74928         (fma_test_upward): Likewise.
74930         [BZ #14047]
74931         * sysdeps/generic/tininess.h: New file.
74932         * sysdeps/i386/tininess.h: Likewise.
74933         * sysdeps/sh/tininess.h: Likewise.
74934         * sysdeps/x86_64/tininess.h: Likewise.
74935         * stdlib/tst-strtod-underflow.c: Likewise.
74936         * stdlib/tst-tininess.c: Likewise.
74937         * stdlib/strtod_l.c: Include <tininess.h>.
74938         (round_and_return): Do not set errno for exact underflow cases.
74939         Force an underflow exception when setting errno for underflow.
74940         Determine underflow based on rounding to normal precision if
74941         TININESS_AFTER_ROUNDING.
74942         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
74943         ERANGE for exact underflow cases.
74944         * stdlib/Makefile (tests): Add tst-tininess and
74945         tst-strtod-underflow.
74946         ($(objpfx)tst-tininess): Use $(link-libm).
74947         ($(objpfx)tst-strtod-underflow): Likewise.
74949 2012-10-30  Andreas Jaeger  <aj@suse.de>
74951         [BZ #14767]
74952         * elf/Makefile (tests): Remove conditional for have-initfini-array
74953         since this is now always required and the variable does not exist
74954         anymore.
74955         (tests-static): Likewise.
74956         (modules-names): Likewise.
74958         * po/eo.po: Add Esperanto translation from translation project.
74960         * elf/tst-array1.c (fini_array): Make writeable so that it can be
74961         merged with constructor/destructor.
74962         (init_array): Likewise.
74963         * elf/tst-array2dep.c (fini_array): Likewise.
74964         (init_array): Likewise.
74966 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
74968         * manual/message.texi: Delete @cartouche tags.
74970 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
74972         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
74973         EOPNOTSUPP.
74974         * sysdeps/mach/hurd/fsync.c: Likewise.
74976         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
74977         [_POSIX_REALTIME_SIGNALS]: Change condition to
74978         [_POSIX_REALTIME_SIGNALS > 0].
74980 2012-10-27  Andreas Jaeger  <aj@suse.de>
74982         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
74983         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
74984         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
74985         [__WORDSIZE != 64]: Likewise.
74987 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
74989         *  iconvdata/tst-table.sh: Remove ${SHELL}.
74990         *  iconvdata/tst-tables.sh: Likewise.
74992 2012-10-25  David S. Miller  <davem@davemloft.net>
74994         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74995         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
74996         of strtoull.
74998         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
74999         ifunc-impl-list.c
75000         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75001         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75002         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75003         file.
75005 2012-10-25  Roland McGrath  <roland@hack.frob.com>
75007         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75008         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75009         __getdirentries.
75011 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75012             Jim Blandy  <jimb@codesourcery.com>
75014         * scripts/cross-test-ssh.sh: New file.
75015         * manual/install.texi (Configuring and compiling): Document use of
75016         cross-test-ssh.sh.
75017         * INSTALL: Regenerated.
75019 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
75021         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75022         EOPNOTSUPP.
75024 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75026         * Makeconfig (run-program-prefix): Fix comment.
75028 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
75029             Jim Blandy  <jimb@codesourcery.com>
75031         * Makeconfig (test-wrapper): New variable,
75032         (test-wrapper-env): Likewise.
75033         [$(cross-compiling) = yes && $(test-wrapper) != ""]
75034         (run-built-tests): Define to yes.
75035         (run-program-prefix): Use $(test-wrapper).
75036         (built-program-cmd): Likewise.
75037         * Rules (make-test-out): Use $(test-wrapper-env) and
75038         $(host-built-program-cmd).
75039         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75040         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75041         tst-pathopt.sh.
75042         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75043         $(test-wrapper-env) to tst-rtld-load-self.sh.
75044         ($(objpfx)order2.out): Use $(test-wrapper).
75045         ($(objpfx)tst-initorder.out): Likewise.
75046         ($(objpfx)tst-initorder2.out): Likewise.
75047         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75048         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75049         (test_wrapper_env): New variable.  Use it to run ld.so.
75050         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75051         Use it to run ld.so.
75052         (test_wrapper_env): Likewise.
75053         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75054         $(test-wrapper) to run-iconv-test.sh.
75055         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75056         (ICONV): Use $test_wrapper.
75057         * posix/Makefile ($(objpfx)globtest.out): Pass
75058         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75059         globtest.sh, not $(run-program-prefix).
75060         * posix/globtest.sh (run_via_rtld_prefix): New variable.
75061         (test_wrapper): Likewise.
75062         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
75063         set together with run_via_rtld_prefix.
75064         (run_program_prefix): Define in terms of test_wrapper and
75065         run_via_rtld_prefix.
75067 2012-10-24  Roland McGrath  <roland@hack.frob.com>
75069         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75070         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75071         Targets removed.
75073         [BZ #14743]
75074         * include/time.h: Remove librt_hidden_proto (clock_gettime).
75075         Declare __clock_getres, __clock_gettime, __clock_settime,
75076         __clock_nanosleep, and __clock_getcpuclockid.
75077         * rt/clock_gettime.c: Define __clock_gettime as an alias.
75078         Remove librt_hidden_def (clock_gettime).
75079         * sysdeps/unix/clock_gettime.c: Likewise.
75080         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75081         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75082         * rt/clock_getres.c: Define __clock_getres as an alias.
75083         * sysdeps/posix/clock_getres.c: Likewise.
75084         * rt/clock_settime.c: Define __clock_settime as an alias.
75085         * sysdeps/unix/clock_settime.c: Likewise.
75086         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75087         * sysdeps/unix/clock_nanosleep.c: Likewise.
75088         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75089         * rt/clock-compat.c: New file.
75090         * rt/Makefile (librt-routines): Add clock-compat and move
75091         $(clock-routines) to ...
75092         (routines): ... here, new variable.
75093         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75094         Don't add get_clockfreq here.
75095         * rt/Versions (libc: GLIBC_2.17): New version set.
75096         Add clock_* symbols here.
75097         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
75098         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75099         (GLIBC_2.17): Add clock_* symbols.
75100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75102         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75104         Likewise.
75105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75106         Likewise.
75107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75111         * NEWS: Mention the move.
75113         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
75114         Use __open, __read, __close rather than their public counterparts.
75115         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75116         (__get_clockfreq_via_cpuinfo): Likewise.
75117         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
75118         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
75120         * config.h.in (HAVE_IFUNC): New #undef.
75121         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
75122         was successful.
75123         * configure: Regenerated.
75125 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
75127         * configure.in: Move READELF check to start of file.
75128         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
75129         libc_cv_asm_gnu_indirect_function in the process.
75130         * configure: Regenerated.
75132 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
75134         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
75135         send the output to /dev/null.
75136         (libc_cv_cc_with_libunwind): Likewise.
75137         (libc_cv_as_noexecstack): Likewise.
75138         * configure: Regenerate.
75140 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
75142         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
75144         * posix/globtest.sh (TMPDIR): Do not set.
75145         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
75146         (testout): Likewise.
75148 2012-10-24  Andreas Jaeger  <aj@suse.de>
75150         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
75151         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
75152         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
75153         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
75154         posix_fadvise64, posix_fallocate64.
75156         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
75157         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
75158         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
75159         Likewise.
75160         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
75161         Likewise.
75162         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
75164         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
75165         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
75166         <bits/fcntl-linux.h>.
75167         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
75169         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
75170         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
75171         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
75172         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
75173         [__WORDSIZE != 64]: Likewise.
75175 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
75177         * Makeconfig (run-built-tests): New variable.
75178         * Rules [$(cross-compiling) = yes]: Change condition to
75179         [$(run-built-tests) = no].
75180         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
75181         to [$(run-built-tests) = yes].
75182         * elf/Makefile [$(cross-compiling) = no]: Likewise.
75183         * grp/Makefile [$(cross-compiling) = no]: Likewise.
75184         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
75185         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
75186         * intl/Makefile [$(cross-compiling) = no]: Likewise.
75187         * io/Makefile [$(cross-compiling) = no]: Likewise.
75188         * libio/Makefile [$(cross-compiling) = no]: Likewise.
75189         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
75190         * misc/Makefile [$(cross-compiling) = no]: Likewise.
75191         * posix/Makefile [$(cross-compiling) = no]: Likewise.
75192         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
75193         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
75194         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
75195         * string/Makefile [$(cross-compiling) = no]: Likewise.
75197         * posix/Makefile ($(objpfx)globtest.out): Pass
75198         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
75199         $(rtld-installed-name).
75200         * posix/globtest.sh (elf_objpfx): Remove variable.
75201         (rtld_installed_name): Likewise.
75202         (library_path): Likewise.
75203         (run_program_prefix): New variable.  Use for running globtest
75204         binary.
75206 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
75207             Joseph Myers  <joseph@codesourcery.com>
75209         * Makeconfig (host-built-program-cmd): New variable.
75210         * elf/Makefile (tst-stackguard1-ARGS): Use
75211         $(host-built-program-cmd).
75212         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
75213         (tst-spawn-ARGS): Likewise.
75214         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
75216 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
75217             Jim Blandy  <jimb@codesourcery.com>
75219         * Makeconfig (run-via-rtld-prefix): New variable.
75220         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
75221         (built-program-cmd): Likewise.
75223 2012-10-22  Andreas Jaeger  <aj@suse.de>
75225         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
75226         __O_RSYNC if it exists, otherwise to O_SYNC.
75228 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
75229             Joseph Myers  <joseph@codesourcery.com>
75231         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
75232         /dev/null.
75233         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
75234         from /dev/null
75235         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
75236         /dev/null.
75238 2012-10-22  Andreas Jaeger  <aj@suse.de>
75240         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
75241         Define always.
75242         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
75244         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75245         bits/fcntl-linux.h.
75247         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
75248         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
75250         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
75251         to __O_LARGEFILE.
75252         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
75253         to __O_LARGEFILE.
75255 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
75256             Joseph Myers  <joseph@codesourcery.com>
75258         * config.make.in (NM): New variable.
75260 2012-10-21  Andreas Jaeger  <aj@suse.de>
75262         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
75263         definitions and declarations that are provided by
75264         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
75266 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
75268         [BZ #14683]
75269         * elf/Makefile (tests-static): Add tst-leaks1-static.
75270         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
75271         ($(objpfx)tst-leaks1-static): New rule.
75272         ($(objpfx)tst-leaks1-static-mem): Likewise.
75273         (tst-leaks1-static-ENV): New macro.
75274         * elf/dl-open.c (dl_open_worker): Check the main application
75275         only if SHARED is defined.
75276         * elf/tst-leaks1-static.c: New file.
75278 2012-10-20  Andreas Jaeger  <aj@suse.de>
75280         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
75281         generic values for Linux.
75282         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
75283         and declarations that are provided by <bits/fcntl-linux.h> and
75284         include <bits/fcntl-linux.h>.
75285         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75286         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75288 2012-10-20  Roland McGrath  <roland@hack.frob.com>
75290         * io/fcntl.h: Move include of <bits/types.h> to the top and
75291         include it unconditionally.
75293 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
75295         * wcsmbs/Makefile (tests-ifunc): New variable.
75296         (tests): Add $(tests-ifunc).
75297         * wcsmbs/test-wcschr-ifunc.c: New file.
75298         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
75299         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
75300         * wcsmbs/test-wcslen-ifunc.c: Likewise.
75301         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
75302         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
75304         * string/Makefile (tests-ifunc): New variable.
75305         (tests): Add $(tests-ifunc).
75306         * string/test-memccpy.c (TEST_NAME): New macro.
75307         * string/test-memchr.c (TEST_NAME): Likewise.
75308         * string/test-memcmp.c (TEST_NAME): Likewise.
75309         * string/test-memcpy.c (TEST_NAME): Likewise.
75310         * string/test-memmem.c (TEST_NAME): Likewise.
75311         * string/test-memmove.c (TEST_NAME): Likewise.
75312         * string/test-memset.c (TEST_NAME): Likewise.
75313         * string/test-rawmemchr.c (TEST_NAME): Likewise.
75314         * string/test-stpcpy.c (TEST_NAME): Likewise.
75315         * string/test-stpncpy.c (TEST_NAME): Likewise.
75316         * string/test-strcasecmp.c (TEST_NAME): Likewise.
75317         * string/test-strcasestr.c (TEST_NAME): Likewise.
75318         * string/test-strcat.c (TEST_NAME): Likewise.
75319         * string/test-strchr.c (TEST_NAME): Likewise.
75320         * string/test-strcmp.c(TEST_NAME): Likewise.
75321         * string/test-strcpy.c (TEST_NAME): Likewise.
75322         * string/test-strcspn.c (TEST_NAME): Likewise.
75323         * string/test-strlen.c (TEST_NAME): Likewise.
75324         * string/test-strncasecmp.c (TEST_NAME): Likewise.
75325         * string/test-strncmp.c (TEST_NAME): Likewise.
75326         * string/test-strncpy.c (TEST_NAME): Likewise.
75327         * string/test-strnlen.c (TEST_NAME): Likewise.
75328         * string/test-strpbrk.c (TEST_NAME): Likewise.
75329         * string/test-strrchr.c (TEST_NAME): Likewise.
75330         * string/test-strspn.c (TEST_NAME): Likewise.
75331         * string/test-strstr.c (TEST_NAME): Likewise.
75332         * string/test-bcopy-ifunc.c: New file.
75333         * string/test-bzero-ifunc.c: Likewise.
75334         * string/test-memccpy-ifunc.c: Likewise.
75335         * string/test-memchr-ifunc.c: Likewise.
75336         * string/test-memcmp-ifunc.c: Likewise.
75337         * string/test-memcpy-ifunc.c: Likewise.
75338         * string/test-memmem-ifunc.c: Likewise.
75339         * string/test-memmove-ifunc.c: Likewise.
75340         * string/test-mempcpy-ifunc.c: Likewise.
75341         * string/test-memset-ifunc.c: Likewise.
75342         * string/test-rawmemchr-ifunc.c: Likewise.
75343         * string/test-stpcpy-ifunc.c: Likewise.
75344         * string/test-stpncpy-ifunc.c: Likewise.
75345         * string/test-strcasecmp-ifunc.c: Likewise.
75346         * string/test-strcasestr-ifunc.c: Likewise.
75347         * string/test-strcat-ifunc.c: Likewise.
75348         * string/test-strchr-ifunc.c: Likewise.
75349         * string/test-strchrnul-ifunc.c: Likewise.
75350         * string/test-strcmp-ifunc.c: Likewise.
75351         * string/test-strcpy-ifunc.c: Likewise.
75352         * string/test-strcspn-ifunc.c: Likewise.
75353         * string/test-strlen-ifunc.c: Likewise.
75354         * string/test-strncasecmp-ifunc.c: Likewise.
75355         * string/test-strncat-ifunc.c: Likewise.
75356         * string/test-strncmp-ifunc.c: Likewise.
75357         * string/test-strncpy-ifunc.c: Likewise.
75358         * string/test-strnlen-ifunc.c: Likewise.
75359         * string/test-strpbrk-ifunc.c: Likewise.
75360         * string/test-strrchr-ifunc.c: Likewise.
75361         * string/test-strspn-ifunc.c: Likewise.
75362         * string/test-strstr-ifunc.c: Likewise.
75364         * debug/Makefile (tests-ifunc): New variable.
75365         (tests): Add $(tests-ifunc).
75366         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
75367         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
75368         * debug/test-stpcpy_chk-ifunc.c: New file.
75369         * debug/test-strcpy_chk-ifunc.c: Likewise.
75371 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
75373         [BZ #13601]
75374         * elf/dl-load.c (open_verify): Retry read if the entire ELF
75375         header is not read in.
75377 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
75379         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
75380         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
75381         directly.  Pass built executable to script as
75382         $(built-program-cmd).
75383         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
75384         $testprogram without using LD_LIBRARY_PATH and $ldso.
75386         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
75387         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
75388         $(rtld-installed-name).
75389         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
75390         (rtld_installed_name): Likewise.
75391         (library_path): Likewise.
75392         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
75393         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
75394         $(run-program-prefix) to tst-tables.sh.
75395         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
75396         it to run tst-table-from and tst-table-to.
75397         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
75398         Pass it to tst-table.sh.
75399         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
75400         $(run-program-prefix) to tst-gettext.sh.
75401         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
75402         tst-translit.sh.
75403         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
75404         tst-gettext2.sh.
75405         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
75406         to run tst-gettext.
75407         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
75408         to run tst-gettext2.
75409         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
75410         to run tst-translit.
75411         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
75412         $(run-program-prefix) to tst-mtrace.sh.
75413         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
75414         to run tst-mtrace.
75415         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
75416         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
75417         $(rtld-installed-name).
75418         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
75419         (rtld_installed_name): Likewise.
75420         (run_program_prefix): New variable.  Use it to run wordexp-test.
75422         * Makeconfig (ARCH): Remove all definitions.
75423         (machine): Likewise.
75424         [ARCH]: Remove conditional code.
75425         [!objdir]: Give error.
75426         [!objdir] (objpfx): Remove.
75427         [!objdir] (common-objpfx): Likewise.
75428         [!objdir] (common-objdir): Likewise.
75429         * configure.in (config_makefile): Remove.  Hardcode Makefile in
75430         AC_CONFIG_FILES call.
75431         * configure: Regenerated.
75433         [BZ #13888]
75434         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
75435         or TMPDIR.
75436         (testout): Likewise.
75438         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
75439         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
75440         $(rtld-installed-name).
75441         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
75442         (rtld_installed_name): Likewise.
75443         (runit): Remove function.
75444         (run_getconf): New variable,  Use it for running getconf binary.
75446 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
75448         [BZ #14716]
75449         * string/test-memmem.c (check_result): New function.
75450         (do_one_test): Use it.
75451         (check1): New function.
75452         (test_main): Use it.
75454 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
75456         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
75458 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
75460         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
75461         (_G_LSEEK64): Likewise.
75462         (_G_MMAP64): Likewise.
75463         (_G_FSTAT64): Likewise.
75464         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
75465         (_G_LSEEK64): Likewise.
75466         (_G_MMAP64): Likewise.
75467         (_G_FSTAT64): Likewise.
75468         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
75469         unconditional.  Call __mmap64 directly.
75470         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
75471         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
75472         __lseek64 directly.
75473         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
75474         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
75475         __mmap64 directly.
75476         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
75477         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
75478         __lseek64 directly.
75479         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
75480         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
75481         __lseek64 directly.
75482         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
75483         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
75484         __lseek64 directly.
75485         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
75486         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
75487         __fxstat64 directly.
75488         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
75489         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
75490         unconditional.
75491         (freopen64) [!_G_OPEN64]: Remove conditional code.
75492         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
75493         unconditional.
75494         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
75495         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
75496         unconditional.
75497         (ftello64) [!_G_LSEEK64]: Remove conditional code.
75498         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
75499         unconditional.
75500         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
75501         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
75502         unconditional.
75503         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
75504         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
75505         unconditional.
75506         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
75507         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
75508         unconditional.
75509         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
75510         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
75511         unconditional.
75512         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
75514 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
75516         [BZ #12140]
75517         * manual/memory.texi (Malloc Tunable Parameters): Add note
75518         about free list pointers overwriting some perturb bytes.
75519         Wording suggested by Roland McGrath.
75521 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
75523         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
75524         (lgamma_test): Likewise.
75525         (tgamma_test): Likewise.
75527 2012-10-16  Florian Weimer  <fweimer@redhat.com>
75529         [BZ #14700]
75530         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
75531         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
75533 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
75535         * NEWS: Mention BZ #14716.
75536         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
75537         when removing AVAILABLE1_USES_J macro.
75539 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
75541         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
75542         (__bswap_64): __uint64_t for unsigned 64-bit int.
75544 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
75546         * include/string.h (memmem): Declare libc hidden alias.
75547         * string/memmem.c (memmem): Define libc hidden alias.
75548         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
75549         __read, __close instead of open, read, close.
75551 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
75553         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
75554         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
75555         global and hidden.
75556         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
75557         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
75558         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
75559         Likewise.
75560         (__rawmemchr_sse2): Likewise.
75561         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
75562         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
75563         (__strchr_sse2): Likewise.
75564         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
75565         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
75566         (__strcasecmp_sse2): Likewise.
75567         (__strncasecmp_sse2): Likewise.
75568         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
75569         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
75570         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
75571         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
75572         (__strrchr_sse2): Likewise.
75573         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
75574         ifunc-impl-list.c.
75575         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
75576         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
75577         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
75578         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
75579         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
75580         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
75581         * sysdeps/x86_64/multiarch/memset.S: Likewise.
75582         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
75583         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
75584         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
75585         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
75586         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
75587         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
75588         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
75589         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
75590         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
75591         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
75592         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
75593         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
75594         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
75595         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
75596         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
75597         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
75598         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
75599         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
75600         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75601         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
75602         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
75603         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
75604         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
75606         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
75607         global and hidden.
75608         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
75609         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
75610         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
75611         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
75612         Likewise.
75613         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
75614         Likewise.
75615         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
75616         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
75617         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
75618         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
75619         ifunc-impl-list.c.
75620         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
75621         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
75622         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
75623         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
75624         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
75625         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
75626         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
75627         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
75628         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
75629         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
75630         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
75631         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
75632         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
75633         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
75634         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
75635         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
75636         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
75637         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
75638         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
75639         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
75640         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75641         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
75642         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
75643         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
75644         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75645         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
75646         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
75647         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
75648         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
75649         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
75650         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
75651         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
75652         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
75653         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
75654         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
75655         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
75656         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
75657         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
75658         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
75659         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
75660         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
75662         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
75663         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
75664         * include/ifunc-impl-list.h: New file.
75665         * misc/ifunc-impl-list.c: Likewise.
75666         * misc/Makefile (routines): Add ifunc-impl-list.
75667         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
75668         * string/test-string.h: Include <ifunc-impl-list.h>.
75669         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
75670         TEST_NAME]: New variables.
75671         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
75672         are defined.
75673         (test_init): Call __libc_ifunc_impl_list to initialize
75674         func_list if TEST_IFUNC and TEST_NAME are defined.
75676         * string/Makefile (strop-tests): Add bcopy and bzero.
75677         * string/test-bcopy.c: New file.
75678         * string/test-bzero.c: Likewise.
75679         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
75680         defined.
75681         * string/test-memset.c: Support bzero test if TEST_BZERO is
75682         defined.
75683         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
75684         __libc_memmove.
75685         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
75686         __libc_memset.
75687         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
75688         of memset.
75690 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
75692         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
75693         * configure: Regenerated.
75695         * Makeconfig (+link-static-before-libc): Don't include
75696         $(link-static-libc).
75698         * libio/libio.h (_IO_pos_t): Remove.
75700 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
75702         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
75703         McGrath.
75705 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
75707         * crypt/crypt-entry.c: Include fips-private.h.
75708         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
75709         * crypt/md5c-test.c (main): Tolerate disabled MD5.
75710         * sysdeps/unix/sysv/linux/fips-private.h: New file.
75711         * sysdeps/generic/fips-private.h: New file, dummy fallback.
75713 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
75715         * crypt/crypt-private.h: Include stdbool.h.
75716         (_ufc_setup_salt_r): Return bool.
75717         * crypt/crypt-entry.c: Include errno.h.
75718         (__crypt_r): Return NULL with EINVAL for bad salt.
75719         * crypt/crypt_util.c (bad_for_salt): New.
75720         (_ufc_setup_salt_r): Check that salt is long enough and within
75721         the specified alphabet.
75722         * crypt/badsalttest.c: New file.
75723         * crypt/Makefile (tests): Add it.
75724         ($(objpfx)badsalttest): New.
75726 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
75728         * NEWS: Add entry for BZ #14602.
75730 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
75732         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
75733         type-generic.
75734         * math/libm-test.inc: Update comment listing what functions and
75735         macros are tested.
75736         (isgreater_test): New function.
75737         (isgreaterequal_test): Likewise.
75738         (isless_test): Likewise.
75739         (islessequal_test): Likewise.
75740         (islessgreater_test): Likewise.
75741         (isunordered_test): Likewise.
75742         (main): Call the new functions.
75744 2012-10-09  Roland McGrath  <roland@hack.frob.com>
75746         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
75747         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
75748         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
75749         * sysdeps/i386/configure: Regenerated.
75750         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
75751         * sysdeps/mach/configure: Regenerated.
75752         * sysdeps/mach/hurd/configure: Regenerated.
75753         * sysdeps/powerpc/configure: Regenerated.
75754         * sysdeps/powerpc/powerpc32/configure: Regenerated.
75755         * sysdeps/powerpc/powerpc64/configure: Regenerated.
75756         * sysdeps/s390/s390-32/configure: Regenerated.
75757         * sysdeps/s390/s390-64/configure: Regenerated.
75758         * sysdeps/sh/configure: Regenerated.
75759         * sysdeps/sparc/configure: Regenerated.
75760         * sysdeps/unix/sysv/linux/configure: Regenerated.
75761         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
75762         * sysdeps/x86_64/configure: Regenerated.
75764         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
75765         defined.  Don't check if MAP is NULL.
75767 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
75769         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
75770         (_G_stat64): Likewise.
75771         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
75772         (_G_stat64): Likewise.
75773         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
75774         instead of struct _G_stat64.
75775         * libio/fileops.c (mmap_remap_check): Likewise.
75776         (decide_maybe_mmap): Likewise.
75777         (_IO_new_file_seekoff): Likewise.
75778         (_IO_file_stat): Likewise.
75779         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
75780         _G_off64_t.
75781         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
75782         instead of struct _G_stat64.
75783         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
75785 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
75787         [BZ #14602]
75788         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75789         Replace with ...
75790         (CHECK_EOL): New macro.
75791         (two_way_short_needle): Check beginning of haystack for EOL.  Use
75792         CHECK_EOL.
75793         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75794         Replace with CHECK_EOL.
75795         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75796         Replace with CHECK_EOL.
75798 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
75800         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
75801         type-generic.
75802         * math/libm-test.inc: Update comment listing what functions and
75803         macros are tested.
75804         (finite_test): New function.
75805         (isinf_test): Likewise.
75806         (isnan_test): Likewise.
75807         (fpclassify_test): Test subnormal input.
75808         (isfinite_test): Likewise.
75809         (isnormal_test): Likewise.
75810         (main): Call the new functions.
75812 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
75814         [BZ #14660]
75815         * Makerules (%.dynsym): Force C locale when running
75816         $(OBJDUMP) --dynamic-syms.
75818 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
75820         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
75821         <stdint.h>.
75823 2012-10-06  David S. Miller  <davem@davemloft.net>
75825         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
75826         upper 32-bits of the length value in %o2 since we use branch-on-register
75827         tests which consider the entire 64-bit register.
75829 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
75831         * string/test-strstr.c (check2): Add a test for page boundary.
75833 2012-10-05  David S. Miller  <davem@davemloft.net>
75835         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
75836         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
75837         file.
75838         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
75839         sysdep_routines.
75840         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
75841         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
75842         and bzero when HWCAP_SPARC_CRYPTO is present.
75844 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
75846         [BZ #14602]
75847         * string/test-strstr.c (check2): New function.
75848         (test_main): Call check2.
75850         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
75851         and bug-strchr1.
75852         * string/bug-strcasestr1.c (do_test): Moved to ...
75853         * string/test-strcasestr.c (check1): Here.  New function.
75854         (do_one_test): Break out result checking code into ...
75855         (check_result): This.  New function.
75856         (do_one_test): Call check_result.
75857         (test_main): Call check1.
75858         * string/bug-strchr1.c (do_test): Moved to ...
75859         * string/test-strchr.c (check1): Here.  New function.
75860         (do_one_test): Break out result checking code into ...
75861         (check_result): This.  New function.
75862         (do_one_test): Call check_result.
75863         (test_main): Call check1.
75864         * string/bug-strstr1.c (main): Moved to ...
75865         * string/test-strstr.c (check1): Here.  New function.
75866         (do_one_test): Break out result checking code into ...
75867         (check_result): This.  New function.
75868         (do_one_test): Call check_result.
75869         (test_main): Call check1.
75870         * string/bug-strcasestr1.c: Removed.
75871         * string/bug-strchr1.c: Likewise.
75872         * string/bug-strstr1.c: Likewise.
75874         * elf/Makefile (dl-routines): Add hwcaps.
75875         * elf/dl-support.c (_dl_important_hwcaps): Removed.
75876         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
75877         (_dl_important_hwcaps): Moved to ...
75878         * elf/dl-hwcaps.c: Here.  New file.
75879         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
75881         [BZ #14557]
75882         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
75883         if IS_IN_rtld isn't defined.
75885         * elf/dl-support.c (_dl_sysinfo_map): New.
75886         Include "get-dynamic-info.h" and "setup-vdso.h".
75887         (_dl_non_dynamic_init): Call setup_vdso.
75888         * elf/dynamic-link.h: Don't include <assert.h>.
75889         (elf_get_dynamic_info): Moved to ...
75890         * elf/get-dynamic-info.h: Here.  New file.
75891         * elf/dynamic-link.h: Include "get-dynamic-info.h".
75892         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
75893         * elf/setup-vdso.h: Here.  New file.
75894         * elf/rtld.c: Include "setup-vdso.h".
75895         (dl_main): Call setup_vdso.
75897 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
75899         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
75900         creal in comment listing functions tested.  List finite, isinf,
75901         isnan, isless, islessequal, isgreater, isgreaterequal,
75902         islessgreater, isunordered, lgamma_r and pow10 as functions and
75903         macros not tested.  Mention which functions not tested are aliases
75904         for other functions.  Fix typo.  Note that signs of NaNs are not
75905         tested.
75907         * scripts/config.guess: Update from config.git.
75908         * scripts/config.sub: Likewise.
75910 2012-10-04  Roland McGrath  <roland@hack.frob.com>
75912         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
75913         * misc/madvise.c (madvise): Renamed to __madvise.
75914         Make madvise a weak alias.
75915         * include/sys/mman.h: Declare __madvise.
75916         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
75917         * sysdeps/unix/syscalls.list
75918         (madvise): Make __madvise the strong name, and madvise a weak alias.
75919         * sysdeps/unix/sysv/linux/syscalls.list
75920         (madvise, mmap): Remove redundant entries.
75921         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
75922         * malloc/malloc.c (mtrim): Likewise.
75923         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
75925 2012-10-03  Roland McGrath  <roland@hack.frob.com>
75927         * sysdeps/mach/hurd/dl-cache.c: File removed.
75928         * config.h.in (USE_LDCONFIG): New #undef.
75929         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
75930         * configure: Regenerated.
75931         * elf/Makefile (dl-routines): Add dl-cache only under
75932         [$(use-ldconfig) = yes].
75933         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
75934         cache on [USE_LDCONFIG].
75935         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
75936         [USE_LDCONFIG].
75937         * elf/rtld.c (dl_main): Likewise.
75939 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
75941         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
75942         _SC_LEVEL4_CACHE_LINESIZE.
75944 2012-10-03  Roland McGrath  <roland@hack.frob.com>
75946         * sysdeps/unix/bsd/confstr.h: File removed.
75948 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
75950         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
75951         sys/sdt-config.h.
75953 2012-10-02  Roland McGrath  <roland@hack.frob.com>
75955         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
75956         Make 'mapoff' field ElfW(Off) rather than off_t.
75958 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
75960         * nscd/Makefile: Remove nscd-cflags and all its users.
75961         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
75962         (CFLAGS-nonlib): Add compiler flags for nscd modules.
75964         [BZ #10631]
75965         * malloc.c (malloc_printerr): Clarify error message.
75967 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
75969         [BZ #14648]
75970         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75971         Set bit_FMA_Usable if FMA is supported.
75972         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
75973         macro.
75974         (bit_FMA4_Usable): Updated.
75975         (index_FMA_Usable): New macro.
75976         (CPUID_FMA): Likewise.
75977         (HAS_FMA): Defined with bit_FMA_Usable.
75979 2012-10-01  Roland McGrath  <roland@hack.frob.com>
75981         * bits/types.h (__swblk_t): Type removed.
75982         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
75983         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
75984         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75985         (__SWBLK_T_TYPE): Likewise.
75986         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75987         (__SWBLK_T_TYPE): Likewise.
75988         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75989         (__SWBLK_T_TYPE): Likewise.
75990         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75991         (__SWBLK_T_TYPE): Likewise.
75993 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
75994             Honza Horak <hhorak@redhat.com>
75996         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
75997         (xdr_mapname): Use YPMAXMAP as maxsize.
75998         (xdr_peername): Use YPMAXPEER as maxsize.
75999         (xdr_keydat): Use YPAXRECORD as maxsize.
76000         (xdr_valdat): Use YPMAXRECORD as maxsize.
76002 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76004         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76006         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76007         * csu/init-first.c: ... here.
76008         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76009         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76010         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76011         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76012         * sysdeps/i386/init-first.c: File removed.
76013         * sysdeps/sh/init-first.c: File removed.
76015 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
76017         [BZ #14645]
76018         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76019         if x * y might underflow to zero and z is zero.
76020         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76021         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76022         * math/libm-test.inc (min_subnorm_value): New variable.
76023         (fma_test): Add more tests.
76024         (fma_test_towardzero): Likewise.
76025         (fma_test_downward): Likewise.
76026         (fma_test_upward): Likewise.
76027         (initialize): Set min_subnorm_value.
76029 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
76031         [BZ #14638]
76032         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76033         0 + 0.
76034         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76035         mode for addition resulting in exact zero.
76036         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76037         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76038         exact 0 + 0.
76039         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76040         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76041         * math/libm-test.inc (fma_test): Add more tests.
76042         (fma_test_towardzero): New function.
76043         (fma_test_downward): Likewise.
76044         (fma_test_upward): Likewise.
76045         (main): Call the new functions.
76047 2012-09-28  David S. Miller  <davem@davemloft.net>
76049         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76051 2012-09-28  Roland McGrath  <roland@hack.frob.com>
76053         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76054         instead of SIGALRM.
76056         * sysdeps/gnu/_G_config.h: Moved to ...
76057         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76058         * sysdeps/mach/hurd/_G_config.h: Moved to ...
76059         * sysdeps/generic/_G_config.h: ... here.
76061         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
76063         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76065         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76066         Conditionalize target on [libnss_test1.so-version].
76068         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76070         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76071         (elfobjdir): Move out of conditionals.
76073         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76074         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76075         (__nss_lookup_function): Conditionalize label remove_from_tree on
76076         [!DO_STATIC_NSS || SHARED], matching its only use.
76078 2012-09-28  David S. Miller  <davem@davemloft.net>
76080         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76081         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76082         file.
76083         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76084         sysdep_routines.
76085         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76086         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76087         when HWCAP_SPARC_CRYPTO is present.
76089 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76091         * io/tst-mknodat.c: Create a FIFO instead of a socket.
76093 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
76095         [BZ #6530]
76096         * stdio-common/vfprintf.c (process_string_arg): Revert
76097         2000-07-22 change.
76099 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
76101         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
76102         for testcase.
76103         * stdio-common/tst-sprintf.c: Include <locale.h>
76104         (main): Test sprintf's handling of incomplete multibyte
76105         characters.
76107 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
76109         * elf/dl-runtime.c (VERSYMIDX): Removed.
76110         * elf/dl-version.c (VERSYMIDX): Likewise.
76111         * elf/do-rel.h (VERSYMIDX): Likewise.
76112         (VALIDX): Likewise.
76113         * elf/dynamic-link.h (VERSYMIDX): Likewise.
76114         * elf/rtld.c (VALIDX): Likewise.
76115         (ADDRIDX): Likewise.
76116         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
76117         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
76118         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
76119         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
76120         (VALIDX): Likewise.
76121         (ADDRIDX): Likewise.
76123 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76125         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
76127 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
76129         [BZ #11438]
76130         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
76131         to global scope.
76132         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
76133         addresses are in the same scope as 192.0.2/24.
76134         * posix/gai.conf: Document new scope table defaults.
76136 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76138         [BZ #5298]
76139         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
76140         for ftell.  Compute offsets from write pointers instead.
76141         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76143 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76145         [BZ #14543]
76146         * libio/Makefile (tests): New test case tst-fseek.
76147         * libio/tst-fseek.c: New test case to verify that fseek/ftell
76148         combination works in wide mode.
76149         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
76150         state when the external buffer state changes.
76152 2012-09-27  David S. Miller  <davem@davemloft.net>
76154         [BZ #14376]
76155         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
76156         pass reloc->r_addend in as the 'high' argument to
76157         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
76159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76161 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76163         * rt/tst-aio2.c: Include <pthread.h>.
76164         * rt/tst-aio3.c: Likewise.
76166 2012-09-27  Steve Ellcey  <sellcey@mips.com>
76168         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
76170 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
76172         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
76173         contents on [SHARED].
76175 2012-09-26  Marek Polacek  <polacek@redhat.com>
76177         [BZ #14530]
76178         [BZ #13741]
76179         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
76180         for C++ and GCC <4.3 as well as for non GCC compilers.
76182 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
76184         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76186 2012-09-25  Roland McGrath  <roland@hack.frob.com>
76188         * Makefile.in (all, install): Declare with .PHONY.
76189         Reported by Michael Hope <michael.hope@linaro.org>.
76191 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76193         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
76194         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
76195         system header.
76196         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
76197         Likewise.
76198         (sydep_routines): Add the new and the internal functions.
76199         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
76200         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
76201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
76202         (GLIBC_2.17): Add the new function.
76203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76204         (GLIBC_2.17): Likewise.
76205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
76206         (GLIBC_2.17): Likewise.
76207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
76208         (GLIBC_2.17): Likewise.
76209         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
76211 2012-09-25  Alan Modra  <amodra@gmail.com>
76213         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
76214         Add release barrier before setting once_control to say
76215         initialisation is done.  Add hints on lwarx.  Use macro in
76216         place of isync.
76217         (clear_once_control): Add release barrier.
76219 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
76221         [BZ #13629]
76222         * math/s_clog.c (__clog): Handle more values close to |z| = 1
76223         specially.
76224         * math/s_clog10.c (__clog10): Likewise.
76225         * math/s_clog10f.c (__clog10f): Likewise.
76226         * math/s_clog10l.c (__clog10l): Likewise.
76227         * math/s_clogf.c (__clogf): Likewise.
76228         * math/s_clogl.c (__clogl): Likewise.
76229         * math/Makefile (libm-calls): Add x2y2m1.
76230         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
76231         (__x2y2m1): Likewise.
76232         (__x2y2m1l): Likewise.
76233         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
76234         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
76235         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
76236         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
76237         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
76238         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
76239         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
76240         * sysdeps/i386/fpu/libm-test-ulps: Update.
76241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76243         [BZ #14621]
76244         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
76245         int as type of variable DEPTH.
76246         (glob): Use size_t instead of int as type of variables NEWCOUNT
76247         and OLD_PATHC.
76249 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76251         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76252         Add s_sincosf-sse2.
76253         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
76254         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
76255         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
76256         macros for using routine as __sincosf_ia32.
76257         Use macro for function declaration and weak_alias.
76258         * sysdeps/i386/fpu/libm-test-ulps: Update.
76260         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
76261         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76263         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
76264         subnormal argument.
76265         * math/s_cexpf.c (__cexpf): Likewise.
76266         * math/s_csinf.c (__csinf): Likewise.
76267         * math/s_csinhf.c (__csinhf): Likewise.
76268         * math/s_ctanf.c (__ctanf): Likewise.
76269         * math/s_ctanhf.c (__ctanhf): Likewise.
76270         * math/s_ccosh.c (__ccoshf): Likewise.
76271         * math/s_cexp.c (__cexpl): Likewise.
76272         * math/s_csin.c (__csin): Likewise.
76273         * math/s_csinh.c (__csinh): Likewise.
76274         * math/s_ctan.c (__ctan): Likewise.
76275         * math/s_ctanh.c (ctanh): Likewise.
76276         * math/s_ccoshl.c (__ccoshl): Likewise.
76277         * math/s_cexpl.c (__cexpl): Likewise.
76278         * math/s_csinl.c (__csinl): Likewise.
76279         * math/s_csinhl.c (__csinhl): Likewise.
76280         * math/s_ctanl.c (__ctanl): Likewise.
76281         * math/s_ctanhl.c (__ctanhl): Likewise.
76283 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
76285         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
76286         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
76287         (_IO_off_t): Define to __off_t, not _G_off_t.
76288         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
76289         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
76290         (_IO_wint_t): Define to wint_t, not _G_wint_t.
76291         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
76292         type of __dummy and __dummy2 fields.
76293         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
76294         (_G_ssize_t): Likewise.
76295         (_G_off_t): Likewise.
76296         (_G_pid_t): Likewise.
76297         (_G_uid_t): Likewise.
76298         (_G_wchar_t): Likewise.
76299         (_G_wint_t): Likewise.
76300         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
76301         (_G_ssize_t): Likewise.
76302         (_G_off_t): Likewise.
76303         (_G_pid_t): Likewise.
76304         (_G_uid_t): Likewise.
76305         (_G_wchar_t): Likewise.
76306         (_G_wint_t): Likewise.
76307         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
76308         (_G_ssize_t): Likewise.
76309         (_G_off_t): Likewise.
76310         (_G_pid_t): Likewise.
76311         (_G_uid_t): Likewise.
76312         (_G_wchar_t): Likewise.
76313         (_G_wint_t): Likewise.
76315 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
76317         * malloc/arena.c: Include malloc-sysdep.h.
76318         (shrink_heap): Use check_may_shrink_heap to decide if madvise
76319         is sufficient to shrink the heap or an unmap is needed.
76320         * sysdeps/generic/malloc-sysdep.h: New file.  Define
76321         new function check_may_shrink_heap.
76322         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
76323         new function check_may_shrink_heap.
76325 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
76327         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
76328         comments.
76330 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
76332         * catgets/test-gencat.sh: Add "set -e".
76333         * elf/tst-pathopt.sh: Likewise.
76334         * grp/tst_fgetgrent.sh: Likewise.
76335         * iconvdata/run-iconv-test.sh: Likewise.
76336         * intl/tst-gettext.sh: Likewise.
76337         * intl/tst-gettext2.sh: Likewise.
76338         * intl/tst-gettext4.sh: Likewise.
76339         * intl/tst-gettext6.sh: Likewise.
76340         * intl/tst-translit.sh: Likewise.
76341         * io/ftwtest-sh: Likewise.
76342         * libio/test-freopen.sh: Likewise.
76343         * malloc/tst-mtrace.sh: Likewise.
76344         * posix/globtest.sh: Likewise.
76345         * posix/tst-getconf.sh: Likewise.
76346         * posix/wordexp-tst.sh: Likewise.
76347         * stdio-common/tst-printf.sh: Likewise.
76348         * stdio-common/tst-unbputc.sh: Likewise.
76349         * stdlib/tst-fmtmsg.sh: Likewise.
76350         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76351         * catgets/Makefile: Do not specify -e option when running
76352         testsuite shell scripts.
76353         * elf/Makefile: Likewise.
76354         * grp/Makefile: Likewise.
76355         * iconvdata/Makefile: Likewise.
76356         * intl/Makefile: Likewise.
76357         * io/Makefile: Likewise.
76358         * libio/Makefile: Likewise.
76359         * malloc/Makefile: Likewise.
76360         * posix/Makefile: Likewise.
76361         * stdio-common/Makefile: Likewise.
76362         * stdlib/Makefile: Likewise.
76363         * sysdeps/x86_64/Makefile: Likewise.
76365         * io/ftwtest-sh: Add copyright header.
76366         * posix/globtest.sh: Likewise.
76367         * posix/tst-getconf.sh: Likewise.
76368         * posix/wordexp-tst.sh: Likewise.
76369         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76371 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
76373         [BZ #13679]
76374         * Makeconfig (+link): Defined as $(+link-static) if
76375         $(build-shared) isn't yes.
76376         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
76377         isn't yes.
76378         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
76380         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
76382         [BZ #14562]
76383         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
76384         new chunk size with MALLOC_ALIGN_MASK.
76386 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
76388         [BZ #5044]
76389         * stdio-common/printf_fphex.c: Include <stdbool.h> and
76390         <rounding-mode.h>.
76391         (__printf_fphex): Determine rounding using get_rounding_mode and
76392         round_away.
76393         * stdio-common/tst-printf-round.c (struct hex_test): New
76394         structure.
76395         (hex_tests): New variable.
76396         (test_hex_in_one_mode): New function.
76397         (do_test): Also run tests for hex float output.
76399 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
76401         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76402         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76403         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
76404         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76405         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76406         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
76407         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76408         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76410 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
76412         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
76413         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
76414         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
76415         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
76417 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
76419         [BZ #14579]
76420         * elf/rtld.c (dl_main): Limit the check for self loading to normal
76421         mode only.
76422         * elf/tst-rtld-load-self.sh: New test.
76423         * elf/Makefile: Run it.
76425 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
76427         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
76428         (tst-writev-ENV): Remove.
76429         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
76431 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
76433         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
76435 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
76437         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
76438         unconditional.
76439         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
76440         Likewise.
76441         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
76442         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
76443         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
76444         Likewise.
76446 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
76448         [BZ #14587]
76449         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
76450         * config.make.in (have-cpp-asm-debuginfo): Removed.
76451         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
76452         * configure: Regenerated.
76454 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
76456         [BZ #5044]
76457         * stdio-common/printf_fp.c: Include <stdbool.h> and
76458         <rounding-mode.h>.
76459         (___printf_fp): Determine rounding using get_rounding_mode and
76460         round_away.
76461         * stdio-common/tst-printf-round.c: New file.
76462         * stdio-common/Makefile (tests): Add tst-printf-round.
76463         (link-libm): New variable.
76464         ($(objpfx)tst-printf-round): Depend in $(link-libm).
76466 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
76468         [BZ #14576]
76469         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
76470         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
76471         Likewise.
76472         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
76473         Likewise.
76475 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
76477         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
76478         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76479         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76480         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76482 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
76484         [BZ #14518]
76485         * include/rounding-mode.h: New file.
76486         * sysdeps/generic/get-rounding-mode.h: Likewise.
76487         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
76488         * stdlib/strtod_l.c: Include <rounding-mode.h>.
76489         (MAX_VALUE): New macro.
76490         (MIN_VALUE): Likewise.
76491         (overflow_value): New function.
76492         (underflow_value): Likewise.
76493         (round_and_return): Use overflow_value and underflow_value to
76494         determine return values in overflow and underflow cases.  Use
76495         round_away to determine rounding depending on rounding mode.
76496         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
76497         determine return values in overflow and underflow cases.
76498         * stdlib/tst-strtod-round.c: Include <fenv.h>.
76499         (struct test_results): New structure.
76500         (struct test): Use struct test_results to store expected results
76501         for all rounding modes.
76502         (TEST): Include expected results for all rounding modes.
76503         (test_in_one_mode): New function.
76504         (do_test): Use test_in_one_mode to compute and check results.
76505         Check results for all rounding modes.
76506         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
76507         $(link-libm).
76509 2012-12-09  Allan McRae  <allan@archlinux.org>
76511         * sysdeps/i386/fpu/libm-test-ulps: Update
76513 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
76515         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
76516         (_G_int32_t): Likewise.
76517         (_G_uint16_t): Likewise.
76518         (_G_uint32_t): Likewise.
76519         (_G_HAVE_BOOL): Likewise.
76520         (_G_HAVE_ATEXIT): Likewise.
76521         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76522         (_G_HAVE_IO_FILE_OPEN): Likewise.
76523         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
76524         (_G_int32_t): Likewise.
76525         (_G_uint16_t): Likewise.
76526         (_G_uint32_t): Likewise.
76527         (_G_HAVE_BOOL): Likewise.
76528         (_G_HAVE_ATEXIT): Likewise.
76529         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76530         (_G_HAVE_IO_FILE_OPEN): Likewise.
76531         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
76532         (_G_int32_t): Likewise.
76533         (_G_uint16_t): Likewise.
76534         (_G_uint32_t): Likewise.
76535         (_G_HAVE_BOOL): Likewise.
76536         (_G_HAVE_ATEXIT): Likewise.
76537         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76538         (_G_HAVE_IO_FILE_OPEN): Likewise.
76540 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
76542         * csu/libc-tls.c: Update copyright years.
76544 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
76546         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
76547         [!_G_USING_THUNKS]: Remove conditional code.
76548         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
76549         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
76551         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
76552         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
76553         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76554         (_G_VTABLE_LABEL_PREFIX): Likewise.
76555         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76556         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76557         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76558         (_G_VTABLE_LABEL_PREFIX): Likewise.
76559         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
76560         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76561         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76562         (_G_VTABLE_LABEL_PREFIX): Likewise.
76563         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
76565 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
76567         * libio/Makefile: Include ../Makeconfig before tests.
76568         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
76569         only if $(build-shared) is yes.
76571         * iconv/gconv_db.c: Update copyright years.
76573 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76575         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
76576         unwind info if defined PIC. Fix special cases description.
76577         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
76579         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
76580         DP_HI_MASK entry.
76581         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
76583 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
76585         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
76587         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
76588         is NULL.
76590         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
76591         (LDLIBS-tst-chk4): This.
76592         (LDFLAGS-tst-chk5): Renamed to ...
76593         (LDLIBS-tst-chk5): This.
76594         (LDFLAGS-tst-chk6): Renamed to ...
76595         (LDLIBS-tst-chk6): This.
76596         (LDFLAGS-tst-lfschk4): Renamed to ...
76597         (LDLIBS-tst-lfschk4): This.
76598         (LDFLAGS-tst-lfschk5): Renamed to ...
76599         (LDLIBS-tst-lfschk5): This.
76600         (LDFLAGS-tst-lfschk6): Renamed to ...
76601         (LDLIBS-tst-lfschk6): This.
76603         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
76604         on $(common-objpfx)soversions.mk.
76606 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
76608         [BZ #10014]
76609         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
76610         example host name.
76612 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
76614         * malloc/arena.c (arena_get_retry): New function that gets
76615         another arena for the caller to try its request on.
76616         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
76617         current arena cannot fulfill the request.
76618         (__libc_memalign): Likewise.
76619         (__libc_memalign): Likewise.
76620         (__libc_pvalloc): Likewise.
76621         (__libc_calloc): Likewise.
76623 2012-09-05  John Tobey  <john.tobey@gmail.com>
76625         [BZ #13542]
76626         * manual/arith.texi (Operations on Complex): Fix description
76627         of carg branch cut.
76629 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
76631         [BZ #10014]
76632         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
76633         host name.
76635         [BZ #10038]
76636         * manual/memory.texi (Memory): Make order of menu items match
76637         order of sections.
76639 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
76641         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
76642         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
76643         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
76645 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
76647         * csu/libc-tls.c (static_dtv): Renamed to ...
76648         (_dl_static_dtv): This.  Make it global.
76649         (_dl_initial_dtv): Removed.
76650         (__libc_setup_tls): Updated.
76651         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
76652         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
76653         DL_INITIAL_DTV.
76655 2012-09-06  Petr Machata  <pmachata@redhat.com>
76657         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
76658         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
76659         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
76660         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
76662 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
76664         [BZ #14545]
76665         * csu/libc-tls.c (_dl_initial_dtv): New variable.
76666         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
76667         freeing dtv[-1].
76669 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
76671         [BZ #14544]
76672         * Makeconfig (link-static-before-libc): Replace $(+prector)
76673         with $(+prectorT).
76674         (link-static-after-libc): Replace $(+postctor) with
76675         $(+postctorT).
76676         (link-bounded): Replace $(+prector)/$(+postctor) with
76677         $(+prectorT)/$(+postctorT).
76678         (+prectorT): New macro.
76679         (+postctorT): Likewise.
76681 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
76683         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
76684         (round_str): Handle values above the maximum for IBM long double
76685         as inexact.
76686         * stdlib/tst-strtod-round.c (tests): Regenerated.
76688 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76690         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
76691         assembler flag.
76692         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
76693         zarch_nohighgprs around the zarch optimized routines.
76694         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
76695         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
76696         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
76697         for zarch.
76699 2012-09-05  David S. Miller  <davem@davemloft.net>
76701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76703         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
76704         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
76705         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
76706         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76707         entries.
76709 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
76711         * malloc/arena.c: Fold copyright years.
76712         * malloc/mcheck.c, malloc/memusage.c: Likewise.
76714 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
76716         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
76718 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
76720         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
76722 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
76724         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
76725         change internal state upon failure.
76727 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
76729         * malloc/mcheck.c (mcheck_check_all): Fix typo.
76730         * malloc/memusage.c (mmap): Likewise.
76731         (mmap64, mremap): Likewise.  Adjust name in comment.
76733 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
76735         * libio/fileops.c: Fix typos in comments.
76736         * libio/oldfileops.c: Likewise.
76737         * libio/wfileops.c: Likewise.
76739 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
76741         [BZ #1349]
76742         * malloc/Makefile (tests): Add tst-malloc-usable test case.
76743         (tst-malloc-usable-ENV): Set environment for test case.
76744         * malloc/hooks.c (malloc_check_get_size): New function to get
76745         requested size.
76746         * malloc/malloc.c (musable): Use malloc_check_get_size.
76747         * malloc/tst-malloc-usable.c: New test case.
76749 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76751         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
76753 2012-09-05  Allan McRae  <allan@archlinux.org>
76755         [BZ #13966]
76756         * configure.in (CXX_SYSINCLUDES): Use compiler output to
76757         determine header location.
76758         * configure: Regenerated.
76760 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76762         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
76763         float format.
76764         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
76765         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
76766         format.
76767         (test): Regenerate.
76769 2012-09-04  David S. Miller  <davem@davemloft.net>
76771         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
76772         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
76773         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
76775 2012-09-04  Florian Weimer  <fweimer@redhat.com>
76777         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
76778         failures.
76780         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
76782 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
76784         [BZ #9914]
76785         * libio/iogetdelim.c: Include <limits.h>.
76786         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
76787         + len + 1 would overflow.
76789 2012-09-03  Andreas Jaeger  <aj@suse.de>
76791         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76792         * sysdeps/i386/fpu/libm-test-ulps: Update.
76794 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76796         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76797         Add s_sinf-sse2, s_conf-sse2.
76799         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
76800         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
76801         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
76802         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
76804         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
76805         for using routine as __sinf_ia32.
76806         Use macro for function declaration and weak_alias.
76807         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
76808         for using routine as __cosf_ia32.
76809         Use macro for function declaration and weak_alias.
76811         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
76812         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
76814         * sysdeps/x86_64/fpu/s_sinf.S: New file.
76815         * sysdeps/x86_64/fpu/s_cosf.S: New file.
76816         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76818         * math/libm-test.inc (cos_test): Add more test cases.
76819         (sin_test): Likewise.
76820         (sincos_test): Likewise.
76822 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76824         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
76825         (IFUNC_RESOLVE): Make pointers to the specialized implementations
76826         hidden.
76827         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
76829 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
76831         [BZ #14538]
76832         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
76833         first element of the GOT.
76834         (elf_machine_load_address): Return the difference between
76835         the runtime address of _DYNAMIC and elf_machine_dynamic ().
76837 2012-09-01  Allan McRae  <allan@archlinux.org>
76839         [BZ #13412]
76840         * configure.in (AWK): Require gawk version 3.0 or later.
76841         * configure: Regenerated.
76843 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
76845         * sysdeps/unix/sysv/linux/kernel-features.h
76846         (__ASSUME_POSIX_CPU_TIMERS): Remove.
76847         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
76848         [__NR_clock_getres]: Make code unconditional.
76849         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
76850         (clock_getcpuclockid): Remove code left unreachable by removal of
76851         conditionals.
76852         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
76853         code unconditional.
76854         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
76855         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76856         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
76857         Make code unconditional.
76858         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
76859         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76860         * sysdeps/unix/sysv/linux/clock_settime.c
76861         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
76862         conditional code.
76863         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
76864         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76866 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
76868         [BZ #14476]
76869         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
76870         scripts/test-installation.pl.
76872         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
76873         and $ld_so_version if it is set.
76875 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
76877         [BZ #14516]
76878         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
76879         failure if reading from procfs failed.
76880         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
76882 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
76884         * sysdeps/unix/sysv/linux/kernel-features.h
76885         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
76886         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76887         Remove conditional code.
76888         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76889         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
76890         Remove conditional code.
76891         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76892         * sysdeps/unix/sysv/linux/i386/fxstat.c
76893         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76894         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76895         * sysdeps/unix/sysv/linux/i386/fxstatat.c
76896         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76897         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76898         * sysdeps/unix/sysv/linux/i386/lxstat.c
76899         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76900         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76901         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
76902         Remove conditional code.
76903         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76904         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76905         Remove conditional code.
76906         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76907         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
76908         <kernel-features.h>.
76909         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
76910         Remove.
76911         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
76912         Remove conditional code.
76913         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76914         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
76915         Remove conditional.
76917 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
76919         [BZ #5400]
76920         * NEWS: Add fixed bug number.
76922 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
76924         [BZ #14519]
76925         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
76926         underflowing exponent in case of negative sign.
76927         * stdlib/tst-strtod-round-data: Add more tests.
76928         * stdlib/tst-strtod-round.c (tests): Regenerated.
76930         [BZ #3479]
76931         * stdlib/strtod_l.c (NDIG): Remove.
76932         (HEXNDIG): Likewise.
76933         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
76934         smallest representable value.
76935         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
76936         lie within an exact representation of 1/2 ulp of the result.
76937         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
76938         unconditionally.
76939         (TENS_P9_IDX): Define unconditionally.
76940         (TENS_P9_SIZE): Likewise.
76941         (TENS_P10_IDX): Likewise.
76942         (TENS_P10_SIZE): Likewise.
76943         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
76944         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
76945         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
76946         entries for 10^2^13 and 10^2^14.
76947         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
76948         (TENS_P13_IDX): Define.
76949         (TENS_P13_SIZE): Likewise.
76950         (TENS_P14_IDX): Likewise.
76951         (TENS_P14_SIZE): Likewise.
76952         (_fpioconst_pow10): Change array size to
76953         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
76954         unconditional.
76955         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
76956         1024]: Add entries for 10^2^13 and 10^2^14.
76957         [LAST_POW10 > _LAST_POW10]: Remove #error.
76958         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
76959         (_fpioconst_pow10): Change array size to
76960         FPIOCONST_POW10_ARRAY_SIZE.
76961         * stdlib/gen-fpioconst.c: New file.
76962         * stdlib/gen-tst-strtod-round.c: Likewise.
76963         * stdlib/tst-strtod-round-data: Likewise.
76964         * stdlib/tst-strtod-round.c: Likewise.
76965         * stdlib/Makefile (tests): Add tst-strtod-round.
76967         [BZ #14459]
76968         * stdlib/strtod_l.c: Include <stdint.h>.
76969         (NDEBUG): Do not define.
76970         (round_and_return): Change EXPONENT parameter to type intmax_t.
76971         Rearrange calculations to avoid internal overflow possibilities.
76972         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
76973         Rearrange calculations to avoid internal overflow possibilities.
76974         Assert that number fits inside MPNSIZE limbs.
76975         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
76976         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
76977         calculations and add assertions to avoid internal overflow
76978         possibilities.  Add casts to avoid signed/unsigned operations.
76979         * stdlib/tst-strtod-overflow.c: New file.
76980         * stdlib/Makefile (tests): Add tst-strtod-overflow.
76982 2012-08-25  Marek Polacek  <polacek@redhat.com>
76984         * time/time.h: Fix some typos in comments.
76986 2012-08-23  Roland McGrath  <roland@hack.frob.com>
76988         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
76989         * posix/tst-rfc3484-2.c: Likewise.
76990         * posix/tst-rfc3484-3.c: Likewise.
76992 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
76994         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
76995         (EF_ARM_ABI_FLOAT_HARD): Likewise.
76997 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
76999         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77000         #include of fxstatat64.c.
77002 2012-08-22  Roland McGrath  <roland@hack.frob.com>
77004         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77005         * shadow/getspent_r.c: Likewise.
77006         * shadow/getspnam.c: Likewise.
77007         * shadow/getspnam_r.c: Likewise.
77008         * gshadow/getsgent.c: Likewise.
77009         * gshadow/getsgent_r.c: Likewise.
77010         * gshadow/getsgnam.c: Likewise.
77011         * gshadow/getsgnam_r.c: Likewise.
77012         * inet/getnetbyad.c: Likewise.
77013         * inet/getnetbyad_r.c: Likewise.
77014         * inet/getnetbynm.c: Likewise.
77015         * inet/getnetbynm_r.c: Likewise.
77016         * inet/getnetent.c: Likewise.
77017         * inet/getnetent_r.c: Likewise.
77018         * inet/getproto.c: Likewise.
77019         * inet/getproto_r.c: Likewise.
77020         * inet/getprtent.c: Likewise.
77021         * inet/getprtent_r.c: Likewise.
77022         * inet/getprtname.c: Likewise.
77023         * inet/getprtname_r.c: Likewise.
77024         * inet/getrpcbyname.c: Likewise.
77025         * inet/getrpcbyname_r.c: Likewise.
77026         * inet/getrpcbynumber.c: Likewise.
77027         * inet/getrpcbynumber_r.c: Likewise.
77028         * inet/getrpcent.c: Likewise.
77029         * inet/getrpcent_r.c: Likewise.
77030         * inet/getaliasent.c: Likewise.
77031         * inet/getaliasent_r.c: Likewise.
77032         * inet/getaliasname.c: Likewise.
77033         * inet/getaliasname_r.c: Likewise.
77034         * nscd/getgrgid_r.c: Likewise.
77035         * nscd/getgrnam_r.c: Likewise.
77036         * nscd/gethstbyad_r.c: Likewise.
77037         * nscd/gethstbynm3_r.c: Likewise.
77038         * nscd/getpwnam_r.c: Likewise.
77039         * nscd/getpwuid_r.c: Likewise.
77040         * nscd/getsrvbynm_r.c: Likewise.
77041         * nscd/getsrvbypt_r.c: Likewise.
77042         * nscd/gai.c: Likewise.
77044         * configure.in (build_nscd): New substituted variable, set
77045         by --disable-build-nscd and defaults to $use_nscd.
77046         * configure: Regenerated.
77047         * config.make.in (build-nscd): New substituted variable.
77048         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77049         Change conditional to require [$(build-nscd) = yes] as well.
77050         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77052         [BZ #13696]
77053         * configure.in (use_nscd): New substituted variable, set by
77054         --disable-nscd.  If enabled, define USE_NSCD.
77055         * configure: Regenerated.
77056         * config.h.in: Add USE_NSCD.
77057         * config.make.in (use-nscd): New substituted variable.
77058         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77059         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77060         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77061         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77062         (CFLAGS-getgrnam_r.c): Likewise.
77063         (CFLAGS-initgroups.c): Likewise.
77064         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77065         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77066         Variables removed.
77067         * inet/getnetgrent_r.c
77068         (nscd_setnetgrent): New function, broken out of ...
77069         (setnetgrent): ... here.  Call it.
77070         (innetgr): Conditionalize nscd bits on [USE_NSCD].
77071         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77072         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77073         * nscd/Makefile (routines, aux): Move definitions after include of
77074         Makeconfig.  Conditionalize on [$(use-nscd) != no].
77075         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77076         Conditionalize on [USE_NSCD].
77077         (is_nscd, nscd_init_cb): Likewise.
77078         (nss_load_library): Conditionalize init callback on [USE_NSCD].
77079         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77080         * nss/nss_db/db-init.c: Likewise.
77081         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77082         [USE_NSCD].
77083         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77084         (make_request): Use it.
77085         (cache_valid_p): New function.
77086         (__check_pf): Use it.
77087         * NEWS: Add item for --disable-nscd.
77089 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
77091         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77092         to support sed >= 4.2.1-20-ga9bf076.
77093         * configure: Regenerated.
77095 2012-08-22  Roland McGrath  <roland@hack.frob.com>
77097         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77098         Conditionalize whole body on [IREL].
77100 2012-08-22  Jeff Law <law@redhat.com>
77102         [BZ #14505]
77103         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
77104         if the family is PF_UNSPEC.
77106 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
77108         * Makerules (lib-version): Rename from V.
77109         (install-lib-nosubdir): Change V to lib-version.
77111 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
77113         [BZ #14252]
77114         * powerpc32/power6/wcschr.c: New file.
77115         * powerpc32/power6/wcscpy.c: New file.
77116         * powerpc32/power6/wcsrchr.c: New file.
77117         * powerpc64/power6/wcschr.c: New file.
77118         * powerpc64/power6/wcscpy.c: New file.
77119         * powerpc64/power6/wcsrchr.c: New file.
77121 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
77123         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
77124         (two_way_short_needle): Use it.
77125         * string/strstr.c (AVAILABLE1_USES_J): Define.
77126         * string/strcasestr.c: Likewise.
77128         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
77129         array references.
77130         * string/strcasestr.c (TOLOWER): Make side-effect safe.
77132         [BZ #11607]
77133         * NEWS: Add an entry.
77134         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
77135         define their defaults.
77136         (two_way_short_needle): Detect end-of-string on-the-fly.
77137         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
77138         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
77139         * string/bug-strcasestr1.c: New test.
77140         * string/Makefile: Run it.
77142 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
77144         [BZ #11607]
77145         * string/str-two-way.h (two_way_short_needle): Optimize matching of
77146         the first character.
77148 2012-08-21  Roland McGrath  <roland@hack.frob.com>
77150         * csu/elf-init.c (__libc_csu_irel): Function removed.
77151         * csu/libc-start.c (apply_irel): New function.
77152         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
77154 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
77156         * sysdeps/unix/sysv/linux/kernel-features.h
77157         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
77158         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
77159         <kernel-features.h>.
77160         [__NR_fadvise64_64]: Make code unconditional.
77161         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
77162         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77163         !__NR_fadvise64_64)]: Likewise.
77164         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77165         !__NR_fadvise64_64))]: Likewise.
77166         [__NR_fadvise64]: Make code unconditional.
77167         [!__NR_fadvise64]: Remove conditional code.
77168         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
77169         <kernel-features.h>.
77170         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77171         unconditional.
77172         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77173         conditional code.
77174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
77175         not include <kernel-features.h>.
77176         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77177         unconditional.
77178         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77179         conditional code.
77180         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
77181         include <kernel-features.h>.
77182         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77183         unconditional.
77184         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77185         conditional code.
77187 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
77189         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
77190         slight instruction rearrangements per scrollpipe analysis.
77191         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
77193 2012-08-20  Roland McGrath  <roland@hack.frob.com>
77195         * manual/syslog.texi (syslog; vsyslog, closelog):
77196         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
77197         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
77199         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
77200         DSOCAPS to match condition on defining it.
77202 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
77204         * sysdeps/unix/sysv/linux/kernel-features.h
77205         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
77206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
77207         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77208         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
77210         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77211         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
77213         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77214         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77216         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
77217         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
77219         * sysdeps/unix/sysv/linux/kernel-features.h
77220         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
77221         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
77222         unconditional.
77223         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77224         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
77225         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77226         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77227         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
77228         Make code unconditional.
77229         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77230         (__mmap64) [!__NR_mmap2]: Likewise.
77231         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
77232         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77233         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77234         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
77235         [__NR_mmap2]: Make code unconditional.
77236         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77237         (__mmap64) [!__NR_mmap2]: Likewise.
77239 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77241         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
77243 2012-08-18  Andreas Jaeger  <aj@suse.de>
77245         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
77247 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
77249         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
77250         * include/unistd.h (__have_sock_cloexec): Likewise.
77251         (__have_pipe2): Likewise.
77252         (__have_dup3): Likewise.
77254 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
77256         [BZ #9685]
77257         * include/unistd.h (__have_pipe2): Change define into an extern int.
77258         (__have_dup3): Likewise.
77259         * socket/have_sock_cloexec.c: Include fcntl.h.
77260         (__have_pipe2): New variable.
77261         (__have_dup3): Likewise.
77263 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
77265         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
77267 2012-08-17  Marek Polacek  <polacek@redhat.com>
77269         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
77270         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
77272 2012-08-17  Roland McGrath  <roland@hack.frob.com>
77274         * configure.in: Add AC_SUBST for sysheaders.
77275         * configure: Regenerated.
77276         * config.make.in (sysheaders): New substituted variable.
77278         * sysdeps/unix/mkfifo.c: Moved ...
77279         * sysdeps/posix/mkfifo.c: ... here.
77280         * sysdeps/unix/mkfifoat.c: Moved ...
77281         * sysdeps/posix/mkfifoat.c: ... here.
77283         * sysdeps/unix/utime.c: Moved ...
77284         * sysdeps/posix/utime.c: ... here.
77286         * sysdeps/unix/time.c: Moved ...
77287         * sysdeps/posix/time.c: ... here.
77288         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
77289         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
77291         * sysdeps/unix/nice.c: Moved ...
77292         * sysdeps/posix/nice.c: ... here.
77294         * sysdeps/unix/alarm.c: Moved ...
77295         * sysdeps/posix/alarm.c: ... here.
77297         * intl/Makefile ($(codeset_mo)): Depend on the input file.
77299 2012-08-17  Jeff Law <law@redhat.com>
77301         * intl/Makefile (codeset_mo): New variable.
77302         ($(codeset_mo)): New target.
77303         (tst-codeset.out): Depend on that.  Remove explicit rule.
77304         (tst-gettext3.out, tst-gettext5.out): Likewise.
77305         (LOCPATH-ENV, tst-codeset-ENV): New variables.
77306         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
77307         * intl/tst-codeset.sh: Remove.
77308         * intl/tst-gettext3.sh: Likewise.
77309         * intl/tst-gettext5.sh: Likewise.
77311 2012-08-17  Roland McGrath  <roland@hack.frob.com>
77313         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
77314         * sysdeps/unix/syscalls.list: ... here.
77316         * sysdeps/posix/getaddrinfo.c
77317         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
77318         (gaiconf_init, gaiconf_reload): Use them.
77319         [!_STATBUF_ST_NSEC]
77320         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
77321         Define using time_t rather than struct timespec.
77323         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
77324         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
77325         Macros removed.
77326         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
77327         [!NO_THREADS].
77328         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
77329         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
77330         Likewise.
77332         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
77333         __libc_cleanup_push argument.
77335         * bits/param.h: New file.
77336         * misc/sys/param.h: New file.
77337         * include/sys/param.h: New file.
77338         * misc/Makefile (headers): Add bits/param.h.
77339         * sysdeps/generic/sys/param.h: File removed.
77340         * sysdeps/unix/sysv/linux/bits/param.h: New file.
77341         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
77342         * sysdeps/mach/hurd/bits/param.h: New file.
77343         * sysdeps/mach/hurd/sys/param.h: File removed.
77345         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
77346         last change.
77348         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
77349         [_IO_MTSAFE_IO].
77350         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
77351         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
77352         New macros.
77354         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
77355         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
77356         rather than -D_IO_MTSAFE_IO conditionally.
77357         * stdio-common/Makefile (CPPFLAGS): Likewise.
77358         * wcsmbs/Makefile (CPPFLAGS): Likewise.
77359         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
77360         Use $(libio-mtsafe).
77361         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
77362         of -D_IO_MTSAFE_IO.
77363         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
77364         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
77365         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
77366         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
77367         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
77368         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
77369         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
77370         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
77371         (CFLAGS-fread_u_chk.c): Likewise.
77372         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
77373         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
77374         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
77375         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
77376         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
77377         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
77378         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
77379         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
77380         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
77382         * libio/Makefile: Test [$(libc-reentrant) = yes]
77383         instead of [$(filter %REENTRANT, $(defines)) nonempty].
77385         * Makeconfig
77386         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
77387         * sysdeps/pthread/configure: File removed.
77388         * sysdeps/pthread/Makeconfig: New file.
77389         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
77390         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
77392 2012-08-16  Gary Benson  <gbenson@redhat.com>
77394         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
77395         unmapping the first object in a namespace.
77397 2012-08-16  Roland McGrath  <roland@hack.frob.com>
77399         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
77400         (__internal_setnetgrent): ... this.  Add internal_function to
77401         definition.  Add libc_hidden_def.
77402         (setnetgrent): Update caller.
77403         (internal_endnetgrent): Renamed to ...
77404         (__internal_endnetgrent): ... this.  Add internal_function to
77405         definition.  Add libc_hidden_def.
77406         (endnetgrent): Update caller.
77407         (internal_getnetgrent_r): Renamed to ...
77408         (__internal_getnetgrent_r): ... this.  Add internal_function to
77409         definition.  Add libc_hidden_def.
77410         (__getnetgrent_r): Update caller.
77411         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
77413 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
77415         * stdlib/longlong.h: Update from GCC.
77417 2012-08-16  Roland McGrath  <roland@hack.frob.com>
77419         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
77420         on _QL, which is set by umul_ppmm but never used.
77421         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
77422         variables, which are set by GMP macros but never used.
77423         * stdio-common/_itowa.c (_itowa): Likewise.
77424         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
77425         * stdlib/mod_1.c (mpn_mod_1): Likewise.
77427 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
77429         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
77430         struct La_sh_regs is not constant.
77431         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
77432         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
77433         and struct La_sparc64_regs are not constant.
77435 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
77437         * sysdeps/unix/sysv/linux/kernel-features.h
77438         (__ASSUME_POSIX_TIMERS): Remove.
77439         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77440         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77441         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
77442         Make code unconditional.
77443         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77444         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
77445         Make code unconditional.
77446         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77447         * sysdeps/unix/sysv/linux/clock_nanosleep.c
77448         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
77449         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77450         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
77451         Make code unconditional.
77452         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77453         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
77454         (__libc_missing_posix_timers): Remove.
77456 2012-08-15  Roland McGrath  <roland@hack.frob.com>
77458         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
77459         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
77461         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
77463         * elf/dl-sym.c: Include <stdlib.h>.
77465         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
77466         constants, which avoids warnings in 32-bit builds.
77468         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
77469         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
77471         * misc/lseek.c: File moved to ...
77472         * io/lseek.c: ... here.
77474         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
77476         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
77477         shifting LEN more than 31 bits at once.
77479 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77481         [BZ #14195]
77482         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
77483         segmentation fault for a case of two empty input strings.
77484         * string/test-strncasecmp.c (check1): Renamed to...
77485         (bz12205): ...this.
77486         (bz14195): Add new testcase for two empty input strings and N > 0.
77487         (test_main): Call new testcase, adapt for renamed function.
77489 2012-08-15  Andreas Jaeger  <aj@suse.de>
77491         [BZ #14090]
77492         * crypt/md5test2.c: New test, based on test supplied by Serge
77493         Belyshev <belyshev@depni.sinp.msu.ru>.
77494         * crypt/Makefile (xtests): Add md5test-giant..
77495         * crypt/Makefile ($(objpfx)md5test-giant): Add.
77497 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
77499         [BZ #14090]
77500         * crypt/md5.c (md5_process_block): Don't assume the buffer
77501         length is less than 2**32.
77502         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
77503         length is less than 2**64.
77505 2012-08-15  Roland McGrath  <roland@hack.frob.com>
77507         * string/str-two-way.h: Include <sys/param.h>.
77508         (MAX): Macro removed.
77510         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
77511         Move #define and #undef of memmove to just before and after
77512         including <string.h>.
77514         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
77515         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
77516         and after including <string.h>.  Move declarations of
77517         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
77518         to before #include "string/memmove.c".
77520         * include/dirent.h: Declare __getdirentries.
77522         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
77523         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
77525 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
77527         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
77528         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
77529         * sysdeps/i386/configure: Regenerated.
77530         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
77531         STABS_CURRENT_FILE, and STABS_FUN.
77532         (END): Remove call to STABS_FUN_END.
77533         (STABS_CURRENT_FILE1): Delete.
77534         (STABS_CURRENT_FILE): Likewise.
77535         (STABS_FUN): Likewise.
77536         (STABS_FUN_END): Likewise.
77537         (STABS_FUN2): Likewise.
77538         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
77539         * sysdeps/x86_64/configure: Regenerated.
77541 2012-08-14  Roland McGrath  <roland@hack.frob.com>
77543         * elf/dl-open.c: Include <atomic.h>.
77544         * elf/dl-lookup.c: Likewise.
77546 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
77548         * sysdeps/unix/sysv/linux/kernel-features.h
77549         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
77550         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
77551         unconditionally.
77552         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
77553         unconditionally.
77554         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
77555         condition on __ASSUME_CLONE_THREAD_FLAGS.
77557 2012-08-14  Andreas Jaeger  <aj@suse.de>
77559         * sysdeps/i386/fpu/libm-test-ulps: Update.
77561 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
77563         * include/atomic.h (atomic_exchange_and_add): Split into ...
77564         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
77565         New atomic macros.
77567 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
77569         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77571 2012-08-13  Jeff Law <law@redhat.com>
77573         * manual/stdio.texi (snprintf): Clarify handling of the trailing
77574         null byte in the output string.
77576 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
77578         * sysdeps/unix/sysv/linux/kernel-features.h
77579         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
77580         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
77581         (__ASSUME_ARG_MAX_STACK_BASED): Define.
77582         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
77583         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
77584         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
77585         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
77587 2012-08-09  Jeff Law <law@redhat.com>
77589         [BZ #13939]
77590         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
77591         When avoid_arena is set, don't retry in the that arena.  Pick the
77592         next one, whatever it might be.
77593         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
77594         (arena_lock): Pass in new parameter to arena_get2.
77595         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
77596         arena_get2.
77597         (__libc_malloc): Unify retrying after main arena failure with
77598         __libc_memalign version.
77599         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
77601 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
77603         [BZ #14166]
77604         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
77605         to __redirect_strstr.
77606         (__strstr_sse42): Use typeof __redirect_strstr.
77607         (__strstr_ia32): Likewise.
77608         (__libc_strstr): New prototype.
77609         (strstr): Renamed to ...
77610         (__libc_strstr): This.
77611         (strstr): New strong alias of __libc_strstr.
77612         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
77613         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
77614         __redirect_time.
77615         Include <time.h>.
77616         (__libc_time): New prototype.
77617         (time_ifunc): Replace time with __libc_time.
77618         (time): New strong alias and hidden definition of __libc_time.
77619         (__GI_time): Remove strong alias.
77620         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
77621         Include <stddef.h>.
77622         (memmove): Redefined to __redirect_memmove.
77623         (__memmove_sse2): Use typeof __redirect_memmove.
77624         (__memmove_ssse3): Likewise.
77625         (__memmove_ssse3_back): Likewise.
77626         (__libc_memmove): New prototype.
77627         (memmove): Renamed to ...
77628         (__libc_memmove): This.
77629         (memmove): New strong alias of __libc_memmove.
77631 2012-08-08  Mark Salter  <msalter@redhat.com>
77633         * elf/elf.h
77634         (R_MN10300_TLS_GD): Define.
77635         (R_MN10300_TLS_LD): Likewise.
77636         (R_MN10300_TLS_LDO): Likewise.
77637         (R_MN10300_TLS_GOTIE): Likewise.
77638         (R_MN10300_TLS_IE): Likewise.
77639         (R_MN10300_TLS_LE): Likewise.
77640         (R_MN10300_TLS_DTPMOD): Likewise.
77641         (R_MN10300_TLS_DTPOFF): Likewise.
77642         (R_MN10300_TLS_TPOFF): Likewise.
77643         (R_MN10300_SYM_DIFF): Likewise.
77644         (R_MN10300_ALIGN): Likewise.
77645         (R_MN10300_NUM): Update.
77647 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
77649         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
77650         Remove.
77652 2012-08-08  Roland McGrath  <roland@hack.frob.com>
77654         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
77656         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
77657         sysdeps/unix -> sysdeps/posix move.
77658         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
77660 2012-08-07      Allan McRae     <allan@archlinux.org>
77662         [BZ #14303]
77663         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
77664         (SUNOS_CPP): Likewise.
77665         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
77666         not found.
77667         (open_input): Call CPP using execvp.
77669 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
77671         * sysdeps/unix/sysv/linux/kernel-features.h
77672         (__ASSUME_PROT_GROWSUPDOWN): Remove.
77673         (__ASSUME_NO_CLONE_DETACHED): Likewise.
77674         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
77675         (__ASSUME_WAITID_SYSCALL): Likewise.
77676         * sysdeps/unix/sysv/linux/dl-execstack.c
77677         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
77678         code unconditional.
77679         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
77680         conditional code.
77681         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
77682         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
77683         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
77684         code.
77685         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
77686         unconditional.
77687         [__ASSUME_WAITID_SYSCALL]: Likewise.
77688         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
77690 2012-08-07  Roland McGrath  <roland@hack.frob.com>
77692         * sysdeps/unix/closedir.c: Renamed to ...
77693         * sysdeps/posix/closedir.c: ... here.
77694         * sysdeps/unix/dirfd.c: Renamed to ...
77695         * sysdeps/posix/dirfd.c: ... here.
77696         * sysdeps/unix/dirstream.h: Renamed to ...
77697         * sysdeps/posix/dirstream.h: ... here.
77698         * sysdeps/unix/fdopendir.c: Renamed to ...
77699         * sysdeps/posix/fdopendir.c: ... here.
77700         * sysdeps/unix/opendir.c: Renamed to ...
77701         * sysdeps/posix/opendir.c: ... here.
77702         * sysdeps/unix/readdir.c: Renamed to ...
77703         * sysdeps/posix/readdir.c: ... here.
77704         * sysdeps/unix/readdir_r.c: Renamed to ...
77705         * sysdeps/posix/readdir_r.c: ... here.
77706         * sysdeps/unix/rewinddir.c: Renamed to ...
77707         * sysdeps/posix/rewinddir.c: ... here.
77708         * sysdeps/unix/seekdir.c: Renamed to ...
77709         * sysdeps/posix/seekdir.c: ... here.
77710         * sysdeps/unix/telldir.c: Renamed to ...
77711         * sysdeps/posix/telldir.c: ... here.
77712         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
77713         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
77714         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
77715         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
77717         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
77718         * bits/fcntl.h: ... here.
77720         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
77721         not 0.
77722         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
77723         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
77724         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
77725         (struct flock): Move l_start, l_len to the beginning.
77726         Use __pid_t for l_pid.
77727         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
77728         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
77729         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
77730         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
77731         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
77732         [__USE_LARGEFILE64] (struct flock64): New type.
77733         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
77735         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
77736         * bits/dirent.h: ... here.
77738         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
77739         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
77741 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
77743         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77744         Change from 2.6.0 to 2.6.16.
77745         * sysdeps/unix/sysv/linux/configure: Regenerated.
77746         * sysdeps/unix/sysv/linux/kernel-features.h
77747         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
77748         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
77749         version.
77750         (__ASSUME_UTIMES): Likewise.
77751         (__ASSUME_CLONE_STOPPED): Remove.
77752         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
77753         architectures, not kernel version.
77754         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
77755         (__ASSUME_NO_CLONE_DETACHED): Likewise.
77756         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
77757         (__ASSUME_WAITID_SYSCALL): Likewise.
77758         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
77759         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
77760         * README: State 2.6.16 as minimum Linux kernel version.  Do not
77761         refer to older versions.
77763 2012-08-06  Roland McGrath  <roland@hack.frob.com>
77765         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
77766         Define alphasort64 as an alias.
77767         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
77768         Define versionsort64 as an alias.
77769         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
77770         Define scandir64 as an alias.
77771         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
77772         Define scandirat64 as an alias.
77773         * dirent/alphasort64.c (alphasort64):
77774         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
77775         * dirent/versionsort64.c: Likewise.
77776         * dirent/scandir64.c: Likewise.
77777         * dirent/scandirat64.c: Likewise.
77778         * sysdeps/wordsize-64/alphasort.c: File removed.
77779         * sysdeps/wordsize-64/alphasort64.c: File removed.
77780         * sysdeps/wordsize-64/scandir.c: File removed.
77781         * sysdeps/wordsize-64/scandir64.c: File removed.
77782         * sysdeps/wordsize-64/scandirat.c: File removed.
77783         * sysdeps/wordsize-64/scandirat64.c: File removed.
77784         * sysdeps/wordsize-64/versionsort.c: File removed.
77785         * sysdeps/wordsize-64/versionsort64.c: File removed.
77786         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
77787         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
77788         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
77789         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
77790         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
77791         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
77792         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
77793         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
77795         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
77796         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
77797         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
77798         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77799         [defined __arch64__ || defined __sparcv9]
77800         (__INO_T_MATCHES_INO64_T): New macro.
77801         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
77802         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
77803         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
77804         * sysdeps/unix/sysv/linux/bits/dirent.h
77805         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
77806         (_DIRENT_MATCHES_DIRENT64): New macro.
77808         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
77809         Define lockf64 as an alias.
77810         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
77811         Define fseeko64 as an alias.
77812         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
77813         Define ftello64 as an alias.
77814         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
77815         Define _IO_fgetpos64 and fgetpos64 as aliases.
77816         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
77817         Define _IO_fsetpos64 and fsetpos64 as aliases.
77818         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
77819         Conditionalize body on this.
77820         * libio/fseeko64.c: Likewise.
77821         * libio/ftello64.c: Likewise.
77822         * libio/iofgetpos64.c: Likewise.
77823         * libio/iofsetpos64.c: Likewise.
77824         * sysdeps/wordsize-64/lockf.c: File removed.
77825         * sysdeps/wordsize-64/lockf64.c: File removed.
77826         * sysdeps/wordsize-64/fseeko.c: File removed.
77827         * sysdeps/wordsize-64/fseeko64.c: File removed.
77828         * sysdeps/wordsize-64/ftello.c: File removed.
77829         * sysdeps/wordsize-64/ftello64.c: File removed.
77830         * sysdeps/wordsize-64/iofgetpos.c: File removed.
77831         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
77832         * sysdeps/wordsize-64/iofsetpos.c: File removed.
77833         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
77834         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
77835         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
77836         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
77837         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
77838         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
77839         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
77840         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
77841         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
77842         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
77843         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
77845         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
77846         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
77847         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
77848         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77849         [defined __arch64__ || defined __sparcv9]
77850         (__OFF_T_MATCHES_OFF64_T): New macro.
77851         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
77852         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
77853         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77854         (__OFF_T_MATCHES_OFF64_T): New macro.
77856 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
77858         * stdlib/secure-getenv.c (__secure_getenv): Replace
77859         GLIBC_2_16 with GLIBC_2_17.
77861 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
77863         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
77864         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
77866 2012-08-03  David S. Miller  <davem@davemloft.net>
77868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77870 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
77872         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
77873         Remove.
77874         (__ASSUME_CORRECT_SI_PID): Likewise.
77875         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
77876         (__ASSUME_TMPFS_NAME): Likewise.
77877         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
77878         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
77879         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
77880         (HAVE_AUX_SECURE): Make definition unconditional.
77881         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
77882         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
77884 2012-08-03  Roland McGrath  <roland@hack.frob.com>
77886         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
77887         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
77888         * sysdeps/mach/hurd/eloop-threshold.h: New file.
77889         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
77890         __eloop_threshold instead of SYMLOOP_MAX.
77892         * sysdeps/generic/eloop-threshold.h: New file.
77893         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
77894         of MAXSYMLINKS.
77895         * elf/chroot_canon.c (chroot_canon): Likewise.
77897 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
77899         [BZ #13717]
77900         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77901         Change to 2.6.0 everywhere.
77902         * sysdeps/unix/sysv/linux/configure: Regenerated.
77903         * sysdeps/unix/sysv/linux/kernel-features.h
77904         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
77905         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
77906         kernel versions.
77907         (__ASSUME_POSIX_TIMERS): Define unconditionally.
77908         (__ASSUME_FUTEX_REQUEUE): Remove.
77909         (__ASSUME_STATFS64): Define unconditionally.
77910         (__ASSUME_AT_SECURE): Likewise.
77911         (__ASSUME_CORRECT_SI_PID): Likewise.
77912         (__ASSUME_TGKILL): Define without depending on kernel version for
77913         i386.
77914         (__ASSUME_UTIMES): Likewise.
77915         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
77916         kernel version.
77917         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
77918         (__ASSUME_TMPFS_NAME): Likewise.
77919         * README: Update reference to Linux kernel versions.
77921 2012-08-02  Marek Polacek  <polacek@redhat.com>
77923         [BZ #14150]
77924         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
77925         libc_cv_asm_type_prefix with %.
77926         * configure: Regenerated.
77927         * include/libc-symbols.h: Remove comment about
77928         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
77929         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
77930         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
77931         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
77932         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
77933         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
77934         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
77935         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
77936         * elf/tst-unique2mod1.c: Likewise.
77937         * elf/tst-unique1mod2.c: Likewise.
77938         * elf/tst-unique1mod1.c: Likewise.
77939         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
77940         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
77941         Replace ASM_TYPE_DIRECTIVE with .type.
77942         * sysdeps/s390/s390-64/sysdep.h: Likewise.
77943         * sysdeps/i386/sysdep.h: Likewise.
77944         * sysdeps/x86_64/sysdep.h: Likewise.
77945         * sysdeps/sh/sysdep.h: Likewise.
77946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77947         Do not define ASM_TYPE_DIRECTIVE.
77948         * sysdeps/powerpc/sysdep.h: Likewise.
77949         * sysdeps/powerpc/powerpc32/sysdep.h:
77950         Replace ASM_TYPE_DIRECTIVE with .type.
77951         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
77952         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
77953         * sysdeps/i386/fpu/e_powf.S: Likewise.
77954         * sysdeps/i386/fpu/e_expl.S: Likewise.
77955         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77956         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77957         * sysdeps/i386/fpu/e_pow.S: Likewise.
77958         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77959         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77960         * sysdeps/i386/fpu/s_expm1.S: Likewise.
77961         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77962         * sysdeps/i386/fpu/e_log2.S: Likewise.
77963         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77964         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77965         * sysdeps/i386/fpu/e_powl.S: Likewise.
77966         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77967         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77968         * sysdeps/i386/fpu/e_logl.S: Likewise.
77969         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77970         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77971         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77972         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77973         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77974         * sysdeps/i386/fpu/e_log.S: Likewise.
77975         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77976         * sysdeps/i386/fpu/e_logf.S: Likewise.
77977         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77978         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77979         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77980         * sysdeps/i386/fpu/e_log10.S: Likewise.
77981         * sysdeps/i386/fpu/s_frexp.S: Likewise.
77982         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77983         * sysdeps/i386/fpu/s_asinh.S: Likewise.
77984         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77985         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77986         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
77987         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77988         * sysdeps/i386/i686/strtok.S: Likewise.
77989         * sysdeps/i386/i386-mcount.S: Likewise.
77990         * sysdeps/i386/strtok.S: Likewise.
77991         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
77992         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77993         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77994         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77995         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
77996         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77997         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77998         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77999         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78000         * sysdeps/x86_64/_mcount.S: Likewise.
78001         * sysdeps/x86_64/strtok.S: Likewise.
78002         * sysdeps/sh/_mcount.S: Likewise.
78004 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78006         * libio/iofopen.c: Include <fcntl.h>.
78007         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78008         (_IO_fopen64, fopen64): Define as aliases.
78009         * libio/iofopen64.c: Include <fcntl.h>.
78010         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78011         Conditionalize body on this.
78012         * sysdeps/wordsize-64/iofopen.c: File removed.
78013         * sysdeps/wordsize-64/iofopen64.c: File removed.
78015 2012-08-01  Marek Polacek  <polacek@redhat.com>
78017         * libc/Makeconfig: Use elf in place of binfmt-subdir.
78018         Use dlfcn directly instead of a variable.
78019         (binfmt-subdir): Do not define.
78020         (dlfcn): Likewise.
78022 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
78024         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78025         Remove all definitions.
78026         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78027         <kernel-features.h>.
78028         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78029         (miss_F_GETOWN_EX): Remove all definitions.
78030         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78031         macro definition.
78032         [!__ASSUME_FCNTL64]: Remove conditional code.
78033         [__ASSUME_FCNTL64]: Make code unconditional.
78034         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78035         <kernel-features.h>.
78036         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78037         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78038         (lockf64) [__NR_fcntl64]: Make code unconditional.
78039         (lockf64) [__ASSUME_FCNTL64]: Likewise.
78041         * sysdeps/unix/sysv/linux/kernel-features.h
78042         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78043         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78044         Make code unconditional.
78045         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78046         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78048         [__NR_vfork]: Make code unconditional.
78049         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78050         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78052         [__NR_vfork]: Make code unconditional.
78053         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78054         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78056 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78058         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78059         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78061         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78062         Define mkstemp64 as an alias.
78063         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78064         Define mkstemps64 as an alias.
78065         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78066         Define mkostemp64 as an alias.
78067         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78068         Define mkostemps64 as an alias.
78069         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78070         Conditionalize body on this.
78071         * misc/mkostemp64.c: Likewise.
78072         * misc/mkostemps64.c: Likewise.
78073         * misc/mkstemps64.c: Likewise.
78074         * sysdeps/wordsize-64/mkstemp64.c: File removed.
78075         * sysdeps/wordsize-64/mkostemp64.c: File removed.
78076         * sysdeps/wordsize-64/mkostemp.c: File removed.
78077         * sysdeps/wordsize-64/mkstemp.c: File removed.
78078         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78079         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78080         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78081         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78083         [BZ #14138]
78084         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78085         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78086         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78087         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78089         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78090         compat_symbol macros from <shlib-compat.h> rather than the underlying
78091         default_symbol_version and symbol_version macros, so that DEFAULT
78092         lines in shlib-versions are respected.
78093         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78095 2012-08-01  Florian Weimer  <fweimer@redhat.com>
78097         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78098         Declare with warn_unused_result.
78099         (setgid, setregid, setegid, setresgid): Likewise.
78100         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
78101         Likewise.
78102         * WUR-REPORT: Remove set*id functions.
78104 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
78106         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
78108 2012-07-31  Roland McGrath  <roland@hack.frob.com>
78110         [BZ #10191]
78111         * include/sys/socket.h (__libc_accept, __libc_accept4):
78112         Add attribute_hidden.
78113         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
78115         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
78116         use of PTR_MANGLE.
78117         * inet/getnetgrent_r.c (setup): Likewise.
78119         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
78121 2012-07-31  David S. Miller  <davem@davemloft.net>
78123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78125 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
78127         [BZ #13629]
78128         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
78129         value between 1.0 and 2.0 and smaller part has absolute value less
78130         than 1.0.
78131         * math/s_clog10.c (__clog10): Likewise.
78132         * math/s_clog10f.c (__clog10f): Likewise.
78133         * math/s_clog10l.c (__clog10l): Likewise.
78134         * math/s_clogf.c (__clogf): Likewise.
78135         * math/s_clogl.c (__clogl): Likewise.
78136         * math/libm-test.inc (clog_test): Add more tests.
78137         (clog10_test): Likewise.
78138         * sysdeps/i386/fpu/libm-test-ulps: Update.
78139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78141 2012-07-31  Florian Weimer  <fweimer@redhat.com>
78143         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
78144         Exit with zero in case no suitable GID is found, and write a
78145         message to standard error.
78147 2012-07-30  Roland McGrath  <roland@hack.frob.com>
78149         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
78150         rather than to 1.
78151         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
78152         (MAXPATHLEN): Removed.
78153         (NOGROUP, NODEV): New macros.
78154         (setbit, clrbit, isset, isclr): New macros.
78155         (howmany, roundup, powerof2): New macros.
78156         (DEV_BSIZE): New macro.
78158         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78159         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
78161         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
78162         definition on [!__NO_LONG_DOUBLE_MATH].
78164         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
78165         PTR_MANGLE and PTR_DEMANGLE.
78167         * socket/accept4.c (accept4): Rename to __libc_accept4.
78168         Define accept4 as a weak alias.
78170         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
78171         on [_DIRENT_HAVE_D_TYPE].
78172         * io/ftw.c (ftw_dir): Likewise.
78174         * io/xmknod.c (__xmknod): Don't check PATH for being null.
78176         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
78178         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
78179         Use the BSD numbers rather than the arbitrary ones we had.
78180         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
78181         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78182         (SIGXCPU, SIGXFSZ): New macros.
78183         (_NSIG): Now 32.
78185         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
78186         initializer on [_LIBC_REENTRANT].
78188         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
78189         definitions inside [_POSIX_MAPPED_FILES].
78191         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
78193         * dirent/opendir.c: Include <fcntl.h>.
78195         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
78196         (__libc_getspecific): Likewise.
78197         (__libc_key_create): Likewise.
78199         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
78200         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
78201         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
78202         (tmpfile64): Define as alias.
78203         * sysdeps/wordsize-64/tmpfile.c: File removed.
78204         * sysdeps/wordsize-64/tmpfile64.c: File removed.
78205         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
78206         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
78208         * stdio-common/vfscanf.c: Include <stdbool.h>.
78209         * nss/makedb.c: Likewise.
78210         * stdio-common/_i18n_number.h: Likewise.
78211         * argp/argp-help.c: Likewise.
78212         * posix/wordexp.c: Likewise.
78213         * sysdeps/posix/spawni.c: Likewise.
78214         * nss/nss_files/files-initgroups.c: Likewise.
78215         * stdio-common/reg-modifier.c: Include <stdlib.h>.
78216         * nss/nss_files/files-initgroups.c: Likewise.
78217         * nss/nss_db/db-netgrp.c: Likewise.
78218         * nss/nss_db/db-initgroups.c: Likewise.
78219         * io/fchmodat.c: Include <sys/stat.h>.
78221         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
78222         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
78224         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
78225         [HAVE_MMAP].
78227         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
78228         Add multiple inclusion protection.
78230 2012-07-27  David S. Miller  <davem@davemloft.net>
78232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78234 2012-07-27  Gary Benson  <gbenson@redhat.com>
78236         [BZ #14298]
78237         * elf/rtld.c: Include <stap-probe.h>.
78238         (dl_main): Added static probes "init_start" and "init_complete".
78239         * elf/dl-load.c: Include <stap-probe.h>.
78240         (lose): Take new parameter "nsid".
78241         Added static probe "map_failed".
78242         (_dl_map_object_from_fd): Pass namespace id to lose.
78243         Added static probe "map_start".
78244         (open_verify): Pass namespace id to lose.
78245         * elf/dl-open.c: Include <stap-probe.h>.
78246         (dl_open_worker) Added static probes "map_complete", "reloc_start"
78247         and "reloc_complete".
78248         * elf/dl-close.c: Include <stap-probe.h>.
78249         (_dl_close_worker): Added static probes "unmap_start" and
78250         "unmap_complete".
78251         * elf/rtld-debugger-interface.txt: New file documenting the above.
78253 2012-07-26  Roland McGrath  <roland@hack.frob.com>
78255         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
78256         rather than a string variable.
78257         * sunrpc/rpc_main.c (h_output): Likewise.
78258         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
78260 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
78262         * inet/check_native.c: New file.
78264 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
78266         [BZ #13629]
78267         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
78268         if larger part has absolute value 1.0.
78269         * math/s_clog10.c (__clog10): Likewise.
78270         * math/s_clog10f.c (__clog10f): Likewise.
78271         * math/s_clog10l.c (__clog10l): Likewise.
78272         * math/s_clogf.c (__clogf): Likewise.
78273         * math/s_clogl.c (__clogl): Likewise.
78274         * math/libm-test.inc (clog_test): Add more tests.
78275         (clog10_test): Likewise.
78276         * sysdeps/i386/fpu/libm-test-ulps: Update.
78277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78279         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
78280         (pltexit): Likewise.
78281         (La_regs): Likewise.
78282         (La_retval): Likewise.
78283         (int_retval): Likewise.
78284         Update #error for removed macros to refer only to definitions in
78285         tst-audit.h.
78286         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
78287         macro.
78288         (pltexit): Likewise.
78289         (La_regs): Likewise.
78290         (La_retval): Likewise.
78291         (int_retval): Likewise.
78292         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
78293         macro.
78294         (pltexit): Likewise.
78295         (La_regs): Likewise.
78296         (La_retval): Likewise.
78297         (int_retval): Likewise.
78298         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
78299         macro.
78300         (pltexit): Likewise.
78301         (La_regs): Likewise.
78302         (La_retval): Likewise.
78303         (int_retval): Likewise.
78304         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
78305         macro.
78306         (pltexit): Likewise.
78307         (La_regs): Likewise.
78308         (La_retval): Likewise.
78309         (int_retval): Likewise.
78310         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
78311         macro.
78312         (pltexit): Likewise.
78313         (La_regs): Likewise.
78314         (La_retval): Likewise.
78315         (int_retval): Likewise.
78316         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
78317         macro.
78318         (pltexit): Likewise.
78319         (La_regs): Likewise.
78320         (La_retval): Likewise.
78321         (int_retval): Likewise.
78322         * sysdeps/generic/tst-audit.h: Update comment to refer only to
78323         macro definitions in tst-audit.h.
78324         * sysdeps/i386/tst-audit.h: New file.
78325         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
78326         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
78327         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
78328         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
78329         * sysdeps/sh/tst-audit.h: Likewise.
78330         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
78331         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
78332         * sysdeps/x86_64/tst-audit.h: Likewise.
78334 2012-07-26  Andreas Jaeger  <aj@suse.de>
78336         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
78337         ptrace.
78339         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
78340         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
78341         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
78342         PTRACE_O_MASK.
78343         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
78344         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
78345         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
78347         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
78348         value.
78350         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
78351         _sigsys.
78352         (si_call_addr, si_syscall, si_arch): Define new macro.
78353         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
78354         _sigsys.
78355         (si_call_addr, si_syscall, si_arch): Define new marcro.
78356         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
78357         _sigsys.
78358         (si_call_addr, si_syscall, si_arch): Define new macro.
78359         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
78360         _sigsys.
78361         (si_call_addr, si_syscall, si_arch): Define new macro.
78363 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
78365         [BZ #13717]
78366         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78367         Change to 2.4.21 where previously 2.4.1.
78368         * sysdeps/unix/sysv/linux/configure: Regenerated.
78369         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
78370         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
78371         Linux kernel version.
78372         (__ASSUME_STD_AUXV): Remove.
78373         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
78374         kernel version.
78375         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
78376         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
78377         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
78378         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
78379         (__ASSUME_NETLINK_SUPPORT): Likewise.
78380         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
78381         (__no_netlink_support): Remove conditional definition.
78382         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
78383         Remove.
78384         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78385         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
78386         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
78387         (if_nameindex_ioctl): Remove.
78388         (if_nameindex_netlink): Do not handle __no_netlink_support.
78389         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78390         code.
78391         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
78392         Remove conditional code.
78393         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78394         code.
78395         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
78396         unconditional.
78397         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78398         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
78399         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
78400         Remove.
78401         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
78402         [!__ASSUME_STD_AUXV]: Remove conditional code.
78403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
78404         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
78405         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
78406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
78407         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
78408         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78409         code.
78410         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
78412         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
78413         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78414         conditional code.
78415         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
78417         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78418         code.
78419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
78420         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78421         conditional code.
78422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
78423         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78424         code unconditional.
78425         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78426         conditional code.
78427         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78428         unconditional.
78429         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78430         conditional code.
78431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78432         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78433         unconditional.
78434         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78435         conditional code.
78436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
78437         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78438         code unconditional.
78439         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78440         conditional code.
78441         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78442         unconditional.
78443         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78444         conditional code.
78445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
78446         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78447         code unconditional.
78448         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78449         conditional code.
78450         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78451         unconditional.
78452         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78453         conditional code.
78455 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
78457         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
78458         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
78459         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
78460         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
78461         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
78462         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
78463         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
78464         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
78465         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
78466         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
78467         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
78468         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
78469         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
78470         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
78471         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
78472         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
78473         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
78474         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
78475         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
78476         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
78477         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
78478         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
78479         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
78481 2012-07-25  Florian Weimer  <fweimer@redhat.com>
78483         * Versions.def: Add GLIBC_2.17.
78484         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
78485         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
78486         Introduce __libc_secure_getenv.
78487         * stdlib/Versions (2.17): Add secure_getenv
78488         (GLIBC_PRIVATE): Add __libc_secure_getenv.
78489         * stdlib/secure-getenv.c: Rename __secure_getenv to
78490         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
78491         symbol __secure_getenv for GLIBC_2.0.
78492         * stdlib/tst-secure-getenv.c: New.
78493         * stdlib/Makefile (tests): Add testcase.
78494         * manual/startup.texi (Environment Access): Document
78495         secure_getenv.
78496         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
78497         __libc_secure_getenv.
78498         * inet/ruserpass.c (ruserpass): Likewise.
78499         * malloc/mtrace.c (mtrace): Likewise.
78500         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
78501         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
78502         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
78503         * sysdeps/posix/tempname.c: Likewise.  Evaluate
78504         HAVE_SECURE_GETENV.
78505         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
78506         __secure_getenv to __libc_secure_getenv.
78507         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
78508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78509         Likewise.
78510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
78511         Likewise.
78512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
78513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
78514         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
78515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
78516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
78517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
78518         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
78520 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
78522         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
78523         (struct La_i86_retval): Likewise.
78524         (struct La_x86_64_regs): Likewise.
78525         (struct La_x86_64_retval): Likewise.
78526         (struct La_x32_regs): Likewise.
78527         (struct La_x32_retval): Likewise.
78528         (struct La_ppc32_regs): Likewise.
78529         (struct La_ppc32_retval): Likewise.
78530         (struct La_ppc64_regs): Likewise.
78531         (struct La_ppc64_retval): Likewise.
78532         (struct La_sh_regs): Likewise.
78533         (struct La_sh_retval): Likewise.
78534         (struct La_s390_32_regs): Likewise.
78535         (struct La_s390_32_retval): Likewise.
78536         (struct La_s390_64_regs): Likewise.
78537         (struct La_s390_64_retval): Likewise.
78538         (struct La_sparc32_regs): Likewise.
78539         (struct La_sparc32_retval): Likewise.
78540         (struct La_sparc64_regs): Likewise.
78541         (struct La_sparc64_retval): Likewise.
78542         (struct audit_ifaces): Remove architecture-specific pltenter and
78543         pltexit members.
78544         * sysdeps/i386/ldsodefs.h: New file.
78545         * sysdeps/powerpc/ldsodefs.h: Likewise.
78546         * sysdeps/s390/ldsodefs.h: Likewise.
78547         * sysdeps/sh/ldsodefs.h: Likewise.
78548         * sysdeps/sparc/ldsodefs.h: Likewise.
78549         * sysdeps/x86_64/ldsodefs.h: Likewise.
78551 2012-07-25  Marek Polacek  <polacek@redhat.com>
78553         [BZ #6808]
78554         * math/libm-test.inc (yn_test): Add another test.
78555         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
78556         to ERANGE when the result is +-Inf.
78557         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
78558         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
78559         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
78560         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
78562 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
78564         * conform/data/time.h-data (NULL): Use macro-constant.  Require
78565         equal to 0.
78566         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
78567         clock_t.
78568         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
78570 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
78572         * configure.in <sysdeps resolving>: Correct printing
78573         Implies_before.
78574         * configure: Regenerate.
78576 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
78578         * math/w_ilogb.c: Include <limits.h>.
78579         * math/w_ilogbl.c: Likewise.
78581 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
78583         * manual/lang.texi (__va_copy): Document primarily as ISO C99
78584         va_copy.  Document allowing for unavailable va_copy only as
78585         pre-C99 compatibility.
78586         * manual/string.texi (Copying and Concatenation): Use va_copy
78587         instead of __va_copy in concat example.
78589 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
78591         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
78592         (__sendto): Use create_address_port.  Initialize APORT and deallocate
78593         it if not null.
78595         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
78596         with O_NOLINK passed to __file_name_lookup.
78598         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
78599         with O_NOLINK passed to __file_name_lookup.
78601         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
78602         negative N or less than NGIDS.
78604         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
78605         type to string_t.  Set ERANGE as errno and return it if NAME is not big
78606         enough.  Use memcpy instead of strncpy.
78608 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
78610         * elf/Makefile (check-data): Remove.
78611         (localplt.data): New vpath directive.
78612         ($(objpfx)check-localplt.out): Use localplt.data from vpath
78613         instead of $(check-data).
78614         * scripts/data/localplt-generic.data: Move to ...
78615         * sysdeps/generic/localplt.data: ... here.
78616         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
78617         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
78618         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
78619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
78620         ... here.
78621         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
78622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
78623         ... here.
78624         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
78625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
78626         ... here.
78627         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
78628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
78629         ... here.
78630         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
78631         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
78632         ... here.
78633         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
78634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
78635         ... here.
78637 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78639         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
78640         PPC32 and PPC64 files.
78641         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
78642         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
78644 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78646         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
78647         __makecontext_ret to ...
78648         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
78649         ... here and call exit if uc_link is NULL.  New file.
78650         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
78651         __makecontext_ret.S.
78652         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
78653         __makecontext_ret to ...
78654         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
78655         ... here and call exit if uc_link is NULL.  New file.
78656         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
78657         __makecontext_ret.S.
78659 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78661         * elf/elf.h (R_390_IRELATIVE): New definition.
78662         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
78663         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
78664         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
78665         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
78666         (elf_machine_lazy_rel): Likewise.
78667         * sysdeps/s390/dl-irel.h: New file.
78668         * sysdeps/s390/s390-64/memcpy.S: New asm code.
78669         * sysdeps/s390/s390-64/memset.S: New asm code.
78670         * sysdeps/s390/s390-64/memcmp.S: New asm code.
78671         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
78672         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
78673         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
78674         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
78675         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
78676         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
78677         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
78678         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
78679         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
78680         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
78681         * sysdeps/s390/s390-32/memcpy.S: New asm code.
78682         * sysdeps/s390/s390-32/memset.S: New asm code.
78683         * sysdeps/s390/s390-32/memcmp.S: New asm code.
78685 2012-07-17  Marek Polacek  <polacek@redhat.com>
78687         [BZ #14349]
78688         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
78689         * sysdeps/s390/s390-64/configure.in: Likewise.
78690         * sysdeps/sparc/configure.in: Likewise.
78691         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
78692         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
78693         * sysdeps/i386/configure.in: Likewise.
78694         * sysdeps/x86_64/configure.in: Likewise.
78695         * sysdeps/sh/configure.in: Likewise.
78696         * sysdeps/s390/s390-32/configure: Regenerated.
78697         * sysdeps/s390/s390-64/configure: Likewise.
78698         * sysdeps/x86_64/configure: Likewise.
78699         * sysdeps/sh/configure: Likewise.
78700         * sysdeps/powerpc/powerpc64/configure: Likewise.
78701         * sysdeps/powerpc/powerpc32/configure: Likewise.
78702         * sysdeps/sparc/configure: Likewise.
78703         * sysdeps/i386/configure: Likewise.
78705         * elf/dl-open.c: Comment fixes.
78707 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
78709         * Makefile [CXX] (check-data): Remove.
78710         [CXX] (c++-types.data): New vpath directive.
78711         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
78712         vpath.  Do not allow for C++ type data being missing.
78713         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
78714         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
78715         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
78716         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
78717         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
78718         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
78719         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
78720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
78721         ... here.
78722         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
78723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
78724         ... here.
78725         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
78726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
78727         ... here.
78728         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
78729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
78730         ... here.
78731         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
78732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
78733         ... here.
78734         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
78735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
78736         ... here.
78737         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
78738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
78739         ... here.
78740         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
78741         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
78743         * elf/tls-macros.h (TLS_LE): Move architecture-specific
78744         definitions to architecture-specific files.
78745         (TLS_IE): Likewise.
78746         (TLS_LD): Likewise.
78747         (TLS_GD): Likewise.
78748         * sysdeps/i386/tls-macros.h: New file.
78749         * sysdeps/powerpc/tls-macros.h: Likewise.
78750         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
78751         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
78752         * sysdeps/sh/tls-macros.h: Likewise.
78753         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
78754         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
78755         * sysdeps/x86_64/tls-macros.h: Likewise.
78757 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
78759         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
78760         zero value for regular exit case.
78762         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
78763         (__start_context): Preserve zero value for regular exit case.
78765 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
78766             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78768         * manual/setjmp.texi (setcontext): Clarify normal process
78769         termination when uc_link is the null pointer.
78770         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
78771         exit call.
78773 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
78775         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
78776         preprocessor.  Test for each exception mask separately.
78778 2012-07-16  Andreas Jaeger  <aj@suse.de>
78780         * po/ru.po: Update from translation team.
78782 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
78784         * conform/data/string.h-data (NULL): Use macro-constant.  Require
78785         equal to 0.
78786         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
78787         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
78788         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
78789         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
78790         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78792 2012-07-13  Andreas Jaeger  <aj@suse.de>
78794         * po/fr.po: Update from translation team.
78796 2012-07-12  Marek Polacek  <polacek@redhat.com>
78798         [BZ #14173]
78799         * math/libm-test.inc (yn_test): Add test for BZ #14173.
78800         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
78801         loop condition.
78803 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
78805         [BZ #13717]
78806         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78807         Change to 2.4.1 where previously 2.4.0.
78808         * sysdeps/unix/sysv/linux/configure: Regenerated.
78809         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
78810         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
78811         version.
78812         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
78813         (__ASSUME_AT_CLKTCK): Remove.
78814         (__ASSUME_AT_PAGESIZE): Likewise.
78815         (__ASSUME_AT_XID): Likewise.
78816         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
78817         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
78818         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
78819         unconditionally.
78820         (HAVE_AUX_PAGESIZE): Likewise.
78821         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
78822         [__ASSUME_AT_CLKTCK]: Make code unconditional.
78823         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
78825 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
78827         [BZ #14307]
78828         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
78829         the temporary buffer used to invoke __gethostbyname2_r,
78830         __gethostbyaddr_r and gethostbyname4_r to make room for struct
78831         host_data / struct gaih_addrtuple.
78832         * resolv/nss_dns/dns-host.c (global scope): Move definition of
78833         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
78834         header file nss/nsswitch.h.
78835         * nss/nsswitch.h (global scope): Add definition of implementation
78836         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
78837         resolv/nss_dns/dns-host.c).
78839 2012-07-11  Andreas Jaeger  <aj@suse.de>
78841         * po/fr.po: Update from translation team.
78843         * po/sv.po: Update from translation team
78844         * po/fr.po: Another update from translation team.
78846 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78848         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
78849         for subnormals or multiply small sinh result by itself.
78850         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
78851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78853 2012-07-11  David S. Miller  <davem@davemloft.net>
78855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78857 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
78859         [BZ #14347]
78860         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
78861         (INTERNAL_MARK): Shift it here.
78863 2012-07-10  Marek Polacek  <polacek@redhat.com>
78865         [BZ #14151]
78866         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
78867         libc_cv_asm_global_directive with .globl.
78868         * configure: Regenerated.
78869         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
78870         with .globl.
78871         * sysdeps/i386/configure: Regenerated.
78872         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
78873         with .globl.
78874         * sysdeps/x86_64/configure: Regenerated.
78875         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
78876         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
78877         * elf/tst-unique2mod2.c: Likewise.
78878         * elf/tst-unique2mod1.c: Likewise.
78879         * elf/tst-unique1mod2.c: Likewise.
78880         * elf/tst-unique1mod1.c: Likewise.
78881         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78882         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78883         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78884         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78885         * sysdeps/mach/sysdep.h: Likewise.
78886         * sysdeps/i386/sysdep.h: Likewise.
78887         * sysdeps/i386/i386-mcount.S: Likewise.
78888         * sysdeps/x86_64/_mcount.S: Likewise.
78889         * sysdeps/x86_64/sysdep.h: Likewise.
78890         * sysdeps/sh/_mcount.S: Likewise.
78891         * sysdeps/sh/sysdep.h: Likewise.
78892         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
78893         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
78894         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
78895         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78896         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
78897         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
78898         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
78899         * locale/localeinfo.h: Likewise.
78900         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
78901         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
78903 2012-07-09  Roland McGrath  <roland@hack.frob.com>
78905         [BZ #14336]
78906         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
78907         system".
78908         * manual/message.texi (The Uniforum approach): Likewise.
78909         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
78910         (glibc iconv Implementation): Likewise.
78912 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
78914         [BZ #14337]
78915         * math/s_clog.c (__clog): Avoid scaling a value down where that
78916         could result in underflow.
78917         * math/s_clog10.c (__clog10): Likewise.
78918         * math/s_clog10f.c (__clog10f): Likewise.
78919         * math/s_clog10l.c (__clog10l): Likewise.
78920         * math/s_clogf.c (__clogf): Likewise.
78921         * math/s_clogl.c (__clogl): Likewise.
78922         * math/libm-test.inc (clog_test): Add more tests.
78923         (clog10_test): Likewise.
78924         * sysdeps/i386/fpu/libm-test-ulps: Update.
78925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78927 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
78929         [BZ #14283]
78930         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
78931         by 7 not 8 to examine high bit of fractional part.
78933         [BZ #14042]
78934         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
78935         for call to __mcount_internal.
78936         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
78937         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
78938         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
78940 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
78942         [BZ #14154]
78943         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
78944         approximation for values within 0x1p-13f of an odd multiple of
78945         pi/4.
78946         * math/libm-test.inc (tan_test): Do not allow spurious underflow
78947         exception.  Add more tests.
78948         * sysdeps/i386/fpu/libm-test-ulps: Update.
78950         [BZ #6778]
78951         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
78952         inputs and return -1 for them.  Do not check for +Inf in case not
78953         reachable for +Inf.
78954         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
78955         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
78956         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
78957         and return -1 for them.  Do not check for +Inf in case not
78958         reachable for +Inf.
78959         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
78960         define.
78961         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
78962         and return -1 for them.  Do not check for +Inf in case not
78963         reachable for +Inf.
78964         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
78965         spurious underflow.
78966         * sysdeps/i386/fpu/libm-test-ulps: Update.
78967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78969 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
78971         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
78973 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
78975         [BZ #14157]
78976         [BZ #14331]
78977         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
78978         could result in spurious underflow.  Scale down values above
78979         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
78980         * math/s_csqrtf.c (__csqrtf): Likewise.
78981         * math/s_csqrtl.c (__csqrtl): Likewise.
78982         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
78983         spurious underflow.
78984         * sysdeps/i386/fpu/libm-test-ulps: Update.
78985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78987 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
78989         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
78990         xopen-msg.sed.
78991         * catgets/xopen-msg.awk: New file.
78992         * catgets/xopen-msg.sed: Removed.
78994         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
78995         po2text.sed.
78996         * intl/po2test.awk: New file.
78997         * intl/po2test.sed: Removed.
78999 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
79001         [BZ #14328]
79002         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79003         or multiply small sinh result by itself.
79004         * math/s_ctanf.c (__ctanf): Likewise.
79005         * math/s_ctanh.c (__ctanh): Likewise.
79006         * math/s_ctanhf.c (__ctanhf): Likewise.
79007         * math/s_ctanhl.c (__ctanhl): Likewise.
79008         * math/s_ctanl.c (__ctanl): Likewise.
79009         * math/libm-test.inc (ctan_test_tonearest): New function.
79010         (ctan_test_towardzero): Likewise.
79011         (ctan_test_downward): Likewise.
79012         (ctan_test_upward): Likewise.
79013         (ctanh_test_tonearest): Likewise.
79014         (ctanh_test_towardzero): Likewise.
79015         (ctanh_test_downward): Likewise.
79016         (ctanh_test_upward): Likewise.
79017         (main): Call these new functions.
79018         * sysdeps/i386/fpu/libm-test-ulps: Update.
79019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79021 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
79023         * .gitignore: Delete /ports entry.
79025 2012-07-03  Andreas Jaeger  <aj@suse.de>
79027         * po/bg.po: Update from translation team.
79028         * po/cs.po: Likewise.
79029         * po/de.po: Likewise.
79030         * po/hr.po: Likewise.
79031         * po/nl.pl: Likewise.
79032         * po/pl.po: Likewise.
79033         * po/vi.po: Likewise.
79035 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
79037         * Makeconfig [!+link] (+link-before-libc): New variable.
79038         [!+link] (+link-after-libc): Likewise.
79039         [!+link] (+link-tests): Likewise.
79040         [!+link] (+link): Define in terms of $(+link-before-libc) and
79041         $(+link-after-libc).
79042         [!+link-static] (+link-static-before-libc): New variable.
79043         [!+link-static] (+link-static-after-libc): Likewise.
79044         [!+link-static] (+link-static-tests): Likewise.
79045         [!+link-static] (+link-static): Define in terms of
79046         $(+link-static-before-libc) and $(+link-static-after-libc).
79047         [build-shared] (link-libc-before-gnulib): New variable.
79048         [build-shared] (link-libc-tests): Likewise.
79049         [build-shared] (link-libc): Define in terms of
79050         $(link-libc-before-gnulib).
79051         [!build-shared] (link-libc-tests): New variable.
79052         (link-libc-static-tests): New variable.
79053         [!gnulib] (gnulib-arch): New variable.
79054         [!gnulib] (gnulib-tests): Likewise.
79055         [!gnulib] (static-gnulib-arch): Likewise.
79056         [!gnulib] (static-gnulib-tests): Likewise.
79057         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
79058         Define with "=" instead of ":=".
79059         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
79060         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
79061         * Rules (binaries-all-notests): New variable.
79062         (binaries-all-tests): Likewise.
79063         (binaries-static-notests): Likewise.
79064         (binaries-static-tests): Likewise.
79065         (binaries-all): Define using $(binaries-all-notests) and
79066         $(binaries-all-tests).
79067         (binaries-static): Define using $(binaries-static-notests) and
79068         $(binaries-static-tests).
79069         (binaries-shared-tests): New variable.
79070         (binaries-shared-notests): Likewise.
79071         (binaries-shared): Remove variable.
79072         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79073         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79074         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79075         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79076         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79077         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79078         * elf/Makefile (sln-modules): New variable.
79079         (extra-objs): Add $(sln-modules:=.o).
79080         (ldconfig-modules): Add static-stubs.
79081         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79082         * elf/static-stubs.c: New file.
79084         [BZ #14283]
79085         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79086         by 7 not 8 to examine high bit of fractional part.  Use volatile
79087         variables when splitting into final array of floats if
79088         __FLT_EVAL_METHOD__ != 0.
79089         * math/libm-test.inc (cos_test): Add another test.
79090         (sin_test): Likewise.
79091         * sysdeps/i386/fpu/libm-test-ulps: Update.
79093         [BZ #14273]
79094         * math/libm-test.inc (cosh_test): Add more tests.
79096         * version.h (RELEASE): Set to "development".
79097         (VERSION): Set to "2.16.90".
79099 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
79101         * NEWS: Update copyright. Remove last-updated date.
79102         Mention math library bug fixes and timezone data changes.
79103         * README: Mention GNU/Hurd, x32, and HPPA support status.
79105 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
79107         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
79109 2012-06-27  Andreas Jaeger  <aj@suse.de>
79111         * manual/contrib.texi (Contributors): Add Samuel Thibault.
79113 2012-06-25  Andreas Jaeger  <aj@suse.de>
79115         * sysdeps/s390/fpu/libm-test-ulps: Update.
79117 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
79118             Thomas Schwinge  <thomas@codesourcery.com>
79120         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
79121         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
79122         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
79123         fanotify_mark.
79125 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
79127         * sysdeps/mach/start.c: Remove file.
79128         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
79129         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
79130         * sysdeps/sh/init-first.c: Likewise.
79132         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
79133         registers for frame unwinding purposes, add CFI directives.
79134         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79135         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
79136         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
79137         Likewise.
79139         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
79140         __fortify_fail returning.
79141         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79143         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
79144         sysdeps/sh/____longjmp_chk.S.
79145         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
79146         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
79147         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
79148         (gen-as-const-headers): Append sigaltstack-offsets.sym.
79150         * sysdeps/sh/abort-instr.h: New file.
79151         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
79152         process in case exit returns.
79154         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
79155         initialize the GOT register before use.
79157         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
79158         calculation of ARGC > 4.
79160         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
79161         meaningful names to some local labels.
79163 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79164             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79166         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
79167         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
79168         (__arch_compare_and_exchange_val_16_acq): Likewise.
79169         (__arch_compare_and_exchange_val_32_acq): Likewise.
79170         (atomic_exchange_and_add): Fix gUSA sequence.
79171         (atomic_add): Likewise.
79172         (atomic_add_negative): Likewise.
79173         (atomic_add_zero): Likewise.
79174         (atomic_bit_test_set): Likewise.
79176 2012-06-22  Andreas Schwab  <schwab@redhat.com>
79178         [BZ #13579]
79179         * include/link.h (struct link_map): Add l_free_initfini.
79180         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
79181         l_initfini.
79182         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
79183         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
79184         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
79185         set.
79187 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
79189         * configure.in: Use AC_LANG_SOURCE.
79190         * configure: Regenerate.
79192 2012-06-22  Roland McGrath  <roland@hack.frob.com>
79194         * configure.in (libc_cv_localstatedir): New substituted variable.
79195         * configure: Regenerated.
79196         * config.make.in (localstatedir): New variable, substituted from
79197         libc_cv_localstatedir.
79198         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
79199         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
79200         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
79201         * sysdeps/gnu/configure: Regenerated.
79203 2012-06-21  Jeff Law  <law@redhat.com>
79205         [BZ #14277]
79206         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
79207         free.  Simplify list management for _LIBC case.
79209 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
79211         [BZ #14273]
79212         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
79213         Clear sign bit of 64-bit integer value before comparing against
79214         overflow value.
79216         * sysdeps/mach/configure: Regenerated.
79218 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
79220         [BZ #14278]
79221         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
79223 2012-06-21  Jeff Law  <law@redhat.com>
79225         [BZ #13882]
79226         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
79227         uint16_t for elements in the "seen" array to avoid char overflows.
79228         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79229         * elf/dl-open.c (dl_open_worker): Likewise.
79231 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
79233         * scripts/list-sources.sh: Scan PORTS for translations.
79234         * po/libc.pot: Regenerated.
79236 2012-06-21  Andreas Jaeger  <aj@suse.de>
79238         [BZ #12194]
79239         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
79240         warning.
79241         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
79242         * bits/byteswap-16.h (__bswap_16): Likewise.
79243         * bits/byteswap.h (__bswap_constant_16): Likewise.
79245 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
79247         [BZ #14117]
79248         * sysdeps/i386/fpu_control.h: Removed.
79249         * sysdeps/x86_64/fpu_control.h: Moved to ...
79250         * sysdeps/x86/fpu_control.h: Here.
79252         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
79253         (_FPU_SETCW): Likewise.
79255 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
79257         [BZ #14117]
79258         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
79259         * sysdeps/x86/fpu/bits/mathinline.h: This.
79260         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
79262         [BZ #14050]
79263         [BZ #14117]
79264         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
79265         functions if __x86_64__ is defined.
79267 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
79269         * string/endian.h: Add !__ASSEMBLER__ condition for including
79270         conversion interfaces.
79272 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
79274         [BZ #14241]
79275         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
79276         of ABS(x) in calculating zero to negative powers other than odd
79277         integers.
79278         * math/libm-test.inc (pow_test): Add more tests.
79280 2012-06-15  Andreas Jaeger  <aj@suse.de>
79282         * manual/contrib.texi (Contributors): Update entry of Liubov
79283         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
79284         Machado Filho.
79286 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
79288         * string/string.h: Add __wur to GNU version of strerror_r.
79290 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
79292         [BZ #14229]
79293         * string/Makefile (tests): Add tst-strtok_r.
79294         * string/tst-strtok_r.c: New file.
79295         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
79296         RAX_LP/RDX_LP on SAVE_PTR.
79298 2012-06-14  Roland McGrath  <roland@hack.frob.com>
79300         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
79302 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
79304         * libm_test.inc (csqrt_test): Allow more spurious underflow
79305         exceptions.
79306         (j0_test): Likewise.
79307         (j1_test): Likewise.
79308         (y0_test): Likewise.
79309         (y1_test): Likewise.
79311 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
79313         * po/Makefile (libc.pot): Use UTF-8 charset.
79315 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
79317         [BZ #14210]
79318         Suppress sign-conversion warning from FD_SET.
79319         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
79320         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
79321         not unsigned long int.
79322         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
79324 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
79326         [BZ #14050]
79327         [BZ #14117]
79328         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
79329         __extern_always_inline instead of __extern_inline.
79330         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
79331         (__signbit): Likewise.
79332         (__signbitl): Support C++ namespace.
79333         (lrintf): New inline function.
79334         (lrint): Likewise.
79335         (llrintf): Likewise.
79336         (llrint): Likewise.
79337         (fmaxf): Likewise.
79338         (fmax): Likewise.
79339         (fminf): Likewise.
79340         (fmin): Likewise.
79341         (rint): Likewise.
79342         (rintf): Likewise.
79343         (ceil): Likewise.
79344         (ceilf): Likewise.
79345         (floor): Likewise.
79346         (floorf): Likewise.
79347         (nearbyint): Likewise.
79348         (nearbyintf): Likewise.
79350 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
79352         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
79353         non-default versions.
79355 2012-06-11  Roland McGrath  <roland@hack.frob.com>
79357         [BZ #14218]
79358         * manual/argp.texi (Argp): Reword argp_parse description slightly.
79360 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
79362         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
79363         (FE_UPWARD, FE_DOWNWARD): Don't define.
79364         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
79365         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79367         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
79368         reading it.
79369         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79370         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79372 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79374         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
79375         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
79376         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
79377         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
79379 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
79381         [BZ #14117]
79382         * sysdeps/i386/fpu/bits/fenv.h: Removed.
79383         * sysdeps/i386/fpu/Implies: New file.
79384         * sysdeps/x86_64/fpu/Implies: Likewise.
79385         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
79386         * sysdeps/x86/fpu/bits/fenv.h: This.
79388         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
79389         __SSE_MATH__.
79391 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
79393         [BZ #14134]
79394         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
79395         character 0xffff that matches the last element of the
79396         conversion table.
79398 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79400         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
79401         fmodl commit.
79403 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79405         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
79406         values higher than 25.6283.
79408 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79410         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
79411         subnormal exponent extraction and add some __builtin_expect.
79412         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
79413         Fix for subnormal mantissa calculation.
79415 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
79417         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
79418         cpu2 is -1 and errno is not ENOSYS.
79420 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
79422         [BZ #14117]
79423         * sysdeps/i386/i486/bits/string.h: Renamed to ...
79424         * sysdeps/x86/bits/string.h: This.
79425         * sysdeps/x86_64/bits/string.h: Removed.
79427         * sysdeps/i386/i486/bits/string.h: Define inline functions only
79428         if not compiling for x86-64, but compiling for >= i486.
79430         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
79431         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
79433         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
79434         New macro from Linux kernel 3.4.0.
79435         (FP_XSTATE_MAGIC2): Likewise.
79436         (FP_XSTATE_MAGIC2_SIZE): Likewise.
79437         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
79438         (struct _fpx_sw_bytes): New struct.
79439         (struct _xsave_hdr): Likewise.
79440         (struct _ymmh_state): Likewise.
79441         (struct _xstate): Likewise.
79443         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
79444         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
79445         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
79446         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
79447         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
79448         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
79450         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
79451         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
79452         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
79453         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
79454         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
79455         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
79457 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79459         [BZ #13743]
79460         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
79461         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
79462         (sysdep_headers): Include sys/platform/ppc.h.
79463         * sysdeps/powerpc/test-gettimebase.c: Test for
79464         __ppc_get_timebase() to catch future ISA opcode/insn changes.
79465         * manual/Makefile (appendices): Include platform.texi.
79466         * manual/contrib.texi (Contributors): Update @node pointers.
79467         * manual/maint.texi (Maintenance): Likewise.
79468         (Platform): New node.
79469         * manual/platform.texi: New file.  Document the new features.
79471 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
79472             Jakub Jelinek  <jakub@redhat.com>
79474         [BZ #14188]
79475         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
79476         where __builtin_expect is unavailable.
79478 2012-06-03  David S. Miller  <davem@davemloft.net>
79480         * stdlib/longlong.h: Updated from GCC.
79482 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
79484         [BZ #14042]
79485         * sysdeps/powerpc/powerpc32/mcount.c: New file.
79486         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
79487         __mcount_internal.
79488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
79489         (GLIBC_2.16): Likewise.
79491 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
79493         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
79495 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
79497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
79498         (default-abi): New variable.
79499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
79500         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
79501         variable.
79502         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
79503         Likewise.
79504         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
79505         Likewise.
79506         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
79507         Likewise.
79509         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
79510         definition.  Document in comment.
79512 2012-06-01  David S. Miller  <davem@davemloft.net>
79514         * stdlib/longlong.h: Updated from GCC.
79516 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
79518         [BZ #14117]
79519         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
79520         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
79521         sys/debugreg.h sys/io.h here.
79522         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
79523         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
79524         sys/io.h.
79525         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
79526         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
79527         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
79528         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
79529         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
79530         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
79532         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
79533         Define only if __x86_64__ is defined.
79535 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
79537         [BZ #14048]
79538         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
79539         Use int64_t for variable i.
79540         * math/libm-test.inc (fmod_test): Add more tests.
79542         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
79543         z computation is not scheduled after fetestexcept.
79544         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
79545         Use math_force_eval instead of asm to ensure calculation scheduled
79546         before exception test.
79547         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
79548         Ensure a1 + u.d computation is not scheduled after fetestexcept.
79550 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
79552         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
79553         computation is not scheduled after fetestexcept.
79555 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
79557         [BZ #14117]
79558         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
79559         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
79561 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79563         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
79564         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
79566 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
79568         [BZ #14117]
79569         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
79570         <bits/wordsize.h>.
79571         (__WCHAR_MIN): Support __WORDSIZE == 64.
79572         (__WCHAR_MAX): Likewise.
79574         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
79575         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
79577         [BZ #14183]
79578         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
79579         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
79581         [BZ #14117]
79582         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
79583         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
79585         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
79586         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
79588         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
79589         Defined to 1 if __x86_64__ isn't defined.
79590         (_STAT_VER_LINUX_OLD): New.
79591         (st_atime): Remove duplicate.
79592         (st_mtime): Likewise.
79593         (st_ctime): Likewise.
79595 2012-05-31  David S. Miller  <davem@davemloft.net>
79597         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
79598         entries.
79600 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
79602         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
79603         gen-libm-test.pl.
79605         [BZ #14132]
79606         * elf/dl-reloc.c: Include <_itoa.h>.
79607         (_dl_reloc_bad_type): Remove use of INTUSE.
79608         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
79609         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
79610         * stdio-common/psiginfo.c (psiginfo): Likewise.
79611         * stdio-common/psignal.c (psignal): Likewise.
79612         * string/strsignal.c (strsignal): Likewise.
79613         * include/signal.h (_sys_siglist): Declare hidden proto.
79614         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
79615         INTVARDEF with libc_hidden_data_def.
79616         * stdio-common/itoa-udigits.c: Likewise.
79617         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
79618         (_itoa_lower_digits_internal): Remove declaration.
79619         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
79620         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
79621         (_sys_sigabbrev_internal): Remove aliases.
79622         (_sys_siglist): Define hidden alias.
79624 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
79626         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79627         bits/sysctl.h.
79629 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
79631         [BZ #14117]
79632         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
79633         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
79635         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
79636         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
79637         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
79638         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
79639         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
79640         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
79642         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
79643         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
79644         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
79646         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
79647         with __addr.
79648         (insw): Likewise.
79649         (insl): Likewise.
79650         (outsb): Likewise.
79651         (outsw): Likewise.
79652         (outsl): Likewise.
79654         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
79655         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
79656         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
79658         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
79659         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
79660         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
79661         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
79662         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
79663         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
79665         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
79666         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
79668         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
79669         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
79671         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
79672         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
79673         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
79675         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
79676         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
79677         to ...
79678         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
79680         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
79681         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
79682         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
79684         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
79685         for x86-64.
79686         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
79688 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
79690         * math/math.h (M_El): Use two more decimal places.
79691         (M_LOG2El): Likewise.
79692         (M_LOG10El): Likewise.
79693         (M_LN2l): Likewise.
79694         (M_LN10l): Likewise.
79695         (M_PIl): Likewise.
79696         (M_PI_2l): Likewise.
79697         (M_PI_4l): Likewise.
79698         (M_1_PIl): Likewise.
79699         (M_2_PIl): Likewise.
79700         (M_2_SQRTPIl): Likewise.
79701         (M_SQRT2l): Likewise.
79702         (M_SQRT1_2l): Likewise.
79704 2012-05-31  David S. Miller  <davem@davemloft.net>
79706         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
79707         values between float registers.
79708         * sysdeps/sparc/sparc64/memset.S: Likewise.
79709         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
79711 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
79713         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
79714         -D_FORTIFY_SOURCE=1.
79715         (CPPFLAGS-tst-longjmp_chk.c): Define.
79716         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
79717         (CPPFLAGS-tst-longjmp_chk2.c): Define.
79718         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
79719         CFLAGS-tst-wchar-h.c.
79721 2012-05-31  Marek Polacek  <polacek@redhat.com>
79723         [BZ #14132]
79724         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
79725         __endmntent_internal): Remove declaration.
79726         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
79727         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
79728         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
79730 2012-05-30  David S. Miller  <davem@davemloft.net>
79732         * sysdeps/sparc/sparc32/soft-fp/q_util.c
79733         (___Q_simulate_exceptions): Use real FP ops rather than writing
79734         into the %fsr.
79735         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
79736         Likewise.
79738 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
79740         [BZ #14117]
79741         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
79742         * sysdeps/x86/bits/xtitypes.h: This.
79744         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
79745         * sysdeps/x86/bits/wordsize.h: This.
79747         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
79748         * sysdeps/x86/bits/huge_vall.h: This.
79750         * sysdeps/i386/bits/select.h: Removed.
79751         * sysdeps/x86_64/bits/select.h: Renamed to ...
79752         * sysdeps/x86/bits/select.h: This.
79754         * sysdeps/i386/bits/setjmp.h: Removed.
79755         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
79756         * sysdeps/x86/bits/setjmp.h: This.
79758         * sysdeps/i386/bits/mathdef.h: Removed.
79759         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
79760         * sysdeps/x86/bits/mathdef.h: This.
79762 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
79764         [BZ #14132]
79765         * include/sys/socket.h (__connect_internal)
79766         (__libc_sa_len_internal): Remove declaration.
79767         (__connect, __libc_sa_len): Declare hidden_proto.
79768         (SA_LEN): Remove use of INTUSE.
79769         * socket/connect.c: Add libc_hidden_def.
79770         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
79771         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
79772         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
79773         alias.
79774         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
79775         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
79776         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
79777         of adding _internal alias.
79779 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
79781         [BZ #14117]
79782         * sysdeps/i386/bits/link.h: Removed.
79783         * sysdeps/i386/bits/linkmap.h: Likewise.
79784         * sysdeps/x86_64/bits/link.h: Renamed to ...
79785         * sysdeps/x86/bits/link.h: This.
79786         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
79787         * sysdeps/x86/bits/linkmap.h: This.
79789         * sysdeps/i386/bits/endian.h: Removed.
79790         * sysdeps/x86_64/bits/endian.h: Renamed to ...
79791         * sysdeps/x86/bits/endian.h: This.
79793         * sysdeps/i386/bits/byteswap.h: Removed.
79794         * sysdeps/i386/bits/byteswap-16.h: Likewise.
79795         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
79796         * sysdeps/x86/bits/byteswap.h: This.
79797         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
79798         * sysdeps/x86/bits/byteswap-16.h: This.
79799         * sysdeps/i386/Implies: Add x86.
79800         * sysdeps/x86_64/Implies: Likewise.
79802 2012-05-30  David S. Miller  <davem@davemloft.net>
79804         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
79805         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
79806         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
79807         (FP_TRAPPING_EXCEPTIONS): Define.
79808         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
79809         (FP_TRAPPING_EXCEPTIONS): Define.
79810         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
79811         subnormals only when inexact has been signalled or underflow
79812         exceptions are enabled.
79813         (_FP_PACK_CANONICAL): Likewise.
79815 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
79817         [BZ #14183]
79818         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
79819         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
79821 2012-05-30  Richard Henderson  <rth@twiddle.net>
79823         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
79824         with #ifndef NOT_IN_libc.
79826         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
79827         marked to avoid plt entry.
79829 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
79831         [BZ #14112]
79832         * Makeconfig (default-abi): New macro.
79833         (abi-includes): Likewise.
79834         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
79835         $(abi-$(default-abi)-lib-soname) for soname if defined.
79836         ($(common-objpfx)gnu/lib-names.stmp): Generate from
79837         abi-variants.
79838         * Makefile (installed-stubs): Likewise.
79839         * include/stubs-biarch.h: Removed.
79840         * scripts/lib-names.awk: Only handle one library at a time.
79841         * scripts/soversions.awk: Remove WORDSIZE support.
79842         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
79843         entries.
79844         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
79845         Removed.
79846         (syscall-list-default-condition): Likewise.
79847         (syscall-list-default-condition): Likewise.
79848         (syscall-list-includes): Likewise.
79849         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
79850         syscall-list-* with abi-*.  Handle undefined abi-variants.
79851         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
79852         * sysdeps/unix/sysv/linux/i386/Implies: New file.
79853         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
79854         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
79855         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
79856         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
79857         Removed.
79858         (syscall-list-32-options): Likewise.
79859         (syscall-list-32-condition): Likewise.
79860         (syscall-list-64-options): Likewise.
79861         (syscall-list-64-condition): Likewise.
79862         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
79863         macro.
79864         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
79865         Renamed to ...
79866         (abi-*): This.
79867         (abi-64-ld-soname): New macro.
79868         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
79869         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
79870         Renamed to ...
79871         (abi-*): This.
79872         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
79873         * sysdeps/x86_64/x32/shlib-versions: Likewise.
79875 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
79877         * sysdeps/unix/sysv/linux/kernel-features.h
79878         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
79879         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
79880         include <kernel-features.h>.
79881         [!__NR_ftruncate64]: Remove conditional code.
79882         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79883         [__NR_ftruncate64]: Make code unconditional.
79884         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79885         * sysdeps/unix/sysv/linux/truncate64.c: Do not
79886         include <kernel-features.h>.
79887         [!__NR_ftruncate64]: Remove conditional code.
79888         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79889         [__NR_ftruncate64]: Make code unconditional.
79890         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
79892         include <kernel-features.h>.
79893         [!__NR_ftruncate64]: Remove conditional code.
79894         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79895         [__NR_ftruncate64]: Make code unconditional.
79896         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
79898         include <kernel-features.h>.
79899         [!__NR_ftruncate64]: Remove conditional code.
79900         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79901         [__NR_ftruncate64]: Make code unconditional.
79902         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79904         * configure.in (libc_cv_fpie): Weaken to a compile test using
79905         LIBC_TRY_CC_OPTION.
79906         * configure: Regenerated.
79908 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
79911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
79912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
79913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
79914         Refreshed.
79915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
79916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
79917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
79918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
79919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
79920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
79921         Refreshed.
79923 2012-05-27  David S. Miller  <davem@davemloft.net>
79925         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
79926         (___Q_zero): New.
79927         (__Q_simulate_exceptions): Return void.  Change to simulate
79928         exceptions by writing into the %fsr.
79929         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
79930         (__Qp_handle_exceptions): Likewise.
79931         (numbers): Delete.
79932         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
79933         __Qp_handle_exceptions.
79934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
79935         __Qp_handle_exceptions.
79936         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
79937         as unused and give dummy FP_RND_NEAREST initializer.
79938         (FP_INHIBIT_RESULTS): Define.
79939         (___Q_simulate_exceptions): Update declaration.
79940         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
79941         formatting.
79942         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
79943         as unused and give dummy FP_RND_NEAREST initializer.
79944         (__Qp_handle_exceptions): Update declaration.
79945         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
79946         formatting.
79948 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
79950         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
79951         the temporary FPU control word.
79952         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
79953         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
79954         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
79955         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79956         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
79957         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
79958         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
79959         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79960         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
79961         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
79962         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79964 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79966         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
79967         fields.
79969 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
79971         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
79972         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
79973         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
79974         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
79975         Likewise.
79976         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
79977         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
79978         Likewise.
79980 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
79982         * po/h.po: Update from translation team.
79984 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
79986         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
79988         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
79989         handling of denormals.
79990         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
79991         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
79992         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
79993         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
79994         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
79995         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
79996         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
79997         Likewise.
79999 2012-05-26  Marek Polacek  <polacek@redhat.com>
80001         [BZ #14152]
80002         * math/libm-test.inc (fma_test): Don't always expect underflow
80003         exception.
80005 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
80007         [BZ #12416]
80008         * elf/tst-execstack.c: Include stackinfo.h.
80009         (do_test): Adjust test case to ensure that pthread_getattr_np
80010         behaviour remains the same after marking stack executable.
80012 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80014         * sysdeps/unix/sysv/linux/kernel-features.h
80015         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80016         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80017         kernel-features.h.
80018         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80019         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80020         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80021         kernel-features.h.
80022         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80023         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80025 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
80027         * configure.in: Define the default includes to being none.
80028         * configure: Regenerated.
80030 2012-05-25  Roland McGrath  <roland@hack.frob.com>
80032         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80033         * sysdeps/x86_64/setjmp.S: Likewise.
80034         * sysdeps/i386/bsd-setjmp.S: Likewise.
80035         * sysdeps/i386/bsd-_setjmp.S: Likewise.
80036         * sysdeps/i386/setjmp.S: Likewise.
80037         * sysdeps/i386/__longjmp.S: Likewise.
80038         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80039         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80041         * include/stap-probe.h: New file.
80042         * configure.in: Handle --enable-systemtap.
80043         * configure: Regenerated.
80044         * config.h.in (USE_STAP_PROBE): New #undef.
80045         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80046         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80047         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80049 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80051         [BZ #13717]
80052         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80053         to 2.4.0 where earlier.
80054         * sysdeps/unix/sysv/linux/configure: Regenerated.
80055         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80056         <kernel-features.h>.
80057         [__ASSUME_32BITUIDS]: Make code unconditional.
80058         [!__ASSUME_32BITUIDS]: Remove conditional code.
80059         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80060         <kernel-features.h>.
80061         [__ASSUME_32BITUIDS]: Make code unconditional.
80062         [!__ASSUME_32BITUIDS]: Remove conditional code.
80063         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80064         [__ASSUME_32BITUIDS]: Make code unconditional.
80065         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80066         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80067         <kernel-features.h>.
80068         [__ASSUME_32BITUIDS]: Make code unconditional.
80069         [!__ASSUME_32BITUIDS]: Remove conditional code.
80070         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80071         <kernel-features.h>.
80072         [__ASSUME_32BITUIDS]: Make code unconditional.
80073         [!__ASSUME_32BITUIDS]: Remove conditional code.
80074         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80075         <kernel-features.h>.
80076         [__ASSUME_32BITUIDS]: Make code unconditional.
80077         [!__ASSUME_32BITUIDS]: Remove conditional code.
80078         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80079         <kernel-features.h>.
80080         [__ASSUME_32BITUIDS]: Make code unconditional.
80081         [!__ASSUME_32BITUIDS]: Remove conditional code.
80082         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
80083         <kernel-features.h>.
80084         [__ASSUME_32BITUIDS]: Make code unconditional.
80085         [!__ASSUME_32BITUIDS]: Remove conditional code.
80086         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80087         <kernel-features.h>.
80088         [__ASSUME_32BITUIDS]: Make code unconditional.
80089         [!__ASSUME_32BITUIDS]: Remove conditional code.
80090         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
80091         <kernel-features.h>.
80092         [__ASSUME_32BITUIDS]: Make code unconditional.
80093         [!__ASSUME_32BITUIDS]: Remove conditional code.
80094         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80095         <kernel-features.h>.
80096         [__ASSUME_32BITUIDS]: Make code unconditional.
80097         [!__ASSUME_32BITUIDS]: Remove conditional code.
80098         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80099         <kernel-features.h>.
80100         [__ASSUME_32BITUIDS]: Make code unconditional.
80101         [!__ASSUME_32BITUIDS]: Remove conditional code.
80102         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
80103         <kernel-features.h>.
80104         [__ASSUME_32BITUIDS]: Make code unconditional.
80105         [!__ASSUME_32BITUIDS]: Remove conditional code.
80106         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
80107         <kernel-features.h>.
80108         [__NR_setresgid] (__setresgid): Do not declare.
80109         [__ASSUME_32BITUIDS]: Make code unconditional.
80110         [!__ASSUME_32BITUIDS]: Remove conditional code.
80111         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
80112         <kernel-features.h>.
80113         [__NR_setresuid] (__setresuid): Do not declare.
80114         [__ASSUME_32BITUIDS]: Make code unconditional.
80115         [!__ASSUME_32BITUIDS]: Remove conditional code.
80116         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
80117         <kernel-features.h>.
80118         [__ASSUME_32BITUIDS]: Make code unconditional.
80119         [!__ASSUME_32BITUIDS]: Remove conditional code.
80120         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
80121         <kernel-features.h>.
80122         [__ASSUME_32BITUIDS]: Make code unconditional.
80123         [!__ASSUME_32BITUIDS]: Remove conditional code.
80124         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
80125         <kernel-features.h>.
80126         [__ASSUME_32BITUIDS]: Make code unconditional.
80127         [!__ASSUME_32BITUIDS]: Remove conditional code.
80128         * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.c: Do not include
80137         <kernel-features.h>.
80138         [__ASSUME_32BITUIDS]: Make code unconditional.
80139         [!__ASSUME_32BITUIDS]: Remove conditional code.
80140         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
80141         <kernel-features.h>.
80142         [__ASSUME_32BITUIDS]: Make code unconditional.
80143         [!__ASSUME_32BITUIDS]: Remove conditional code.
80144         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
80145         <kernel-features.h>.
80146         [__ASSUME_32BITUIDS]: Make code unconditional.
80147         [!__ASSUME_32BITUIDS]: Remove conditional code.
80148         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
80149         <kernel-features.h>.
80150         [__ASSUME_32BITUIDS]: Make code unconditional.
80151         [!__ASSUME_32BITUIDS]: Remove conditional code.
80152         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
80153         <kernel-features.h>.
80154         [__ASSUME_32BITUIDS]: Make code unconditional.
80155         [!__ASSUME_32BITUIDS]: Remove conditional code.
80156         * sysdeps/unix/sysv/linux/kernel-features.h
80157         (__ASSUME_SETRESUID_SYSCALL): Remove.
80158         (__ASSUME_SETRESGID_SYSCALL): Likewise.
80159         (__ASSUME_32BITUIDS): Likewise.
80160         (__ASSUME_LDT_WORKS): Likewise.
80161         (__ASSUME_O_DIRECTORY): Likewise.
80162         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
80163         architecture but not kernel version.
80164         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
80165         (__ASSUME_MMAP2_SYSCALL): Likewise.
80166         (__ASSUME_STAT64_SYSCALL): Likewise.
80167         (__ASSUME_IPC64): Likewise.
80168         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
80169         <kernel-features.h>.
80170         [__ASSUME_32BITUIDS]: Make code unconditional.
80171         [!__ASSUME_32BITUIDS]: Remove conditional code.
80172         * sysdeps/unix/sysv/linux/opendir.c: Do not include
80173         <kernel-features.h>.
80174         [__ASSUME_O_DIRECTORY]: Make code unconditional.
80175         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
80176         132096]: Remove conditional code.
80177         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
80178         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
80179         <kernel-features.h>.
80180         [__ASSUME_32BITUIDS]: Make code unconditional.
80181         [!__ASSUME_32BITUIDS]: Remove conditional code.
80182         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
80183         <kernel-features.h>.
80184         [__ASSUME_32BITUIDS]: Make code unconditional.
80185         [!__ASSUME_32BITUIDS]: Remove conditional code.
80186         * sysdeps/unix/sysv/linux/setegid.c: Do not include
80187         <kernel-features.h>.
80188         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
80189         unconditional.
80190         (__setresgid): Do not declare.
80191         [__ASSUME_32BITUIDS]: Make code unconditional.
80192         [!__ASSUME_32BITUIDS]: Remove conditional code.
80193         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
80194         <kernel-features.h>.
80195         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
80196         unconditional.
80197         (__setresuid): Do not declare.
80198         [__ASSUME_32BITUIDS]: Make code unconditional.
80199         [!__ASSUME_32BITUIDS]: Remove conditional code.
80200         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
80201         <kernel-features.h>.
80202         [__ASSUME_32BITUIDS]: Make code unconditional.
80203         [!__ASSUME_32BITUIDS]: Remove conditional code.
80204         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
80205         <kernel-features.h>.
80206         [__ASSUME_32BITUIDS]: Make code unconditional.
80207         [!__ASSUME_32BITUIDS]: Remove conditional code.
80209 2012-05-25  Richard Henderson  <rth@twiddle.net>
80211         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
80212         dl_hwcap to ifunc resolver.
80213         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
80214         elf_ifunc_invoke.
80215         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
80216         dl_hwcap to ifunc resolver.
80217         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
80219 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80221         [BZ #14153]
80222         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
80223         for |x| <= 2**-26, not 2**-57.
80224         * math/libm-test.inc (acos_test): Do not allow spurious underflow
80225         exception.
80227 2012-05-24  Jeff Law  <law@redhat.com>
80229         * stdio-common/Makefile (tests): Add bug25.
80230         * stdio-common/bug25.c: New test.
80232 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
80234         [BZ #13576]
80235         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
80236         multiple of MALLOC_ALIGNMENT in size.
80237         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
80239 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80241         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
80242         Require >= 256.
80243         (FILENAME_MAX): Use macro-int-constant.
80244         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
80245         (_IOFBF): Use macro-int-constant.
80246         (_IOLBF): Likewise.
80247         (_IONBF): Likewise.
80248         (SEEK_CUR): Likewise.
80249         (SEEK_END): Likewise.
80250         (SEEK_SET): Likewise.
80251         (TMP_MAX): Likewise.
80252         (EOF): Use macro-int-constant.  Require < 0.
80253         (NULL): Use macro-constant.  Require == 0.
80254         (stdin): Require type to be FILE *.
80255         (stdout): Likewise.
80256         (stderr): Likewise.
80257         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
80258         macro-int-constant.
80259         (EXIT_SUCCESS): Likewise.
80260         (NULL): Use macro-constant.  Require == 0.
80261         (RAND_MAX): Use macro-int-constant.
80262         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
80263         [C99-based standards] (strtof): Require function.
80264         [C99-based standards] (strtold): Likewise.
80265         [C99-based standards] (strtoll): Likewise.
80266         [C99-based standards] (strtoull): Likewise.
80267         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
80268         [ISO || ISO99 || ISO11] (limits.h): Likewise.
80269         [ISO || ISO99 || ISO11] (math.h): Likewise.
80270         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
80271         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
80272         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80274 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
80276         [BZ #14132]
80277         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
80278         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
80279         * intl/dgettext.c (DCGETTEXT): Likewise.
80280         * intl/gettext.c (DCGETTEXT): Likewise.
80281         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
80282         * posix/regex_internal.h (gettext): Likewise.
80283         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
80284         Remove declaration.
80285         * include/argz.h (__argz_count_internal)
80286         (__argz_stringify_internal): Remove declaration.
80287         (__argz_count, __argz_stringify): Declare hidden proto.
80288         * intl/dcgettext.c: Remove use of INTDEF.
80289         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
80290         * string/argz-stringify.c: Likewise.
80291         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80292         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80293         Declare hidden proto.
80294         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80295         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80296         Declare hidden proto.
80297         * include/stdio.h (__asprintf_internal): Don't declare.
80298         (__asprintf): Don't define as macro.  Declare hidden proto.
80299         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
80300         (__fsetlocking): Declare hidden proto.
80301         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
80302         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
80303         hidden proto.
80304         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
80305         (_IO_setlinebuf): Remove use of INTUSE.
80306         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
80307         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
80308         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
80309         Remove declaration.
80310         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
80311         (_IO_do_flush): Remove use of INTUSE.
80312         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
80313         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
80314         (_IO_adjust_column, _IO_least_wmarker)
80315         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
80316         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
80317         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
80318         (_IO_default_doallocate, _IO_wdefault_doallocate)
80319         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
80320         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
80321         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
80322         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
80323         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
80324         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
80325         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
80326         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
80327         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
80328         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
80329         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
80330         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
80331         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
80332         proto.
80333         (_IO_flush_all_internal, _IO_adjust_column_internal)
80334         (_IO_default_uflow_internal, _IO_default_finish_internal)
80335         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
80336         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
80337         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
80338         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
80339         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
80340         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
80341         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
80342         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
80343         (_IO_file_close_internal, _IO_file_close_it_internal)
80344         (_IO_file_underflow_internal, _IO_file_overflow_internal)
80345         (_IO_file_init_internal, _IO_file_attach_internal)
80346         (_IO_file_fopen_internal, _IO_file_read_internal)
80347         (_IO_file_sync_internal, _IO_file_seek_internal)
80348         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
80349         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
80350         (_IO_str_underflow_internal, _IO_str_overflow_internal)
80351         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
80352         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
80353         (_IO_list_all_internal, _IO_link_in_internal)
80354         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
80355         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
80356         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
80357         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
80358         (_IO_do_write_internal, _IO_padn_internal)
80359         (_IO_getline_info_internal, _IO_getline_internal)
80360         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
80361         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
80362         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
80363         (_IO_vfscanf_internal, _IO_vfprintf_internal)
80364         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
80365         (_IO_init_internal, _IO_un_link_internal): Don't declare.
80366         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
80367         with libc_hidden_ver, remove use of INTUSE.
80368         * libio/genops.c: Likewise.
80369         * libio/freopen.c: Likewise.
80370         * libio/freopen64.c: Likewise.
80371         * libio/iofclose.c: Likewise.
80372         * libio/iofdopen.c: Likewise.
80373         * libio/iofflush.c: Likewise.
80374         * libio/iofflush_u.c: Likewise.
80375         * libio/iofgets.c: Likewise.
80376         * libio/iofgets_u.c: Likewise.
80377         * libio/iofopen.c: Likewise.
80378         * libio/iofopncook.c: Likewise.
80379         * libio/iofread.c: Likewise.
80380         * libio/iofread_u.c: Likewise.
80381         * libio/ioftell.c: Likewise.
80382         * libio/iofwrite.c: Likewise.
80383         * libio/iogetline.c: Likewise.
80384         * libio/iogets.c: Likewise.
80385         * libio/iogetwline.c: Likewise.
80386         * libio/iopadn.c: Likewise.
80387         * libio/iopopen.c: Likewise.
80388         * libio/ioseekoff.c: Likewise.
80389         * libio/ioseekpos.c: Likewise.
80390         * libio/iosetbuffer.c: Likewise.
80391         * libio/iosetvbuf.c: Likewise.
80392         * libio/ioungetc.c: Likewise.
80393         * libio/ioungetwc.c: Likewise.
80394         * libio/iovdprintf.c: Likewise.
80395         * libio/iovsprintf.c: Likewise.
80396         * libio/iovsscanf.c: Likewise.
80397         * libio/memstream.c: Likewise.
80398         * libio/obprintf.c: Likewise.
80399         * libio/oldfileops.c: Likewise.
80400         * libio/oldiofclose.c: Likewise.
80401         * libio/oldiofdopen.c: Likewise.
80402         * libio/oldiofopen.c: Likewise.
80403         * libio/oldiopopen.c: Likewise.
80404         * libio/oldstdfiles.c: Likewise.
80405         * libio/putc.c: Likewise.
80406         * libio/setbuf.c: Likewise.
80407         * libio/setlinebuf.c: Likewise.
80408         * libio/stdfiles.c: Likewise.
80409         * libio/strops.c: Likewise.
80410         * libio/vasprintf.c: Likewise.
80411         * libio/vscanf.c: Likewise.
80412         * libio/vsnprintf.c: Likewise.
80413         * libio/vswprintf.c: Likewise.
80414         * libio/wfiledoalloc.c: Likewise.
80415         * libio/wfileops.c: Likewise.
80416         * libio/wgenops.c: Likewise.
80417         * libio/wmemstream.c: Likewise.
80418         * libio/wstrops.c: Likewise.
80419         * libio/__fpurge.c: Likewise.
80420         * libio/__fsetlocking.c: Likewise.
80421         * assert/assert.c: Likewise.
80422         * debug/fgets_chk.c: Likewise.
80423         * debug/fgets_u_chk.c: Likewise.
80424         * debug/fread_chk.c: Likewise.
80425         * debug/fread_u_chk.c: Likewise.
80426         * debug/gets_chk.c: Likewise.
80427         * debug/obprintf_chk.c: Likewise.
80428         * debug/vasprintf_chk.c: Likewise.
80429         * debug/vdprintf_chk.c: Likewise.
80430         * debug/vsnprintf_chk.c: Likewise.
80431         * debug/vsprintf_chk.c: Likewise.
80432         * malloc/mtrace.c: Likewise.
80433         * misc/error.c: Likewise.
80434         * misc/syslog.c: Likewise.
80435         * stdio-common/asprintf.c: Likewise.
80436         * stdio-common/fxprintf.c: Likewise.
80437         * stdio-common/getw.c: Likewise.
80438         * stdio-common/isoc99_fscanf.c: Likewise.
80439         * stdio-common/isoc99_scanf.c: Likewise.
80440         * stdio-common/isoc99_vfscanf.c: Likewise.
80441         * stdio-common/isoc99_vscanf.c: Likewise.
80442         * stdio-common/isoc99_vsscanf.c: Likewise.
80443         * stdio-common/printf-prs.c: Likewise.
80444         * stdio-common/printf_fp.c: Likewise.
80445         * stdio-common/printf_fphex.c: Likewise.
80446         * stdio-common/printf_size.c: Likewise.
80447         * stdio-common/putw.c: Likewise.
80448         * stdio-common/scanf.c: Likewise.
80449         * stdio-common/sprintf.c: Likewise.
80450         * stdio-common/tmpfile.c: Likewise.
80451         * stdio-common/vfprintf.c: Likewise.
80452         * stdio-common/vfscanf.c: Likewise.
80453         * stdlib/strfmon_l.c: Likewise.
80454         * sunrpc/openchild.c: Likewise.
80455         * sunrpc/xdr_stdio.c: Likewise.
80456         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
80457         * sysdeps/mach/hurd/tmpfile.c: Likewise.
80459 2012-05-24  Roland McGrath  <roland@hack.frob.com>
80461         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80463         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
80464         in the third column, to generate for the shared library an IFUNC
80465         that uses _dl_vdso_vsym.
80466         * Makerules (COMPILE.c, compile-stdin.c): New variables.
80467         * Makeconfig (object-suffixes-noshared): New variable.
80469         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
80470         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
80471         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
80472         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
80474         [BZ #14132]
80475         * include/sys/time.h (__gettimeofday): Remove macro.
80476         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
80477         * time/gettimeofday.c (__gettimeofday): Remove #undef.
80478         Remove INTDEF.
80479         (__gettimeofday): Add libc_hidden_def.
80480         (gettimeofday): Add libc_hidden_weak.
80481         * sysdeps/mach/gettimeofday.c: Likewise.
80482         * sysdeps/posix/gettimeofday.c: Likewise.
80483         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
80484         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
80485         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
80486         (__gettimeofday_internal): Remove strong_alias.
80487         (__gettimeofday): Add libc_hidden_def.
80488         (gettimeofday): Add libc_hidden_weak.
80489         * sysdeps/unix/syscalls.list (gettimeofday):
80490         Remove __gettimeofday_internal alias.
80492 2012-05-24  Daniel Jacobowitz  <drow@false.org>
80493             H.J. Lu  <hongjiu.lu@intel.com>
80495         [BZ #12495]
80496         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
80497         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
80498         (largebin_index_32_big): New.
80499         (largebin_index): Use it for 16-byte alignment.
80500         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
80501         correction with front_misalign.
80503 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
80505         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
80506         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
80507         Likewise.
80508         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
80509         Likewise.
80510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
80511         Likewise.
80512         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
80513         Likewise.
80514         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
80515         Likewise.
80516         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
80517         Likewise.
80518         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
80519         Likewise.
80520         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
80521         Likewise.
80522         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
80523         Likewise.
80524         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
80525         Likewise.
80526         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
80527         Likewise.
80528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
80529         Likewise.
80531         * scripts/data/c++-types-x32-linux-gnu.data: New file.
80532         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
80534 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80536         [BZ #10846]
80537         [BZ #14036]
80538         * math/libm-test.inc (exp_test): Add test from bug 14036.
80539         (pow_test): Add test from bug 10846.
80541         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
80542         and other flags.
80543         (special_function): Do not include flags in test name.
80544         (parse_args): Likewise.
80545         * sysdeps/i386/fpu/libm-test-ulps: Update.
80546         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80547         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
80548         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
80549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80551         * math/gen-libm-test.pl (%beautify): Add entries for underflow
80552         exceptions.
80553         * math/libm-test.inc ("Philosophy"): Update comment about
80554         exception testing.
80555         (UNDERFLOW_EXCEPTION): New macro.
80556         (UNDERFLOW_EXCEPTION_OK): Likewise.
80557         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
80558         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
80559         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
80560         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
80561         (INVALID_EXCEPTION_OK): Update value.
80562         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
80563         (OVERFLOW_EXCEPTION_OK): Likewise.
80564         (IGNORE_ZERO_INF_SIGN): Likewise.
80565         (test_exceptions): Handle underflow exceptions.
80566         (acos_test): Update for underflow exception expectations.
80567         (cexp_test): Likewise.
80568         (clog_test): Likewise.
80569         (clog10_test): Likewise.
80570         (csqrt_test): Likewise.
80571         (ctan_test): Likewise.
80572         (ctanh_test): Likewise.
80573         (exp_test): Likewise.
80574         (exp10_test): Likewise.
80575         (exp2_test): Likewise.
80576         (expm1_test): Likewise.
80577         (fma_test): Likewise.
80578         (j0_test): Likewise.
80579         (jn_test): Likewise.
80580         (nexttoward_test): Likewise.
80581         (pow_test): Likewise.
80582         (scalbn_test): Likewise.
80583         (scalbln_test): Likewise.
80584         (tan_test): Likewise.
80585         (y1_test): Likewise.
80586         * sysdeps/i386/fpu/libm-test-ulps: Update.
80587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80589 2012-05-23  David S. Miller  <davem@davemloft.net>
80591         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
80592         (__libc_sigaction): Remove unused local variables.
80594 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
80596         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
80598 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
80600         mktime: avoid signed integer overflow
80601         * time/mktime.c (__mktime_internal): Do not mishandle the case
80602         where diff == INT_MIN.
80604         mktime: simplify computation of average
80605         * time/mktime.c (ranged_convert): Use new time_t_avg function
80606         instead of rolling our own (probably-slower) code.
80608         mktime: do not assume signed right shift propagates sign bit
80609         * time/mktime.c (isdst_differ): New static function.
80610         (__mktime_internal): No need to normalize tm_isdst now.
80611         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
80612         tm_isdst values.
80614         mktime: merge another wrapv change from gnulib
80615         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
80616         from some compilers.
80618         mktime: remove incorrect attempt at unusual arithmetics
80619         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
80620         The code didn't really work on such machines anyway.
80621         (TYPE_MINIMUM): Assume two's complement.
80622         (twos_complement_arithmetic): Verify that long_int and time_t
80623         are two's complement (or unsigned, in the latter case).
80625         mktime: check signed shifts on long_int and time_t, too
80626         * time/mktime.c (SHR): Check that shifts work as desired
80627         on the types long_int and time_t too, as SHR is used on
80628         such types.
80630         mktime: do not assume 'long' is wide enough
80631         * time/mktime.c (verify): Move decl up.
80632         (long_int): New type.
80633         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
80634         to remove assumption in the code that 'long' is wide enough to
80635         store year values.  This assumption is not true on x32 and on
80636         some non-glibc platforms.
80638         mktime: merge wrapv change from gnulib
80639         * time/mktime.c (WRAPV): New macro.
80640         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
80641         (guess_time_tm, __mktime_internal): Do not assume that signed
80642         integer overflow wraps around; modern compilers generate code
80643         where this assumption is no longer valid.
80645 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
80647         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
80648         Replace "jmp L(pseudo_end)" with "ret".
80649         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
80650         Likewise.
80652 2012-05-23  Andreas Jaeger  <aj@suse.de>
80654         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
80655         * sysdeps/unix/sysv/linux/poll.c: Remove file.
80657 2012-05-23  Andreas Jaeger  <aj@suse.de>
80658             Maximilian Attems  <max@stro.at>
80660         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
80661         New macros.
80663 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
80665         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
80666         code so that pseudo_end is just ret and the stack pointer is
80667         correct also for static library in error case.
80669 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
80671         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
80672         move to syscalls.list.
80673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
80674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
80675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
80676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
80678         * manual/install.texi (Running make install): Do not mention Linux
80679         kernel version for which pt_chown is not needed.
80680         (Linux): Do not mention problems with nscd with 2.0 kernels.
80681         * INSTALL: Regenerated.
80683 2012-05-23  Andreas Jaeger  <aj@suse.de>
80685         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
80686         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
80687         macro.
80688         * sysdeps/unix/sysv/linux/s390/bits/mman.h
80689         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80690         * sysdeps/unix/sysv/linux/sh/bits/mman.h
80691         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80692         * sysdeps/unix/sysv/linux/i386/bits/mman.h
80693         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80694         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
80695         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80696         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
80697         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80698         * sysdeps/unix/sysv/linux/bits/in.h
80699         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
80701 2012-05-22  Roland McGrath  <roland@hack.frob.com>
80703         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
80704         (PREPARE_VERSION): Just use assert instead, it will be elided
80705         under [NDEBUG] anyway.
80707 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
80709         * sysdeps/unix/sysv/linux/Makefile: Include
80710         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
80711         (sysdep_routines): Remove sysctl.
80712         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
80713         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
80714         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
80715         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
80716         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
80718 2012-05-22  Andreas Jaeger  <aj@suse.de>
80720         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
80721         that pseudo_end is just ret and the stack pointer is correct also
80722         for static library in error case.
80724 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
80726         [BZ #14122]
80727         * nss/nsswitch.c (defconfig_entries): New variable.
80728         (__nss_database_lookup): Don't leak defconfig entries.
80729         (nss_parse_service_list): Don't leak on error paths.
80730         (free_database_entries): New function.
80731         (free_defconfig): New function.
80732         (free_mem): Move common code to free_database_entries.
80734 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
80736         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
80737         Add arch_prctl.
80738         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
80740         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
80741         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
80742         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
80743         New macro.
80744         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
80745         (INTERNAL_SYSCALL_TYPES): Likewise.
80746         (LOAD_ARGS_TYPES_[1-6]): Likewise.
80747         (LOAD_REGS_TYPES_[1-6]): Likewise.
80748         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
80749         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
80751 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80753         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
80754         copysignl for GLIBC_2_0.
80755         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
80756         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
80757         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
80758         logbl for GLIBC_2_0.
80759         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
80760         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
80762 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
80764         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
80765         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
80767         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
80768         Use "neg %eax".
80770         * time/mktime.c: Update copyright years.
80772 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
80774         mktime: merge comment-quoting-style change from gnulib
80775         * time/mktime.c: Quote 'like this' in comments.
80776         The GNU coding standards suggest that we no longer quote `like this',
80777         as "`" and "'" are typically rendered asymmetrically nowadays.
80778         The typical gnulib style is to quote 'like this' when quoting
80779         code, and "like this" when quoting English.
80781         * time/mktime.c (compile-command): Add "-I.".
80783         mktime: merge mktime-internal.h change from gnulib
80784         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
80786         mktime: merge time_r change from gnulib
80787         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
80789         mktime: merge DEBUG change from gnulib
80790         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
80791         case system <time.h> has a #define.
80793         mktime: merge <sys/types.h> change from gnulib
80794         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
80795         since <time.t> is now guaranteed to define time_t.
80797         mktime: merge HAVE_CONFIG_H change from gnulib
80798         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
80800 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
80802         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
80803         Use "neg %eax".
80805         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
80806         __rlim_t cast.
80807         (struct rusage): Use anonymous union to pad each field to
80808         __syscall_slong_t.
80810 2012-05-21  David S. Miller  <davem@davemloft.net>
80812         * Makefules (o-iterator): Remove .s cases.
80813         (compile-command.s): Delete.
80814         (COMPILE.s): Delete.
80815         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
80817 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
80819         * configure.in (libc_cv_predef_stack_protector): Only consider
80820         "foobar" and "__stack_chk_fail" lines in libc_undefs.
80821         * configure: Regenerated.
80823 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80825         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
80826         New macro.  Use R*LP on int and pointer.
80827         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
80828         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
80829         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
80830         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
80832         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
80833         [__WORDSIZE_TIME64_COMPAT32] instead of
80834         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
80835         (struct utmp): Likewise.
80836         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
80837         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
80838         Renamed to ...
80839         (__WORDSIZE_TIME64_COMPAT32): This.
80840         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
80841         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
80842         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
80843         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
80844         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
80845         (__WORDSIZE_TIME64_COMPAT32): New macro.
80847 2012-05-21  Andreas Jaeger  <aj@suse.de>
80849         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
80850         only if [SHARED]. Add prototype for __wcschr_ia32.
80852 2012-05-21  Roland McGrath  <roland@hack.frob.com>
80854         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
80855         of %rbp unmolested in the jmp_buf while mangling the low bits.
80856         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
80857         unmolested high bits of %rbp while demangling the low bits.
80858         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80860 2012-05-21  Andreas Jaeger  <aj@suse.de>
80862         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
80863         * sunrpc/svc_simple.c: Use it for registerrpc.
80864         * sunrpc/xcrypt.c: Use it for passwd2des.
80866         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
80868 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80870         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
80871         Don't define if [__SYSCALL_WORDSIZE != 32].
80872         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
80873         New macro.
80875 2012-05-21  Bruno Haible  <bruno@clisp.org>
80876             Andreas Jaeger  <aj@suse.de>
80878         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
80879         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
80880         inptr and inend for must_buffer_ch.
80881         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
80882         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
80883         * stdio-common/Makefile (tests): Remove bug15.
80884         (bug15-ENV): Remove macro.
80885         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
80886         anymore.
80888 2012-05-19  Andreas Jaeger  <aj@suse.de>
80889             Roland McGrath  <roland@hack.frob.com>
80891         * manual/contrib.texi: Completely rewritten. It contains now an
80892         alphabetical list of contributors and their contributions.
80894 2012-05-21  Richard Henderson  <rth@twiddle.net>
80896         * misc/getauxval.c (__getauxval): Use unsigned long int.
80897         * misc/sys/auxv.h: Include <sys/cdefs.h>.
80898         (getauxval): Use unsigned long int.
80900 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80902         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80904 2012-05-21  Roland McGrath  <roland@hack.frob.com>
80906         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
80907         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
80908         __alignof__ (long double).
80910 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80914 2012-05-20  Richard Henderson  <rth@twiddle.net>
80916         * misc/getauxval.c: New file.
80917         * misc/sys/auxv.h: New file.
80918         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
80919         (routines): Add getauxval.
80920         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
80921         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
80922         * elf/dl-sysdep.c (_dl_auxv): Remove.
80923         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
80924         * elf/dl-support.c (_dl_auxv): New variable.
80925         (_dl_aux_init): Initialize it.
80926         * manual/startup.texi (Auxiliary Vector): New node.
80927         * sysdeps/generic/bits/hwcap.h: New file.
80928         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
80929         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
80930         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
80931         * sysdeps/sparc/sysdep.h: ... here.  Include it.
80932         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
80933         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
80934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
80935         Update.
80936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
80937         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
80938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
80939         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
80940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
80941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
80942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
80943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
80945 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80949 2012-05-19  David S. Miller  <davem@davemloft.net>
80951         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80953 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
80955         [BZ #14123]
80956         * math/s_ccosh.c: Include <float.h>
80957         (__ccosh): Avoid internal overflow calculating sinh and cosh
80958         values before multiplying by sin and cos values.
80959         * math/s_ccoshf.c: Likewise.
80960         * math/s_ccoshl.c: Likewise.
80961         * math/s_csin.c: Likewise.
80962         * math/s_csinf.c: Likewise.
80963         * math/s_csinl.c: Likewise.
80964         * math/s_csinh.c: Likewise.
80965         * math/s_csinhf.c: Likewise.
80966         * math/s_csinhl.c: Likewise.
80967         * math/libm-test.inc (ccos_test): Add more tests.
80968         (ccosh_test): Likewise.
80969         (csin_test): Likewise.
80970         (csinh_test): Likewise.
80971         * sysdeps/i386/fpu/libm-test-ulps: Update.
80972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80974 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
80976         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
80977         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
80979         * sysdeps/x86_64/x32/_itoa.h: Add comment.
80981 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
80983         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
80984         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
80985         * sysdeps/powerpc/soft-fp/Versions: Likewise.
80986         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
80987         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
80988         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
80989         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
80990         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
80991         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
80992         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
80993         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
80994         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
80995         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
80996         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
80997         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
80998         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
80999         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81000         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81001         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81002         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81003         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81004         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81005         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81006         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81007         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81008         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81009         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81010         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81011         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81012         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81013         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81015 2012-05-18  Andreas Jaeger  <aj@suse.de>
81017         * csu/.gitignore: Delete.
81019 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81021         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81022         (timex): Use __syscall_slong_t.
81024 2012-05-18  Andreas Jaeger  <aj@suse.de>
81025             Carlos O'Donell  <carlos_odonell@mentor.com>
81027         * manual/install.texi (Configuring and compiling): Update
81028         description about files modified in the source directory.
81029         * INSTALL: Regenerated.
81031 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81033         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81034         value.  Use "or" to set return value to -1.
81035         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81036         negate return value.
81038 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81040         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81041         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81042         failure if the compiler has Graphite support disabled.
81043         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81044         Likewise.
81045         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81046         (CFLAGS-memmove.c): Likewise.
81047         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81048         Likewise.
81050 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81052         * sysdeps/x86_64/x32/_itoa.h: New file.
81054         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81055         getdents system call only if kernel and user dirents have the
81056         same d_ino and d_off.
81058         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81059         LLONG_MAX != LONG_MAX.
81060         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81061         (_fitoa_word): Likewise.
81063         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81064         years.
81065         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81066         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81067         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81069         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81070         include <bits/wordsize.h>.  Check __x86_64__ instead of
81071         __WORDSIZE.
81072         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81073         if __x86_64__ is defined.  Use anonymous union on fpstate.
81075         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81076         anonymous union.
81078 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
81080         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81081         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81082         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81083         Refer to _rtld_local_ro instead of _rtld_global_ro.
81084         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81085         Likewise.
81086         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81087         Likewise.
81088         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81089         Likewise.
81090         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81091         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81092         of _rtld_global, and rtld_progname instead of _dl_argv[0].
81094         [BZ #10882]
81095         * sysdeps/powerpc/powerpc32/dl-machine.c
81096         (__elf_machine_runtime_setup) [PROF]: Don't reference
81097         _dl_prof_resolve.
81099 2012-05-18  Andreas Jaeger  <aj@suse.de>
81101         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
81102         function only available for GCCs before 3.4 since GCC 3.4
81103         introduced a builtin.
81104         (lrint): Likewise.
81105         (llrintf): Likewise.
81106         (llrint): Likewise.
81107         (fmaxf): Likewise.
81108         (fmax): Likewise.
81109         (fminf): Likewise.
81110         (fmin): Likewise.
81111         (rint): Likewise.
81112         (rintf): Likewise.
81113         (nearbyint): Likewise.
81114         (nearbyintf): Likewise.
81115         (ceil): Likewise.
81116         (ceilf): Likewise.
81117         (floor): Likewise.
81118         (floorf): Likewise.
81120 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81122         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
81123         on both fields and cast pointer to __syscall_ulong_t.
81125         * bits/types.h (__fsword_t): New type.
81126         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
81127         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
81128         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81129         (__FSWORD_T_TYPE): Likewise.
81130         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81131         (__FSWORD_T_TYPE): Likewise.
81132         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81133         (__FSWORD_T_TYPE): Likewise.
81134         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
81135         (__FSWORD_T_TYPE): Likewise.
81136         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81137         __SWORD_TYPE with __fsword_t.
81138         (statfs64): Likewise.
81140 2012-05-17  David S. Miller  <davem@davemloft.net>
81142         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
81144 2012-05-17  Andreas Jaeger  <aj@suse.de>
81146         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
81147         warning.
81149 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81151         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
81153 2012-05-17  Andreas Jaeger  <aj@suse.de>
81155         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
81156         when it is used.
81158 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
81160         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
81162 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81164         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
81165         * sysdeps/x86_64/tst-mallocalign1.c: New file.
81167 2012-05-17  Andreas Jaeger  <aj@suse.de>
81168             Carlos O'Donell  <carlos_odonell@mentor.com>
81170         [BZ #14059]
81171         * sysdeps/x86_64/multiarch/init-arch.h
81172         (bit_YMM_Usable): Rename to...
81173         (bit_AVX_Usable): ... this.
81174         (bit_FMA4_Usable): New macro.
81175         (bit_XMM_state): New macro.
81176         (bit_YMM_state): New macro.
81177         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
81178         [__ASSEMBLER__] (index_AVX_Usable): ... this.
81179         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
81180         (CPUID_OSXSAVE): New macro.
81181         (CPUID_AVX): New macro.
81182         (CPUID_FMA4): New macro.
81183         (index_YMM_Usable): Rename to...
81184         (index_AVX_Usable): ... this.
81185         (HAS_AVX): Use HAS_ARCH_FEATURE.
81186         (HAS_FMA4): Likewise.
81187         (HAS_YMM_USABLE): Remove.
81188         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81189         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
81190         are present.
81191         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
81192         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
81193         * sysdeps/x86_64/multiarch/Makefile: Likewise.
81194         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
81195         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
81197 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
81199         * math/libm-test.c: Support platforms without multiple rounding modes.
81200         * math/bug-nextafter.c: Support platforms without FP exceptions.
81201         * math/bug-nexttoward.c: Likewise.
81202         * math/test-fenv.c: Likewise.
81203         * math/test-misc.c: Likewise.
81204         * stdlib/bug-getcontext.c: Likewise.
81206 2012-05-17  Andreas Jaeger  <aj@suse.de>
81208         * manual/examples/search.c (critter_cmp): Change signature to
81209         avoid warnings.
81210         * manual/string.texi (Collation Functions): Likewise.
81212 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81214         * bits/types.h: Fold copyright years.
81215         * bits/typesizes.h: Likewise.
81216         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
81217         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
81218         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
81219         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
81220         * time/time.h: Likewise.
81222 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
81224         [BZ #208]
81225         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
81226         in instead of returning them.  Return void.
81227         (__libc_mallinfo): Accumulate over all arenas.
81228         (__malloc_stats): Adjust for change in int_mallinfo interface.
81230 2012-05-16  Roland McGrath  <roland@hack.frob.com>
81232         [BZ #10375]
81233         * configure.in (NM): Add AC_CHECK_TOOL for it.
81234         (libc_extra_cflags): New substituted variable.
81235         Check for -fstack-protector being used implicitly.
81236         * configure: Regenerated.
81237         * config.make.in (config-extra-cflags): New variable,
81238         gets @libc_extra_cflags@.
81239         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
81241         [BZ #10375]
81242         * configure.in: Check for _FORTIFY_SOURCE being predefined.
81243         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
81244         * configure: Regenerated.
81245         * config.make.in (CPPUNDEFS): New substituted variable.
81246         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
81247         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
81248         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
81250 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81252         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
81253         (mq_attr): Use __syscall_slong_t.
81255 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81257         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
81258         Check __x86_64__ instead of __WORDSIZE.
81259         (_STAT_VER_LINUX): Likewise.
81260         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
81261         __syscall_ulong_t and __syscall_slong_t.
81262         (stat64): Likewise.
81264 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81266         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
81268 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81270         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
81272 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81274         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
81275         __syscall_ulong_t.
81277         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
81278         include <bits/wordsize.h>.  Check __x86_64__ instead of
81279         __WORDSIZE.
81280         (greg_t): Use "__extension__ long long int" if __x86_64__ is
81281         defined.
81282         (mcontext_t): Replace "unsigned long" with "unsigned long long".
81284         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
81285         include <bits/wordsize.h>.  Check __x86_64__ instead of
81286         __WORDSIZE.
81287         (user_regs_struct): Use "__extension__ unsigned long long"
81288         instead of "unsigned long" if __x86_64__ is defined.
81289         (user): Likewise.  Pad after pointer field if __ILP32__ is
81290         defined.
81292 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
81294         * configure.in (makeinfo): Require version 4.5 or later.  Allow
81295         versions 5 to 9.
81296         * configure: Regenerated.
81297         * manual/install.texi (texinfo): Increase version requirement to
81298         4.5 or later.
81299         * INSTALL: Regenerated.
81301         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
81303 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81305         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
81307         * sysdeps/x86_64/x32/ffs.c: New file.
81309         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
81310         __syscall_ulong_t.
81311         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
81312         defined.  Use __syscall_ulong_t.
81313         (shminfo): Use __syscall_ulong_t.
81314         (shm_info): Likewise.
81316         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
81317         __syscall_ulong_t.
81319         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
81320         <bits/wordsize.h>.
81321         (msgqnum_t): Use __syscall_ulong_t.
81322         (msglen_t): Likewise.
81323         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
81324         __syscall_ulong_t.
81326         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
81327         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
81329         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
81331         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
81332         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
81334         * sysvipc/sys/msg.h (msgbuf): Replace long int with
81335         __syscall_slong_t.
81337         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
81338         include <bits/wordsize.h>.  Check __x86_64__ instead of
81339         __WORDSIZE.
81341         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
81342         "unsigned long long int" if __x86_64__ is defined.
81343         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
81345         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
81346         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
81347         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
81349         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
81350         <stdint.h>.
81351         (GET_PC): Cast to uintptr_t first.
81352         (GET_FRAME): Likewise.
81353         (GET_STACK): Likewise.
81355         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
81356         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
81357         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
81358         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
81359         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
81360         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
81361         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
81362         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
81363         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
81364         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
81365         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
81366         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
81367         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
81368         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
81369         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
81370         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
81371         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
81372         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
81373         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
81374         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
81375         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
81376         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
81377         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
81378         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
81379         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
81380         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
81381         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
81382         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
81383         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
81385 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
81387         * Makerules (+depfiles): Also collect depfiles from .oS in
81388         $(extra-objs).
81389         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
81390         .oS, $(libnldbl-routines)).
81392         * Makerules (native-compile-mkdep-flags): Define.
81393         * sunrpc/Makefile (extra-objs): Add $(addprefix
81394         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
81395         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
81396         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
81397         calling $(make-target-directory).
81399 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81401         * bits/types.h (__snseconds_t): Removed.
81402         * time/time.h (struct timespec): Replace __snseconds_t with
81403         __syscall_slong_t.
81404         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
81405         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
81406         Likewise.
81407         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81408         (__SNSECONDS_T_TYPE): Likewise.
81409         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81410         (__SNSECONDS_T_TYPE): Likewise.
81411         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81412         (__SNSECONDS_T_TYPE): Likewise.
81414 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81416         * sysdeps/mach/hurd/bits/typesizes.h
81417         (__SYSCALL_SLONG_TYPE): New macro.
81418         (__SYSCALL_ULONG_TYPE): Likewise.
81420 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81422         * bits/types.h (__syscall_slong_t): New type.
81423         (__syscall_ulong_t): Likewise.
81425         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
81426         (__SYSCALL_ULONG_TYPE): Likewise.
81427         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81428         (__SYSCALL_SLONG_TYPE): Likewise.
81429         (__SYSCALL_ULONG_TYPE): Likewise.
81430         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81431         (__SYSCALL_SLONG_TYPE): Likewise.
81432         (__SYSCALL_ULONG_TYPE): Likewise.
81433         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81434         (__SYSCALL_SLONG_TYPE): Likewise.
81435         (__SYSCALL_ULONG_TYPE): Likewise.
81437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81439         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
81440         Add sigaltstack-offsets.sym.
81441         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
81442         <sigaltstack-offsets.h>.
81443         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
81444         longjmp_msg pointer.
81445         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
81446         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
81447         signal stack.
81448         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
81450 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
81452         * elf/stackguard-macros.h: Remove file.
81453         * sysdeps/generic/stackguard-macros.h: New file.
81454         * sysdeps/i386/stackguard-macros.h: Likewise.
81455         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
81456         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
81457         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
81458         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
81459         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
81460         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
81461         * sysdeps/x86_64/stackguard-macros.h: Likewise.
81462         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
81463         <elf/stackguard-macros.h>.
81465         [BZ #14109]
81466         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
81467         __aligned__ in attribute.
81468         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
81469         (gregset_t): Likewise.
81471 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81473         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
81474         * sysdeps/x86_64/64/Implies-after: Here.  New file.
81475         * sysdeps/x86_64/x32/Implies-after: New file.
81477 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81479         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
81480         and access return value for _dl_profile_fixup.  Use R10_LP to
81481         load frame size.
81483 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81485         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
81487 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81489         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
81490         * sysdeps/x86_64/x32/sysdep.h: New file.
81492 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81494         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
81495         * sysdeps/x86_64/setjmp.S: Likewise.
81497 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81499         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
81500         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
81501         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
81502         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
81503         remove unused global constant.
81505 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
81507         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
81508         include of <not-cancel.h>.
81510 2012-05-15  Roland McGrath  <roland@hack.frob.com>
81512         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
81514 2012-05-15  Jeff Law  <law@redhat.com>
81515             Andreas Jaeger  <aj@suse.de>
81517         [BZ #13594]
81518         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
81519         out from...
81520         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
81521         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
81522         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
81523         code changing __hst_map_handle.map.
81525 2012-05-15  Roland McGrath  <roland@hack.frob.com>
81527         * configure.in (sysnames): Look for Implies-before and Implies-after
81528         files.
81529         * configure: Regenerated.
81531 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81533         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
81534         8-byte data alignment with LP_SIZE alignment.
81536 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81538         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
81539         into R10_LP.
81541 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81543         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
81545 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81547         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
81548         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
81549         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
81550         Likewise.
81551         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
81553 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81555         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
81556         (stackinfo_sub_sp): Likewise.
81558 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81560         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
81561         RAX_LP.
81563 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81565         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
81566         into R*_LP.
81568 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81570         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
81571         sizes into R*_LP.
81573 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81575         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
81577 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81579         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
81580         into R11_LP and load __x86_64_shared_cache_size_half into
81581         R8_LP.
81583 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81585         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
81586         R8_LP.
81588 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81590         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
81591         logb for POWER7.
81592         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
81593         logbf for POWER7.
81594         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
81595         logbl for POWER7.
81596         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
81597         powerpc32/power7/fpu/s_logb.c via #include.
81598         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
81599         powerpc32/power7/fpu/s_logbf.c via #include.
81600         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
81601         powerpc32/power7/fpu/s_logbl.c via #include.
81603 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
81605         * README.libm: Remove file.
81607 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81609         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
81610         count for x32.  Use R*_LP and omit operand-size suffix.
81612 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81614         * shlib-versions: Move x86_64-.*-linux.* entries to ...
81615         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
81616         * sysdeps/x86_64/x32/shlib-versions: New file.
81618 2012-05-14  Roland McGrath  <roland@hack.frob.com>
81620         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
81621         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
81622         Use _dl_fatal_printf instead.
81624 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
81626         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
81627         set if not set by the user.  Do not allow for being unset.
81628         * sysdeps/unix/sysv/linux/configure: Regenerated.
81630 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81632         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
81633         the `q' suffix from lea and replace .quad with ASM_ADDR.
81635 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81637         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
81638         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
81639         instead of $17.
81640         (PTR_DEMANGLE): Likewise.
81642 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81644         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
81645         (LP_OP): Likewise.
81646         (ASM_ADDR): Likewise.
81647         (RAX_LP): Likewise.
81648         (RBP_LP): Likewise.
81649         (RBX_LP): Likewise.
81650         (RCX_LP): Likewise.
81651         (RDI_LP): Likewise.
81652         (RSI_LP): Likewise.
81653         (RSP_LP): Likewise.
81654         (R8_LP): Likewise.
81655         (R9_LP): Likewise.
81656         (R10_LP): Likewise.
81657         (R10_LP): Likewise.
81658         (R11_LP): Likewise.
81659         (R12_LP): Likewise.
81660         (R13_LP): Likewise.
81661         (R14_LP): Likewise.
81662         (R15_LP): Likewise.
81664 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81666         * sysdeps/x86_64/x32/dl-machine.h: New file.
81668 2012-05-14  Andreas Jaeger  <aj@suse.de>
81670         * manual/Makefile (subdir): Remove export of subdir.
81671         (all): Remove target.
81672         (.PHONY): Remove all from list.
81673         (mkinstalldirs): Remove.
81674         (.PHONY): Remove installdirs from list.
81675         ($(inst_infodir)/libc.info): Use make-target-directory.
81676         (installdirs): Remove.
81677         (subdir_%): Remove.
81678         (glibc-targets): Remove.
81679         (lib): Remove.
81680         (stubs): Remove.
81681         ($(objpfx)stubs ../po/manual.pot): Remove.
81682         ($(objpfx)stamp%): Remove.
81683         (make-target-directory): Remove.
81684         (subdir_install): Remove.
81685         (routines): Remove.
81686         (aux): Remove.
81687         (sources): Remove.
81688         (objects): Remove.
81689         (headers): Remove.
81691         [BZ #13750]
81692         * manual/.gitignore: Remove, it's not needed anymore.
81693         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
81694         all files in it.
81695         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
81696         directory.
81697         (texis): Renamed to $(objpfx)texis.
81698         (texis-path): New, contains path to generated files.
81699         (chapters.%): Use texis-path for complete path, add extra argument
81700         libc-texinfo.sh.
81701         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
81702         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
81703         (summary,texi, stamp-summary): Use complete path of
81704         files. Generate files in build dir.
81705         (dir-add.texi): Build in build dir.
81706         (libm-err.texi,stamp-libm-err): Likewise.
81707         (version.texi, stamp-version): Likewise.
81708         (.%c.texi): Likewise.
81709         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
81710         (mostlyclean): Remove target.
81711         (realclean): Remove target.
81712         (generated): Add new variable with contents from mostlyclean and
81713         realclean, remove entries duplicated in common-mostlyclean, add
81714         stamp-libm-err and stamp-version.
81715         (generated-dirs): Add libc directory.
81716         ($(inst_infodir)/libc.info): Install files from build dir.
81718         * manual/install.texi (Configuring and compiling): Adjust since
81719         the info files are not part of the tar ball anymore.
81721 2012-05-14  Andreas Jaeger  <aj@suse.de>
81723         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
81724         variable.
81726 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
81728         [BZ #13717]
81729         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
81730         to 2.2.0 where earlier.
81731         * sysdeps/unix/sysv/linux/configure: Regenerated.
81732         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
81733         Remove conditional code.
81734         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
81735         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
81736         Remove conditional code.
81737         [!__NR_lchown]: Likewise.
81738         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
81739         [__NR_lchown]: Likewise.
81740         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
81741         comment referencing __ASSUME_LCHOWN_SYSCALL.
81742         * sysdeps/unix/sysv/linux/i386/sigaction.c
81743         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81744         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81745         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
81746         Remove conditional code.
81747         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
81748         (__protocol_available): Remove #if 0 code.
81749         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
81750         conditional code.
81751         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
81752         * sysdeps/unix/sysv/linux/kernel-features.h
81753         (__ASSUME_GETCWD_SYSCALL): Don't define.
81754         (__ASSUME_REALTIME_SIGNALS): Likewise.
81755         (__ASSUME_PREAD_SYSCALL): Likewise.
81756         (__ASSUME_PWRITE_SYSCALL): Likewise.
81757         (__ASSUME_POLL_SYSCALL): Likewise.
81758         (__ASSUME_LCHOWN_SYSCALL): Likewise.
81759         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
81760         non-SPARC.
81761         (__ASSUME_SIOCGIFNAME): Don't define.
81762         (__ASSUME_MSG_NOSIGNAL): Likewise.
81763         (__ASSUME_SENDFILE): Define unconditionally.
81764         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
81765         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
81766         conditional code.
81767         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
81768         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
81769         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
81770         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
81771         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
81772         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
81773         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
81774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
81775         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81776         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
81778         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81779         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
81781         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81782         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
81784         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81785         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
81787         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81788         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
81790         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81791         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
81793         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81794         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
81796         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81797         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81798         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
81799         Remove conditional code.
81800         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81801         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
81802         Remove conditional code.
81803         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81804         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
81805         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
81806         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
81807         Remove conditional code.
81808         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81809         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
81810         Remove conditional code.
81811         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81812         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
81813         Remove conditional code.
81814         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81815         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
81816         Remove conditional code.
81817         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81818         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
81819         Remove conditional code.
81820         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81821         * sysdeps/unix/sysv/linux/sh/pwrite64.c
81822         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81823         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81824         * sysdeps/unix/sysv/linux/sigaction.c
81825         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81826         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81827         * sysdeps/unix/sysv/linux/sigpending.c
81828         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81829         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81830         * sysdeps/unix/sysv/linux/sigprocmask.c
81831         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81832         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81833         * sysdeps/unix/sysv/linux/sigsuspend.c
81834         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81835         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81836         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81837         (__libc_missing_rt_sigs): Remove.
81838         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
81839         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
81840         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
81841         Remove conditional code.
81842         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
81843         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
81844         return 1.
81845         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
81846         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
81847         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
81848         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
81850 2012-05-14  Andreas Jaeger  <aj@suse.de>
81852         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
81853         it's not used in glibc.
81854         (__coshm1): Likewise.
81855         (__acosh1p): Likewise.
81856         (__sgn): Likewise.
81858         * manual/string.texi (Copying and Concatenation): Add missing
81859         variable in concat example.
81860         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
81862 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81864         [BZ #14103]
81865         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
81866         __builtin_clzl with __builtin_clzll.
81868 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81870         [BZ #14104]
81871         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
81872         libc_freeres_ptr.
81874 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81876         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
81877         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
81878         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
81879         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
81881 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
81883         * NEWS: Update ia64 info.
81885 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
81887         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
81888         used as bcopy.
81890 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
81892         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
81893         * sysdeps/unix/syscalls.list (dup3): Likewise.
81894         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
81895         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
81897 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
81899         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
81900         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
81902 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
81904         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
81905         thread pointer.
81906         (TLS_IE): Use mov/add instead of movq/addq to load thread
81907         pointer.
81908         (TLS_GD_PREFIX): New.
81909         (TLS_GD): Use it.
81911 2012-05-11  David S. Miller  <davem@davemloft.net>
81913         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
81914         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
81915         (_FPU_SETCW): Likewise.
81917 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81919         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
81920         is 32-byte aligned.
81922 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
81924         [BZ #11837]
81925         * iconvdata/gb18030.c: Update tables.
81926         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
81927         characters specially.
81928         (BODY for TO_LOOP): Add encoding of missing ranges.
81930 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
81932         [BZ #13673]
81933         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
81934         * sysdeps/mach/hurd/dup3.c: Likewise.
81935         * sysdeps/mach/hurd/readlinkat.c: Likewise.
81936         * sysdeps/powerpc/memmove.c:: Likewise.
81938 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81940         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
81941         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
81943 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81945         * elf/elf.h (R_X86_64_RELATIVE64): New.
81946         (R_X86_64_NUM): Updated.
81947         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
81948         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
81949         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
81950         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
81951         tst-quad1pie tst-quad2pie
81952         (modules-names): Add tst-quadmod1 tst-quadmod2.
81953         ($(objpfx)tst-quad1): New dependency.
81954         ($(objpfx)tst-quad2): Likewise.
81955         ($(objpfx)tst-quad1pie): Likewise.
81956         ($(objpfx)tst-quad2pie): Likewise.
81957         * sysdeps/x86_64/tst-quad1.c: New file.
81958         * sysdeps/x86_64/tst-quad1pie.c: New file.
81959         * sysdeps/x86_64/tst-quad2.c: Likewise.
81960         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
81961         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
81962         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
81963         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
81964         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
81966 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81968         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
81969         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
81970         * streams/stropts.h (t_scalar_t): Define type.
81972         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
81973         (_PATH_PRESERVE): Set to "/var/lib".
81974         (_PATH_RWHODIR): Set to "/var/spool/rwho".
81976         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
81977         instead of int.
81979         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
81980         if __dir_mkfile succeeded.
81982         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
81983         checking for _hurd_dtablesize.  Unlock it right after having
81984         finished _hurd_dtable allocation.
81986 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81988         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
81989         * sysdeps/mach/hurd/configure: Regenerated.
81990         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
81991         special-casing to...
81992         * sysdeps/gnu/configure.in: ... this new file.
81993         * sysdeps/unix/sysv/linux/configure: Regenerated.
81994         * sysdeps/gnu/configure: New generated file.
81996         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
81997         for Linux: use nsec instead of usec, as well as:
81998         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
81999         members of type struct timespec.
82000         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82001         New macros.
82002         (struct stat64): Likewise.
82003         (_STATBUF_ST_NSEC): New macro.
82004         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82006         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82007         __strtoul_internal rather than strtoul.
82009 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82011         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82012         and reject them.
82014 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82016         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82017         which preserves existing values.
82018         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82020 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82022         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82023         TIMEOUT values.  Return EINVAL for NFDS values either negative or
82024         greater than FD_SETSIZE.
82026 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82028         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82029         allocated, call __vm_protect to finish enabling the existing space, and
82030         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82031         allocate the remainder.
82033 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82035         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82036         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
82038 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82040         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82041         sysdeps/mach/hurd/readlink.c.
82043         * posix/tst-sysconf.c (posix_options): Only use
82044         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82045         _POSIX_SYNCHRONIZED_IO when they are defined
82046         * sysdeps/mach/hurd/bits/posix_opt.h:
82047         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82048         (_XOPEN_REALTIME): Undefine macro.
82049         (_XOPEN_REALTIME_THREADS): Undefine macro.
82050         (_XOPEN_SHM): Undefine macro.
82051         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82052         macro to -1.
82053         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82054         macro to -1.
82055         (_POSIX_ASYNC_IO): Undefine macro.
82056         (_POSIX_PRIORITIZED_IO): Undefine macro.
82057         (_POSIX_SPIN_LOCKS): Define macro to -1.
82059         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82060         SA_NODEFER, SA_RESETHAND.
82061         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82062         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82063         F_DUPFD_CLOEXEC.
82065 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82067         * elf/Makefile (pldd-modules): Define unconditionally.
82069 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82071         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82073 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82075         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82076         Return ENOENT when name is empty.
82077         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82079 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82081         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82083         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82085 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82087         Fix mlock in all cases except non-readable pages.
82088         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82089         instead of VM_PROT_ALL as parameter to __vm_wire function.
82091         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82092         (__mkdir): When path is `/', just fail with EEXIST.
82093         * sysdeps/mach/hurd/mkdirat.c: Likewise.
82095 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82097         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82098         <sys/uio.h> (for writev).
82099         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
82100         and <sys/param.h> (for MIN).
82102 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82104         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
82105         REQUESTED_TIME.  Properly set the remaining time and return EINTR
82106         if interrupted.
82108 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82110         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
82111         Depend on against $(link-rpcuserlibs).
82113 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82115         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
82116         (__libc_stack_end): Do not use attribute_relro.
82117         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
82118         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
82119         to libthread-provided value.
82120         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
82121         attribute_relro.
82123 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82125         [BZ #3748]
82126         * bits/libc-lock.h (__libc_once_get): New macro.
82127         * sysdeps/mach/bits/libc-lock.h: Likewise.
82128         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
82129         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
82130         instead of using implementation details.
82132         * libio/fileops.c: Unconditionally include <kernel-features.h>.
82133         * libio/freopen.c: Likewise.
82134         * libio/freopen64.c: Likewise.
82135         * misc/syslog.c: Likewise.
82136         * nscd/connections.c: Likewise.
82137         * nscd/netgroupcache.c: Likewise.
82138         * sysdeps/posix/getcwd.c: Likewise.
82140 2012-05-10  Roland McGrath  <roland@hack.frob.com>
82142         * math/w_ilogbf.c: Add #include <limits.h>.
82144 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82146         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
82147         path instead of returning without unlocking.
82149         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82150         immediate-write ioctls.
82151         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
82153 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82155         * sysdeps/mach/hurd/i386/init-first.c (init): Use
82156         __builtin_frame_address instead of making assumptions about the
82157         location of the return address relative to DATA.  Force early load of
82158         the return address.
82159         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
82160         __builtin_frame_address.
82162         dup3 for GNU Hurd.
82163         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
82164         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
82165         implement dup3 and do some further code clean-ups.
82166         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
82167         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
82169 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82171         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
82173         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
82174         HURD_CRITICAL_END around holding _hurd_dtable_lock.
82175         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
82176         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
82177         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
82178         d->port.lock.
82180         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
82181         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
82182         when handler == SIG_ERR, not when handler != SIG_ERR.
82184 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82186         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
82187         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
82188         definitions.
82190         accept4 for GNU Hurd.
82191         * include/sys/socket.h (__libc_accept4): New prototype.
82192         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
82193         to implement __libc_accept4.
82194         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
82195         __libc_accept4.
82196         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
82198         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
82199         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
82200         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
82201         signal-defines.sym.
82203 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82205         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
82207 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82209         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
82210         assertion on O_CLOEXEC flag.
82211         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
82212         * hurd/intern-fd.c: Likewise.
82213         * hurd/port2fd.c: Likewise.
82215 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82217         [BZ #3906]
82218         * bits/in.h (IPV6_PKTINFO): Define new macro.
82219         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
82221 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82223         [BZ #13954]
82224         [BZ #13955]
82225         [BZ #13956]
82226         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
82227         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
82228         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
82229         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
82230         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
82231         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
82232         * math/libm-test.inc (logb_test) : Additional logb tests.
82234 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
82235             Andreas Jaeger  <aj@suse.de>
82237         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
82238         * configure: Regenerated.
82239         * config.h.in (LINK_OBSOLETE_RPC): New macro.
82240         * config.make.in (link-obsolete-rpc): New substituted variable.
82241         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
82242         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
82243         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82244         (shared-only-routines): Don't set it under [link-obsolete-rpc],
82245         so that libc.a contains the symbols.
82246         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82247         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
82248         * sunrpc/auth_none.c: Likewise.
82249         * sunrpc/auth_unix.c: Likewise.
82250         * sunrpc/authdes_prot.c: Likewise.
82251         * sunrpc/authuxprot.c: Likewise.
82252         * sunrpc/clnt_gen.c: Likewise.
82253         * sunrpc/clnt_perr.c: Likewise.
82254         * sunrpc/clnt_raw.c: Likewise.
82255         * sunrpc/clnt_simp.c: Likewise.
82256         * sunrpc/clnt_tcp.c: Likewise.
82257         * sunrpc/clnt_udp.c: Likewise.
82258         * sunrpc/clnt_unix.c: Likewise.
82259         * sunrpc/des_crypt.c: Likewise.
82260         * sunrpc/des_soft.c: Likewise.
82261         * sunrpc/get_myaddr.c: Likewise.
82262         * sunrpc/key_call.c: Likewise.
82263         * sunrpc/key_prot.c: Likewise.
82264         * sunrpc/netname.c: Likewise.
82265         * sunrpc/pm_getmaps.c: Likewise.
82266         * sunrpc/pm_getport.c: Likewise.
82267         * sunrpc/pmap_clnt.c: Likewise.
82268         * sunrpc/pmap_prot.c: Likewise.
82269         * sunrpc/pmap_prot2.c: Likewise.
82270         * sunrpc/pmap_rmt.c: Likewise.
82271         * sunrpc/publickey.c: Likewise.
82272         * sunrpc/rpc_cmsg.c: Likewise.
82273         * sunrpc/rpc_common.c: Likewise.
82274         * sunrpc/rpc_dtable.c: Likewise.
82275         * sunrpc/rpc_prot.c: Likewise.
82276         * sunrpc/rpc_thread.c: Likewise.
82277         * sunrpc/rtime.c: Likewise.
82278         * sunrpc/svc.c: Likewise.
82279         * sunrpc/svc_auth.c: Likewise.
82280         * sunrpc/svc_raw.c: Likewise.
82281         * sunrpc/svc_run.c: Likewise.
82282         * sunrpc/svc_tcp.c: Likewise.
82283         * sunrpc/svc_udp.c: Likewise.
82284         * sunrpc/svc_unix.c: Likewise.
82285         * sunrpc/svcauth_des.c: Likewise.
82286         * sunrpc/xcrypt.c: Likewise.
82287         * sunrpc/xdr.c: Likewise.
82288         * sunrpc/xdr_array.c: Likewise.
82289         * sunrpc/xdr_float.c: Likewise.
82290         * sunrpc/xdr_intXX_t.c: Likewise.
82291         * sunrpc/xdr_mem.c: Likewise.
82292         * sunrpc/xdr_rec.c: Likewise.
82293         * sunrpc/xdr_ref.c: Likewise.
82294         * sunrpc/xdr_sizeof.c: Likewise.
82295         * sunrpc/xdr_stdio.c: Likewise.
82297 2012-05-10  Roland McGrath  <roland@hack.frob.com>
82299         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
82300         change.  Update copyright years.
82302 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
82304         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
82306 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
82307             Joseph Myers  <joseph@codesourcery.com>
82308             Paul Pluzhnikov  <ppluzhnikov@google.com>
82310         [BZ #14012]
82311         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
82312         requiring rpcgen.
82313         [cross-compiling] (extra-libs): Likewise.
82314         [cross-compiling] (extra-libs-others): Likewise.
82315         [cross-compiling] (librpcsvc-routines): Likewise.
82316         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
82317         [cross-compiling] (omit-deps): Likewise.
82318         (sunrpc-CPPFLAGS): New variable.
82319         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
82320         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
82321         (cross-rpcgen-objs): New variable.
82322         (extra-objs): Append $(cross-rpcgen-objs).
82323         ($(cross-rpcgen-objs)): New rule.
82324         ($(objpfx)cross-rpcgen): Likewise.
82325         (rpcgen-cmd): Define to use $(built-program-file).  Expand
82326         comment.
82327         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
82328         ($(objpfx)x%.stmp): Likewise.
82329         * sunrpc/proto.h [IS_IN_build] (_): Define.
82330         [IS_IN_build] (_libc_intl_domainname): Likewise.
82332 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82334         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
82335         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
82336         and R_X86_64_TPOFF64.
82338 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
82340         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
82341         sysdeps/unix/sysv/syscalls.list.
82342         (stime): Likewise.
82343         (utime): Likewise.
82344         * sysdeps/unix/sysv/syscalls.list: Remove file.
82346 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
82348         [BZ #3440]
82349         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
82350         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
82351         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
82352         (__LC_IDENTIFICATION): Make these macros useful in #if
82353         expressions, as required by C99.
82355 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
82357         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
82358         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
82359         after this.
82361 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
82363         * stdlib/longlong.h: Updated from GCC.
82365 2012-05-09  Andreas Jaeger  <aj@suse.de>
82367         * nscd/nscd.c (run_modes): Make named enum, reorder so that
82368         default is first entry.
82369         (run_mode): Set type.
82370         (main): Remove informal message about syslog.
82371         (options): Fix typo.
82373         [BZ #14053]
82374         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
82375         to asm.
82376         (lrint): Likewise.
82377         (llrintf): Likewise.
82378         (llrint): Likewise.
82379         (rint): Likewise.
82380         (rintf): Likewise.
82381         (nearbyint): Likewise.
82382         (nearbyintf): Likewise.
82384 2012-05-09  Andreas Jaeger  <aj@suse.de>
82385             Pedro Alves  <palves@redhat.com>
82387         * nscd/nscd.c (run_mode): Use enum.
82388         (main): Cleanup coding style issue.
82390 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
82391             Andreas Jaeger  <aj@suse.de>
82393         * nscd/nscd.c (go_background): Replaced with...
82394         (run_mode): ... this.
82395         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
82396         (options): Add -F --foreground.
82397         (main): Implement it.
82398         (parse_opt): Parse it.
82400 2012-05-09  Andreas Jaeger  <aj@suse.de>
82402         [BZ #14083]
82403         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
82404         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
82405         -Wconversion warning.
82406         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
82407         Likewise.
82409 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
82411         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
82412         == 0.
82413         (LC_ALL): Use macro-int-constant.
82414         (LC_COLLATE): Likewise.
82415         (LC_CTYPE): Likewise.
82416         (LC_MESSAGES): Likewise.
82417         (LC_MONETARY): Likewise.
82418         (LC_NUMERIC): Likewise.
82419         (LC_TIME): Likewise.
82420         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
82421         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82422         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82423         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
82424         Specify type.
82425         [C99-based standards] (float_t): Expect type.
82426         [C99-based standards] (double_t): Expect type.
82427         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
82428         type.
82429         [C99-based standards] (HUGE_VALL): Likewise.
82430         [C99-based standards] (INFINITY): Likewise.
82431         [C99-based standards] (NAN): Likewise.
82432         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
82433         [C99-based standards] (FP_NAN): Likewise.
82434         [C99-based standards] (FP_NORMAL): Likewise.
82435         [C99-based standards] (FP_SUBNORMAL): Likewise.
82436         [C99-based standards] (FP_ZERO): Likewise.
82437         [C99-based standards] (FP_FAST_FMA): Use
82438         optional-macro-int-constant.  Specify type.  Require == 1.
82439         [C99-based standards] (FP_FAST_FMAF): Likewise.
82440         [C99-based standards] (FP_FAST_FMAL): Likewise.
82441         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
82442         [C99-based standards] (FP_ILOGBNAN): Likewise.
82443         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
82444         Specify type.
82445         [C99-based standards] (MATH_ERREXCEPT): Likewise.
82446         [C99-based standards] (math_errhandling): Specify type.
82447         [ISO99 || ISO11] (signgam): Do not allow.
82448         [non-C99-based standards] (copysignf): Do not allow.
82449         [non-C99-based standards] (exp2f): Likewise.
82450         [non-C99-based standards] (log2f): Likewise.
82451         [non-C99-based standards] (modff): Allow.
82452         [non-C99-based standards] (erff): Do not allow.
82453         [non-C99-based standards] (erfcf): Likewise.
82454         [non-C99-based standards] (gammaf): Likewise.
82455         [non-C99-based standards] (hypotf): Likewise.
82456         [non-C99-based standards] (j0f): Likewise.
82457         [non-C99-based standards] (j1f): Likewise.
82458         [non-C99-based standards] (jnf): Likewise.
82459         [non-C99-based standards] (lgammaf): Likewise.
82460         [non-C99-based standards] (tgammaf): Likewise.
82461         [non-C99-based standards] (y0f): Likewise.
82462         [non-C99-based standards] (y1f): Likewise.
82463         [non-C99-based standards] (ynf): Likewise.
82464         [non-C99-based standards] (isnanf): Likewise.
82465         [non-C99-based standards] (acoshf): Likewise.
82466         [non-C99-based standards] (asinhf): Likewise.
82467         [non-C99-based standards] (atanhf): Likewise.
82468         [non-C99-based standards] (cbrtf): Likewise.
82469         [non-C99-based standards] (expm1f): Likewise.
82470         [non-C99-based standards] (ilogbf): Likewise.
82471         [non-C99-based standards] (log1pf): Likewise.
82472         [non-C99-based standards] (logbf): Likewise.
82473         [non-C99-based standards] (nextafterf): Likewise.
82474         [non-C99-based standards] (remainderf): Likewise.
82475         [non-C99-based standards] (rintf): Likewise.
82476         [non-C99-based standards] (scalbf): Likewise.
82477         [non-C99-based standards] (copysignl): Likewise.
82478         [non-C99-based standards] (exp2l): Likewise.
82479         [non-C99-based standards] (log2l): Likewise.
82480         [non-C99-based standards] (modfl): Allow.
82481         [non-C99-based standards] (erfl): Do not allow.
82482         [non-C99-based standards] (erfcl): Likewise.
82483         [non-C99-based standards] (gammal): Likewise.
82484         [non-C99-based standards] (hypotl): Likewise.
82485         [non-C99-based standards] (j0l): Likewise.
82486         [non-C99-based standards] (j1l): Likewise.
82487         [non-C99-based standards] (jnl): Likewise.
82488         [non-C99-based standards] (lgammal): Likewise.
82489         [non-C99-based standards] (tgammal): Likewise.
82490         [non-C99-based standards] (y0l): Likewise.
82491         [non-C99-based standards] (y1l): Likewise.
82492         [non-C99-based standards] (ynl): Likewise.
82493         [non-C99-based standards] (isnanl): Likewise.
82494         [non-C99-based standards] (acoshl): Likewise.
82495         [non-C99-based standards] (asinhl): Likewise.
82496         [non-C99-based standards] (atanhl): Likewise.
82497         [non-C99-based standards] (cbrtl): Likewise.
82498         [non-C99-based standards] (expm1l): Likewise.
82499         [non-C99-based standards] (ilogbl): Likewise.
82500         [non-C99-based standards] (log1pl): Likewise.
82501         [non-C99-based standards] (logbl): Likewise.
82502         [non-C99-based standards] (nextafterl): Likewise.
82503         [non-C99-based standards] (remainderl): Likewise.
82504         [non-C99-based standards] (rintl): Likewise.
82505         [non-C99-based standards] (scalbl): Likewise.
82506         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82507         [non-C99-based standards] (FP_*): Do not allow.
82508         [C99-based standards] (FP_*): Change to
82509         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82510         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82511         allow.
82512         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
82513         (SIG_ERR): Likewise.
82514         [X/Open-based standards] (SIG_HOLD): Likewise.
82515         (SIG_IGN): Likewise.
82516         (SIGABRT): Use macro-int-constant.  Specify type.  Require
82517         positive value.
82518         (SIGFPE): Likewise.
82519         (SIGILL): Likewise.
82520         (SIGINT): Likewise.
82521         (SIGSEGV): Likewise.
82522         (SIGTER): Likewise.
82523         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
82524         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
82525         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
82526         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
82527         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
82528         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
82529         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
82530         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
82531         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
82532         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
82533         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
82534         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
82535         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
82536         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
82537         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
82538         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
82539         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
82540         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
82541         [X/Open-based standards] (SIGTRAP): Likewise.
82542         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
82543         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
82544         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
82545         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
82546         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82547         allow.
82549 2012-05-08  Ian Wienand  <ianw@vmware.com>
82551         [BZ #14080]
82552         * time/tzset.c (__tzset_parse_tz): Update default rules for
82553         daylight time changes in the Energy Policy Act of 2005.
82555 2012-05-09  Andreas Jaeger  <aj@suse.de>
82557         [BZ #13983]
82558         * elf/ldconfig.c (parse_conf): Change string to make clear that
82559         ldconfig only issued a warning if ld.so.conf does not exist.
82561 2012-05-08  David S. Miller  <davem@davemloft.net>
82563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
82564         movxtod instead of popping the value on the stack.
82566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82568 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
82570         * config.h.in: Add HAVE_ARM_PCS_VFP.
82572 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
82574         [BZ #13979]
82575         * include/features.h: Warn if user requests __FORTIFY_SOURCE
82576         checking but the checks are disabled for any reason.
82578 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
82580         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
82581         and ELF64_R_TYPE with ELFW(R_TYPE).
82583 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
82585         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
82586         (ulimit): Likewise.
82588         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
82589         (settimeofday): Likewise.
82591 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
82593         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
82594         a struct th_u2 inside the union, and move tu_block/tu_code into
82595         a new th_u3 union of tu_block/tu_code inside of that.  Move
82596         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
82597         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
82598         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
82599         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
82600         (th_stuff): Change to th_u1.tu_stuff.
82601         (th_data): Define.
82602         (th_msg): Change to th_u1.th_u2.tu_data.
82604 2012-05-07  David S. Miller  <davem@davemloft.net>
82606         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82608         [BZ #14074]
82609         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
82610         (SETUP_PIC_REG): Use it.
82611         (SETUP_PIC_REG_LEAF): Use it.
82613 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
82615         [BZ #13885]
82616         [BZ #13923]
82617         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82618         USE_AS_EXPM1L.
82619         (EXPL_FINITE): Likewise.
82620         (FLDLOG): Likewise.
82621         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
82622         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
82623         e_expl.S.
82624         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82625         USE_AS_EXPM1L.
82626         (EXPL_FINITE): Likewise.
82627         (FLDLOG): Likewise.
82628         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
82629         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
82630         e_expl.S.
82631         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
82632         test of -max_value argument for long double.
82633         * sysdeps/i386/fpu/libm-test-ulps: Update.
82634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82636 2012-05-06  David S. Miller  <davem@davemloft.net>
82638         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
82639         quad soft-float symbols whose references which are compiler
82640         generated.
82641         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
82643 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
82645         [BZ #13884]
82646         [BZ #13914]
82647         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82648         USE_AS_EXP10L.
82649         (EXPL_FINITE): Likewise.
82650         (FLDLOG): Likewise.
82651         (c0): Likewise.
82652         (c1): Likewise.
82653         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
82654         Adjust comments for base varying.
82655         (__expl_finite): Change alias to EXPL_FINITE.
82656         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
82657         e_expl.S.
82658         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
82659         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
82660         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
82661         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
82662         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82663         USE_AS_EXP10L.
82664         (EXPL_FINITE): Likewise.
82665         (FLDLOG): Likewise.
82666         (c0): Likewise.
82667         (c1): Likewise.
82668         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
82669         Adjust comments for base varying.
82670         (__expl_finite): Change alias to EXPL_FINITE.
82671         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
82672         tests for bugs.
82673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82675         [BZ #14064]
82676         * math/libm-test.inc (check_float_internal): Correct ulp
82677         calculation for subnormal expected results.
82679 2012-05-06  Andreas Jaeger  <aj@suse.de>
82681         * Makeconfig (+math-flags): New, set to -frounding-math.
82682         (+cflags): Add +math-flags so that all of glibc gets compiled with
82683         it.
82685         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
82687 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
82689         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
82690         Disable one test.
82692         [BZ #13787]
82693         [BZ #13922]
82694         [BZ #14036]
82695         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
82696         (__ieee754_expl): Allow for and saturate large arguments.
82697         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
82698         (u_threshold): Likewise.
82699         (__exp): Call __ieee754_exp before checking for overflow and
82700         underflow.
82701         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
82702         (u_threshold): Likewise.
82703         (__expf): Call __ieee754_expf before checking for overflow and
82704         underflow.
82705         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
82706         (u_threshold): Likewise.
82707         (__expl): Call __ieee754_expl before checking for overflow and
82708         underflow.
82709         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
82710         (__ieee754_expl): Allow for and saturate large arguments.
82711         * math/libm-test.inc (exp_test): Add another test.  Do not allow
82712         missing overflow exception on overflow.
82713         (expm1_test): Do not allow missing overflow exception on overflow.
82715         * sysdeps/i386/fpu/e_expl.c: Move to ...
82716         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
82717         rather than using inline asm.
82718         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
82719         * sysdeps/x86_64/fpu/e_expl.S: Copy from
82720         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
82722         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
82723         (nice): Likewise.
82724         (poll): Likewise.
82725         (signal): Likewise.
82726         (time): Likewise.
82727         (times): Likewise.
82729 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
82731         * sysdeps/unix/syscalls.list (adjtime): Add entry from
82732         sysdeps/unix/common/syscalls.list.
82733         (fchmod): Likewise.
82734         (fchown): Likewise.
82735         (ftruncate): Likewise.
82736         (getrusage): Likewise.
82737         (gettimeofday): Likewise.
82738         (setpgid): Likewise.
82739         (setregid): Likewise.
82740         (setreuid): Likewise.
82741         (sigaction): Likewise.
82742         (truncate): Likewise.
82743         (vhangup): Likewise.
82744         * sysdeps/unix/common/syscalls.list: Remove file.
82745         * sysdeps/unix/bsd/Implies: Don't include unix/common.
82746         * sysdeps/unix/sysv/linux/Implies: Likewise.
82748 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
82750         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
82751         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
82752         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
82753         Moved to ...
82754         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
82755         Here.
82756         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
82757         to ...
82758         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
82759         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
82760         to ...
82761         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
82762         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
82763         to ...
82764         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
82765         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
82766         to ...
82767         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
82768         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
82769         to ...
82770         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
82771         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
82772         to ...
82773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
82774         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
82775         to ...
82776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
82777         Here.
82778         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
82779         to ...
82780         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
82781         Here.
82782         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
82783         to ...
82784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
82785         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
82786         Moved to ...
82787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
82788         Here.
82789         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
82790         to ...
82791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
82793 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
82795         * sysdeps/unix/common/bits/dirent.h: Remove file.
82796         * sysdeps/unix/common/bits/fcntl.h: Likewise.
82798         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
82799         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
82800         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
82801         * sysdeps/unix/bsd/isatty.c: Likewise.
82802         * sysdeps/unix/bsd/tcdrain.c: Likewise.
82803         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
82804         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
82806 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82808         [BZ #13563]
82809         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
82810         long double comparison inaccuracies.
82811         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
82812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82814 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
82816         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
82817         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
82819 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
82821         [BZ #14049]
82822         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
82823         nonzero digits before rounding a hex value.
82824         * stdlib/tst-strtod.c (tests): Add another test.
82826 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82828         * sysdeps/s390/fpu/libm-test-ulps: Update.
82830 2012-05-03  Andreas Jaeger  <aj@suse.de>
82832         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
82833         does not get optimized out.
82834         (malloc_opt_barrier): New.
82836 2012-05-03  Andreas Jaeger  <aj@suse.de>
82837             Roland McGrath  <roland@hack.frob.com>
82839         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
82840         intermediate file deletion.
82841         (generated): Add .symlist files.
82843 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
82845         [BZ #13775]
82846         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
82847         Redirect under this condition.
82848         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
82849         [__USE_GNU] (__dprintf_chk): Not under this condition.
82850         [__USE_GNU] (__vdprintf_chk): Likewise.
82851         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
82852         under this condition.
82853         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
82854         [__USE_XOPEN2K8] (dprintf): Define under this condition.
82855         [__USE_XOPEN2K8] (vdprintf): Likewise.
82856         [__USE_GNU] (__dprintf_chk): Not under this condition.
82857         [__USE_GNU] (__vdprintf_chk): Likewise.
82858         [__USE_GNU] (dprintf): Likewise.
82859         [__USE_GNU] (vdprintf): Likewise.
82861 2012-05-03  Roland McGrath  <roland@hack.frob.com>
82863         * elf/Makefile (common-generated): Set this instead of generated for
82864         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
82865         $(all-built-dso)-derived lists.
82867 2012-05-03  Andreas Jaeger  <aj@suse.de>
82869         * sysdeps/i386/fpu/libm-test-ulps: Update.
82871         * FAQ: Removed.
82872         * FAQ.in: Likewise.
82873         * scripts/gen-FAQ.pl: Likewise.
82874         * manual/install.texi (Installation): Point to online location of
82875         FAQ.
82876         * Makefile (files-for-dist): Remove FAQ.
82877         (FAQ): Remove.
82879 2012-05-02  Allan McRae  <allan@archlinux.org>
82881         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
82882         (LDFLAGS-reldepmod5.so): Likewise.
82883         (LDFLAGS-reldep6mod1.so): Likewise.
82884         (LDFLAGS-reldep6mod4.so): Likewise.
82885         (LDFLAGS-reldep8mod3.so): Likewise.
82886         (LDFLAGS-unload4mod1.so): Likewise.
82887         (LDFLAGS-unload4mod2.so): Likewise.
82888         (LDFLAGS-tst-initorder): Likewise.
82889         (LDFLAGS-tst-initordera2.so): Likewise.
82890         (LDFLAGS-tst-initordera3.so): Likewise.
82891         (LDFLAGS-tst-initordera4.so): Likewise.
82892         (LDFLAGS-tst-initorderb2.so): Likewise.
82893         (LDFLAGS-noload): Likewise.
82894         (LDFLAGS-next): Likewise.
82895         (LDFLAGS-order2mod1.so): Likewise.
82896         (LDFLAGS-order2mod2.so): Likewise.
82897         (LDFLAGS-tst-initorder2): Likewise.
82898         (LDFLAGS-tst-initorder2a.so): Likewise.
82899         (LDFLAGS-tst-initorder2b.so): Likewise.
82900         (LDFLAGS-tst-initorder2c.so): Likewise.
82901         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
82903 2012-05-02  David S. Miller  <davem@davemloft.net>
82905         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82907 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
82909         [BZ #14055]
82910         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
82912 2012-05-02  Andreas Jaeger  <aj@suse.de>
82914         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
82915         since we manipulate rounding mode.
82916         (CPPFLAGS-test-idouble.c): Likewise.
82917         (CPPFLAGS-test-ifloat.c): Likewise.
82918         (CFLAGS-test-ldouble.c): Likewise.
82919         (CFLAGS-test-double.c): Likewise.
82920         (CFLAGS-test-float.c): Likewise.
82921         (CFLAGS-test-misc.c): Likewise.
82922         (CFLAGS-test-test-fenv.c): Likewise.
82924 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82926         [BZ #2550]
82927         [BZ #2570]
82928         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
82929         comparisons to determine direction to adjust input.
82931 2012-05-01  Roland McGrath  <roland@hack.frob.com>
82933         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
82934         output to the target.
82936         * scripts/localplt.awk: New file.
82937         * elf/Makefile ($(objpfx)check-localplt): Target removed.
82938         (check-localplt-CFLAGS): Variable removed.
82939         ($(all-built-dso:=.jmprel)): New static pattern rule.
82940         (generated): Add those targets.
82941         (localplt-built-dso): New variable.
82942         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
82944         * elf/check-localplt.c: File removed.
82946         * scripts/check-execstack.awk: New file.
82947         * elf/Makefile ($(objpfx)check-execstack): Target removed.
82948         (check-execstack-CFLAGS): Variable removed.
82949         ($(objpfx)check-execstack.h): Target removed.
82950         ($(objpfx)execstack-default): New target.
82951         (generated): Add that instead of check-execstack.h.
82952         ($(all-built-dso:=.phdr)): New static pattern rule.
82953         (generated): Add those targets.
82954         * elf/check-execstack.c: File removed.
82956         * scripts/check-textrel.awk: New file.
82957         * elf/Makefile ($(objpfx)check-textrel): Target removed.
82958         (check-textrel-CFLAGS): Variable removed.
82959         (all-built-dso): Use := to define.o
82960         ($(all-built-dso:=.dyn)): New static pattern rule.
82961         (generated): Add those targets.
82962         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
82963         * config.make.in (READELF): New substituted variable.
82964         * elf/check-textrel.c: File removed.
82966 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
82968         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82969         allow.
82970         * conform/data/ctype.h-data [C99-based standards] (isblank):
82971         Expect function.
82972         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
82973         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
82974         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82975         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
82976         Specify type.  Require positive value.
82977         (EILSEQ): Likewise.
82978         (ERANGE): Likewise.
82979         [ISO || POSIX] (EILSEQ): Do not expect.
82980         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
82981         Specify type.  Require positive value.
82982         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
82983         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
82984         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
82985         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
82986         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
82987         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
82988         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
82989         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
82990         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
82991         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
82992         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
82993         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
82994         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
82995         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
82996         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
82997         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
82998         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
82999         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83000         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83001         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83002         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83003         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83004         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83005         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83006         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83007         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83008         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83009         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83010         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83011         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83012         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83013         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83014         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83015         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83016         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83017         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83018         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83019         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83020         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83021         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83022         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83023         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83024         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83025         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83026         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83027         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83028         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83029         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83030         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83031         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83032         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83033         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83034         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83035         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83036         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83037         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83038         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83039         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83040         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83041         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83042         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83043         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83044         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83045         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83046         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83047         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83048         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83049         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83050         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83051         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83052         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83053         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83054         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83055         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83056         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83057         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83058         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83059         Require >= 2.
83060         (FLT_ROUNDS): Expect as macro, not constant.
83061         (FLT_MANT_DIG): Use macro-int-constant.
83062         (DBL_MANT_DIG): Likewise.
83063         (LDBL_MANT_DIG): Likewise.
83064         (FLT_DIG): Likewise.
83065         (DBL_DIG): Likewise.
83066         (LDBL_DIG): Likewise.
83067         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
83068         (DBL_MIN_EXP): Likewise.
83069         (LDBL_MIN_EXP): Likewise.
83070         (FLT_MAX_EXP): Use macro-int-constant.
83071         (DBL_MAX_EXP): Likewise.
83072         (LDBL_MAX_EXP): Likewise.
83073         (FLT_MAX_10_EXP): Likewise.
83074         (DBL_MAX_10_EXP): Likewise.
83075         (LDBL_MAX_10_EXP): Likewise.
83076         (FLT_MAX): Use macro-constant.
83077         (DBL_MAX): Likewise.
83078         (LDBL_MAX): Likewise.
83079         (FLT_EPSILON): Use macro-constant.  Give upper bound.
83080         (DBL_EPSILON): Likewise.
83081         (LDBL_EPSILON): Likewise.
83082         (FLT_MIN): Likewise.
83083         (DBL_MIN): Likewise.
83084         (LDBL_MIN): Likewise.
83085         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83086         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83087         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83088         [ISO11] (FLT_HAS_SUBNORM): Likewise.
83089         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83090         [ISO11] (DBL_DECIMAL_DIG): Likewise.
83091         [ISO11] (FLT_DECIMAL_DIG): Likewise.
83092         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83093         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83094         [ISO11] (FLT_TRUE_MIN): Likewise.
83095         [ISO11] (LDBL_TRUE_MIN): Likewise.
83096         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83097         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83098         (SCHAR_MIN): Use macro-int-constant.  Specify type.
83099         (SCHAR_MAX): Likewise.
83100         (UCHAR_MAX): Likewise.
83101         (CHAR_MIN): Likewise.
83102         (CHAR_MAX): Likewise.
83103         (MB_LEN_MAX): Use macro-int-constant.
83104         (SHRT_MIN): Use macro-int-constant.  Specify type.
83105         (SHRT_MAX): Likewise.
83106         (USHRT_MAX): Likewise.
83107         (INT_MAX): Likewise.
83108         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
83109         bound negative.
83110         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83111         bound with "U".
83112         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83113         bound with "L".
83114         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
83115         bound negative.  Suffix upper bound with "L".
83116         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83117         bound with "UL".
83118         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
83119         Specify type.
83120         [C99-based standards] (LLONG_MAX): Likewise.
83121         [C99-based standards] (ULLONG_MAX): Likewise.
83122         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
83123         == 0.
83124         [ISO11] (max_align_t): Require type.
83125         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83127         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
83128         from $CFLAGS, without defining away __attribute__ calls.
83129         (checknamespace): Use $CFLAGS_namespace.
83131         * conform/conformtest.pl (@keywords): Only include C99 keywords
83132         for standards based on C99 or C11.
83134         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
83135         Disable tests.
83136         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
83137         UNIX98]: Likewise.
83139         * conform/conformtest.pl: Handle "macro-int-constant" and test for
83140         usability of symbols in #if.
83142         * conform/conformtest.pl: If macro or constant types start
83143         "promoted:", expect the symbol to be of the following type
83144         promoted by the integer promotions.
83146         * conform/conformtest.pl: Parse all "constant" and "macro" lines
83147         in one place.  Also handle "macro-constant".
83149         * conform/conformtest.pl: Only accept expected macro values with
83150         "==".  Parse all "macro" lines in one place.
83151         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
83153         * conform/conformtest.pl: Handle braced types on "constant" lines
83154         instead of handling "typed-constant".
83155         * conform/data/signal.h-data: Use "constant" instead of
83156         "typed-constant".
83158         * conform/conformtest.pl: Handle "optional-" at start of lines in
83159         one place rather than duplicating several cases.  Handle each
83160         format of "macro" line with initial "optional-".
83162         * conform/conformtest.pl: Only accept expected constant or
83163         optional-constant values with "==".  Parse all "constant" lines in
83164         one place.  Parse all "optional-constant" lines in one place.
83165         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
83166         * conform/data/fmtmsg.h-data: Likewise.
83167         * conform/data/netinet/in.h-data: Likewise.
83168         * conform/data/tar.h-data: Likewise.
83169         * conform/data/limits.h-data: Use "==" form on "constant" and
83170         "optional-constant" lines.
83172         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
83173         Use -std=c99 for XOPEN2K.
83174         (@knownproblems): Remove.
83175         (newtoken): Don't check %isknown.
83177         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
83178         Do not expect macro.
83179         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
83180         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
83181         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
83182         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
83183         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
83184         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
83185         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
83186         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
83187         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
83188         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
83189         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
83190         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
83191         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
83192         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
83193         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
83194         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
83195         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
83196         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
83197         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
83198         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
83199         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
83200         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
83201         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
83202         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
83203         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
83204         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
83205         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
83206         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
83207         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
83208         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
83209         [XPG3] (acosh): Likewise.
83210         [XPG3] (asinh): Likewise.
83211         [XPG3] (atanh): Likewise.
83212         [XPG3] (cbrt): Likewise.
83213         [XPG3] (expm1): Likewise.
83214         [XPG3] (ilogb): Likewise.
83215         [XPG3] (log1p): Likewise.
83216         [XPG3] (logb): Likewise.
83217         [XPG3] (nextafter): Likewise.
83218         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83219         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
83220         [XPG3] (remainder): Likewise.
83221         [XPG3] (rint): Likewise.
83222         [XPG3 || XPG4 || UNIX98] (round): Likewise.
83223         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
83224         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
83225         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
83226         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
83227         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
83228         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83229         [UNIX98 || XOPEN2K] (scalb): Expect.
83230         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
83231         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
83232         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
83233         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
83234         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
83235         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
83236         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
83237         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
83238         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
83239         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
83240         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
83241         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
83242         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
83243         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
83244         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
83245         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
83246         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
83247         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
83248         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
83249         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
83250         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
83251         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
83252         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
83253         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
83254         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
83255         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
83256         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
83257         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
83258         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
83259         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
83260         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
83261         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
83262         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
83263         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
83264         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
83265         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
83266         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
83267         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
83268         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
83269         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
83270         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
83271         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
83272         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
83273         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
83274         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
83275         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
83276         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
83277         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
83278         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
83279         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
83280         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
83281         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
83282         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
83283         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
83284         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
83285         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
83286         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
83287         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
83288         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
83289         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
83290         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
83291         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
83292         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
83293         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
83294         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
83295         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
83296         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
83297         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
83298         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
83299         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
83300         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
83301         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
83302         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
83303         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
83304         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
83305         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
83306         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
83307         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
83308         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
83309         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
83310         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
83311         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
83312         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
83313         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
83314         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
83315         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
83316         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
83317         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
83318         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
83319         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
83320         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
83321         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
83322         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
83323         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
83324         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
83325         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
83326         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
83327         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
83328         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
83329         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
83330         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
83331         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
83332         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
83333         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
83334         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
83335         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
83336         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
83337         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
83338         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
83339         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
83340         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
83341         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
83342         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
83343         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
83344         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
83345         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
83346         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
83347         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
83348         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
83349         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
83350         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
83351         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
83352         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
83353         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
83354         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
83355         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
83356         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
83357         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
83358         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
83359         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
83360         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
83361         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
83362         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
83363         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
83364         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
83365         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
83366         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
83368         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
83369         _XOPEN_SOURCE_EXTENDED for XPG4.
83371         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
83373         * Makeconfig (localtime): Remove variable.
83374         (inst_localtime-file): Likewise.
83376 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
83378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
83379         Update.
83380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
83381         Update.
83382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
83383         Update.
83384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
83385         Update.
83386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
83387         Update.
83388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
83389         Update.
83390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
83391         Update.
83392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
83393         Update.
83394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
83395         Update.
83397 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
83399         [BZ #2550]
83400         [BZ #2570]
83401         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
83402         comparisons to determine direction to adjust input.
83403         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
83404         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
83405         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
83406         Likewise.
83407         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
83408         Likewise.
83409         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
83410         Likewise.
83411         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
83412         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
83413         Likewise.
83414         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
83415         Likewise.
83416         * math/libm-test.inc (nexttoward_test): Add more tests.
83418 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
83420         [BZ #14040]
83421         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
83422         in version GLIBC_2.1, not GLIBC_2.0.
83423         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
83424         Likewise.
83426 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
83428         [BZ #13942]
83429         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
83430         (1 - x) * (1 + x).
83431         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83432         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
83433         * math/libm-test.inc (acos_test): Add more tests.
83434         (asin_test): Likewise.
83435         * sysdeps/i386/fpu/libm-test-ulps: Update.
83436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83438         [BZ #14034]
83439         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
83440         of square root.
83441         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
83442         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83443         * math/libm-test.inc (acos_test_tonearest): New function.
83444         (acos_test_towardzero): Likewise.
83445         (acos_test_downward): Likewise.
83446         (acos_test_upward): Likewise.
83447         (asin_test_tonearest): Likewise.
83448         (asin_test_towardzero): Likewise.
83449         (asin_test_downward): Likewise.
83450         (asin_test_upward): Likewise.
83451         (main): Call the new functions.
83452         * sysdeps/i386/fpu/libm-test-ulps: Update.
83453         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83455         [BZ #13884]
83456         [BZ #13924]
83457         * math/e_exp10.c: Include <float.h>.
83458         (__ieee754_exp10): Handle underflow here rather than multiplying
83459         large negative argument by M_LN10.
83460         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
83461         of __ieee754_expf.
83462         * math/e_exp10l.c: Include <float.h>.
83463         (__ieee754_exp10l): Handle underflow here rather than multiplying
83464         large negative argument by M_LN10l.
83465         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
83466         spurious overflow exception on underflow.
83468 2012-04-29  Marek Polacek  <polacek@redhat.com>
83470         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
83471         (__fortify_function): New macro.
83472         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
83473         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
83474         __extern_always_inline.
83475         * libio/bits/stdio2.h: Likewise.
83476         * libio/bits/stdio.h: Likewise.
83477         * string/string.h: Likewise.
83478         * string/bits/string3.h: Likewise.
83479         * include/stdio.h: Likewise.
83480         * stdlib/bits/stdlib.h: Likewise.
83481         * stdlib/stdlib.h: Likewise.
83482         * rt/bits/mqueue2.h: Likewise.
83483         * rt/mqueue.h: Likewise.
83484         * posix/bits/unistd.h: Likewise.
83485         * posix/unistd.h: Likewise.
83486         * io/bits/poll2.h: Likewise.
83487         * io/bits/fcntl2.h: Likewise.
83488         * io/fcntl.h: Likewise.
83489         * io/sys/poll.h: Likewise.
83490         * misc/bits/syslog.h: Likewise.
83491         * misc/bits/syslog-ldbl.h: Likewise.
83492         * misc/sys/syslog.h: Likewise.
83493         * socket/bits/socket2.h: Likewise.
83494         * socket/sys/socket.h: Likewise.
83495         * debug/tst-chk1.c: Likewise.
83496         * wcsmbs/bits/wchar2.h: Likewise.
83497         * wcsmbs/bits/wchar-ldbl.h: Likewise.
83498         * wcsmbs/wchar.h: Likewise.
83500 2012-04-29  Andreas Jaeger  <aj@suse.de>
83502         * Makerules (tests): Remove enable-check-abi protection.
83503         (check-abi-warn): Remove.
83504         (check-abi-%): Remove check-abi-warn usage.
83506         * configure.in: Remove check-abi configure option.
83507         * configure: Regenerated.
83508         * config.make.in (enable-check-abi): Remove.
83510 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
83512         [BZ #14033]
83513         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
83514         double functions to double *_finite functions.
83516         [BZ #13941]
83517         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
83518         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
83519         LDBL_MIN_EXP.
83520         * stdio-common/Makefile (tests): Add tst-sprintf3.
83521         * stdio-common/tst-sprintf3.c: New file.
83523         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
83524         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
83526 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
83528         * conform/conformtest.pl: Remove duplicate typed-constant
83529         handling.
83531 2012-04-28  David S. Miller  <davem@davemloft.net>
83533         * Makerules (%.abilist): Add vpath on sysdep_dirs.
83534         (check-abi-%): Remove AWK script prerequisite and explicit
83535         abilist directory.
83536         (check-abi): Rewrite to just diff the symlist with the abilist.
83537         (config-tls, config-abi-config): Delete, no longer used.
83538         (update-abi-%): Remove AWK script and explicit abilist directory.
83539         (update-abi): Rewrite to simply compare and conditionally copy the
83540         symlist and the sysdep abilist file.  Remove update-abi-config
83541         checks.
83542         * abilist/ld.abilist: Remove.
83543         * abilist/libBrokenLocale.abilist: Remove.
83544         * abilist/libanl.abilist: Remove.
83545         * abilist/libcrypt.abilist: Remove.
83546         * abilist/libdl.abilist: Remove.
83547         * abilist/librt.abilist: Remove.
83548         * abilist/libthread_db.abilist: Remove.
83549         * abilist/libutil.abilist: Remove.
83550         * scripts/extract-abilist.awk: Remove.
83551         * scripts/merge-abilist.awk: Remove.
83552         * sysdeps/generic/libcidn.abilist: New file.
83553         * sysdeps/generic/libnss_compat.abilist: New file.
83554         * sysdeps/generic/libnss_db.abilist: New file.
83555         * sysdeps/generic/libnss_dns.abilist: New file.
83556         * sysdeps/generic/libnss_files.abilist: New file.
83557         * sysdeps/generic/libnss_hesiod.abilist: New file.
83558         * sysdeps/generic/libnss_nis.abilist: New file.
83559         * sysdeps/generic/libnss_nisplus.abilist: New file.
83560         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
83561         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
83562         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
83563         file.
83564         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
83565         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
83566         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
83567         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
83568         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
83569         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
83570         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
83571         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
83572         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
83573         file.
83574         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
83575         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
83576         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
83577         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
83578         file.
83579         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
83580         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
83581         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
83582         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
83583         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
83584         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
83585         file.
83586         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
83587         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
83588         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
83589         file.
83590         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
83591         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
83592         New file.
83593         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
83594         New file.
83595         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
83596         New file.
83597         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
83598         New file.
83599         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
83600         New file.
83601         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
83602         New file.
83603         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
83604         New file.
83605         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
83606         New file.
83607         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
83608         New file.
83609         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
83610         New file.
83611         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
83612         New file.
83613         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
83614         New file.
83615         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
83616         New file.
83617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
83618         file.
83619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
83620         New file.
83621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
83622         New file.
83623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
83624         file.
83625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
83626         New file.
83627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
83628         New file.
83629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
83630         file.
83631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
83632         New file.
83633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
83634         New file.
83635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
83636         New file.
83637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
83638         New file.
83639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
83640         New file.
83641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
83642         New file.
83643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
83644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
83645         file.
83646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
83647         New file.
83648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
83649         file.
83650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
83651         file.
83652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
83653         file.
83654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
83655         file.
83656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
83657         file.
83658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
83659         New file.
83660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
83661         file.
83662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
83663         file.
83664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
83665         New file.
83666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
83667         file.
83668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
83669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
83670         file.
83671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
83672         New file.
83673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
83674         file.
83675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
83676         file.
83677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
83678         file.
83679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
83680         file.
83681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
83682         file.
83683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
83684         New file.
83685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
83686         file.
83687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
83688         file.
83689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
83690         New file.
83691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
83692         file.
83693         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
83694         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
83695         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
83696         file.
83697         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
83698         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
83699         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
83700         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
83701         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
83702         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
83703         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
83704         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
83705         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
83706         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
83707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
83708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
83709         file.
83710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
83711         New file.
83712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
83713         file.
83714         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
83715         file.
83716         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
83717         file.
83718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
83719         file.
83720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
83721         file.
83722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
83723         New file.
83724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
83725         New file.
83726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
83727         file.
83728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
83729         New file.
83730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
83731         file.
83732         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
83733         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
83734         file.
83735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
83736         New file.
83737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
83738         file.
83739         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
83740         file.
83741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
83742         file.
83743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
83744         file.
83745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
83746         file.
83747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
83748         New file.
83749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
83750         New file.
83751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
83752         file.
83753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
83754         New file.
83755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
83756         file.
83758 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
83760         * conform/conformtest.pl: Fix typo in handling typed-constant from
83761         allow-header.
83763 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
83765         * README: Cut down references to pre-2.6 Linux kernels and
83766         Linuxthreads.  Update lists of configurations in libc and ports
83767         and sort alphabetically.  Say "or newer" with Linux kernel version
83768         requirements.
83770         * config.h.in [IS_IN_build]: Allow compiling without optimization.
83772 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
83774         [BZ #887]
83775         * math/libm-test.inc (logb_test_downward): New test to expose
83776         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
83777         rounding mode.
83779 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
83781         [BZ #14027]
83782         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
83783         to be done.
83784         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
83785         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
83787 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
83789         * sysdeps/unix/i386/brk.S: Remove file.
83790         * sysdeps/unix/i386/dl-brk.S: Likewise.
83791         * sysdeps/unix/i386/pipe.S: Likewise.
83792         * sysdeps/unix/i386/sigreturn.S: Likewise.
83793         * sysdeps/unix/i386/syscall.S: Likewise.
83794         * sysdeps/unix/i386/vfork.S: Likewise.
83795         * sysdeps/unix/i386/wait.S: Likewise.
83797         * sysdeps/unix/common/tcsendbrk.c: Move to ...
83798         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
83800         * configure.in (arm*-none*): Do not allow without
83801         --enable-hacker-mode.
83802         (netbsd*): Remove case setting base_os.
83803         (386bsd*): Likewise.
83804         (freebsd*): Likewise.
83805         (bsdi*): Likewise.
83806         (osf*): Likewise.
83807         (sunos*): Likewise.
83808         (ultrix*): Likewise.
83809         (newsos*): Likewise.
83810         (dynix*): Likewise.
83811         (*bsd*): Likewise.
83812         (sysv*): Likewise.
83813         (isc*): Likewise.
83814         (esix*): Likewise.
83815         (sco*): Likewise.
83816         (minix*): Likewise.
83817         (irix4*): Likewise.
83818         (irix6*): Likewise.
83819         (solaris[2-9]*): Likewise.
83820         (none): Likewise.
83821         * configure: Regenerated.
83823 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83825         [BZ #11521]
83826         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
83827         overflow or cancellation in calculating denominator.
83828         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
83829         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
83830         down expression to avoid unexpected rounding in newer GCCs.
83831         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
83833 2012-04-26  David S. Miller  <davem@davemloft.net>
83835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
83836         long-double compat symbols.
83837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
83838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
83839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
83840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
83841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
83842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
83843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
83844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
83845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
83846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
83847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
83848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
83849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
83851 2012-04-25  David S. Miller  <davem@davemloft.net>
83853         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
83854         HWCAP_* values only after the memory barriers have been defined.
83855         (atomic_full_barrier): Define.
83856         (atomic_read_barrier): Define.
83857         (atomic_write_barrier): Define.
83859 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
83861         * shlib-versions: Add libgcc_s version information.
83862         * sysdeps/generic/libgcc_s.h: Remove.
83863         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
83864         libgcc_s.h.
83865         * sysdeps/gnu/unwind-resume.c: Likewise.
83866         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
83868 2012-04-25  David S. Miller  <davem@davemloft.net>
83870         * sysdeps/unix/sparc/brk.S: Delete.
83871         * sysdeps/unix/sparc/dl-brk.S: Delete.
83872         * sysdeps/unix/sparc/pipe.S: Delete.
83873         * sysdeps/unix/sparc/sysdep.S: Delete.
83874         * sysdeps/unix/sparc/sysdep.h: Delete.
83875         * sysdeps/unix/sparc/vfork.S: Delete.
83876         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
83877         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
83878         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
83879         (ret_ERRVAL, r0, r1, MOVE): Define.
83880         (JUMPTARGET): Remove.
83881         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
83882         sysdeps/unix/sparc/sysdep.h
83883         (ENTRY, END): Remove.
83884         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83886 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
83888         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
83889         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
83890         -DIS_IN_build.
83892         * timezone/README: Update upstream location and email address for
83893         tzcode and tzdata.
83894         * timezone/zdump.c: Update from tzcode 2012b.
83895         * timezone/zic.c: Likewise.
83897         * configure.in (libc_cv_as_needed): Remove test.
83898         * configure: Regenerated.
83899         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
83900         conditional definition.
83901         [$(have-as-needed) != yes] (no-as-needed): Likewise.
83902         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
83903         * config.make.in (have-as-needed): Remove variable.
83905 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
83906             Paul Pluzhnikov  <ppluzhnikov@google.com>
83908         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
83909         strings correctly.
83911 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
83913         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
83914         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
83915         * sysdeps/sh/strlen.S: Likewise.
83917 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83919         * sysdeps/unix/fork.S: Remove file.
83920         * sysdeps/unix/i386/fork.S: Likewise.
83921         * sysdeps/unix/sparc/fork.S: Likewise.
83923         * sysdeps/unix/system.c: Remove file.
83924         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
83926         * sysdeps/unix/getegid.S: Remove file.
83927         * sysdeps/unix/geteuid.S: Likewise.
83929 2012-04-24  Roland McGrath  <roland@hack.frob.com>
83931         * scripts/check-localplt.awk: New file.
83932         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
83933         of diff.
83934         * scripts/data/localplt-generic.data: Add a comment.
83936         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
83937         NODE when __dir_mkfile failed.
83938         * sysdeps/mach/hurd/symlinkat.c: Likewise.
83939         Reported by Ludovic Courtès <ludo@gnu.org>.
83941 2012-04-24  Andreas Jaeger  <aj@suse.de>
83943         * Makerules (common-clean): Also remove gen-as-const-headers
83944         files.
83946 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83948         * Makerules (native-compile): Do not change working directory for
83949         build.  Use $(OUTPUT_OPTION) in command.
83950         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
83952 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83954         [BZ #13886]
83955         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
83956         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
83957         * math/libm-test.inc (floor_test): Add more tests.
83958         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
83960 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83962         * sysdeps/unix/getdents.c: Remove file.
83963         * sysdeps/unix/sysv/getdents.c: Likewise.
83964         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
83966         * sysdeps/unix/syscalls.list (madvise): Add syscall from
83967         sysdeps/unix/mman/syscalls.list.
83968         (mmap): Likewise.
83969         (mprotect): Likewise.
83970         (msync): Likewise.
83971         (munmap): Likewise.
83972         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
83973         * sysdeps/unix/mman/syscalls.list: Remove.
83974         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
83976         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
83977         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
83978         * configure: Regenerated.
83979         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
83980         $(libgcc_s_suffix).
83981         * config.make.in (libgcc_s_suffix): Remove variable.
83983 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
83985         * sysdeps/unix/sysv/gethostname.c: Move to ...
83986         * sysdeps/posix/gethostname.c: ... here.
83988         * sysdeps/unix/execve.S: Remove file.
83990         * sysdeps/unix/_exit.S: Remove file.
83992 2012-04-23  Andreas Jaeger  <aj@suse.de>
83994         [BZ #13739]
83995         * manual/Makefile: Remove make dist support, there's no
83996         need for a stand-alone documentation tar ball.
83997         (TEXI2DVI): Define always, it's not in Makeconfig.
83998         (dist): Removed.
83999         (tar-it): Removed.
84000         (edition): Removed.
84001         (glibc-doc-$(edition).tar): Removed
84002         (%.Z): Removed.
84003         (%.gz): Removed.
84004         (%.uu): Removed.
84005         (ETAGS): Remove, it's in Makeconfig.
84006         (move-if-change): Remove, it's in Makeconfig.
84008 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
84010         [BZ #13970]
84011         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84012         (strtod, strtof, strtold, strtol, strtoul, strtoq)
84013         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84014         (strtod_l, strtof_l, strtold_l): Remove __wur.
84015         It is not necessarily an error to ignore strtol's return value.
84016         One can reliably look at the stored endptr to decide whether
84017         the number had valid syntax.
84019 2012-04-21  Andreas Jaeger  <aj@suse.de>
84021         [BZ #13739]
84022         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84024 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
84026         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84027         * sysdeps/unix/sysv/Versions: Remove file.
84029 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
84031         [BZ #13927]
84032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84034 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
84036         [BZ #7064]
84037         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84038         version from __vm86.
84040 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
84042         * sysdeps/unix/common/lxstat.c: Remove file.
84043         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84045         * sysdeps/unix/sysv/Makefile: Remove file.
84047         * sysdeps/unix/sysv/direct.h: Remove file.
84049         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84050         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84051         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84052         * sysdeps/unix/sysv/bits/signum.h: Likewise.
84053         * sysdeps/unix/sysv/bits/stat.h: Likewise.
84054         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84055         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84057         * sysdeps/unix/sysv/setrlimit.c: Remove file.
84059         * sysdeps/unix/xmknod.c: Remove file.
84060         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84062         * sysdeps/unix/sysv/settimeofday.c: Remove file.
84064         * sysdeps/unix/sysv/i386/time.S: Remove file.
84066         * sysdeps/unix/fxstat.c: Remove file.
84067         * sysdeps/unix/xstat.c: Likewise.
84068         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84070         * sysdeps/unix/sysv/sigaction.c: Remove file.
84072         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84073         (sysdep_headers): Remove variable.
84074         [termio.h not in sysdep_headers] (generated): Likewise.
84075         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84076         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84077         * sysdeps/unix/sysv/tcdrain.c: Likewise.
84078         * sysdeps/unix/sysv/tcflow.c: Likewise.
84079         * sysdeps/unix/sysv/tcflush.c: Likewise.
84080         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84081         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84082         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84083         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84084         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84086         * sysdeps/unix/siglist.c: Remove file.
84088         * sysdeps/unix/getppid.S: Remove file.
84090         * sysdeps/unix/mkdir.c: Remove file.
84091         * sysdeps/unix/rmdir.c: Likewise.
84093 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
84095         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84096         ERR_MAX value.
84097         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84098         errlist-compat value.
84100 2012-04-18  David S. Miller  <davem@davemloft.net>
84102         * sysdeps/generic/memcopy.h (reg_char): Delete.
84103         * debug/strcat_chk.c: Use char, not reg_char.
84104         * debug/strcpy_chk.c: Likewise.
84105         * debug/strncat_chk.c: Likewise.
84106         * debug/strncpy_chk.c: Likewise.
84107         * string/memchr.c: Likewise.
84108         * string/memrchr.c: Likewise.
84109         * string/rawmemchr.c: Likewise.
84110         * string/strcat.c: Likewise.
84111         * string/strchr.c: Likewise.
84112         * string/strchrnul.c: Likewise.
84113         * string/strcmp.c: Likewise.
84114         * string/strcpy.c: Likewise.
84115         * string/strncat.c: Likewise.
84116         * string/strncmp.c: Likewise.
84117         * string/strncpy.c: Likewise.
84119 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84121         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
84122         __builtin_memcopy is called when src and dest ranges are known to not
84123         overlap.
84125 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84127         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
84128         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
84129         fwd_align_merge macro call.
84130         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
84131         bwd_align_merge macro call.
84132         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84134 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84136         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
84137         bwd_align_merge macros.
84138         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
84139         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
84140         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84142 2012-04-18  David S. Miller  <davem@davemloft.net>
84144         * sysdeps/sparc/sparc64/memcopy.h: Delete.
84146 2012-04-18  Andreas Jaeger  <aj@suse.de>
84148         [BZ #6794]
84149         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
84150         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
84151         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84153         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
84154         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
84155         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84157         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
84158         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
84159         Adjust for changed ldbl-128 files.
84161         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
84162         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
84163         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84165 2012-04-17  David S. Miller  <davem@davemloft.net>
84167         * sysdeps/sparc/sparc32/memcopy.h: Delete.
84169 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
84171         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
84172         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
84173         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
84174         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
84175         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
84176         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
84178 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84180         [BZ #6794]
84181         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
84182         * math/libm-test.inc: Add ilogb errno and exception tests.
84183         * math/w_ilogb.c: New file: ilogb wrapper.
84184         * math/w_ilogbf.c: New file: ilogbf wrapper.
84185         * math/w_ilogbl.c: New file: ilogbl wrapper.
84186         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
84187         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
84188         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
84189         exception being thrown with 0.0 as argument.
84190         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
84191         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
84192         exception being thrown with 0.0 as argument.
84193         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
84194         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84195         exception being thrown with 0.0 as argument.
84196         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
84197         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84198         exception being thrown with 0.0 as argument.
84199         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
84200         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
84201         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
84202         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
84203         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
84204         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
84205         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
84206         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
84207         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
84209 2012-04-17  Petr Baudis  <pasky@ucw.cz>
84211         * include/sys/uio.h: Change __vector to __iovec to avoid clash
84212         with altivec.
84214 2012-04-16  Marek Polacek  <polacek@redhat.com>
84216         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
84218 2012-04-16  Marek Polacek  <polacek@redhat.com>
84220         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
84221         operands of fdivp instruction.
84223 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
84225         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
84226         * elf/tst-auditmod3b.c: Likewise.
84227         * elf/tst-auditmod4b.c: Likewise.
84228         * elf/tst-auditmod5b.c: Likewise.
84229         * elf/tst-auditmod6b.c: Likewise.
84230         * elf/tst-auditmod6c.c: Likewise.
84231         * elf/tst-auditmod7b.c: Likewise.
84232         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
84233         * sysdeps/x86_64/preconfigure.in: Likewise.
84234         * sysdeps/x86_64/preconfigure: Regenerated.
84236 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
84238         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
84239         __ILP32__.
84241 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
84243         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84244         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
84246 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
84248         [BZ #13973]
84249         * locale/iso-639.def: Fix gl language name. Spotted by
84250         Yaron Shahrabani.
84252 2012-04-12  Roland McGrath  <roland@hack.frob.com>
84254         [BZ #2074]
84255         * libio/libio.h (__io_write_fn): Update comment.
84257 2012-04-12  Petr Baudis  <pasky@ucw.cz>
84259         [BZ #2074]
84260         * stdio.texi (Hook Functions): The user provided writer function
84261         is not allowed to return -1.
84263 2012-04-11  David S. Miller  <davem@davemloft.net>
84265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84267 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
84269         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
84270         Add a leading slash to rtkaio.
84272 2012-04-11  Jim Meyering  <meyering@redhat.com>
84274         [BZ #11959]
84275         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
84276         It is not necessarily an error to ignore fwrite's return
84277         value.  One can reliably use ferror to test for errors after
84278         the fact.
84280 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
84282         * bits/types.h (__snseconds_t): New type.
84283         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
84285         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
84286         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
84287         (__SNSECONDS_T_TYPE): Likewise.
84288         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
84289         (__SNSECONDS_T_TYPE): Likewise.
84290         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
84291         (__SNSECONDS_T_TYPE): Likewise.
84293 2012-04-10  Andreas Jaeger  <aj@suse.de>
84295         [BZ #2636]
84296         * manual/time.texi (Processor Time): Return type of times is
84297         elapsed real time since an arbitrary point in the past.
84298         (CPU Time): Move CLK_TCK from here...
84299         (Processor Time): ...to here.  Correct description.
84300         * manual/conf.texi (Constants for Sysconf): Correct description of
84301         _SC_CLK_TCK.
84303 2012-04-10  David S. Miller  <davem@davemloft.net>
84305         [BZ #13967]
84306         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
84307         where the is a gap between DT_REL(A) and DT_JMPREL.
84309 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
84311         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
84312         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84313         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84315 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
84317         * elf/dl-support.c (_dl_inhibit_cache): New variable.
84318         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
84319         (dl_main): Handle --inhibit-cache.
84320         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
84321         _dl_inhibit_cache.
84322         * elf/dl-load.c (_dl_map_object): Use it.
84323         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
84325 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
84327         [BZ #13872]
84328         * sysdeps/i386/fpu/e_powl.S (p78): New object.
84329         (__ieee754_powl): Saturate large exponents rather than testing for
84330         overflow of y*log2(x).
84331         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84332         * math/libm-test.inc (pow_test): Do not permit spurious overflow
84333         exceptions.
84335         [BZ #11521]
84336         * math/s_ctan.c: Include <float.h>.
84337         (__ctan): Avoid internal overflow or cancellation in calculating
84338         denominator.
84339         * math/s_ctanf.c: Likewise.
84340         * math/s_ctanl.c: Likewise.
84341         * math/s_ctanh.c: Likewise.
84342         * math/s_ctanhf.c: Likewise.
84343         * math/s_ctanhl.c: Likewise.
84344         * math/libm-test.inc (ctan_test): Add more tests.
84345         (ctanh_test): Likewise.
84346         * sysdeps/i386/fpu/libm-test-ulps: Update.
84347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84349 2012-04-09  Andreas Jaeger  <aj@suse.de>
84351         [BZ #6894]
84352         * manual/filesys.texi (Directory Entries): Mention that d_namlen
84353         is an optional BSD extension.
84355         [BZ #10254]
84356         * manual/stdio.texi (Opening Streams): Document additional fopen
84357         parameters.
84359 2012-04-09  Roland McGrath  <roland@hack.frob.com>
84361         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
84362         %eax without telling the compiler.
84364 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
84366         [BZ # 13963]
84367         * manual/install.texi: Use sourceware.org.
84369 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
84371         [BZ #13873]
84372         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
84373         (__ieee754_pow): Generate overflow and underflow using huge*huge
84374         and tiny*tiny rather than just returning constant infinity or zero
84375         for large exponents.
84376         * math/libm-test.inc (pow_test): Require overflow exceptions for
84377         applicable cases of large exponents.
84379         [BZ #706]
84380         * sysdeps/i386/fpu/e_pow.S (p10): New object.
84381         (__ieee754_pow): Use iterative multiplication algorithm only for
84382         integer exponents with absolute value below 1024.  Check for odd
84383         integer exponents when using algorithm for real exponents.
84384         * math/libm-test.inc (pow_test): Add more tests.
84385         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84387 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
84389         [BZ #13705]
84390         * math/libm-test.inc (exp_test): Do not allow overflow exception
84391         on underflow test.
84393 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
84395         [BZ #13705]
84396         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
84397         instead of __kernel_standard_f.
84399 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
84401         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
84402         * sysdeps/x86_64/memset_chk.S: Likewise.
84404 2012-04-08  Andreas Jaeger  <aj@suse.de>
84406         [BZ #10153]
84407         * manual/startup.texi (Environment Access): Describe return value
84408         for putenv and setenv.
84410         [BZ #6895]
84411         * manual/filesys.texi (Directory Entries): Add description for
84412         DT_LNK.
84414         [BZ #6890]
84415         * manual/filesys.texi (Directory Entries): Clarify that it's file
84416         system not operating system in the description of DT_UNKNOWN.
84418         [BZ #6578]
84419         * manual/syslog.texi (closelog): Fix reference, it's openlog.
84421 2012-04-08  Stephen Compall  <s11@member.fsf.org>
84423         [BZ #6649]
84424         * manual/llio.texi (Opening and Closing Files): Add cross
84425         reference to explain mode argument.
84427 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
84429         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
84430         * sysdeps/x86_64/memset_chk.S: Likewise.
84432 2012-04-07  David S. Miller  <davem@davemloft.net>
84434         * elf/elf.h (R_SPARC_WDISP10): Define.
84435         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
84436         R_SPARC_SIZE32.
84437         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
84438         R_SPARC_SIZE64 and R_SPARC_H34.
84440 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
84442         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
84443         conditions and remove no longer applicable assertion.
84445 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
84447         * bits/byteswap.h: Include <features.h>.
84448         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84449         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84451 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
84453         * bits/byteswap.h (__bswap_16): Removed.
84454         Include <bits/byteswap-16.h> to get __bswap_16.
84455         * sysdeps/i386/bits/byteswap.h: Likewise.
84456         * sysdeps/s390/bits/byteswap.h: Likewise.
84457         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84458         * bits/byteswap-16.h: New file.
84459         * sysdeps/i386/bits/byteswap-16.h: Likewise.
84460         * sysdeps/s390/bits/byteswap-16.h: Likewise.
84461         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
84462         * string/Makefile (headers): Add bits/byteswap-16.h.
84464 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
84466         [BZ #13895]
84467         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
84468         extra indirection.
84469         * nss/Makefile (tests-static, tests): Add tst-nss-static.
84470         * nss/tst-nss-static.c: New.
84472 2012-04-06  Robert Millan  <rmh@gnu.org>
84474         [BZ #6486]
84475         * manual/llio.texi (File Position Primitive): lseek
84476         refers to WHENCE when it really means OFFSET.
84478 2012-04-06  Andreas Jaeger  <aj@suse.de>
84480         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
84481         strncmp declarations.
84483         * abilist/libc.abilist: Add __poll and __ppoll.
84485 2012-04-05  David S. Miller  <davem@davemloft.net>
84487         * scripts/check-local-headers.sh: Accept a host triplet in the
84488         path matched by the exclude regexp.
84490         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
84491         definition.
84492         * sysdeps/powerpc/powerpc32/dl-machine.h
84493         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
84494         * sysdeps/s390/s390-32/dl-machine.h
84495         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84496         * sysdeps/sparc/sparc32/dl-machine.h
84497         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84498         * sysdeps/sparc/sparc64/dl-machine.h
84499         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84501         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
84502         lazy binding.
84503         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
84504         undefined symbol errors.
84506         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
84507         DT_NEEDED entries.
84509 2012-04-05  Michael Matz  <matz@suse.de>
84511         [BZ #13592]
84512         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
84514 2012-04-05  Andreas Jaeger  <aj@suse.de>
84516         [BZ #13908]
84517         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
84518         comment.
84520 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84522         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
84523         which ROUND is no valid rounding mode.
84525 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84527         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
84528         read again.
84529         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
84531 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84533         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
84534         an exception using FPU order intentionally.
84536 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84538         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
84539         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
84540         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
84541         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
84543 2012-04-05  Simon Josefsson  <simon@josefsson.org>
84545         [BZ #12340]
84546         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
84547         EINVAL when BUFLEN is too smal.
84549 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
84551         [BZ #13553]
84552         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
84553         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
84555 2012-04-03  Andreas Jaeger  <aj@suse.de>
84557         [BZ #13938]
84558         * manual/setjmp.texi (System V contexts): Fix sentence.
84560         [BZ #13926]
84561         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
84562         New macro for this case.
84563         [!__GNUC__] (__bswap_64): New inline function for this case.
84564         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84565         * bits/byteswap.h: Likewise.
84566         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
84567         ull, guard with __GLIBC_HAVE_LONG_LONG.
84569         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
84570         __GLIBC_HAVE_LONG_LONG.
84572         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
84573         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
84575 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
84577         [BZ #13691]
84578         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
84579         inptr and inend, rather than using last_ch.
84581 2012-04-02  David S. Miller  <davem@davemloft.net>
84583         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
84584         * stdio-common/printf-parse.h (read_int): Change return type to
84585         'int', return -1 on INT_MAX overflow.
84586         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
84587         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
84588         overflows INT_MAX.  Check for overflow of in-format-string precision
84589         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
84590         SIZE_MAX not INT_MAX for integer overflow test.
84591         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
84592         skip the construct in the format string but do not record anything.
84593         * stdio-common/bug22.c: Adjust to test both width/prevision
84594         INT_MAX overflow as well as total length INT_MAX overflow.  Check
84595         explicitly for proper errno values.
84597 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
84599         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
84600         CHAR_MAX.
84601         * string/test-strcmp.c [! WIDE]: Likewise.
84602         * time/tst-mktime2.c: Likewise for INT_MAX.
84603         * string/test-string.h: #include <sys/param.h> for MIN.
84605         * csu/init-first.c (__libc_init_first): Call __ctype_init.
84606         * sysdeps/i386/init-first.c (init): Likewise.
84607         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
84608         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
84609         * sysdeps/sh/init-first.c (init): Likewise.
84611 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
84613         * po/ru.po: Update from translation team.
84614         * po/vi.po: Likewise.
84616 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
84618         * resolv/nss_dns/dns-host.c: Merge copyright years.
84620 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84622         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
84623         Optimize memcpy with prefetch if
84624         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
84625         src, dst pointers have unequal 16 byte alignments.
84627 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
84629         [BZ #13928]
84630         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
84631         from a CNAME entry and return the minimum ttl for the query.
84632         (gaih_getanswer_slice): Likewise.
84634 2012-03-30  Jeff Law  <law@redhat.com>
84636         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
84637         due to long keys.
84638         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
84639         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
84641         * resolv/nss_dns/dns-host.c: Update copyright year.
84643 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
84645         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
84646         requests to save a system call.  Fix check that all bytes are sent.
84648         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
84649         comments for sendmmsg.
84651 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
84653         [BZ #13691]
84654         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
84655         with only 1 character between 0x0041 and 0x01b0.
84656         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
84657         * wcsmbs/tst-mbsnrtowcs.c: New file.
84659 2012-03-29  David S. Miller  <davem@davemloft.net>
84661         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
84662         small copies by hand.
84664 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
84666         [BZ #13761]
84667         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
84668         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
84669         group memberships.
84671 2012-03-28  David S. Miller  <davem@davemloft.net>
84673         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
84674         that branches into memcpy.
84675         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
84676         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
84677         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
84678         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
84679         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
84680         bits.
84681         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
84682         implementation too.
84683         * sysdeps/sparc/mempcpy.S: New file.
84685         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
84686         the IFUNC routine in the libc case.
84687         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
84689         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
84690         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
84691         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
84692         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
84693         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
84694         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
84695         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
84696         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
84698         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
84699         loop to 256 bytes instead of 64 bytes and fix test signedness.
84701         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
84702         * sysdeps/sparc/sparc32/Makefile: rather than here...
84703         * sysdeps/sparc/sparc64/Makefile: and here.
84705 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
84707         * malloc/mallocbug.c: Avoid warnings about unused variables.
84709 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
84711         [BZ #13760]
84712         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
84713         in the right place. Discard and retry query if response is
84714         larger than input buffer size.
84716 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
84718         [BZ #369]
84719         [BZ #2678]
84720         [BZ #3866]
84721         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
84722         x for large integer exponent.
84723         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
84724         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
84725         sign of result as needed afterwards.
84726         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
84727         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
84728         result for underflowing pow the same as for overflow.
84729         (__kernel_standard_l): Handle powl overflow and underflow here
84730         rather than calling __kernel_standard.
84731         * math/libm-test.inc (pow_test): Add more tests.
84733         [BZ #3868]
84734         [BZ #13879]
84735         [BZ #13910]
84736         [BZ #13911]
84737         [BZ #13912]
84738         [BZ #13913]
84739         [BZ #13915]
84740         [BZ #13916]
84741         [BZ #13917]
84742         [BZ #13918]
84743         [BZ #13919]
84744         [BZ #13920]
84745         [BZ #13921]
84746         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
84747         * sysdeps/ieee754/k_standard.c: Include <float.h>.
84748         (__kernel_standard_l): New function.
84749         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
84750         __kernel_standard.
84751         * math/w_acosl.c (__acosl): Likewise.
84752         * math/w_asinl.c (__asinl): Likewise.
84753         * math/w_atan2l.c (__atan2l): Likewise.
84754         * math/w_atanhl.c (__atanhl): Likewise.
84755         * math/w_coshl.c (__coshl): Likewise.
84756         * math/w_exp10l.c (__exp10l): Likewise.
84757         * math/w_exp2l.c (__exp2l): Likewise.
84758         * math/w_fmodl.c (__fmodl): Likewise.
84759         * math/w_hypotl.c (__hypotl): Likewise.
84760         * math/w_j0l.c (__j0l, __y0l): Likewise.
84761         * math/w_j1l.c (__j1l, __y1l): Likewise.
84762         * math/w_jnl.c (__jnl, __ynl): Likewise.
84763         * math/w_lgammal.c (__lgammal): Likewise.
84764         * math/w_log10l.c (__log10l): Likewise.
84765         * math/w_log2l.c (__log2l): Likewise.
84766         * math/w_logl.c (__logl): Likewise.
84767         * math/w_powl.c (__powl): Likewise.
84768         * math/w_remainderl.c (__remainderl): Likewise.
84769         * math/w_scalbl.c (sysv_scalbl): Likewise.
84770         * math/w_sinhl.c (__sinhl): Likewise.
84771         * math/w_sqrtl.c (__sqrtl): Likewise.
84772         * math/w_tgammal.c (__tgammal): Likewise.
84773         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
84774         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
84775         * math/libm-test.inc (acos_test): Add more tests.
84776         (acosh_test): Likewise.
84777         (asin_test): Likewise.
84778         (atanh_test): Likewise.
84779         (exp_test): Likewise.
84780         (exp10_test): Likewise.
84781         (exp2_test): Likewise.
84782         (expm1_test): Likewise.
84783         (lgamma_test): Likewise.
84784         (log_test): Likewise.
84785         (log10_test): Likewise.
84786         (log1p_test): Likewise.
84787         (log2_test): Likewise.
84788         (pow_test): Do not allow some spurious overflow exceptions.
84789         (sqrt_test): Add more tests.
84790         (tgamma_test): Likewise.
84791         (y0_test): Likewise.
84792         (y1_test): Likewise.
84793         (yn_test): Likewise.
84795 2012-03-27  Anton Blanchard  <anton@samba.org>
84797         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
84798         MAP_HUGETLB.
84799         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84800         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84801         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84803 2012-03-27  David S. Miller  <davem@davemloft.net>
84805         * conform/Makefile: Run run-conformtest.sh using $(BASH).
84807         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
84808         have-as-vis3 check.
84810 2012-03-27  Andreas Jaeger  <aj@suse.de>
84812         * sysdeps/x86_64/elf/configure.in: Moved to ...
84813         * sysdeps/x86_64/configure.in: ... here.
84814         * sysdeps/x86_64/elf/start.S: Moved to ...
84815         * sysdeps/x86_64/start.S: ... here.
84816         * sysdeps/x86_64/elf/configure: Delete.
84818         * sysdeps/x86_64/configure.in: Merge contents from
84819         sysdeps/i386/configure.in (without i686 check).
84821         * sysdeps/i386/elf/Versions: Merge into ...
84822         * sysdeps/i386/Versions: ... this.
84823         * sysdeps/i386/elf/Versions: Delete file.
84824         * sysdeps/i386/elf/start.S: Moved to ...
84825         * sysdeps/i386/start.S: ...here.
84826         * sysdeps/i386/elf/configure.in: Merge into...
84827         * sysdeps/i386/configure.in: ...here.
84828         * sysdeps/i386/elf/configure.in: Delete file.
84829         * sysdeps/i386/elf/configure: Delete file.
84831         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
84832         * debug/backtracesyms.c: ... here.
84833         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
84834         * debug/backtracesymsfd.c: ... here.
84835         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
84836         * sysdeps/generic/ifunc-sel.h: ... here.
84838         * sysdeps/unix/i386/start.c: Delete file.
84839         * sysdeps/unix/sparc/start.c: Delete file.
84840         * sysdeps/unix/start.c: Delete file.
84842         * sysdeps/sh/elf/configure.in: Moved to ...
84843         * sysdeps/sh/configure.in: ... here.
84844         * sysdeps/sh/elf/start.S: Moved to ...
84845         * sysdeps/sh/start.S: ... here.
84846         * sysdeps/sh/elf/configure: Delete file.
84848         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
84849         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
84850         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
84851         * sysdeps/powerpc/powerpc64/entry.h: ... here.
84852         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
84853         * sysdeps/powerpc/powerpc64/start.S: here.
84854         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
84855         * sysdeps/powerpc/powerpc64/Makefile: ... this.
84856         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
84857         * sysdeps/powerpc/powerpc64/configure.in: ... this.
84858         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
84860         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
84861         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
84862         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
84863         * sysdeps/powerpc/powerpc32/start.S: ... here.
84864         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
84865         * sysdeps/powerpc/powerpc32/configure.in: ... this.
84866         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
84868         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
84869         * sysdeps/powerpc/ifunc-sel.h: ... here.
84870         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
84871         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
84873         * sysdeps/sparc/elf/configure.in: Moved to ...
84874         * sysdeps/sparc/configure.in: ... here.
84875         * sysdeps/sparc/elf/configure: Delete file.
84876         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
84877         * sysdeps/sparc/sparc32/start.S: ... here.
84878         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
84879         * sysdeps/sparc/sparc64/start.S: ... here.
84880         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
84881         * sysdeps/sparc/sparc32/Makefile: ... this.
84882         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
84883         * sysdeps/sparc/sparc64/Makefile: ... this.
84885         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
84886         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
84887         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
84888         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
84889         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
84890         * sysdeps/s390/s390-32/setjmp.S: ... here.
84891         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
84892         * sysdeps/s390/s390-32/configure.in: ... here.
84893         * sysdeps/s390/s390-32/elf/configure: Delete file.
84894         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
84895         * sysdeps/s390/s390-32/start.S: ... here.
84897         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
84898         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
84899         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
84900         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
84901         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
84902         * sysdeps/s390/s390-64/setjmp.S: ... here.
84903         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
84904         * sysdeps/s390/s390-64/configure.in: ... here
84905         * sysdeps/s390/s390-64/elf/configure: Delete file.
84906         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
84907         * sysdeps/s390/s390-64/start.S: ... here.
84908         * sysdeps/s390/s390-64/elf/configure: Delete.
84910         * configure.in: Remove support for elf directories in sysdeps.
84912         * configure: Regenerated.
84913         * sysdeps/i386/configure: Regenerated.
84914         * sysdeps/powerpc/powerpc32/configure: Regenerated.
84915         * sysdeps/powerpc/powerpc64/configure: Regenerated.
84916         * sysdeps/s390/s390-32/configure: Regenerated.
84917         * sysdeps/s390/s390-64/configure: Regenerated.
84918         * sysdeps/sh/configure: Regenerated.
84919         * sysdeps/sparc/configure: Regenerated.
84920         * sysdeps/x86_64/configure: Regenerated.
84922 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
84924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84926         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
84927         denormal result into account.
84929 2012-03-25  Roland McGrath  <roland@hack.frob.com>
84931         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
84932         Reported by Allan McRae <allan@archlinux.org>.
84934 2012-03-23  Jeff Law  <law@redhat.com>
84936         * nss/getnssent.c (__nss_getent): Fix typo.
84938 2012-03-23  David S. Miller  <davem@davemloft.net>
84940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84942 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
84944         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
84945         to pad to uint64_t for each field.
84946         (dl_tls_index): Replace unsigned long with uint64_t.
84948 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
84949         Paul Pluzhnikov  <ppluzhnikov@google.com>
84951         [BZ #6528]
84952         * grp/Makefile (otherlibs): Don't set it.
84953         * inet/Makefile (otherlibs): Likewise.
84954         * login/Makefile (otherlibs): Likewise.
84955         * nscd/Makefile (otherlibs): Likewise.
84956         * posix/Makefile (otherlibs): Likewise.
84957         * pwd/Makefile (otherlibs): Likewise.
84958         * rt/Makefile (otherlibs): Likewise.
84959         * sunrpc/Makefile (otherlibs): Likewise.
84960         * nss/Makefile (otherlibs): Likewise.
84961         Add libnss_files to routines and static-only-routines.
84962         ($(objpfx)getent): Remove rule.
84963         * resolv/Makefile: Add libnss_dns and libresolv to routines and
84964         static-only-routines.
84966 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
84968         [BZ #13892]
84969         * math/s_cexp.c: Include <float.h>.
84970         (__cexp): Handle exp result overflowing not necessarily
84971         overflowing both real and imaginary parts of result.
84972         * math/s_cexpf.c: Likewise.
84973         * math/s_cexpl.c: Likewise.
84974         * math/libm-test.inc (cexp_test): Add more tests.
84975         * sysdeps/i386/fpu/libm-test-ulps: Update.
84976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84978 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84980         * include/link.h (ELFW): New macro.
84981         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
84982         Replace ELF64_R_TYPE with ELFW(R_TYPE).
84984 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84986         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
84987         with uint64_t.
84989 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84991         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
84992         declaration.
84993         (struct La_x32_retval): Likewise.
84995 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84997         * sysdeps/x86_64/preconfigure.in: New file.
84998         * sysdeps/x86_64/preconfigure: New generated file.
85000 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85002         [BZ #13824]
85003         * math/e_exp2l.c: Include <float.h>.
85004         (__ieee754_exp2l): Handle overflow and underflow cases
85005         separately.  Only pass fractional part of argument to
85006         __ieee754_expl.
85007         * math/libm-test.inc (exp2_test): Add more tests.
85009         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85010         negating x to take absolute value.
85011         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85012         Likewise.
85013         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85014         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85015         Likewise.
85016         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85017         computing low part if x was negated.
85018         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85020 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85022         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85023         la_x32_gnu_pltexit.
85024         (pltexit): Cast int_retval to ptrdiff_t.
85025         * elf/tst-auditmod3b.c: Likewise.
85026         * elf/tst-auditmod4b.c: Likewise.
85027         * elf/tst-auditmod5b.c: Likewise.
85028         * elf/tst-auditmod6b.c: Likewise.
85029         * elf/tst-auditmod6c.c: Likewise.
85030         * elf/tst-auditmod7b.c: Likewise.
85032         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85033         and x32_gnu_pltexit.
85035         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85036         __ELF_NATIVE_CLASS.
85037         (La_x32_regs): New macro.
85038         (La_x32_retval): Likewise.
85039         (la_x32_gnu_pltenter): New function prototype.
85040         (la_x32_gnu_pltexit): Likewise.
85042 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
85044         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85045         exponent.
85047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85049         * configure.in (libc_cv_cc_nofma): Check for option to disable
85050         generation of FMA instructions.
85051         * configure: Regenerate.
85052         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85053         * sysdeps/ieee754/dbl-64/Makefile: New file.
85054         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85055         Remove brandred-fma4.
85056         (CFLAGS-brandred-fma4.c): Remove.
85057         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85058         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85059         define.
85060         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85061         define.
85063 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85065         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85066         LLONG_MAX != LONG_MAX.
85067         (_itoa_word): Use _ITOA_WORD_TYPE on value.
85068         (_fitoa_word): Likewise.
85069         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85070         LLONG_MAX != LONG_MAX.
85071         * stdio-common/_itowa.h: Include <_itoa.h>.
85072         (_itowa_word): Use _ITOA_WORD_TYPE on value.
85073         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
85074         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
85075         only if not defined.
85076         (_ITOA_WORD_TYPE): Likewise.
85077         (_itoa_word): Use _ITOA_WORD_TYPE on value.
85078         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85080 2012-03-21  David S. Miller  <davem@davemloft.net>
85082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85084 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85086         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85087         of x86_64 when setting libc_cv_slibdir, libdir and
85088         libc_cv_localedir.
85089         * sysdeps/unix/sysv/linux/configure: Regenerated.
85091 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85093         * manual/lang.texi (Old Varargs): Remove section.
85094         (How Variadic): Update menu.
85095         (va_start): Do not mention varargs.h.
85097 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
85098             Joseph Myers  <joseph@codesourcery.com>
85100         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
85101         link test.
85102         * configure: Regenerated.
85104 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
85106         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
85107         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
85108         conformtest.pl
85110 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85112         * NOTES: Remove.
85113         * Makefile (files-for-dist): Remove NOTES.
85114         (NOTES): Remove rule.
85115         * README: Don't refer to NOTES.
85116         * manual/creature.texi: Don't include macros.texi.
85117         * manual/intro.texi (creature.texi): Remove comment referring to
85118         NOTES.
85120         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
85121         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
85122         * configure: Regenerated.
85123         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
85124         LIBC_TRY_CC_OPTION.
85125         (libc_cv_as_i686): Likewise.
85126         (libc_cv_cc_avx): Likewise.
85127         (libc_cv_cc_sse2avx): Likewise.
85128         (libc_cv_cc_fma4): Likewise.
85129         (libc_cv_cc_novzeroupper): Likewise.
85130         * sysdeps/i386/configure: Regenerated.
85132         [BZ #13883]
85133         * sysdeps/i386/fpu/s_cexp.S: Remove.
85134         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85135         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85136         * math/libm-test.inc (cexp_test): Add more tests.
85137         * sysdeps/i386/fpu/libm-test-ulps: Update.
85138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85140 2012-03-21  Allan McRae  <allan@archlinux.org>
85142         * timezone/Makefile: Do not install iso3166.tab and zone.tab
85144 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85146         [BZ #13871]
85147         * math/w_exp2.c: Do not include <float.h>.
85148         (o_threshold, u_threshold): Remove.
85149         (__exp2): Calculate result before checking finiteness and calling
85150         __kernel_standard.
85151         * math/w_exp2f.c: Likewise.
85152         * math/w_exp2l.c: Likewise.
85153         * math/libm-test.inc (exp2_test): Require overflow exception for
85154         1e6 input.
85156         [BZ #3866]
85157         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
85158         range of signed 64-bit integers before using fistpll.  Remove
85159         checks for whether integers fit in mantissa bits.
85160         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
85161         the range of signed 32-bit integers before using fistpl.  Remove
85162         checks for whether integers fit in mantissa bits.
85163         * sysdeps/i386/fpu/e_powl.S (p64): New object.
85164         (__ieee754_powl): Test for y outside the range of signed 64-bit
85165         integers before using fistpll.  Reduce 64-bit values to 63-bit
85166         ones as needed.
85167         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
85168         divide-by-zero is raised for zero to large negative powers.
85169         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
85170         (__ieee754_powl): Test for y outside the range of signed 64-bit
85171         integers before using fistpll.  Reduce 64-bit values to 63-bit
85172         ones as needed.
85173         * math/libm-test.inc (pow_test): Add more tests.
85175 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85177         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
85178         <stdio-common/_itoa.h>.
85179         * debug/segfault.c: Likewise.
85180         * elf/dl-cache.c: Likewise.
85181         * elf/dl-minimal.c: Likewise.
85182         * elf/dl-misc.c: Likewise.
85183         * elf/dl-sysdep.c: Likewise.
85184         * elf/dl-version.c: Likewise.
85185         * elf/rtld.c: Likewise.
85186         * hurd/hurdsock.c: Likewise.
85187         * hurd/lookup-retry.c: Likewise.
85188         * malloc/malloc.c: Likewise.
85189         * malloc/mtrace.c: Likewise.
85190         * nscd/nscd_getgr_r.c: Likewise.
85191         * nscd/nscd_getpw_r.c: Likewise.
85192         * nscd/nscd_getserv_r.c: Likewise.
85193         * posix/getopt_init.c: Likewise.
85194         * posix/wordexp.c: Likewise.
85195         * stdio-common/_itoa.c: Likewise.
85196         * stdio-common/printf_fphex.c: Likewise.
85197         * stdio-common/vfprintf.c: Likewise.
85198         * string/_strerror.c: Likewise.
85199         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
85200         * sysdeps/i386/i686/hp-timing.h: Likewise.
85201         * sysdeps/mach/_strerror.c: Likewise.
85202         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
85203         * sysdeps/mach/hurd/sethostid.c: Likewise.
85204         * sysdeps/mach/hurd/xmknodat.c: Likewise.
85205         * sysdeps/mach/xpg-strerror.c: Likewise.
85206         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
85207         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
85208         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
85209         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
85210         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
85211         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
85212         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
85213         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
85214         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
85215         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
85216         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
85217         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
85218         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
85219         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
85220         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
85221         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
85222         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
85223         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
85224         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
85225         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
85226         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
85228         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
85230         * stdio-common/_itoa.h: Moved to ...
85231         * sysdeps/generic/_itoa.h: Here.
85233         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
85235         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
85236         instead of "_itoa.h" and "_itowa.h".
85237         * stdio-common/vfprintf.: Likewise.
85239 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85241         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
85242         <bits/wordsize.h>.
85243         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
85244         (__signbit): Likewise.
85245         (llrintf): Likewise.
85246         (llrint): Likewise.
85248 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85250         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
85251         __WORDSIZE != 64.
85253 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
85255         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
85256         OVERFLOW_EXCEPTION_OK.
85257         * math/libm-test.inc ("Philosophy"): Update comment about
85258         exception testing.
85259         (OVERFLOW_EXCEPTION): Define.
85260         (OVERFLOW_EXCEPTION_OK): Likewise.
85261         (INVALID_EXCEPTION_OK): Renumber.
85262         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
85263         (IGNORE_ZERO_INF_SIGN): Likewise.
85264         (test_exceptions): Handle FE_OVERFLOW.
85265         (exp10_test): Expect overflow exceptions.
85266         (exp2_test): Likewise.
85267         (expm1_test): Likewise.
85268         (nextafter_test): Likewise.
85269         (pow_test): Likewise.
85270         (scalbn_test): Likewise.
85271         (scalbln_test): Likewise.
85273 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85275         * sysdeps/x86_64/bits/atomic.h
85276         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
85277         64bit integer.
85278         (atomic_exchange_acq): Likewise.
85279         (__arch_exchange_and_add_body): Likewise.
85280         (__arch_add_body): Likewise.
85281         (atomic_add_negative): Likewise.
85282         (atomic_add_zero): Likewise.
85284 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85286         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
85287         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
85289 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85291         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
85292         Check __x86_64__ instead of __WORDSIZE.
85294 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85296         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
85298 2012-03-19  David S. Miller  <davem@davemloft.net>
85300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85302         * sysdeps/sparc/fpu/fenv_private.h: New file.
85303         * sysdeps/sparc/fpu/math_private.h: Use it.
85304         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
85305         Remove.
85306         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
85307         (libc_feholdexcept_setroundl): Remove.
85308         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
85309         Remove.
85310         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
85311         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
85313 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85315         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
85316         int64_t instead of long int.
85317         (INSERT_WORDS64): Likewise.
85319 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85321         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
85322         _Unwind_GetCFA return to _Unwind_Ptr first.
85324 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
85326         [BZ #13629]
85327         * math/s_clog.c: Include <float.h>.
85328         (__clog): Scale large or subnormal inputs.
85329         * math/s_clogf.c: Likewise.
85330         * math/s_clogl.c: Likewise.
85331         * math/s_clog10.c: Include <float.h>.
85332         (M_LOG10_2): Define.
85333         (__clog10): Scale large or subnormal inputs.
85334         * math/s_clog10f.c: Likewise.
85335         * math/s_clog10l.c: Likewise.
85336         * math/libm-test.inc (clog_test): Add more tests.
85337         (clog10_test): Likewise.
85338         * sysdeps/i386/fpu/libm-test-ulps: Update.
85339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85341         [BZ #11451]
85342         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
85343         x and y.
85344         * math/libm-test.inc (atan2_test): Add another test.
85346         * Makerules (common-objdir-compile): Remove.
85347         * sysdeps/unix/Makefile (config-generated): Do not add
85348         $(unix-generated) to variable.
85349         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
85350         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
85351         Remove rule.
85352         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
85353         Likewise.
85354         [generic bits/local_lim.h] (before-compile): Do not append to
85355         variable.
85356         [generic bits/local_lim.h] (common-generated): Likewise.
85357         [generic sys/param.h] (before-compile): Do not append to variable.
85358         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
85359         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
85360         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
85361         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
85362         include.
85363         [generic sys/param.h] (sys/param.h-includes): Remove variable.
85364         [generic sys/param.h] (sys/param.h-includes): Remove rule.
85365         [generic sys/param.h] ($(addprefix
85366         $(common-objpfx),$(sys/param.h-includes))): Likewise.
85367         [generic sys/param.h] (common-generated): Do not append to
85368         variable.
85369         [generic sys/param.h] (sysdep_headers): Likewise.
85370         [generic bits/errno.h] (before-compile): Do not append to
85371         variable.
85372         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
85373         rule.
85374         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
85375         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
85376         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
85377         [generic bits/errno.h] (common-generated): Do not append to
85378         variable.
85379         [generic bits/ioctls.h] (before-compile): Do not append to
85380         variable.
85381         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
85382         rule.
85383         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
85384         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
85385         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
85386         rule.
85387         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
85388         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
85389         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
85390         [generic bits/ioctls.h] (common-generated): Do not append to
85391         variable.
85392         [generic sys/syscall.h] (syscall.h): Remove variable.
85393         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
85394         rule.
85395         [generic sys/syscall.h] (before-compile): Do not append to
85396         variable.
85397         [generic sys/syscall.h] (common-generated): Likewise.
85398         * sysdeps/unix/errnos-tmpl.c: Remove file.
85399         * sysdeps/unix/errnos.awk: Likewise.
85400         * sysdeps/unix/ioctls-tmpl.c: Likewise.
85401         * sysdeps/unix/ioctls.awk: Likewise.
85402         * sysdeps/unix/mk-local_lim.c: Likewise.
85403         * sysdeps/unix/snarf-ioctls: Likewise.
85405 2012-03-19  Richard Henderson  <rth@twiddle.net>
85407         * sysdeps/i386/fpu/fenv_private.h: New file.
85408         * sysdeps/i386/fpu/math_private.h: Use it.
85409         (math_opt_barrier, math_force_eval): Remove.
85410         (libc_feholdexcept_setround_53bit): Remove.
85411         (libc_feupdateenv_53bit): Remove.
85412         * sysdeps/x86_64/fpu/math_private.h: Likewise.
85413         (math_opt_barrier, math_force_eval): Remove.
85414         (libc_feholdexcept): Remove.
85415         (libc_feholdexcept_setround): Remove.
85416         (libc_fetestexcept, libc_fesetenv): Remove.
85417         (libc_feupdateenv_test): Remove.
85418         (libc_feupdateenv, libc_feholdsetround): Remove.
85419         (libc_feresetround): Remove.
85421         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
85422         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
85424         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
85425         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
85426         (libc_feupdateenv_testl): New.
85427         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
85428         (libc_feupdateenv_testf): New.
85429         (libc_feupdateenv): Use libc_feupdateenv_test.
85430         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
85431         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
85433         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
85434         (libc_feholdsetroundf, libc_feholdsetroundl): New.
85435         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
85436         (libc_feresetround_noex): New.
85437         (libc_feresetround_noexf): New.
85438         (libc_feresetround_noexl): New.
85439         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
85440         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
85441         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
85442         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
85443         SET_RESTORE_ROUND.
85444         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
85445         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
85446         (__cos): Likewise.
85447         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
85448         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
85449         SET_RESTORE_ROUND_NOEX.
85450         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
85451         SET_RESTORE_ROUND_NOEXF.
85452         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
85453         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
85454         (libc_feholdsetroundf): New.
85455         (libc_feresetround, libc_feresetroundf): New.
85457         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
85458         (libc_feholdexcept_setround_53bit): Convert from macro to function.
85459         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
85461         * sysdeps/generic/math_private.h: Include <fenv.h>.
85462         (default_libc_feholdexcept): New.
85463         (default_libc_feholdexcept_setround): New.
85464         (default_libc_fesetenv, default_libc_feupdateenv): New.
85465         (libc_feholdexcept): Only define if undefined.
85466         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
85467         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
85468         (libc_feholdexcept_setroundl): Likewise.
85469         (libc_feholdexcept_setround_53bit): Likewise.
85470         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
85471         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
85472         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
85473         (libc_feupdateenv_53bit): Likewise.
85474         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
85475         (libc_feholdexcept): Convert from macro to inline function.
85476         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
85477         (libc_fesetenv, libc_feupdateenv): Likewise.
85479         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
85480         not previously defined.
85481         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
85482         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
85483         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
85484         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
85485         * sysdeps/ieee754/flt-32/math_private.h: New file.
85486         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
85487         math_private.h below SET_FLOAT_WORD.
85488         (__isnan, __isinf_ns, __finite): Remove.
85489         (__isnanf, __isinf_nsf, __finitef): Remove.
85491 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
85493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85495 2012-03-17  David S. Miller  <davem@davemloft.net>
85497         [BZ #6471]
85498         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
85499         for 2.16.
85501 2012-03-16  David S. Miller  <davem@davemloft.net>
85503         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
85504         warnings.
85506         [BZ #6471]
85507         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
85508         properly.
85509         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
85510         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
85511         sysdep_routines when subdir is sysvipc.
85512         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
85513         __getshmlba helper.
85515         * sysdeps/sparc/fpu/libm-test/ulps: Update.
85517 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
85519         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
85520         [__LP64__].
85522 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
85524         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
85525         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
85526         (__lround): Renamed to ...
85527         (__llround): This.  Replace long int with long long int.
85528         Define lround functions as aliases of llround functions.
85529         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
85531 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
85533         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
85534         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
85535         adresses to uintptr_t.  Replace "long int" and "unsigned long
85536         int" with "greg_t" on va_arg.
85538 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
85540         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
85541         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
85543         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
85544         Move e_machine check before EI_CLASS check.  Handle x32
85545         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
85546         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
85547         SKIP_EM_IA_64 and include
85548         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
85550         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
85551         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
85552         (add_system_dir): New macro.
85554         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
85555         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
85557 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
85559         [BZ #2551]
85560         [BZ #2552]
85561         [BZ #2553]
85562         [BZ #2554]
85563         [BZ #2562]
85564         [BZ #2563]
85565         [BZ #2565]
85566         [BZ #2566]
85567         [BZ #2576]
85568         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
85569         (y0): Likewise.
85570         * math/w_j0f.c (j0f): Likewise.
85571         (y0f): Likewise.
85572         * math/w_j0l.c (__j0l): Likewise.
85573         (__y0l): Likewise.
85574         * math/w_j1.c (j1): Likewise.
85575         (y1): Likewise.
85576         * math/w_j1f.c (j1f): Likewise.
85577         (y1f): Likewise.
85578         * math/w_j1l.c (__j1l): Likewise.
85579         (__y1l): Likewise.
85580         * math/w_jn.c (jn): Likewise.
85581         (yn): Likewise.
85582         * math/w_jnf.c (jnf): Likewise.
85583         (ynf): Likewise.
85584         * math/w_jnl.c (__jnl): Likewise.
85585         (__ynl): Likewise.
85586         * math/libm-test.inc (j0_test): Add more tests.
85587         (j1_test): Likewise.
85588         (jn_test): Likewise.  Add trailing semicolon to existing test.
85589         (y0_test): Likewise.
85590         (y1_test): Likewise.
85591         * sysdeps/i386/fpu/libm-test-ulps: Update.
85592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85594         [BZ #13851]
85595         [BZ #13854]
85596         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
85597         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
85598         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
85599         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
85600         (__tanl): Set errno for infinite argument.
85601         * sysdeps/i386/fpu/mptan.c: Remove.
85602         * sysdeps/i386/fpu/s_tan.S: Likewise.
85603         * sysdeps/i386/fpu/s_tanl.S: Likewise.
85604         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
85605         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
85606         * math/libm-test.inc (tan_test): Add more tests and enable more
85607         tests for double and long double.
85608         * sysdeps/i386/fpu/libm-test-ulps: Update.
85609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85611 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
85613         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
85614         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
85616 2012-03-16  Roland McGrath  <roland@hack.frob.com>
85618         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
85619         * configure.in: Use it for both main tree and add-ons.
85620         * configure: Regenerated.
85622 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
85624         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
85626 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
85628         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
85629         in comment.
85631         [BZ #13851]
85632         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
85633         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
85634         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
85635         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
85636         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
85637         infinite argument.
85638         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
85639         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
85640         != 0 for prec == 2.
85641         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
85642         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
85643         * sysdeps/i386/fpu/s_cosl.S: Likewise.
85644         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
85645         * sysdeps/i386/fpu/s_sinl.S: Likewise.
85646         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
85647         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
85648         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
85649         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
85650         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
85651         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
85652         * math/libm-test.inc (cos_test): Add more tests and enable more
85653         tests for long double.
85654         (sin_test): Likewise.
85655         (sincos_test): Likewise.
85656         * sysdeps/i386/fpu/libm-test-ulps: Update.
85657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85659 2012-03-16  David S. Miller  <davem@davemloft.net>
85661         * sysdeps/sparc/fpu/math_private.h: New file.
85663 2012-03-15  David S. Miller  <davem@davemloft.net>
85665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
85666         file.
85667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
85668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
85669         file.
85670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
85671         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
85672         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
85673         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
85674         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
85675         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
85676         sysdep routines.
85677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
85679         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
85680         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
85682         * sysdeps/sparc/sparc-ifunc.h: New file.
85683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
85684         sparc-ifunc.h
85685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
85686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
85687         Likewise.
85688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
85689         Likewise.
85690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
85691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
85692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
85693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
85694         Likewise.
85695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
85696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
85697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
85698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
85699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
85700         Likewise.
85701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
85702         Likewise.
85703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
85704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
85705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
85706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
85707         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
85708         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
85709         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
85710         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
85711         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
85712         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
85713         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
85714         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
85715         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
85716         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
85717         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
85718         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
85719         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
85720         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
85721         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
85722         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
85723         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
85724         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
85725         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
85726         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
85728 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
85730         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
85731         scaling.
85732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85734 2012-03-15  Andreas Jaeger  <aj@suse.de>
85736         [BZ #13852]
85737         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
85738         ieee754/flt-32 implementation for sin, cos and sincos.
85739         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
85740         * sysdeps/i386/fpu/s_cosf.S: Likewise.
85741         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
85742         * sysdeps/i386/fpu/s_sinf.S: Likewise.
85743         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
85744         ieee754/flt-32 implementation for tan.
85746         * math/libm-test.inc (cos_test): Enable some large input tests for
85747         float as well
85748         (sin_test): Likewise.
85749         (sincos_test): Likewise.
85750         (tan_test): Add tests for large input.
85752         * sysdeps/i386/fpu/libm-test-ulps: Update.
85754 2012-03-15  Andreas Jaeger  <aj@suse.de>
85756         [BZ #13658]
85757         * math/libm-test.inc (cos_test): Add more test cases.
85758         (sin_test): Likewise.
85759         (sincos_test): Likewise.
85761 2012-03-15  Andreas Jaeger  <aj@suse.de>
85763         [BZ #13837]
85764         * math/libm-test.inc (cos_test): Add a test case for large input
85765         value.
85766         (sin_test): Likewise.
85767         (sincos_test): Likewise.
85769 2012-03-15  Andreas Jaeger  <aj@suse.de>
85770             Joseph Myers  <joseph@codesourcery.com>
85772         [BZ #13658]
85773         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
85774         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
85775         * sysdeps/i386/fpu/branred.c: Likewise.
85776         * sysdeps/i386/fpu/dosincos.c: Likewise.
85777         * sysdeps/i386/fpu/mpa.c: Likewise.
85778         * sysdeps/i386/fpu/s_cos.S: Likewise.
85779         * sysdeps/i386/fpu/s_sin.S: Likewise.
85780         * sysdeps/i386/fpu/s_sincos.S: Likewise.
85781         * sysdeps/i386/fpu/sincos32.c: Likewise.
85783         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
85784         Define.
85785         (libc_feupdateenv_53bit): Define.
85786         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
85787         Define.
85788         (libc_feupdateenv_53bit): Define.
85790         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
85791         53 bit (without extend i386 double precision).
85793         * math/libm-test.inc (sincos_test): Add tests for large input.
85794         (sin): Likewise.
85795         (cos): Likewise.
85797         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
85799 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
85801         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85803 2012-03-15  David S. Miller  <davem@davemloft.net>
85805         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
85806         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
85807         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
85808         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
85809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
85810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
85811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
85812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
85813         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
85814         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
85815         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
85816         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
85817         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
85818         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
85819         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
85820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
85821         file.
85822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
85823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
85824         file.
85825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
85826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
85827         file.
85828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
85829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
85830         file.
85831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
85832         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
85833         fmin/fmax sysdep routines.
85834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
85836 2012-03-14  David S. Miller  <davem@davemloft.net>
85838         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
85839         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
85840         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
85841         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
85842         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
85843         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
85844         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
85845         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
85846         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
85847         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
85848         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
85849         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
85850         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
85851         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
85852         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
85853         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
85854         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
85855         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
85856         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
85857         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
85858         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
85859         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
85860         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
85861         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
85862         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
85863         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
85864         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
85865         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
85866         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
85867         routines.
85868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
85869         file.
85870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
85871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
85872         file.
85873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
85874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
85875         file.
85876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
85877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
85878         file.
85879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
85880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
85881         file.
85882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
85883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
85884         file.
85885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
85886         file.
85887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
85888         file.
85889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
85890         file.
85891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
85892         New file.
85893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
85894         file.
85895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
85896         file.
85897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
85898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
85899         file.
85900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
85901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
85902         file.
85903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
85904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
85905         file.
85906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
85907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
85908         VIS3 routines.
85910         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
85911         New file.
85913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85915         * sysdeps/sparc/configure.in: New file.
85916         * sysdeps/sparc/configure: Generate.
85917         * configure.in (libc_cv_sparc_as_vis3): Substitute.
85918         * configure: Regenerate.
85919         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
85920         * config.make.in (have-as-vis3): New.
85921         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
85922         available use -Av9d instead of -Av9a.
85923         * sysdeps/sparc/sparc64/Makefile: Likewise.
85924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
85925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
85926         New file.
85927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
85928         file.
85929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
85930         New file.
85931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
85932         file.
85933         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
85934         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
85935         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
85936         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
85937         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
85939         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
85940         fzeros/fnegs to load 0x80000000 into a float register instead of
85941         using the stack.
85942         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
85944 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
85946         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85947         bits/syscall.h.
85948         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
85949         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
85950         ($(inst_includedir)/bits/syscall.h): Remove rule.
85951         ($(objpfx)bits/syscall.d): Include instead of
85952         $(objpfx)syscall-list.d.
85953         (generated): Change syscall-list.h and syscall-list.d to
85954         bits/syscall.h and bits/syscall.d.
85956 2012-03-14  Roland McGrath  <roland@hack.frob.com>
85958         [BZ #13846]
85959         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
85961 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
85963         [BZ #13841]
85964         * math/s_csqrt.c: Include <float.h>.
85965         (__csqrt): Scale large or subnormal inputs.
85966         * math/s_csqrtf.c: Likewise.
85967         * math/s_csqrtl.c: Likewise.
85968         * math/libm-test.inc (csqrt_test): Add more tests.
85969         * sysdeps/i386/fpu/libm-test-ulps: Update.
85970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85972         [BZ #13840]
85973         * math/libm-test.inc (hypot_test): Add more tests.
85975 2012-03-13  David S. Miller  <davem@davemloft.net>
85977         [BZ #13840]
85978         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
85979         double-precision for the calculation instead of scaling.
85981 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
85983         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
85984         manipulate bits before adding and subtracting TWO52[sx].
85985         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
85986         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
85987         Likewise.
85988         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
85990 2012-03-13  David S. Miller  <davem@davemloft.net>
85992         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
85993         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
85994         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
85995         rtld-global-offsets.h
85996         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85998         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
85999         large parameters.
86001         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86003         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86004         'err' in the ifdef scope in which it is actually used.
86006         * nss/nss_db/db-init.c: Include string.h
86008 2012-03-12  David S. Miller  <davem@davemloft.net>
86010         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86011         masking out of the most significant byte of random value used.
86012         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86013         Fix coding style in previous change.
86015         * sysdeps/unix/sysv/linux/kernel-features.h
86016         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86017         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86018         expression.
86019         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86020         later.
86022 2012-03-11  David S. Miller  <davem@davemloft.net>
86024         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86025         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86026         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86027         for 'resultvar' otherwise things get truncated on 64-bit.
86029         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86030         Fix masking out of the most significant byte of random value used.
86032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86034 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
86036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86038 2012-03-09  David S. Miller  <davem@davemloft.net>
86040         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86041         variables with appropriate CPP guards.
86042         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86043         from the frame pointer, not the stack pointer.  Correct layout
86044         comments.  Fix test on resulting framesize and the management of
86045         the outregs buffer for pltexit.  Preserve floating point return
86046         values across _dl_call_pltexit call.
86047         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86048         framesize and the management of the outregs buffer for pltexit.
86049         Preserve floating point return values across _dl_call_pltexit
86050         call.
86051         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86052         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86053         (la_sparc64_gnu_pltexit): New functions.
86054         (print_exit): Fix format string for return register value.
86056 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
86058         * sunrpc/Makefile (others): Add rpcgen.
86059         ($(objpfx)rpcgen): Remove special build rule and dependency on
86060         libc.
86061         * sunrpc/rpcgen.c: New file.
86063 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
86065         [BZ #13673]
86066         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86067         * stdio-common/bug-vfprintf-nargs.c: Likewise.
86068         * sysdeps/i386/crti.S: Likewise.
86069         * sysdeps/i386/crtn.S: Likewise.
86070         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86071         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86072         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86073         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86074         * sysdeps/sh/crti.S: Likewise.
86075         * sysdeps/sh/crtn.S: Likewise.
86076         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86078         [BZ #13673]
86079         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86080         with URL.
86081         * locale/programs/locfile-kw.gperf: Likewise.
86082         * locale/programs/charmap-kw.h: Regenerated.
86083         * locale/programs/locfile-kw.h: Likewise.
86085         [BZ #13673]
86086         * intl/plural.y: Replace FSF snail mail address with URL.
86087         * intl/plural.c: Regenerated.
86089 2012-03-09  Richard Henderson  <rth@twiddle.net>
86091         * include/math_private.h: Remove file.
86092         * math/math_private.h: Move file ...
86093         * sysdeps/generic/math_private.h: ... here.
86095         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86096         * sysdeps/powerpc/fpu/math_private.h: Likewise.
86097         * sysdeps/x86_64/fpu/math_private.h: Likewise.
86099         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
86100         and <math_private.h>.
86101         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86102         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86103         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86104         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86105         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86106         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
86107         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86108         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86109         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86110         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86111         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86112         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86113         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86114         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86115         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86116         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86117         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86118         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86119         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86120         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86121         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86122         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86123         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86124         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86125         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
86126         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86127         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86128         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86129         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86130         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86131         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86132         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86133         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
86134         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86135         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86136         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86137         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86138         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86139         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86140         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86141         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
86142         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86143         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86144         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
86145         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
86146         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86147         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86148         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
86149         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86150         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86151         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
86152         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
86153         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
86154         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86155         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
86156         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86157         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86158         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
86159         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
86160         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86161         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86162         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
86163         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86164         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86165         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
86166         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86167         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86168         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86169         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
86170         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
86171         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
86172         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86173         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
86174         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86175         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
86176         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
86177         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
86178         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86179         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
86180         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
86181         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
86182         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
86183         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
86184         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86185         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86186         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
86187         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
86188         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
86189         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86190         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86191         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86192         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86193         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86194         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86195         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86196         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86197         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86198         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86199         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86200         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86201         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86202         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86203         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86204         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86205         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86206         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86207         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86208         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86209         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86210         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86211         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86212         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86213         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86214         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86215         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
86216         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86217         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86218         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86219         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86220         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86221         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86222         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86223         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86224         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
86225         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86226         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86227         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86228         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
86229         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86230         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
86231         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
86232         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86233         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86234         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
86235         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
86236         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86237         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86238         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86239         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
86240         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86241         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86242         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86243         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86244         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
86245         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
86246         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86247         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86248         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86249         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
86250         * sysdeps/ieee754/k_standard.c: Likewise.
86251         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86252         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86253         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86254         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86255         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
86256         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
86257         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
86258         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
86259         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
86260         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
86261         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86262         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
86263         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
86264         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
86265         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
86266         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
86267         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
86268         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
86269         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
86270         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
86271         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
86272         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
86273         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86274         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86275         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
86276         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
86277         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86278         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86279         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86280         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86281         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
86282         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86283         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86284         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86285         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
86286         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86287         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86288         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
86289         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
86290         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86291         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
86292         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
86293         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
86294         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86295         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
86296         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
86297         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86298         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86299         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86300         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86301         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86302         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
86303         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86304         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
86305         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86306         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86307         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
86308         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
86309         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86310         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86311         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86312         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
86313         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86314         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
86315         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86316         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86317         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
86318         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
86319         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
86320         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
86321         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
86322         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86323         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
86324         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
86325         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
86326         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
86327         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
86328         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
86329         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86330         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
86331         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
86332         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
86333         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86334         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86335         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
86336         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86337         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86338         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
86339         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
86340         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86341         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
86342         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86343         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
86344         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
86345         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86346         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86347         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
86348         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
86349         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
86350         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
86351         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86352         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86353         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86354         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86355         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
86356         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86357         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86358         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
86359         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
86360         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86361         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86362         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86363         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
86364         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86365         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
86366         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86367         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
86368         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86369         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86370         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
86371         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86372         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
86373         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
86374         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
86375         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86376         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
86377         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86378         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86379         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86380         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86381         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86382         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86383         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86384         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
86385         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86386         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86387         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
86388         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
86389         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86390         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
86391         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
86392         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86393         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
86394         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
86395         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
86396         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86397         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86398         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86399         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86400         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
86401         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86402         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86403         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
86404         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
86405         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
86406         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
86407         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86408         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86409         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86410         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
86411         * sysdeps/ieee754/s_lib_version.c: Likewise.
86412         * sysdeps/ieee754/s_matherr.c: Likewise.
86413         * sysdeps/ieee754/s_signgam.c: Likewise.
86414         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
86415         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
86416         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
86417         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
86418         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
86419         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
86420         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
86421         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
86422         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
86423         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
86424         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
86425         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
86426         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86427         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86428         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
86429         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
86430         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
86431         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
86432         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
86433         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86434         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86436 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
86438         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
86439         * sunrpc/rpc_main.c: Likewise.
86440         * sunrpc/rpc_svcout.c: Likewise.
86442 2012-03-09  David S. Miller  <davem@davemloft.net>
86444         * include/math_private.h: New file.
86446 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
86448         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
86449         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
86450         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
86451         from <bits/socket_type.h>.
86452         (enum __socket_type): Don't define here.
86453         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
86454         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86455         bits/socket_type.h.
86457         [BZ #13566]
86458         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
86459         checking __USE_GNU.
86461         * Makerules ($(inst_includedir)/%.h): New rule.
86462         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
86463         (install-others): Remove variable setting.
86464         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
86466 2012-03-08  Richard Henderson  <rth@twiddle.net>
86468         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
86469         from macro to inline function; merge with the
86470         !__LIBC_INTERNAL_MATH_INLINES version.
86471         (__ieee754_sqrtf): Likewise.
86473         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
86474         to inline function.
86475         (__rintf, __floor, __floorf): Likewise.
86477         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
86478         macro to inline function.
86479         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
86481         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
86482         not <math/math_private.h>.
86484 2012-03-08  David S. Miller  <davem@davemloft.net>
86486         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
86487         copyright year.
86488         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
86490 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
86492         * resolv/gai_misc.c (handle_requests): Fix struct timespec
86493         normalization.
86494         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
86495         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
86497 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
86499         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
86500         be defined individually, they must be defined as a block.  Define
86501         S for printing a string instead of hidint the different by using a
86502         macro for adding the 'l'.
86503         * stdio-common/tst-fphex-wide.c: Adjust.
86505 2012-03-07  Marek Polacek  <polacek@redhat.com>
86507         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
86509 2012-03-08  Marek Polacek  <polacek@redhat.com>
86511         [BZ #13806]
86512         * stdio-common/Makefile (tests): Add tst-fphex-wide.
86513         * stdio-common/tst-fphex.c: Define a few macros to make the
86514         test reusable.  Use them.
86515         * stdio-common/tst-fphex-wide.c: New file.
86517 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
86519         [BZ #6911]
86520         * manual/macros.texi (gnusystems): New macro.
86521         (nongnusystems): Likewise.
86522         (gnulinuxhurdsystems): Likewise.
86523         (gnuhurdsystems): Likewise..
86524         (gnulinuxsystems): Likewise.
86525         * manual/charset.texi: Use new macros or @theglibc{} to refer to
86526         variants of the GNU system, not "GNU system".
86527         * manual/conf.texi: Likewise.
86528         * manual/errno.texi: Likewise.  Update example of errno macro
86529         expansion.
86530         * manual/filesys.texi: Likewise.
86531         (getumask): Document as specific to GNU/Hurd.
86532         * manual/install.texi: Likewise.  Reword some references to
86533         GNU/Linux.
86534         * manual/intro.texi: Likewise.
86535         * manual/io.texi: Likewise.
86536         (File Name Portability): Detail which constraints are inapplicable
86537         to all GNU systems and which are only inapplicable to GNU/Hurd.
86538         * manual/job.texi: Likewise.
86539         * manual/llio.texi: Likewise.
86540         (O_NOCTTY): Document as present on GNU/Linux.
86541         * manual/maint.texi: Likewise.
86542         * manual/memory.texi: Likewise.
86543         * manual/pattern.texi: Likewise.
86544         * manual/pipe.texi: Likewise.
86545         * manual/process.texi: Likewise.
86546         * manual/resource.texi: Likewise.
86547         (RUSAGE_CHILDREN): Remove statement about specifying a particular
86548         child on GNU/Hurd.
86549         * manual/setjmp.texi: Likewise.
86550         * manual/signal.texi: Likewise.
86551         * manual/startup.texi: Likewise.
86552         * manual/stdio.texi: Likewise.
86553         * manual/terminal.texi: Likewise.
86554         (ONLCR): Document as POSIX.
86555         (OXTABS): Document availability on GNU/Linux as XTABS.
86556         (ONOEOT): Document availability separately from other bits.
86557         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
86558         * manual/time.texi: Likewise.
86559         * manual/users.texi: Likewise.
86560         * INSTALL: Regenerated.
86561         * sysdeps/gnu/errlist.c: Regenerated.
86563         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
86564         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
86565         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
86566         puts.
86567         * configure: Regenerated.
86569 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
86571         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
86572         default includes instead of AC_HEADER_CHECK.
86573         * sysdeps/i386/configure: Regenerated.
86575         [BZ #10716]
86576         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
86577         * math/s_cacoshf.c (__cacoshf): Likewise.
86578         * math/s_cacoshl.c (__cacoshl): Likewise.
86579         * math/s_casinh.c (__casinh): Set signs of result from argument.
86580         * math/s_casinhf.c (__casinhf): Likewise.
86581         * math/s_casinhl.c (__casinhl): Likewise.
86582         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
86583         (casinh_test): Add more tests.
86584         * sysdeps/i386/fpu/libm-test-ulps: Update.
86585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86587 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
86589         * po/zh_TW.po: Update from translation team.
86591         * login/Makefile (distribute): Remove variable.
86592         * catgets/Makefile: Likewise.
86593         * mach/Makefile: Likewise.
86594         * malloc/Makefile: Likewise.
86595         * misc/Makefile: Likewise.
86596         * iconv/Makefile: Likewise.
86597         * nscd/Makefile: Likewise.
86598         * hurd/Makefile: Likewise.
86599         * manual/Makefile: Likewise.
86600         * locale/Makefile: Likewise.
86601         * intl/Makefile: Likewise.
86602         * conform/Makefile: Likewise.
86603         * nss/Makefile: Likewise.
86604         * time/Makefile: Likewise.
86605         * soft-fp/Makefile: Likewise.
86606         * dirent/Makefile: Likewise.
86607         * gmon/Makefile: Likewise.
86608         * po/Makefile: Likewise.
86609         * rt/Makefile: Likewise.
86610         * socket/Makefile: Likewise.
86611         * math/Makefile: Likewise.
86612         * signal/Makefile: Likewise.
86613         * debug/Makefile: Likewise.
86614         * elf/Makefile: Likewise.
86615         * timezone/Makefile: Likewise.
86616         * stdlib/Makefile: Likewise.
86617         * iconvdata/Makefile: Likewise.
86618         * sunrpc/Makefile: Likewise.
86619         * io/Makefile: Likewise.
86620         * argp/Makefile: Likewise.
86621         * inet/Makefile: Likewise.
86622         * hesiod/Makefile: Likewise.
86623         * grp/Makefile: Likewise.
86624         * csu/Makefile: Likewise.
86625         * wctype/Makefile: Likewise.
86626         * crypt/Makefile: Likewise.
86627         * libio/Makefile: Likewise.
86628         * string/Makefile: Likewise.
86629         * nis/Makefile: Likewise.
86630         * resolv/Makefile: Likewise.
86631         * stdio-common/Makefile: Likewise.
86632         * wcsmbs/Makefile: Likewise.
86633         * dlfcn/Makefile: Likewise.
86634         * posix/Makefile: Likewise.
86636         [BZ #6959]
86637         * timezone/Makefile: Don't install timezone files, just the programs
86638         and scripts.
86640 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
86642         * nss/databases.def: Add missing gshadow entry.
86644         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
86646 2012-03-06  Marek Polacek  <polacek@redhat.com>
86648         [BZ #13726]
86649         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
86650         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
86651         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
86652         * stdio-common/tst-long-dbl-fphex.c: New file.
86654 2012-03-06  David S. Miller  <davem@davemloft.net>
86656         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
86657         (set_obp_int): New function.
86658         (get_obp_int): New function.
86659         (__get_clockfreq_via_dev_openprom): Likewise.
86660         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
86661         Avoid unused variable warnings on 'val' and use builtin_expect.
86662         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
86663         __builtin_expect.
86664         (INLINE_CLONE_SYSCALL): Likewise.
86666 2012-03-05  David S. Miller  <davem@davemloft.net>
86668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86670 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
86672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86674         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
86675         only for |x| >= 40.
86676         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86678 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
86680         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
86681         Replace gettimeofday with __vdso_gettimeofday.
86683         * sysdeps/unix/sysv/linux/x86_64/init-first.c
86684         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
86685         __vdso_clock_gettime and __vdso_getcpu.
86687         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
86688         time with __vdso_time.
86690 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
86692         * manual/lang.texi (size_t): Note types to which size_t may be
86693         equivalent with the GNU C Library, but do not describe when
86694         differences between them are significant.
86696 2012-03-05  Andreas Jaeger  <aj@suse.de>
86698         * sysdeps/i386/fpu/libm-test-ulps: Update.
86700 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
86702         [BZ #3976]
86703         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
86704         (__ieee754_pow): Save and restore rounding mode and use
86705         round-to-nearest for main computations.
86706         * math/libm-test.inc (pow_test_tonearest): New function.
86707         (pow_test_towardzero): Likewise.
86708         (pow_test_downward): Likewise.
86709         (pow_test_upward): Likewise.
86710         (main): Call the new functions.
86711         * sysdeps/i386/fpu/libm-test-ulps: Update.
86712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86714         [BZ #3976]
86715         * math/libm-test.inc (cosh_test_tonearest): New function.
86716         (cosh_test_towardzero): Likewise.
86717         (cosh_test_downward): Likewise.
86718         (cosh_test_upward): Likewise.
86719         (sinh_test_tonearest): Likewise.
86720         (sinh_test_towardzero): Likewise.
86721         (sinh_test_downward): Likewise.
86722         (sinh_test_upward): Likewise.
86723         (main): Call the new functions.
86724         * sysdeps/i386/fpu/libm-test-ulps: Update.
86725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86727 2012-03-05  Tom de Vries  <tom@codesourcery.com>
86729         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
86730         default stack guard is set in last bytes.
86731         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
86733 2012-03-05  Kees Cook  <keescook@chromium.org>
86735         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
86737         [BZ #13656]
86738         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
86739         possibly allocate from heap instead of stack.
86740         * stdio-common/bug-vfprintf-nargs.c: New file.
86741         * stdio-common/Makefile (tests): Add nargs overflow test.
86743 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
86745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86747 2012-03-03  Marek Polacek  <polacek@redhat.com>
86749         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
86750         * math/math_private.h: Likewise.
86751         * stdlib/tst-strtod.c: Likewise.
86752         * sysdeps/i386/i486/bits/atomic.h: Likewise.
86753         * sysdeps/x86_64/bits/atomic.h: Likewise.
86755 2012-03-02  David S. Miller  <davem@davemloft.net>
86757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
86758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
86759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
86760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
86761         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
86762         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
86763         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
86764         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
86766 2012-03-02  Roland McGrath  <roland@hack.frob.com>
86768         [BZ #13792]
86769         * manual/examples/README: New file, says the example source files
86770         can be used under GPL>=2.
86771         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
86772         line containing just "*/".
86773         * manual/examples/add.c: Add copyright header (GPL>=2).
86774         * manual/examples/argp-ex1.c: Likewise.
86775         * manual/examples/argp-ex2.c: Likewise.
86776         * manual/examples/argp-ex3.c: Likewise.
86777         * manual/examples/argp-ex4.c: Likewise.
86778         * manual/examples/atexit.c: Likewise.
86779         * manual/examples/db.c: Likewise.
86780         * manual/examples/dir.c: Likewise.
86781         * manual/examples/dir2.c: Likewise.
86782         * manual/examples/execinfo.c: Likewise.
86783         * manual/examples/filecli.c: Likewise.
86784         * manual/examples/filesrv.c: Likewise.
86785         * manual/examples/fmtmsgexpl.c: Likewise.
86786         * manual/examples/genpass.c: Likewise.
86787         * manual/examples/inetcli.c: Likewise.
86788         * manual/examples/inetsrv.c: Likewise.
86789         * manual/examples/isockad.c: Likewise.
86790         * manual/examples/longopt.c: Likewise.
86791         * manual/examples/memopen.c: Likewise.
86792         * manual/examples/memstrm.c: Likewise.
86793         * manual/examples/mkfsock.c: Likewise.
86794         * manual/examples/mkisock.c: Likewise.
86795         * manual/examples/mygetpass.c: Likewise.
86796         * manual/examples/pipe.c: Likewise.
86797         * manual/examples/popen.c: Likewise.
86798         * manual/examples/rprintf.c: Likewise.
86799         * manual/examples/search.c: Likewise.
86800         * manual/examples/select.c: Likewise.
86801         * manual/examples/setjmp.c: Likewise.
86802         * manual/examples/sigh1.c: Likewise.
86803         * manual/examples/sigusr.c: Likewise.
86804         * manual/examples/stpcpy.c: Likewise.
86805         * manual/examples/strdupa.c: Likewise.
86806         * manual/examples/strftim.c: Likewise.
86807         * manual/examples/strncat.c: Likewise.
86808         * manual/examples/subopt.c: Likewise.
86809         * manual/examples/swapcontext.c: Likewise.
86810         * manual/examples/termios.c: Likewise.
86811         * manual/examples/testopt.c: Likewise.
86812         * manual/examples/testpass.c: Likewise.
86813         * manual/examples/timeval_subtract.c: Likewise.
86815         [BZ #13792]
86816         * manual/time.texi (Elapsed Time): Move timeval_subtract example
86817         function to ...
86818         * manual/timeval_subtract.c.texi: ... here, new file.
86820 2012-03-02  David S. Miller  <davem@davemloft.net>
86822         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
86824 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
86826         [BZ #3976]
86827         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
86828         (__sin): Save and restore rounding mode and use round-to-nearest
86829         for all computations.
86830         (__cos): Save and restore rounding mode and use round-to-nearest
86831         for all computations.
86832         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
86833         <fenv.h>.
86834         (tan): Save and restore rounding mode and use round-to-nearest for
86835         all computations.
86836         * math/libm-test.inc (cos_test_tonearest): New function.
86837         (cos_test_towardzero): Likewise.
86838         (cos_test_downward): Likewise.
86839         (cos_test_upward): Likewise.
86840         (sin_test_tonearest): Likewise.
86841         (sin_test_towardzero): Likewise.
86842         (sin_test_downward): Likewise.
86843         (sin_test_upward): Likewise.
86844         (tan_test_tonearest): Likewise.
86845         (tan_test_towardzero): Likewise.
86846         (tan_test_downward): Likewise.
86847         (tan_test_upward): Likewise.
86848         (main): Call the new functions.
86849         * sysdeps/i386/fpu/libm-test-ulps: Update.
86850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86852         [BZ #10135]
86853         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
86854         small n, then large n, before computing and testing k+n.
86855         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
86856         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
86857         Likewise.
86858         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
86859         Likewise.
86860         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
86861         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
86862         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
86863         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
86864         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
86865         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
86866         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
86867         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
86868         * math/libm-test.inc (scalbn_test): Add more tests.
86869         (scalbln_test): Likewise.
86871         * manual/filesys.texi (mode_t): Describe constraints on size and
86872         signedness, not exact equivalence to a particular type.
86873         (ino_t): Likewise.
86874         (ino64_t): Likewise.
86875         (dev_t): Likewise.
86876         (nlink_t): Likewise.
86877         (blkcnt_t): Likewise.
86878         (blkcnt64_t): Likewise.
86879         * manual/llio.texi (off_t): Likewise.
86881         [BZ #3976]
86882         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
86883         (__ieee754_exp): Save and restore rounding mode and use
86884         round-to-nearest for all computations.
86885         * math/libm-test.inc (exp_test_tonearest): New function.
86886         (exp_test_towardzero): Likewise.
86887         (exp_test_downward): Likewise.
86888         (exp_test_upward): Likewise.
86889         (main): Call the new functions.
86890         * sysdeps/i386/fpu/libm-test-ulps: Update.
86891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86893 2012-03-01  Chris Demetriou  <cgd@google.com>
86895         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
86896         have predictable order.
86898 2012-03-01  David S. Miller  <davem@davemloft.net>
86900         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
86902         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
86903         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
86904         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
86905         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
86907         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
86908         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
86909         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
86910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
86911         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
86912         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
86913         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
86914         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
86915         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
86917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86919         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
86920         * sysdeps/sparc/fpu/libm-test-ulps: to here.
86921         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
86923         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
86924         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
86925         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86926         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
86927         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
86928         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
86929         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
86930         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
86931         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
86932         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
86933         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
86934         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86935         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
86936         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
86937         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
86938         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86939         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
86940         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
86941         * sysdeps/sparc/elf/configure: Regenerated.
86943 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
86945         * configure.in (AS, LD): Require binutils 2.20 or later.
86946         * configure: Regenerated.
86947         * manual/install.texi (Tools for Compilation): Give binutils 2.20
86948         as required minimum version.
86949         * INSTALL: Regenerated.
86951         [BZ #2541]
86952         [BZ #4108]
86953         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
86954         before squaring exponent.
86955         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
86956         bottom long double and 27 bits of top long double before squaring
86957         exponent.
86958         * math/libm-test.inc (erfc_test): Add more tests.
86959         * sysdeps/i386/fpu/libm-test-ulps: Update.
86960         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86963 2012-03-01  Kai Tietz  <ktietz@redhat.com>
86965         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
86966         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
86967         containing bit-fields.
86968         * soft-fp/extended.h (_FP_UNION_E): Likewise.
86969         * soft-fp/single.h (_FP_UNION_S): Likewise.
86970         * soft-fp/double.h (_FP_UNION_D): Likewise.
86972 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
86974         [BZ #13786]
86975         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
86976         not include ../strcmp.S.
86977         [USE_AS_STRNCASECMP_L]: Likewise.
86978         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
86979         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
86980         * sysdeps/i386/i686/multiarch/strncase_l-c.c
86981         (__strncasecmp_l_ia32): Define as alias to
86982         __strncasecmp_l_nonascii.
86984         [BZ #5794]
86985         * math/libm-test.inc (expm1_test): Add test for bug 5794.
86986         * sysdeps/i386/fpu/libm-test-ulps: Update.
86987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86989         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
86990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86992 2012-02-29  Jeff Law  <law@redhat.com>
86994         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
86995         out of bounds read.
86997 2012-02-29  Marek Polacek  <polacek@redhat.com>
86999         [BZ #13706]
87000         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87001         * elf/Makefile: Add rules to run tst-unused-dep.out.
87003 2012-02-28  David S. Miller  <davem@davemloft.net>
87005         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87006         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87007         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87008         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87009         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87010         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87012 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87014         * math/libm-test.inc (llround_test): Move one test from
87015         lround_test.  Use TEST_f_L in moved test.
87016         (lround_test): Move misplaced test to llround_test.  Add testcase
87017         from bug 2561.
87019 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
87021         * sysdeps/x86_64/fpu/e_expf.S: New file.
87022         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87024 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
87026         [BZ #13637]
87027         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87028         of remain_len that may cause incomplete multi-byte character and
87029         false match.
87030         * posix/bug-regex33.c: New file.
87031         * posix/Makefile (tests): Add bug-regex33.
87033 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
87035         * manual/macros.texi: New file.
87036         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87037         * manual/libc.texinfo: Include macros.texi.
87038         * manual/creatute.texi: Likewise.
87039         * manual/install.texi: Likewise.
87040         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87041         @glibcadj{} in references to the GNU C Library.
87042         * manual/charset.texi: Likewise.
87043         * manual/conf.texi: Likewise.
87044         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
87045         when not using those macros.
87046         * manual/creature.texi: Likewise.
87047         * manual/crypt.texi: Likewise.
87048         * manual/errno.texi: Likewise.
87049         * manual/filesys.texi: Likewise.
87050         * manual/header.texi: Likewise.
87051         * manual/install.texi: Likewise.
87052         * manual/intro.texi: Likewise.
87053         * manual/io.texi: Likewise.
87054         * manual/job.texi: Likewise.
87055         * manual/lang.texi: Likewise.
87056         * manual/libc.texiinfo: Likewise.
87057         * manual/llio.texi: Likewise.
87058         * manual/locale.texi: Likewise.
87059         * manual/maint.texi: Likewise.
87060         * manual/math.texi: Likewise.
87061         * manual/memory.texi: Likewise.
87062         * manual/message.texi: Likewise.
87063         * manual/nss.texi: Likewise.
87064         * manual/pattern.texi: Likewise.
87065         * manual/process.texi: Likewise.
87066         * manual/resource.texi: Likewise.
87067         * manual/search.texi: Likewise.
87068         * manual/setjmp.texi: Likewise.
87069         * manual/signal.texi: Likewise.
87070         * manual/socket.texi: Likewise.
87071         * manual/startup.texi: Likewise.
87072         * manual/stdio.texi: Likewise.
87073         * manual/string.texi: Likewise.
87074         * manual/sysinfo.texi: Likewise.
87075         * manual/syslog.texi: Likewise.
87076         * manual/terminal.texi: Likewise.
87077         * manual/time.texi: Likewise.
87078         * manual/users.texi: Likewise.
87079         * INSTALL: Regenerated.
87080         * NOTES: Regenerated.
87081         * sysdeps/gnu/errlist.c: Regenerated.
87083 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
87085         * include/dirent.h: Include <dirstream.h> before
87086         <dirent/dirent.h>.
87088 2012-02-28  David S. Miller  <davem@davemloft.net>
87090         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87091         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87092         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87093         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87095 2012-02-27  David S. Miller  <davem@davemloft.net>
87097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87099         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
87100         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
87102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
87103         frame pointer instead of stack pointer relative arg slot.
87104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87105         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87106         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87108 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
87110         [BZ #3992]
87111         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
87113 2012-02-27  David S. Miller  <davem@davemloft.net>
87115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
87116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
87118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
87119         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87120         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87121         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
87122         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
87124 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
87126         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
87127         later.  Allow versions 5-9.
87128         * configure: Regenerated.
87129         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
87130         required minimum version and 4.6 as recommended version.  Do not
87131         mention bugs in GCC 2.7 and 2.8.
87132         * INSTALL: Regenerated.
87134 2012-02-27  David S. Miller  <davem@davemloft.net>
87136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
87137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
87138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
87139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
87140         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
87141         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
87142         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
87143         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
87145         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
87146         manipulate bits before adding and subtracting TWO112[sx].
87147         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
87149 2012-02-27  Roland McGrath  <roland@hack.frob.com>
87151         [BZ #13775]
87152         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
87153         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
87154         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
87155         being in POSIX, because they are in 1003.1-2008.
87157         * rt/tst-aio.c: Include <fcntl.h>.
87158         * rt/tst-aio7.c: Likewise.
87159         * rt/tst-aio64.c: Likewise.
87161         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
87163 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
87165         * manual/install.texi (--with-headers): Describe headers as
87166         interface headers, not private headers.
87167         (Specific advice for GNU/Linux systems): Describe use of headers
87168         from "make headers_install", not private headers from older
87169         kernels.
87170         * INSTALL: Regenerated.
87171         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
87172         Change to 2.6.19.
87173         * sysdeps/unix/sysv/linux/configure: Regenerated.
87175         * manual/llio.texi (fclean): Remove documentation.
87177         * manual/Makefile (libc-texi-generated): New variable.  Include
87178         version.texi.
87179         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
87180         $(libc-texi-generated), not duplicated list of files.
87181         (version.texi, stamp-version): New rules.
87182         (realclean): Remove $(libc-texi-generated), not individual files
87183         from that list.  Do not remove dir-add.texinfo.
87184         * manual/libc.texinfo: Comment out uses of edition numbers and
87185         references to printed manual.  Remove last-updated dates.
87186         (EDITION): Comment out.
87187         (ISBN): Likewise.
87188         (VERSION, UPDATED): Remove.
87189         (version.texi): Include.
87191 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
87193         * sysdeps/posix/spawni.c: Include <signal.h>.
87194         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
87195         * sysdeps/pthread/aio_fsync.c: Likewise.
87197 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
87199         * conform/Makefile (tests): Run only when not cross-compiling and
87200         when fast-check is not defined.
87202         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
87203         * conform/data/limits.h-data: Fixes for POSIX2008.
87204         * conform/run-conformtest.sh: Run all tests.
87205         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
87206         headers.
87207         * include/bits/dlfcn.h: Likewise.
87208         * include/langinfo.h: Likewise.
87209         * include/monetary.h: Likewise.
87210         * include/sys/poll.h: Likewise.
87212         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
87213         for __USE_GNU.
87214         * posix/spawn.h: Define __need_sigset_t.
87215         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
87216         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
87217         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
87218         to get sigevent_t only.
87219         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
87220         only for __USE_GNU.
87221         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87222         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87223         process_vm_writev only for __USE_GNU.
87224         * termios/termios.h: Declare tcgetsid also for POSIX2008.
87226         * conform/Makefile: For now ignore errors from run-conformtest.
87227         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
87228         POSIX to avoid namespace pollution.  Don't prepend headers.
87229         * conform/data/aio.h-data: Fixes for POSIX testing.
87230         * conform/data/fcntl.h-data: Likewise.
87231         * conform/data/glob.h-data: Likewise.
87232         * conform/data/grp.h-data: Likewise.
87233         * conform/data/pthread.h-data: Likewise.
87234         * conform/data/pwd.h-data: Likewise.
87235         * conform/data/signal.h-data: Likewise.
87236         * conform/data/spawn.h-data: Likewise.
87237         * conform/data/stdio.h-data: Likewise.
87238         * conform/data/stdlib.h-data: Likewise.
87239         * conform/data/stropts.h-data: Likewise.
87240         * conform/data/sys/mman.h-data: Likewise.
87241         * conform/data/sys/stat.h-data: Likewise.
87242         * conform/data/sys/types.h-data: Likewise.
87243         * conform/data/sys/wait.h-data: Likewise.
87244         * conform/data/time.h-data: Likewise.
87245         * conform/data/unistd.h-data: Likewise.
87246         * conform/data/utime.h-data: Likewise.
87248         * io/sys/stat.h: fchmod was always in POSIX.
87249         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
87250         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
87251         * rt/aio.h: Define __need_timespec before including <time.h>.
87252         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
87253         struct.  Add forward declaration of pthread_attr_t and use it in
87254         sigevent.
87255         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87256         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87257         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
87258         always remove CLK_TCK definition.
87260 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
87262         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
87264 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
87266         * conform/run-conformtest.sh: New file.
87267         * conform/Makefile: Run run-conformtest for tests.
87268         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
87269         support.
87271         * conform/data/uchar.h-data: New file.
87272         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
87273         * conform/data/arpa/inet.h-data: Likewise.
87274         * conform/data/assert.h-data: Likewise.
87275         * conform/data/complex.h-data: Likewise.
87276         * conform/data/cpio.h-data: Likewise.
87277         * conform/data/ctype.h-data: Likewise.
87278         * conform/data/dirent.h-data: Likewise.
87279         * conform/data/dlfcn.h-data: Likewise.
87280         * conform/data/errno.h-data: Likewise.
87281         * conform/data/fcntl.h-data: Likewise.
87282         * conform/data/float.h-data: Likewise.
87283         * conform/data/fmtmsg.h-data: Likewise.
87284         * conform/data/fnmatch.h-data: Likewise.
87285         * conform/data/ftw.h-data: Likewise.
87286         * conform/data/glob.h-data: Likewise.
87287         * conform/data/grp.h-data: Likewise.
87288         * conform/data/iconv.h-data: Likewise.
87289         * conform/data/inttypes.h-data: Likewise.
87290         * conform/data/langinfo.h-data: Likewise.
87291         * conform/data/libgen.h-data: Likewise.
87292         * conform/data/limits.h-data: Likewise.
87293         * conform/data/locale.h-data: Likewise.
87294         * conform/data/math.h-data: Likewise.
87295         * conform/data/monetary.h-data: Likewise.
87296         * conform/data/mqueue.h-data: Likewise.
87297         * conform/data/ndbm.h-data: Likewise.
87298         * conform/data/net/if.h-data: Likewise.
87299         * conform/data/netdb.h-data: Likewise.
87300         * conform/data/netinet/in.h-data: Likewise.
87301         * conform/data/nl_types.h-data: Likewise.
87302         * conform/data/poll.h-data: Likewise.
87303         * conform/data/pthread.h-data: Likewise.
87304         * conform/data/pwd.h-data: Likewise.
87305         * conform/data/regex.h-data: Likewise.
87306         * conform/data/sched.h-data: Likewise.
87307         * conform/data/search.h-data: Likewise.
87308         * conform/data/semaphore.h-data: Likewise.
87309         * conform/data/setjmp.h-data: Likewise.
87310         * conform/data/signal.h-data: Likewise.
87311         * conform/data/spawn.h-data: Likewise.
87312         * conform/data/stdarg.h-data: Likewise.
87313         * conform/data/stdio.h-data: Likewise.
87314         * conform/data/stdlib.h-data: Likewise.
87315         * conform/data/string.h-data: Likewise.
87316         * conform/data/strings.h-data: Likewise.
87317         * conform/data/stropts.h-data: Likewise.
87318         * conform/data/sys/ipc.h-data: Likewise.
87319         * conform/data/sys/mman.h-data: Likewise.
87320         * conform/data/sys/msg.h-data: Likewise.
87321         * conform/data/sys/resource.h-data: Likewise.
87322         * conform/data/sys/select.h-data: Likewise.
87323         * conform/data/sys/sem.h-data: Likewise.
87324         * conform/data/sys/shm.h-data: Likewise.
87325         * conform/data/sys/socket.h-data: Likewise.
87326         * conform/data/sys/stat.h-data: Likewise.
87327         * conform/data/sys/statvfs.h-data: Likewise.
87328         * conform/data/sys/time.h-data: Likewise.
87329         * conform/data/sys/timeb.h-data: Likewise.
87330         * conform/data/sys/times.h-data: Likewise.
87331         * conform/data/sys/types.h-data: Likewise.
87332         * conform/data/sys/uio.h-data: Likewise.
87333         * conform/data/sys/un.h-data: Likewise.
87334         * conform/data/sys/utsname.h-data: Likewise.
87335         * conform/data/sys/wait.h-data: Likewise.
87336         * conform/data/syslog.h-data: Likewise.
87337         * conform/data/tar.h-data: Likewise.
87338         * conform/data/termios.h-data: Likewise.
87339         * conform/data/utime.h-data: Likewise.
87340         * conform/data/utmpx.h-data: Likewise.
87341         * conform/data/varargs.h-data: Likewise.
87342         * conform/data/wchar.h-data: Likewise.
87343         * conform/data/wctype.h-data: Likewise.
87344         * conform/data/wordexp.h-data: Likewise.
87346         * include/stropts.h: New file.
87347         * include/uchar.h: New file.
87348         * include/aio.h: Changes to allow conformtest.pl to use the headers.
87349         * include/assert.h: Likewise.
87350         * include/ctype.h: Likewise.
87351         * include/dirent.h: Likewise.
87352         * include/dlfcn.h: Likewise.
87353         * include/fcntl.h: Likewise.
87354         * include/fnmatch.h: Likewise.
87355         * include/glob.h: Likewise.
87356         * include/grp.h: Likewise.
87357         * include/libio.h: Likewise.
87358         * include/locale.h: Likewise.
87359         * include/math.h: Likewise.
87360         * include/net/if.h: Likewise.
87361         * include/netdb.h: Likewise.
87362         * include/netinet/in.h: Likewise.
87363         * include/pthread.h: Likewise.
87364         * include/pwd.h: Likewise.
87365         * include/regex.h: Likewise.
87366         * include/sched.h: Likewise.
87367         * include/search.h: Likewise.
87368         * include/setjmp.h: Likewise.
87369         * include/signal.h: Likewise.
87370         * include/stdio.h: Likewise.
87371         * include/stdlib.h: Likewise.
87372         * include/string.h: Likewise.
87373         * include/sys/cdefs.h: Likewise.
87374         * include/sys/mman.h: Likewise.
87375         * include/sys/msg.h: Likewise.
87376         * include/sys/resource.h: Likewise.
87377         * include/sys/select.h: Likewise.
87378         * include/sys/socket.h: Likewise.
87379         * include/sys/stat.h: Likewise.
87380         * include/sys/statvfs.h: Likewise.
87381         * include/sys/time.h: Likewise.
87382         * include/sys/times.h: Likewise.
87383         * include/sys/uio.h: Likewise.
87384         * include/sys/utsname.h: Likewise.
87385         * include/sys/wait.h: Likewise.
87386         * include/termios.h: Likewise.
87387         * include/time.h: Likewise.
87388         * include/ulimit.h: Likewise.
87389         * include/unistd.h: Likewise.
87390         * include/utime.h: Likewise.
87391         * include/wchar.h: Likewise.
87392         * include/wctype.h: Likewise.
87393         * include/wordexp.h: Likewise.
87395         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
87397         * time/time.h: TIME_UTC must be a macro.
87398         Make timespec_get available for ISO C11 only as well.
87400 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
87402         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
87403         Reported by Peng Haitao <penght@cn.fujitsu.com>.
87405 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
87407         * configure.in: Use -o not -a in test for unsupported multi-arch.
87409 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
87411         * manual/texinfo.tex: Update to version 2012-01-19.16.
87413 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
87415         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
87417 2012-02-24  Roland McGrath  <roland@hack.frob.com>
87419         [BZ #13738]
87420         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
87421         * manual/fdl-1.3.texi: New file.
87422         * manual/fdl-1.1.texi: File removed.
87424         [BZ #13738]
87425         * manual/libc.texinfo (FDL_VERSION): New @set.
87426         Use it for mention of FDL in cover text.
87427         (Documentation License): Use it in @include file name.
87429 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87430             Roland McGrath  <roland@hack.frob.com>
87432         [BZ #5461]
87433         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
87434         (not LONG_LONG_MAX and LONG_LONG_MIN.
87435         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
87436         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
87437         name.
87438         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
87440 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87442         [BZ #2547]
87443         [BZ #11365]
87444         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
87445         manipulate bits before adding and subtracting TWO23[sx].
87446         * math/libm-test.inc (nearbyint_test): Add more tests.
87448 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87450         [BZ #2548]
87451         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
87452         bits before adding and subtracting TWO23[sx].
87453         * math/libm-test.inc (rint_test): Add more tests.
87454         (rint_test_tonearest): Likewise.
87455         (rint_test_towardzero): Likewise.
87456         (rint_test_downward): Likewise.
87457         (rint_test_upward: Likewise.
87459 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87461         [BZ #10110]
87462         * include/stdc-predef.h: New file.  Extracted from features.h.
87463         * include/features.h: Include stdc-predef.h.
87464         * Makefile (headers): Add stdc-predef.h.
87465         * CONFORMANCE (Compiler limitations): Update.
87467 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87469         * manual/libc.texinfo (VERSION, UPDATED): Revert.
87471 2012-02-21  David S. Miller  <davem@davemloft.net>
87473         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
87474         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
87476 2012-02-20  David S. Miller  <davem@davemloft.net>
87478         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
87479         using a normal save/restore sequence, rather than allocating a
87480         dummy stack frame just to store a frame pointer and restore.
87481         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87483 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
87485         * manual/install.texi: Fix stray word in line-wrapped comment.
87487 2012-02-20  David S. Miller  <davem@davemloft.net>
87489         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
87490         both binutils and gcc support GOTDATA.
87492         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
87493         "rd %pc" in the PIC register setup sequences.
87495         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
87496         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
87497         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87498         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
87499         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87500         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
87501         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
87502         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87503         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
87504         (SYSCALL_ERROR_HANDLER): Likewise.
87505         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87506         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87507         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
87508         (SYSCALL_ERROR_HANDLER): Likewise.
87510         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
87511         (HAVE_GCC_GOTDATA): New.
87512         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
87513         relocation support in both binutils and gcc.
87514         * sysdeps/sparc/elf/configure: Regenerate.
87516         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
87517         * sysdeps/sparc/sparc32/elf/configure: Delete.
87518         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
87519         * sysdeps/sparc/sparc64/elf/configure: Delete.
87520         * sysdeps/sparc/elf/configure.in: New file.
87521         * sysdeps/sparc/elf/configure: Generate.
87523         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
87524         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
87525         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
87526         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
87527         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
87529 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
87531         * manual/install.texi: Do not mention specific glibc version
87532         numbers.
87533         * manual/libc.texinfo (VERSION, UPDATED): Update.
87534         (@copying): Use @copyright{} and range of years.
87536 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
87538         [BZ #13695]
87539         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
87540         [crti.S not in sysdirs] (generated): Do not append.
87541         [crti.S not in sysdirs] (omit-deps): Likewise.
87542         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
87543         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
87544         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
87545         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
87546         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
87547         Likewise.
87548         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
87549         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
87550         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
87551         * csu/defs.awk: Remove file.
87552         * sysdeps/generic/initfini.c: Likewise.
87553         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
87554         variable.
87555         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
87556         Likewise.
87558 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
87560         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
87561         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
87562         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
87563         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
87564         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87565         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
87566         <bits/epoll.h>.
87567         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
87568         (__EPOLL_PACKED): Define to empty if not defined by
87569         <bits/epoll.h>.
87570         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
87571         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87572         bits/epoll.h.
87574 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
87576         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
87577         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
87578         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
87579         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
87580         <bits/timerfd.h>.
87581         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
87582         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87583         bits/timerfd.h.
87585 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
87587         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
87588         in C locale.
87589         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87590         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
87591         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
87592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87594 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
87596         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87597         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
87599 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
87601         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
87602         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
87603         defined.
87604         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
87605         Likewise.
87606         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
87607         entry for 2.16.
87609 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
87611         * math/w_acos.c: Use non-signaling floating-point comparisons.
87612         * math/w_acosf.c: Likewise.
87613         * math/w_acosh.c: Likewise.
87614         * math/w_acoshf.c: Likewise.
87615         * math/w_acoshl.c: Likewise.
87616         * math/w_acosl.c: Likewise.
87617         * math/w_asin.c: Likewise.
87618         * math/w_asinf.c: Likewise.
87619         * math/w_asinl.c: Likewise.
87620         * math/w_atanh.c: Likewise.
87621         * math/w_atanhf.c: Likewise.
87622         * math/w_atanhl.c: Likewise.
87623         * math/w_exp2.c: Likewise.
87624         * math/w_exp2f.c: Likewise.
87625         * math/w_exp2l.c: Likewise.
87626         * math/w_j0.c: Likewise.
87627         * math/w_j0f.c: Likewise.
87628         * math/w_j0l.c: Likewise.
87629         * math/w_j1.c: Likewise.
87630         * math/w_j1f.c: Likewise.
87631         * math/w_j1l.c: Likewise.
87632         * math/w_jn.c: Likewise.
87633         * math/w_jnf.c: Likewise.
87634         * math/w_log.c: Likewise.
87635         * math/w_log10.c: Likewise.
87636         * math/w_log10f.c: Likewise.
87637         * math/w_log10l.c: Likewise.
87638         * math/w_log2.c: Likewise.
87639         * math/w_log2f.c: Likewise.
87640         * math/w_log2l.c: Likewise.
87641         * math/w_logf.c: Likewise.
87642         * math/w_logl.c: Likewise.
87643         * math/w_sqrt.c: Likewise.
87644         * math/w_sqrtf.c: Likewise.
87645         * math/w_sqrtl.c: Likewise.
87646         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87647         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
87648         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87649         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
87650         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
87652 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
87654         [BZ #9739]
87655         * manual/string.texi (strnlen): Use correct parameter name in
87656         equivalent expression.
87658 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
87660         [BZ #11174]
87661         * manual/users.texi (seteuid): Consistently use neweuid for
87662         argument name.
87664 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
87666         [BZ #13704]
87667         * manual/nss.texi (Services in the NSS configuration): Correct
87668         list of services in example configuration file.
87670 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
87672         [BZ #11322]
87673         * manual/arith.texi: Remove statements about negative zero
87674         behaving identically to zero.
87676 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
87678         [BZ #5993]
87679         * manual/install.texi: Do not document upgrading from libc5.
87681 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
87683         [BZ #4596]
87684         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
87686 2012-02-18  David S. Miller  <davem@davemloft.net>
87688         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
87689         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
87690         %o7 across the call.
87691         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
87692         instead.
87693         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
87694         SETUP_PIC_REG_LEAF.
87695         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87696         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
87697         * sysdeps/sparc/crtn.S: Likewise.
87699 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
87701         * aout/Makefile: Remove.
87703 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
87705         [BZ #13058]
87706         * manual/examples/argp-ex1.c (main): Format definition in GNU
87707         style.
87708         * manual/examples/argp-ex2.c (main): Likewise.
87709         * manual/examples/argp-ex3.c (main): Likewise.
87710         * manual/examples/argp-ex4.c (main): Likewise.
87711         * manual/examples/longopt.c (main): Use new-style prototype
87712         definition.
87713         * manual/examples/strncat.c (main): Specify return type and use
87714         (void) for arguments.
87715         * manual/examples/subopt.c (main): Use char **argv argument.
87717 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87719         [BZ #5077]
87720         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
87721         rounding modes.
87723 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
87725         [BZ #6907]
87726         * manual/string.texi (strchr): Change when strchrnul is
87727         recommended.
87729 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
87731         [BZ #174]
87732         * manual/locale.texi (setlocale): Document LOCPATH.
87734 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87736         [BZ #10210]
87737         * manual/process.texi (execle): Move @dots{} before last argument.
87739 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
87741         [BZ #12047]
87742         * manual/charset.texi (Generic Charset Conversion): Fix typo
87743         (LC_TYPE -> LC_CTYPE).
87745 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
87747         [BZ #5805]
87748         * manual/arith.texi (scalbn): Use @var{} on parameter names.
87749         (scalbnf): Likewise.
87750         (scalbnl): Likewise.
87751         (scalbln): Likewise.
87752         (scalblnf): Likewise.
87753         (scalblnl): Likewise.
87754         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
87755         (vwarnx): Likewise.
87756         (verr): Likewise.
87757         (verrx): Likewise.
87758         * manual/filesys.texi (telldir): Use braces around return type.
87759         * manual/llio.texi (mmap): Add space after comma.
87760         (mmap64): Likewise.
87761         * manual/math.texi (jn): Use @var{} on parameter names.
87762         (jnf): Likewise.
87763         (jnl): Likewise.
87764         (yn): Likewise.
87765         (ynf): Likewise.
87766         (ynl): Likewise.
87767         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
87768         line.
87769         * manual/resource.texi (ulimit): Use @dots{} instead of literal
87770         "...".
87771         (sched_get_priority_min): Remove semicolon on @deftypefun line.
87772         (sched_get_priority_max): Likewise.
87773         * manual/signal.texi (sigvec): Add space after comma.
87774         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
87775         names.
87776         (if_indextoname): Likewise.
87777         (if_freenameindex): Likewise.
87778         (sendto): Use ',' instead of '.' in prototype.
87779         * manual/startup.texi (syscall): Use @dots{} instead of literal
87780         "...".
87781         * manual/stdio.texi (__fpending): Separate initial words of
87782         paragraph from @deftypefun line.
87783         * manual/syslog.texi (syslog): Use @dots{} instead of literal
87784         "...".
87785         (vsyslog): Use @var{} on parameter names.
87786         * manual/terminal.texi (stty): Use @var{} on parameter names.
87787         * manual/users.texi (getutmp): Use @var{} on parameter names.
87788         (getutmpx): Likewise.
87790 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87792         [BZ #6884]
87793         * manual/stdio.texi (fopen): Fix typos in description of
87794         ",ccs=STRING".
87796 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
87798         [BZ #4026]
87799         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
87800         get clock_id definition.
87802 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
87804         [BZ #4822]
87805         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
87806         (madvise): Cast every argument to void on its own.
87808 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87810         [BZ #9902]
87811         * manual/startup.texi (Exit Status): Fix typo.
87813 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87815         [BZ #10140]
87816         * manual/examples/argp-ex1.c: Include <stdlib.h>.
87817         * manual/examples/argp-ex2.c: Likewise.
87818         * manual/examples/argp-ex3.c: Likewise.
87820 2012-02-16  Richard Henderson  <rth@redhat.com>
87822         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
87823         * sysdeps/s390/s390-32/initfini.c: Remove.
87824         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
87825         * sysdeps/s390/s390-64/initfini.c: Remove.
87827 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
87829         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
87830         compiler output for sysdeps/generic/initfini.c.
87831         * sysdeps/sh/elf/initfini.c: Remove file.
87833 2012-02-16  David S. Miller  <davem@davemloft.net>
87835         [BZ #11494]
87836         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
87838         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
87839         * sysdeps/sparc/crti.S: New file.
87840         * sysdeps/sparc/crtn.S: New file.
87841         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
87842         * sysdeps/sparc/sparc64/Makefile: Likewise.
87844 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
87846         [BZ #3335]
87847         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
87849 2012-02-15  Roland McGrath  <roland@hack.frob.com>
87851         [BZ #4822]
87852         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
87854         * mach/devstream.c (cookie_io_functions_t): Macro removed.
87855         (write, read, close): Likewise.
87856         Patch by Aurelien Jarno <aurelien@aurel32.net>.
87858 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
87860         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
87861         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
87862         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
87863         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
87864         <bits/signalfd.h>.
87865         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
87866         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87867         bits/signalfd.h.
87869 2012-02-14  Marek Polacek  <polacek@redhat.com>
87871         * sysdeps/x86_64/crti.S: New file.
87872         * sysdeps/x86_64/crtn.S: New file.
87873         * sysdeps/x86_64/elf/initfini.c: Remove file.
87875 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
87877         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
87878         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
87879         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
87880         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
87881         <bits/inotify.h>.
87882         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
87883         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87884         bits/inotify.h.
87886 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
87888         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
87889         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
87890         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
87891         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
87892         <bits/eventfd.h>.
87893         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
87894         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87895         bits/eventfd.h.
87897 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
87899         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
87900         __feraiseexcept instead of feraiseexcept.
87902         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
87903         nanosleep invocations.
87904         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
87905         strings, and add error checking for a nanosleep invocations.
87907 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
87909         Replace FSF snail mail address with URLs, as per GNU coding standards.
87910         Most of the snail mail addresses were wrong anyway, and omitting
87911         them makes the source code easier to maintain.  Almost all of the
87912         changes are to license notices and to locale LC_IDENTIFICATION
87913         addresses, except for this one:
87914         * manual/libc.texinfo: In "Published by", give the FSF's URL,
87915         not its snail mail address.
87917 2012-02-09  Richard Henderson  <rth@twiddle.net>
87919         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
87920         of kernel-features.h.
87922         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
87924 2012-02-08  Marek Polacek  <polacek@redhat.com>
87926         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
87927         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
87928         * sysdeps/gnu/_G_config.h: Likewise.
87929         * sysdeps/generic/_G_config.h: Likewise.
87931 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
87933         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
87934         tests.
87935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87937         * sysdeps/powerpc/powerpc32/crti.S: New file.
87938         * sysdeps/powerpc/powerpc32/crtn.S: New file.
87939         * sysdeps/powerpc/powerpc64/crti.S: New file.
87940         * sysdeps/powerpc/powerpc64/crtn.S: New file.
87942         * Makeconfig (have-initfini): Don't set.
87943         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
87944         * configure.in (nopic_initfini): Don't substitute.
87945         * config.h.in (HAVE_INITFINI): Don't #undef.
87946         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
87947         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
87949 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
87951         Support crti.S and crtn.S provided directly by architectures.
87952         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
87953         [crti.S in sysdirs] (omit-deps): Likewise.
87954         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
87955         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
87956         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
87957         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
87958         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
87959         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
87960         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
87961         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
87962         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
87963         compiler output for sysdeps/generic/initfini.c.
87964         * sysdeps/i386/elf/Makefile: Remove file.
87965         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
87967 2012-02-07  Marek Polacek  <polacek@redhat.com>
87969         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
87970         * sysdeps/gnu/_G_config.h: Likewise.
87971         * sysdeps/mach/hurd/_G_config.h: Likewise.
87973 2012-02-07  Marek Polacek  <polacek@redhat.com>
87975         * math/Makefile (tests): Add tst-CMPLX2.
87976         * math/tst-CMPLX2.c: New file.
87978 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
87980         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87982         * math/libm-test.inc (jn_test): Add missing L suffix.
87984 2012-02-06  Marek Polacek  <polacek@redhat.com>
87986         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
87987         * sysdeps/i386/fpu/e_powf.S: Likewise.
87988         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
87989         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
87990         * sysdeps/i386/fpu/e_acosh.S: Likewise.
87991         * sysdeps/i386/fpu/e_pow.S: Likewise.
87992         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
87993         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
87994         * sysdeps/i386/fpu/s_expm1.S: Likewise.
87995         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
87996         * sysdeps/i386/fpu/e_log2.S: Likewise.
87997         * sysdeps/i386/fpu/e_log2l.S: Likewise.
87998         * sysdeps/i386/fpu/e_scalb.S: Likewise.
87999         * sysdeps/i386/fpu/e_powl.S: Likewise.
88000         * sysdeps/i386/fpu/s_log1p.S: Likewise.
88001         * sysdeps/i386/fpu/e_log10f.S: Likewise.
88002         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88003         * sysdeps/i386/fpu/e_logl.S: Likewise.
88004         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88005         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88006         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88007         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88008         * sysdeps/i386/fpu/e_log2f.S: Likewise.
88009         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88010         * sysdeps/i386/fpu/e_log.S: Likewise.
88011         * sysdeps/i386/fpu/s_cexp.S: Likewise.
88012         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88013         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88014         * sysdeps/i386/fpu/e_logf.S: Likewise.
88015         * sysdeps/i386/fpu/e_log10l.S: Likewise.
88016         * sysdeps/i386/fpu/e_atanh.S: Likewise.
88017         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88018         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88019         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88020         * sysdeps/i386/fpu/e_log10.S: Likewise.
88021         * sysdeps/i386/fpu/s_frexp.S: Likewise.
88022         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88023         * sysdeps/i386/fpu/s_asinh.S: Likewise.
88024         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88025         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88026         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88027         * sysdeps/i386/asm-syntax.h: Likewise.
88028         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88029         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88030         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88031         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88032         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88033         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88034         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88035         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88036         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88037         * sysdeps/powerpc/sysdep.h: Likewise.
88038         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88039         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88041 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88043         [BZ #411]
88044         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88046 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88048         * sysdeps/i386/sysdep.h: Include <features.h>.
88049         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88050         version.
88052 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
88054         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88055         Define.
88056         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88057         LOAD_PIC_REG_STR.
88059 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88061         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88062         (SETUP_PIC_REG): Use GET_PC_THUNK.
88063         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88064         macro.
88066 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88068         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88069         for non-PIC compilation.
88070         (SETUP_PIC_REG): Add .p2align directive.
88071         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88072         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88073         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88074         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88075         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88076         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88077         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88078         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88079         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88080         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88081         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88082         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88083         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88084         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88085         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88086         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88087         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88088         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88089         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88090         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88091         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88092         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88093         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88094         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88095         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88096         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88097         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88098         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88099         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
88100         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
88101         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
88102         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88103         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
88104         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
88105         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
88106         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
88107         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
88108         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
88109         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
88110         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
88111         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
88113 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88115         * math/tst-CMPLX.c: Include <stdio.h>.
88117 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
88119         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
88120         float.
88121         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88122         * sysdeps/sparc/bits/mathdef.h: Likewise.
88124 2012-01-31  Marek Polacek  <polacek@redhat.com>
88126         * libio/libio.h: Don't define _PARAMS.
88127         * locale/programs/config.h: Don't define PARAMS.
88128         * stdlib/strtol_l.c: Likewise.
88129         (__strtol_l): Remove PARAMS from the prototype.
88131 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
88133         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
88134         names.  Just use the correct names.  Remove unnecessary wrapper
88135         functions.
88136         * malloc/arena.c: Likewise.
88137         * malloc/hooks.c: Likewise.
88139         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
88140         ARENA_TEST says not to.  Simplify test for creation of a new arena.
88141         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
88143 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
88145         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
88146         into tail calls.
88147         (update_get_addr): New function.
88148         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
88149         GET_ADDR_MODULE parameter.
88151 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
88153         * crypt/cert.c: Remove __STDC__ conditionals.
88154         * crypt/crypt-entry.c: Likewise.
88155         * crypt/crypt_util.c: Likewise.
88156         * libio/filedoalloc.c: Likewise.
88157         * libio/fileops.c: Likewise.
88158         * libio/genops.c: Likewise.
88159         * libio/iofclose.c: Likewise.
88160         * libio/iofdopen.c: Likewise.
88161         * libio/iofopen.c: Likewise.
88162         * libio/iofopen64.c: Likewise.
88163         * libio/iogetdelim.c: Likewise.
88164         * libio/iopopen.c: Likewise.
88165         * libio/obprintf.c: Likewise.
88166         * libio/oldfileops.c: Likewise.
88167         * libio/oldiofclose.c: Likewise.
88168         * libio/oldiofdopen.c: Likewise.
88169         * libio/oldiofopen.c: Likewise.
88170         * libio/oldiopopen.c: Likewise.
88171         * libio/wfiledoalloc.c: Likewise.
88172         * libio/wgenops.c: Likewise.
88173         * locale/programs/xmalloc.c: Likewise.
88174         * misc/syslog.c: Likewise.
88175         * stdio-common/xbug.c: Likewise.
88176         * string/memchr.c: Likewise.
88177         * string/memcmp.c: Likewise.
88178         * string/memrchr.c: Likewise.
88179         * string/rawmemchr.c: Likewise.
88180         * sysdeps/posix/getcwd.c: Likewise.
88181         * time/strftime_l.c: Likewise.
88183 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
88185         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
88186         * config.make.in (config-cflags-sse2avx): Define.
88187         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
88188         Fix typo.
88190 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
88192         * scripts/config.guess: Update from upstream config git repository.
88193         * scripts/config.sub: Likewise.
88195 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
88197         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
88198         (EM_NUM): Update.
88199         (R_TILEPRO_*, R_TILEGX_*): New macros.
88201         * scripts/firstversions.awk: Fix bug in version range handling.
88203         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
88205         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
88207         * include/sys/epoll.h: New file.
88208         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
88209         libc_hidden_def.
88211 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
88213         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
88214         Avoid unnecessary __WORDSIZE == 64 test.
88215         (fmaxf): Use VEX format if possible.
88216         (fmax): Likewise.
88217         (fminf): Likewise.
88218         (fmin): Likewise.
88220         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
88221         * math/math_private.h: Remove libc_fegetround* and
88222         libc_fesetround*.
88223         * sysdeps/i386/configure.in: Check for -msse2avx.
88224         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
88225         also if SSE2AVX is defined.
88226         Remove libc_fegetround* and libc_fesetround*.
88227         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
88228         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
88229         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
88230         of HAS_YMM_USABLE.
88231         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88232         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88233         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88234         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88235         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88237         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
88239 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88241         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
88242         size is not set.
88243         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88245 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
88247         [BZ #13618]
88248         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
88249         relocation.
88250         * Makeconfig (libm): Define.
88251         * elf/Makefile: Add rules to build and run tst-relsort1.
88252         * elf/tst-relsort1.c: New file.
88253         * elf/tst-relsort1mod1.c: New file.
88254         * elf/tst-relsort1mod2.c: New file.
88256 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
88258         * math/s_ldexp.c: Remove __STDC__ conditionals.
88259         * math/s_ldexpf.c: Likewise.
88260         * math/s_ldexpl.c: Likewise.
88261         * math/s_nextafter.c: Likewise.
88262         * math/s_nexttowardf.c: Likewise.
88263         * math/s_significand.c: Likewise.
88264         * math/s_significandf.c: Likewise.
88265         * math/s_significandl.c: Likewise.
88266         * math/w_jnl.c: Likewise.
88267         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
88268         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
88269         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
88270         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
88271         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
88272         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
88273         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
88274         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
88275         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
88276         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
88277         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
88278         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88279         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
88280         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
88281         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
88282         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
88283         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
88284         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
88285         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
88286         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88287         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88288         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
88289         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
88290         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
88291         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
88292         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
88293         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
88294         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
88295         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
88296         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
88297         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
88298         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
88299         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
88300         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
88301         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
88302         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
88303         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
88304         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
88305         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
88306         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
88307         * sysdeps/ieee754/k_standard.c: Likewise.
88308         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88309         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
88310         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
88311         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
88312         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
88313         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
88314         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
88315         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
88316         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
88317         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
88318         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
88319         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
88320         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
88321         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
88322         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
88323         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
88324         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
88325         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
88326         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
88327         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
88328         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
88329         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
88330         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
88331         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
88332         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
88333         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
88334         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88335         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88336         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88337         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
88338         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
88339         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
88340         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
88341         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
88342         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
88343         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
88344         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
88345         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
88346         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
88347         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
88348         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
88349         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
88350         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
88351         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
88352         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
88353         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
88354         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
88355         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
88356         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
88357         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
88358         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
88359         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
88360         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
88361         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
88362         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
88363         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
88364         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
88365         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88366         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88367         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88368         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
88369         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
88370         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
88371         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
88372         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
88373         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
88374         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
88375         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
88376         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
88377         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
88378         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
88379         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
88380         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
88381         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
88382         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
88383         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
88384         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
88385         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
88386         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
88387         * sysdeps/ieee754/s_matherr.c: Likewise.
88388         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
88389         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
88390         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
88391         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
88393 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
88395         * crypt/md5.h: Remove __STDC__ conditionals.
88396         * libio/libioP.h: Likewise.
88397         * locale/programs/config.h: Likewise.
88398         * sysdeps/generic/sysdep.h: Likewise.
88399         * sysdeps/i386/asm-syntax.h: Likewise.
88400         * sysdeps/s390/asm-syntax.h: Likewise.
88401         * sysdeps/unix/sysdep.h: Likewise.
88402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
88403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
88405 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
88407         * libio/libio.h: Remove __STDC__ conditionals.
88408         * malloc/obstack.h: Likewise.
88409         * math/complex.h: Likewise.
88410         * math/math.h: Likewise.
88411         * sysdeps/generic/_G_config.h: Likewise.
88412         * sysdeps/gnu/_G_config.h: Likewise.
88413         * sysdeps/mach/hurd/_G_config.h: Likewise.
88414         * sysdeps/powerpc/bits/mathdef.h: Likewise.
88415         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88416         * sysdeps/sparc/bits/mathdef.h: Likewise.
88418 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
88420         [BZ #13583]
88421         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
88422         Clean up HAS_* macros.
88423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
88424         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
88425         possible.
88426         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
88427         HAS_AVX.
88428         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88429         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88430         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88431         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88432         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88434 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
88436         * elf/tst-unique3.cc (gets): Remove declaration.
88437         * elf/tst-unique3lib.cc (gets): Likewise.
88438         * elf/tst-unique3lib2.cc (gets): Likewise.
88439         * elf/tst-unique4.cc (gets): Likewise.
88441 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
88443         * include/stdio.h: Add C++ protection.  Add gets declarations and
88444         definitions.
88445         * debug/tst-chk1.c: Don't declare gets here.
88446         * stdio-common/tst-gets.c: Likewise.
88448 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
88450         * posix/glob: Remove directory.
88452 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
88454         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
88456 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
88458         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
88459         of the non-standard EPFNOSUPPORT.
88461 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88463         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
88464         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
88465         ANYWHERE set to 1 only on KERN_NO_SPACE error.
88467 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
88469         * wcsmbs/uchar.h: Test __STDC_VERSION__.
88471 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
88473         * nscd/aicache.c (addhstaiX): Do not cache negative results of
88474         transient errors.
88475         * nscd/grpcache.c (cache_addgr): Likewise.
88476         * nscd/hstcache.c (cache_addhst): Likewise.
88477         * nscd/initgrcache.c (addinitgroupsX): Likewise.
88478         * nscd/pwdcache.c (cache_addpw): Likewise.
88479         * nscd/servicescache.c (cache_addserv): Likewise.
88481 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
88483         * malloc/malloc.c: Various cleanups.
88484         * malloc/hooks.c: Likewise.
88486         * stdlib/Makefile (tests): Add bug-fmtmsg1.
88487         * stdlib/bug-fmtmsg1.c: New file.
88489         * stdlib/fmtmsg.c (init): Add missing unlock.
88490         Patch by Peng Haitao <penght@cn.fujitsu.com>.
88492 2012-01-12  Marek Polacek  <polacek@redhat.com>
88494         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
88495         and _GNU_SOURCE.
88497 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
88499         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
88500         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
88501         macro to ensure uniqueness of label name.
88502         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
88503         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
88505 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
88507         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
88509         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
88510         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
88511         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
88512         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
88514 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
88516         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
88518         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
88519         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
88520         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
88522         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
88524         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
88525         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
88526         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
88527         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
88529         * math/bits/math-finite.h: Add ldexp support.
88531 2012-01-10  Marek Polacek  <polacek@redhat.com>
88533         * locale/programs/localedef.h (show_archive_content): Add noreturn
88534         attribute.
88536 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
88538         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
88540 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
88542         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
88544         * io/Makefile (headers): Add bits/poll2.h.
88546 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
88548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
88549         typo #include statement.
88551 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
88553         * include/sys/cdefs.h: Define __attribute_alloc_size.
88554         * catgets/gencat.c: Add alloc_size attribute and apply consistently
88555         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
88556         * elf/pldd.c: Likewise.
88557         * iconv/iconv_charmap.c: Likewise.
88558         * iconv/iconvconfig.c: Likewise.
88559         * iconv/strtab.c: Likewise.
88560         * locale/programs/locale.c: Likewise.
88561         * locale/programs/localedef.h: Likewise.
88562         * locale/programs/simple-hash.c: Likewise.
88563         * nscd/nscd.h: Likewise.
88564         * nss/makedb.c: Likewise.
88565         * sysdeps/generic/ldconfig.h: Likewise.
88566         * locale/programs/localedef.c: Remove xmalloc prototype.
88567         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
88569 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
88571         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
88572         appropriate.
88574 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
88576         * math/Makefile (tests): Add tst-CMPLX.
88577         * math/tst-CMPLX.c: New file.
88579         * math/complex.h (CMPLXL): Fix typo.
88581         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
88582         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
88583         GLIBC_2.16.
88584         * debug/tst-chk1.c: Add poll and ppoll tests.
88585         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
88586         * include/sys/poll.h: Add hidden proto for ppoll.
88587         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
88588         * sysdeps/mach/hurd/ppoll.c: Likewise.
88589         * io/ppoll.c: Likewise.
88590         * debug/poll_chk.c: New file.
88591         * debug/ppoll_chk.c: New file.
88592         * include/bits/poll2.h: New file.
88593         * io/bits/poll2.h: New file.
88595         [BZ #1350]
88596         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
88598         * configure.in: static is always set to yes.  Remove.
88599         * config.make.in: Don't set build-static.
88600         * Makeconfig: Remove use of build-static.
88601         * dlfcn/Makefile: Likewise.
88602         * elf/Makefile: Likewise.
88603         * math/Makefile: Likewise.
88604         * misc/Makefile: Likewise.
88605         * nptl/Makefile: Likewise.
88606         * sysdeps/mach/hurd/Makefile: Likewise.
88608         * configure.in: PWD_P is not used anymore.
88609         * config.make.in: Remove PWD_P entry.
88611         * configure.in: Remove last remnants of RANLIB.
88612         No need to check for signed size_t anymore.
88613         Don't set libc_commonpagesize and libc_relro_required here for Alpha
88614         and IA-64.
88615         Remove __builtin_expect test because we require at least gcc 3.4.
88616         * aclocal.m4: Likewise.
88618         * wcsmbs/mbrtoc16.c: Implement using towc function.
88619         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
88620         * wcsmbs/wcsmbsload.c: Likewise.
88621         * iconv/gconv_simple.c: Likewise.
88622         * iconv/gconv_int.h: Likewise.
88623         * iconv/gconv_builtin.h: Likewise.
88624         * iconv/iconv_prog.c: Remove CHAR16 handling.
88626         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
88628         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
88630         * configure.in: Remove --with-elf and --enable-bounded options.
88631         Dont set base_machine for ia64.  More non-ELF conditions removed.
88632         Remove testing and setting of leading underscore information.
88633         * config.make.in (build-bounded): Set to no.
88634         * config.h.in: Remove NO_UNDERSCORES entry.
88635         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
88636         them.
88637         * csu/start.c: Remove !NO_UNDERSCORE code.
88638         * locale/localeinfo.h: Likewise.
88639         * sysdeps/generic/machine-gmon.h: Likewise.
88640         * sysdeps/generic/sysdep.h: Likewise.
88641         * sysdeps/i386/sysdep.h: Likewise.
88642         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
88643         * sysdeps/mach/sysdep.h: Likewise.
88644         * sysdeps/s390/s390-32/sysdep.h: Likewise.
88645         * sysdeps/s390/s390-64/sysdep.h: Likewise.
88646         * sysdeps/sh/sysdep.h: Likewise.
88647         * sysdeps/sparc/sparc32/alloca.S: Likewise.
88648         * sysdeps/unix/i386/sysdep.S: Likewise.
88649         * sysdeps/unix/sparc/start.c: Likewise.
88650         * sysdeps/unix/sparc/sysdep.S: Likewise.
88651         * sysdeps/unix/sparc/sysdep.h: Likewise.
88652         * sysdeps/unix/start.c: Likewise.
88653         * sysdeps/unix/x86_64/sysdep.S: Likewise.
88654         * sysdeps/x86_64/sysdep.h: Likewise.
88656 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
88658         [BZ #13553]
88659         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
88660         for non-gcc.
88661         * argp/argp-fmtstream.h: Use const instead __const.
88662         * argp/argp.h: Likewise.
88663         * assert/assert.h: Likewise.
88664         * bits/fenv.h: Likewise.
88665         * bits/sched.h: Likewise.
88666         * bits/sigset.h: Likewise.
88667         * bits/sigthread.h: Likewise.
88668         * catgets/nl_types.h: Likewise.
88669         * conform/data/pthread.h-data: Likewise.
88670         * crypt/crypt-private.h: Likewise.
88671         * crypt/crypt.h: Likewise.
88672         * crypt/crypt_util.c: Likewise.
88673         * ctype/ctype.h: Likewise.
88674         * debug/execinfo.h: Likewise.
88675         * debug/mbsnrtowcs_chk.c: Likewise.
88676         * debug/mbsrtowcs_chk.c: Likewise.
88677         * debug/wcsnrtombs_chk.c: Likewise.
88678         * debug/wcsrtombs_chk.c: Likewise.
88679         * debug/wcstombs_chk.c: Likewise.
88680         * dirent/dirent.h: Likewise.
88681         * dlfcn/dlfcn.h: Likewise.
88682         * elf/neededtest4.c: Likewise.
88683         * grp/grp.h: Likewise.
88684         * gshadow/gshadow.h: Likewise.
88685         * iconv/gconv.h: Likewise.
88686         * iconv/gconv_int.h: Likewise.
88687         * iconv/gconv_simple.c: Likewise.
88688         * iconv/iconv.h: Likewise.
88689         * iconv/loop.c: Likewise.
88690         * iconv/skeleton.c: Likewise.
88691         * include/aio.h: Likewise.
88692         * include/aliases.h: Likewise.
88693         * include/argz.h: Likewise.
88694         * include/arpa/inet.h: Likewise.
88695         * include/assert.h: Likewise.
88696         * include/dirent.h: Likewise.
88697         * include/dlfcn.h: Likewise.
88698         * include/execinfo.h: Likewise.
88699         * include/fcntl.h: Likewise.
88700         * include/fenv.h: Likewise.
88701         * include/glob.h: Likewise.
88702         * include/grp.h: Likewise.
88703         * include/libintl.h: Likewise.
88704         * include/mntent.h: Likewise.
88705         * include/netdb.h: Likewise.
88706         * include/pwd.h: Likewise.
88707         * include/rpc/netdb.h: Likewise.
88708         * include/sched.h: Likewise.
88709         * include/search.h: Likewise.
88710         * include/shadow.h: Likewise.
88711         * include/signal.h: Likewise.
88712         * include/stdio.h: Likewise.
88713         * include/stdlib.h: Likewise.
88714         * include/string.h: Likewise.
88715         * include/sys/socket.h: Likewise.
88716         * include/sys/stat.h: Likewise.
88717         * include/sys/statfs.h: Likewise.
88718         * include/sys/statvfs.h: Likewise.
88719         * include/sys/syslog.h: Likewise.
88720         * include/sys/time.h: Likewise.
88721         * include/sys/uio.h: Likewise.
88722         * include/time.h: Likewise.
88723         * include/unistd.h: Likewise.
88724         * include/utmp.h: Likewise.
88725         * include/wchar.h: Likewise.
88726         * include/wctype.h: Likewise.
88727         * inet/aliases.h: Likewise.
88728         * inet/arpa/inet.h: Likewise.
88729         * inet/netinet/ether.h: Likewise.
88730         * inet/netinet/in.h: Likewise.
88731         * intl/libintl.h: Likewise.
88732         * io/bits/fcntl2.h: Likewise.
88733         * io/fcntl.h: Likewise.
88734         * io/ftw.h: Likewise.
88735         * io/sys/poll.h: Likewise.
88736         * io/sys/stat.h: Likewise.
88737         * io/sys/statfs.h: Likewise.
88738         * io/sys/statvfs.h: Likewise.
88739         * io/utime.h: Likewise.
88740         * libio/bits/stdio.h: Likewise.
88741         * libio/bits/stdio2.h: Likewise.
88742         * libio/libio.h: Likewise.
88743         * libio/libioP.h: Likewise.
88744         * libio/stdio.h: Likewise.
88745         * locale/lc-ctype.c: Likewise.
88746         * locale/locale.h: Likewise.
88747         * login/utmp.h: Likewise.
88748         * malloc/arena.c: Likewise.
88749         * malloc/malloc.c: Likewise.
88750         * malloc/malloc.h: Likewise.
88751         * malloc/mcheck.c: Likewise.
88752         * malloc/mtrace.c: Likewise.
88753         * math/bits/mathcalls.h: Likewise.
88754         * math/fenv.h: Likewise.
88755         * math/math_private.h: Likewise.
88756         * misc/bits/error.h: Likewise.
88757         * misc/bits/syslog.h: Likewise.
88758         * misc/err.h: Likewise.
88759         * misc/error.h: Likewise.
88760         * misc/fstab.h: Likewise.
88761         * misc/mntent.h: Likewise.
88762         * misc/regexp.h: Likewise.
88763         * misc/search.h: Likewise.
88764         * misc/sgtty.h: Likewise.
88765         * misc/sys/mman.h: Likewise.
88766         * misc/sys/syslog.h: Likewise.
88767         * misc/sys/uio.h: Likewise.
88768         * misc/sys/xattr.h: Likewise.
88769         * misc/ttyent.h: Likewise.
88770         * nis/rpcsvc/ypclnt.h: Likewise.
88771         * nss/nss.h: Likewise.
88772         * posix/bits/unistd.h: Likewise.
88773         * posix/fnmatch.h: Likewise.
88774         * posix/glob.h: Likewise.
88775         * posix/sched.h: Likewise.
88776         * posix/spawn.h: Likewise.
88777         * posix/sys/wait.h: Likewise.
88778         * posix/unistd.h: Likewise.
88779         * posix/wordexp.h: Likewise.
88780         * pwd/pwd.h: Likewise.
88781         * resolv/netdb.h: Likewise.
88782         * resource/sys/resource.h: Likewise.
88783         * rt/aio.h: Likewise.
88784         * rt/bits/mqueue2.h: Likewise.
88785         * rt/mqueue.h: Likewise.
88786         * shadow/shadow.h: Likewise.
88787         * signal/signal.h: Likewise.
88788         * socket/send.c: Likewise.
88789         * socket/sendto.c: Likewise.
88790         * socket/sys/socket.h: Likewise.
88791         * stdio-common/printf.h: Likewise.
88792         * stdlib/bits/stdlib.h: Likewise.
88793         * stdlib/fmtmsg.h: Likewise.
88794         * stdlib/monetary.h: Likewise.
88795         * stdlib/stdlib.h: Likewise.
88796         * stdlib/ucontext.h: Likewise.
88797         * streams/stropts.h: Likewise.
88798         * string/argz.h: Likewise.
88799         * string/bits/string2.h: Likewise.
88800         * string/string.h: Likewise.
88801         * string/strings.h: Likewise.
88802         * sunrpc/rpc/auth.h: Likewise.
88803         * sunrpc/rpc/auth_des.h: Likewise.
88804         * sunrpc/rpc/clnt.h: Likewise.
88805         * sunrpc/rpc/netdb.h: Likewise.
88806         * sunrpc/rpc/pmap_clnt.h: Likewise.
88807         * sunrpc/rpc/xdr.h: Likewise.
88808         * sysdeps/generic/inttypes.h: Likewise.
88809         * sysdeps/generic/net/if.h: Likewise.
88810         * sysdeps/generic/sys/swap.h: Likewise.
88811         * sysdeps/gnu/net/if.h: Likewise.
88812         * sysdeps/gnu/utmpx.h: Likewise.
88813         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
88814         * sysdeps/i386/i486/bits/string.h: Likewise.
88815         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
88816         * sysdeps/s390/bits/string.h: Likewise.
88817         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
88818         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
88819         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
88820         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
88821         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
88822         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
88823         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
88824         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
88825         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
88826         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
88827         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
88828         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
88829         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
88830         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
88831         * sysdeps/unix/sysv/linux/readv.c: Likewise.
88832         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
88833         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
88834         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88835         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
88836         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
88837         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
88838         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
88839         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
88840         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
88841         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
88842         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
88843         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
88844         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88845         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
88846         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
88847         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
88848         * sysvipc/sys/ipc.h: Likewise.
88849         * sysvipc/sys/msg.h: Likewise.
88850         * sysvipc/sys/sem.h: Likewise.
88851         * sysvipc/sys/shm.h: Likewise.
88852         * termios/termios.h: Likewise.
88853         * time/sys/time.h: Likewise.
88854         * time/time.h: Likewise.
88855         * wcsmbs/bits/wchar2.h: Likewise.
88856         * wcsmbs/uchar.h: Likewise.
88857         * wcsmbs/wchar.h: Likewise.
88858         * wctype/wctype.h: Likewise.
88860         [BZ #13551]
88861         * Makeconfig: Remove all but ELF support including AIX support.
88862         * Makerules: Likewise.
88863         * config.h.in: Likewise.
88864         * config.make.in: Likewise.
88865         * configure: Likewise.
88866         * configure.in: Likewise.
88867         * csu/Makefile: Likewise.
88868         * csu/version.c: Likewise.
88869         * debug/Makefile: Likewise.
88870         * dlfcn/Makefile: Likewise.
88871         * elf/Makefile: Likewise.
88872         * extra-lib.mk: Likewise.
88873         * iconv/Makefile: Likewise.
88874         * include/libc-symbols.h: Likewise.
88875         * include/shlib-compat.h: Likewise.
88876         * resolv/Makefile: Likewise.
88877         * resolv/res_libc.c: Likewise.
88878         * rt/Makefile: Likewise.
88879         * sysdeps/i386/asm-syntax.h: Likewise.
88880         * sysdeps/i386/sysdep.h: Likewise.
88881         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
88882         * sysdeps/mach/sysdep.h: Likewise.
88883         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
88884         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
88885         * sysdeps/s390/asm-syntax.h: Likewise.
88886         * sysdeps/s390/s390-32/sysdep.h: Likewise.
88887         * sysdeps/s390/s390-64/sysdep.h: Likewise.
88888         * sysdeps/sh/sysdep.h: Likewise.
88889         * sysdeps/unix/sparc/sysdep.h: Likewise.
88890         * sysdeps/wordsize-32/divdi3.c: Likewise.
88891         * sysdeps/x86_64/sysdep.h: Likewise.
88893         * argp/Versions: Remove _argp_unlock_xxx.
88895         [BZ #13559]
88896         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
88897         * abilist/libBrokenLocale.abilist: Likewise.
88898         * abilist/libanl.abilist: Likewise.
88899         * abilist/libc.abilist: Likewise.
88900         * abilist/libcrypt.abilist: Likewise.
88901         * abilist/libdl.abilist: Likewise.
88902         * abilist/libm.abilist: Likewise.
88903         * abilist/libnsl.abilist: Likewise.
88904         * abilist/libpthread.abilist: Likewise.
88905         * abilist/libresolv.abilist: Likewise.
88906         * abilist/librt.abilist: Likewise.
88907         * abilist/libthread_db.abilist: Likewise.
88908         * abilist/libutil.abilist: Likewise.
88909         * abilist/libnss_db.abilist: New file.
88911         * scripts/abilist.awk: Add support for indirect functions.
88913         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
88915         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
88917         * shlib-versions: Remove entries for ports architectures.
88919         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
88920         files in ports.
88921         * elf/stackguard-macros.h: Remove support for IA-64.
88922         * elf/tst-auditmod1.c: Likewise.
88923         * sysdeps/generic/ldsodefs.h: Likewise.
88925         * sysdeps/unix/sysv/linux/configure.in: Ports should define
88926         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
88927         configure files.
88929         [BZ #13552]
88930         * configure.in: Remove --enable-omitfp support.
88931         * FAQ.in: Adjust.
88932         * config.make.in: Likewise.
88933         * Makeconfig: Likewise.
88934         * manual/install.texi: Likewise.
88936         In case anyone cares, the IA-64 architecture could move to ports.
88937         * sysdeps/ia64/*: Removed.
88938         * sysdeps/unix/sysv/linux/ia64/*: Removed.
88939         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
88941         [BZ #13555]
88942         * configure.in: Remove entries for unsupported architectures.
88944         [BZ #13533]
88945         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
88946         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
88947         routines.
88948         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
88949         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
88950         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
88951         fall back to using wcrtomb.
88952         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
88953         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
88954         renaming.
88955         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
88956         * wcsmbs/tst-c16c32-1.c: New file.
88958         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
88959         local variable.
88961         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
88963         * elf/tst-unique3.cc: Add explicit declaration of gets.
88964         * elf/tst-unique3lib.cc: Likewise.
88965         * elf/tst-unique3lib2.cc: Likewise.
88966         * elf/tst-unique4.cc: Likewise.
88968         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
88970 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
88972         [BZ #13566]
88973         * assert/assert.h (static_assert): Don't define for C++.
88974         * libio/stdio.h (gets): Do declare for C++ <= C++11.
88975         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
88977 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
88979         * iconv/loop.c (single loop): Fix assertion in storing of
88980         remaining bytes.
88982         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
88984 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
88986         * posix/getconf.c: Update copyright year.
88987         * nss/getent.c: Likewise.
88988         * nss/makedb.c: Likewise.
88989         * iconv/iconvconfig.c: Likewise.
88990         * iconv/iconv_prog.c: Likewise.
88991         * elf/ldconfig.c: Likewise.
88992         * elf/pldd.c: Likewise.
88993         * elf/sotruss.ksh: Likewise.
88994         * catgets/gencat.c: Likewise.
88995         * csu/version.c: Likewise.
88996         * elf/ldd.bash.in: Likewise.
88997         * elf/sprof.c (print_version): Likewise.
88998         * locale/programs/locale.c: Likewise.
88999         * locale/programs/localedef.c: Likewise.
89000         * login/programs/pt_chown.c: Likewise.
89001         * nscd/nscd.c (print_version): Likewise.
89002         * debug/xtrace.sh: Likewise.
89003         * malloc/memusage.sh: Likewise.
89004         * malloc/mtrace.pl: Likewise.
89005         * debug/catchsegv.sh: Likewise.
89007 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
89009         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89010         pure attribute.
89012 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
89014         [BZ #13533]
89015         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89016         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89017         transformations.
89018         * iconv/gconv_int.h: Likewise.
89019         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89020         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89021         from libc for GLIBC_2.16.
89022         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89023         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89024         * wcsmbs/uchar.h: Really define mbstate_t.
89025         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89026         * wcsmbs/c16rtomb.c: New file.
89027         * wcsmbs/mbrtoc16.c: New file.
89028         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89029         for C/POSIX locale.
89030         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89031         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89033         * wcsmbs/wchar.h: Add missing __restrict.
89035 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
89037         [BZ #13532]
89038         * time/Makefile (routines): Add timespec_get.
89039         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89040         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
89041         timespec for ISO C11.
89042         * time/timespec_get.c: New file.
89043         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89044         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89046         [BZ #13531]
89047         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89048         * stdlib/stdlib.h: Declare aligned_alloc.
89049         * Versions.def: Add GLIBC_2.16 for libc.
89050         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89052         [BZ 13527]
89053         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89054         ISO C11.
89056         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89057         code.
89059         [BZ #13528]
89060         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89062         [BZ #13529]
89063         * assert/assert.h (static_assert): Define.
89065         * version.h: Update for 2.16 development version.
89067         [BZ #13526]
89068         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89069         _ISOC11_SOURCE.
89071         * version.h (RELEASE): Bump for 2.15 release.
89072         * include/features.h (__GLIBC_MINOR__): Bump to 15.
89074         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89075         Patch by Marek Polacek <mpolacek@redhat.com>.
89077         * bits/byteswap.h: Protect long long constants with __extension__.
89078         * sysdeps/i386/bits/byteswap.h: Likewise.
89079         * sysdeps/ia64/bits/byteswap.h: Likewise.
89080         * sysdeps/s390/bits/byteswap.h: Likewise.
89081         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89083 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89085         [BZ #13540]
89086         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89087         destination buffer.
89088         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89090 2011-12-23  Marek Polacek  <polacek@redhat.com>
89092         * elf/dl-addr.c (determine_info): Add inline keyword.
89093         * elf/tst-auditmod4b.c (check_avx): Likewise.
89094         * elf/tst-auditmod6b.c (check_avx): Likewise.
89095         * elf/tst-auditmod6c.c (check_avx): Likewise.
89096         * elf/tst-auditmod7b.c (check_avx): Likewise.
89098 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
89100         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
89101         !__SSE_MATH__.
89103 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89105         [BZ #13540]
89106         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
89107         processing for last bytes.
89109 2011-08-06  Bruno Haible  <bruno@clisp.org>
89111         [BZ #13061]
89112         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
89113         U+0385, not to U+1FEE.
89115         [BZ #13062]
89116         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
89117         entry for U+00A5 U+0301.
89119 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
89121         [BZ #13166]
89122         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
89123         buffer for the output is too small.
89125         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
89126         optimization.
89128         [BZ #13185]
89129         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
89130         SSE flags if possible.
89132 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89134         [BZ #13540]
89135         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
89136         processing for last bytes.
89138 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
89140         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
89141         (syscall-list-default-options, syscall-list-default-condition)
89142         (syscall-list-includes): Define.
89143         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
89144         list of ABIs and options and #if conditions for each ABI.  Do not
89145         handle common syscalls between ABIs specially.
89146         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
89147         Remove.
89148         (syscall-list-variants, syscall-list-32bit-options)
89149         (syscall-list-32bit-condition, syscall-list-64bit-options)
89150         (syscall-list-64bit-condition): Define.
89151         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
89152         (syscall-list-variants, syscall-list-32bit-options)
89153         (syscall-list-32bit-condition, syscall-list-64bit-options)
89154         (syscall-list-64bit-condition): Define.
89155         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
89156         Remove.
89157         (syscall-list-variants, syscall-list-32bit-options)
89158         (syscall-list-32bit-condition, syscall-list-64bit-options)
89159         (syscall-list-64bit-condition): Define.
89160         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
89161         Remove.
89162         (syscall-list-variants, syscall-list-32bit-options)
89163         (syscall-list-32bit-condition, syscall-list-64bit-options)
89164         (syscall-list-64bit-condition): Define.
89166 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
89168         * locale/iso-639.def: Add brx entry.
89170         [BZ #13328]
89171         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
89172         Proposed by Mariusz_Cukr <marcukr@op.pl>.
89174         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
89175         __feraiseexcept_renamed.
89177 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
89179         [BZ #13538]
89180         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
89181         EPOLLET with unsigned values.
89182         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89183         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89185         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
89186         to large cancellation.
89187         * math/s_cacoshf.c: Likewise.
89188         * math/s_cacoshl.c: Likewise.
89190 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
89192         [BZ #13305]
89193         [BZ #12786]
89194         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
89195         * math/s_cacoshf.c: Likewise.
89196         * math/s_cacoshl.c: Likewise.
89198 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
89200         [BZ #13439]
89201         * iconv/gconv.h: Define __GCONV_SWAP.
89202         * iconvdata/unicode.c: The swap bit must be stored in __flags.
89203         * iconvdata/utf-16.c: Likewise.
89204         * iconvdata/utf-32.c: Likewise.
89206 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
89208         [BZ #13524]
89209         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
89210         numerator after shifting it by one limb.
89212 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
89214         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
89215         under [__USE_EXTERN_INLINES].
89217 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
89219         [BZ #13446]
89220         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
89222 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89224         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
89225         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
89226         optimized code.
89227         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
89228         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
89229         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
89230         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
89231         for strncasecmp/strncasecmp_l compilation.
89232         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
89233         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
89235 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
89237         [BZ #13484]
89238         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
89239         of __asm__.
89241 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
89243         [BZ #13506]
89244         * time/tzfile.c (__tzfile_read): Check values from file header.
89246 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
89248         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
89249         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
89250         * powerpc/powerpc32/dl-start.S: Likewise.
89251         * powerpc/powerpc32/elf/start.S: Likewise.
89252         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
89253         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
89254         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
89255         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
89256         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
89257         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
89258         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
89259         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
89260         * powerpc/powerpc32/fpu/s_round.S: Likewise.
89261         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
89262         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
89263         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
89264         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
89265         * powerpc/powerpc32/memset.S: Likewise.
89266         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
89267         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
89268         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
89269         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
89270         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
89271         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
89272         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
89273         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
89274         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
89275         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
89276         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
89277         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89278         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89280 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89282         * math/libm-test.inc: Added more nearbyint tests.
89283         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
89284         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
89285         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
89286         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
89288 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
89290         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
89291         FD_CLOEXEC.
89293 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89295         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
89296         Add wcscpy-ssse3 wcscpy-c.
89297         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
89298         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
89299         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
89300         * sysdeps/x86_64/wcschr.S: New file.
89301         * sysdeps/x86_64/wcsrchr.S: New file.
89302         * string/test-strcmp.c: Remove checking of wcscmp function for
89303         wrong alignments.
89304         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
89305         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
89306         wcsrchr-sse2 wcsrchr-c.
89307         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
89308         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
89309         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
89310         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
89311         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
89312         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
89313         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
89314         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
89315         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
89316         * wcsmbc/wcschr.c (WCSCHR): New macro.
89318 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89320         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
89321         * wcsmbs/test-wcsrchr.c: New file.
89322         * string/test-strrchr.c: Add wcsrchr support.
89323         (WIDE): New macro.
89324         * wcsmbs/test-wcscpy.c: New file.
89325         * string/test-strcpy.c: Add wcscpy support.
89326         (WIDE): New macro.
89328 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
89330         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
89331         the inner loop.
89333 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
89335         [BZ #13472]
89336         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
89338 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
89340         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
89341         Minor optimizations.
89343         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
89344         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
89345         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
89347 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
89349         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
89350         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
89351         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
89352         for gcc to avoid warnings.
89353         * inet/Makefile (tests): Add tst-checks.
89354         * inet/tst-checks.c: New file.
89356         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
89357         warning.
89359         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
89360         __wmemcmp_sse2.
89362         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
89363         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
89365         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
89367 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
89369         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
89370         problem.
89372         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
89374 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
89376         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
89377         conditional on GCC version.
89378         (__arch_compare_and_exchange_val_8_acq)
89379         (__arch_compare_and_exchange_val_16_acq)
89380         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
89381         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
89382         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
89384 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
89386         * sysdeps/sh/backtrace.c: New file.
89388 2011-12-02  Andreas Schwab  <schwab@redhat.com>
89390         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
89391         parenthesis.
89393 2011-12-01  Andreas Schwab  <schwab@redhat.com>
89395         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
89396         falling back to utime.
89398 2011-11-30  Andreas Schwab  <schwab@redhat.com>
89400         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
89401         expectations for float.
89403 2011-11-29  Andreas Schwab  <schwab@redhat.com>
89405         * locale/weight.h (findidx): Add parameter len.
89406         * locale/weightwc.h (findidx): Likewise.
89407         * posix/fnmatch_loop.c (FCT): Adjust caller.
89408         * posix/regcomp.c (build_equiv_class): Likewise.
89409         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
89410         * posix/regexec.c (check_node_accept_bytes): Likewise.
89411         * string/strcoll_l.c (STRCOLL): Likewise.
89412         * string/strxfrm_l.c (STRXFRM): Likewise.
89414 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
89416         * Makefile.in: Remove CVSOPT handling.
89417         * configure.in: Remove use of AC_REVISION.
89418         * iconvdata/Makefile (distribute): No need to filter out CVS.
89419         * scripts/list-sources.sh: Remove CVS, subversion and monotone
89420         handling.
89422 2011-11-16  Andreas Schwab  <schwab@redhat.com>
89424         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
89425         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
89426         [USE_AS_STRNCASECMP_L]: Likewise.
89427         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
89428         NO_TLS_DIRECT_SEG_REFS.
89429         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
89430         Fix argument offsets for non-PIC.
89431         [USE_AS_STRNCASECMP_L]: Likewise.
89432         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
89433         NO_TLS_DIRECT_SEG_REFS.
89435 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
89437         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
89438         O_CLOEXEC.
89439         * locale/loadlocale.c (_nl_load_locale): Likewise.
89441 2011-11-15  Andreas Schwab  <schwab@redhat.com>
89443         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
89444         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
89445         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
89446         (SYSCALL_GETTIME): Set errno on error.
89448         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
89449         count references to noai6ai_cached.
89451 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
89453         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
89455         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
89456         FD_CLOEXEC for /proc/self/maps.
89458         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
89459         FD_CLOEXEC for /proc/meminfo.
89461         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
89462         gai.conf.
89464         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
89465         FD_CLOEXEC for given file.
89467         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
89469         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
89470         FD_CLOEXEC for /etc/hosts.
89471         (_gethtent): Likewise.
89473         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
89475         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
89476         cancellation and set FD_CLOEXEC for /etc/netgroup.
89478         * nss/nss_files/files-key.c (search): Don't allow cancellation when
89479         reading /etc/publickey.
89481         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
89482         allow cancellation when reading /etc/group.
89484         * nss/nss_files/files-alias.c (internal_setent): Don't allow
89485         cancellation.
89486         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
89488         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
89489         when using data file.
89491         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
89493         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
89494         (write_nis_obj): Use "c" and "e" in fopen.
89496         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
89498         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
89500         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
89502         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
89504         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
89505         locale.alias.
89507         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
89509         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
89511         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
89513         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
89514         file parsing and set FD_CLOEXEC.
89516 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
89518         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
89520 2011-11-14  Andreas Schwab  <schwab@redhat.com>
89522         * malloc/arena.c (arena_get2): Don't call reused_arena when
89523         _int_new_arena failed.
89525 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
89527         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
89528         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
89529         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
89530         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
89531         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
89532         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
89533         to compile strcasecmp and strncasecmp.
89534         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
89535         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
89537         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
89539 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
89541         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
89542         locale-defines.sym to gen-as-const-headers.
89543         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
89544         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
89545         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
89546         to compile strcasecmp and strncasecmp.
89547         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
89548         strcasecmp_l and strncasecmp_l.
89549         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
89550         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
89551         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
89552         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
89553         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
89554         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
89555         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
89556         * sysdeps/i386/i686/multiarch/strncase.S: New file.
89557         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
89558         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
89559         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
89561 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
89563         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
89564         result of SYSDEP_GETTIME_CPU to retval.
89565         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
89566         parameter list to macro.  Remove trailing semicolon.  Adjust users.
89568         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
89569         variable.
89571         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
89572         mantissa words.
89573         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
89575         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
89576         from unused variable.
89578         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
89579         DWARF definitions.
89580         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
89581         for assembling.
89583         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
89584         over namespaces.
89586         * sunrpc/rpc_prot.c (rejected): Fix case value.
89588         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
89589         unsigned long long int to avoid warnings in shift.
89591         * posix/regex_internal.c (re_string_reconstruct): Actually use result
89592         of use of trans.
89593         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
89594         variable tmp.
89596         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
89597         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
89598         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
89600         * nis/nis_table.c (nis_list): Use variable of correct type for
89601         result of __follow_path call.
89603 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89605         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
89606         of math functions ceil, trunc, floor, round, and sqrt, when
89607         avaliable on the platform.
89608         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
89609         name clash.
89610         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
89611         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
89612         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
89614 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
89616         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
89617         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
89619 2011-11-11  Roland McGrath  <roland@hack.frob.com>
89621         * include/unistd.h: Fix __readlink return type.
89622         Reported by Chris Metcalf <cmetcalf@tilera.com>.
89624 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
89626         * stdlib/ucontext.h: Undo last change for makecontext.
89628 2011-11-11  Andreas Schwab  <schwab@redhat.com>
89630         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
89632         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
89633         * setjmp/setjmp.h: Mark functions as non-leaf.
89634         * setjmp/bits/setjmp2.h: Likewise.
89635         * stdlib/ucontext.h: Likewise.
89637 2011-11-10  Andreas Schwab  <schwab@redhat.com>
89639         * malloc/arena.c (_int_new_arena): Don't increment narenas.
89640         (reused_arena): Don't check arena limit.
89641         (arena_get2): Atomically check arena limit.
89643 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
89645         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
89646         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
89648         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
89649         instructions.
89651 2011-11-07  Andreas Schwab  <schwab@redhat.com>
89653         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
89654         handler when locking.
89656         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
89657         Fix size of allocated buffer.
89659 2011-11-04  Andreas Schwab  <schwab@redhat.com>
89661         [BZ #10103]
89662         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
89663         declarations for long double functions.
89664         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
89666         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
89668 2011-11-03  Andreas Schwab  <schwab@redhat.com>
89670         * nscd/nscd.c (main): Don't start AVC thread until credentials are
89671         installed.
89673         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
89674         is disabled.
89676 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89678         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
89680 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
89682         * include/alloca.h (stackinfo_alloca_round): Define.
89683         (extend_alloca): Use it.
89684         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
89685         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
89686         here.
89688         * scripts/check-local-headers.sh: Ignore libaudit.h.
89690         * nscd/Makefile (extra-objs): Make recursively expanded.
89692 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
89694         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
89695         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
89697         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
89698         * posix/tst-rfc3484-2.c: Likewise.
89699         * posix/tst-rfc3484-3.c: Likewise.
89701         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
89702         process_vm_writev.
89703         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
89704         process_vm_writev.
89705         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
89706         process_vm_writev from libc using GLIBC_2.15 version.
89708         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
89710 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
89712         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
89713         stack usage.
89715 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
89717         [BZ #13367]
89718         * nss/getent.c (initgroups_keys): Show error message in case no group
89719         names are given.
89721         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
89722         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
89723         __bump_nl_timestamp.
89724         * nscd/connections (nscd_init): When host database is served open
89725         netlink socket and request notification about configuration changes.
89726         (main_loop_poll): Track netlink file descriptor and bump timestamp
89727         in case data becomes available.
89728         (main_loop_epoll): Likewise.
89729         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
89730         (database_pers_head): Add extra_data fileds.
89731         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
89732         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
89733         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
89734         Adjust caller.
89735         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
89736         in6ai data, call __free_in6ai.
89737         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
89738         Add -DHAVE_NETLINK.
89739         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
89740         interface information.  Reuse previous data if netlink timestamp
89741         is not changed.
89742         (__bump_nl_timestamp): New function.
89743         (__free_in6ai): New function.
89745 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
89747         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
89748         close_not_cancel_no_status here.
89749         (__check_pf): Reorganize code a bit to not call close twice if OOM.
89751 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
89753         [BZ #13276]
89754         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
89755         return value.
89757         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
89758         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
89759         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
89761 2011-07-03  Andreas Jaeger  <aj@suse.de>
89763         [BZ #10709]
89764         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
89765         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
89766         * math/libm-test.inc (sin_test): Add test case.
89768 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
89770         [BZ #13337]
89771         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
89772         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
89774         * elf/chroot_canon.c (chroot_canon): Cleanups.
89776         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
89778         [BZ #13335]
89779         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
89780         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
89782         * string/test-strchr.c: Make usable for strchrnul testing.
89783         * string/test-strchrnul.c: New file.
89784         * string/Makefile (strop-tests): Add strchrnul.
89786         * po/it.po: Update from translation team.
89787         * po/es.po: Likewise.
89789 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
89791         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
89792         the three constants needed as parameters.  Drop the others.
89793         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
89794         __m128i_strloadu_tolower.
89795         Create and initialize variable zero and use it in all the places
89796         where _mm_setzero_si128 was used.
89798         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
89799         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
89800         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
89801         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
89802         anymore.
89803         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
89804         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
89805         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
89806         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
89807         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
89808         __mpranred, __mptan.
89809         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
89810         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
89811         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
89812         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
89813         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
89814         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
89815         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
89816         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
89817         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
89819 2011-10-28  Andreas Schwab  <schwab@redhat.com>
89821         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
89822         redefine if SHARED.
89823         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
89825         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
89826         wide char related routines to wcsmbs subdir.
89828 2011-10-27  Andreas Schwab  <schwab@redhat.com>
89830         [BZ #13344]
89831         * misc/sys/cdefs.h (__THROWNL): Define.
89832         * posix/unistd.h: Use __THREADNL instead of __THREAD
89833         for memory synchronization functions.
89835 2011-10-26  Roland McGrath  <roland@hack.frob.com>
89837         [BZ #13349]
89838         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
89839         doesn't exist.
89840         * manual/stdio.texi (Obstack Streams): Node removed.
89842 2011-10-26  Andreas Schwab  <schwab@redhat.com>
89844         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
89845         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
89846         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
89848         * math/math_private.h (math_force_eval): Allow non-addressable
89849         arguments.
89850         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
89852 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89854         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
89855         file is not needed.
89857         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
89858         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
89859         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89860         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89861         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89862         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89863         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89864         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
89865         Add AVX variants.
89866         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
89867         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
89868         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
89869         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
89870         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
89871         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
89872         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
89873         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
89874         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
89875         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
89876         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
89877         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
89878         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
89879         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
89880         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
89881         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
89882         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
89883         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
89884         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
89886         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
89887         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
89889         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
89890         place.  Use VEX encoding when compiling for AVX.
89892 2011-10-25  Andreas Schwab  <schwab@redhat.com>
89894         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
89895         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
89897         * string/test-strchr.c (do_test): Don't generate NUL bytes.
89899 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89901         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
89902         useless if() expression.
89903         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89904         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
89905         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
89906         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89907         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
89908         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
89909         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
89910         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
89911         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
89912         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89913         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89914         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
89915         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
89916         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
89917         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
89918         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
89919         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89920         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89921         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
89923         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
89925 2011-10-25  Andreas Schwab  <schwab@redhat.com>
89927         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
89928         condition.
89929         * elf/dl-fini.c (_dl_sort_fini): Likewise.
89931 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89933         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
89934         .text section.  Avoid duplicate constants.
89935         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
89936         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89937         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
89938         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89939         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89940         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89941         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89942         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89943         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
89944         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
89945         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
89946         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
89947         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
89948         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
89949         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
89950         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
89951         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
89952         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
89953         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
89954         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89955         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
89956         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
89957         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
89958         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
89959         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
89960         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
89961         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
89962         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
89963         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
89964         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
89965         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
89966         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
89967         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
89968         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
89969         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
89970         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
89971         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
89972         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
89973         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
89974         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
89975         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
89976         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
89977         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
89978         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
89979         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
89981 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
89983         * sysdeps/x86_64/dla.h: Move to ...
89984         * sysdeps/x86_64/fpu/dla.h: ...here.
89985         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
89986         situations.  Use __builtin_fma only for gcc 4.6 and up.
89988         * config.make.in: Add have-mfma4 entry.
89989         * configure.in: Substitute libc_cv_cc_fma4.
89990         * math/Makefile (dbl-only-routines): Add sincostab.
89991         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
89992         Use __sincostab not sincos.
89993         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
89994         name is a macro.
89995         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89996         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89997         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89998         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
89999         using __copysign.
90000         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
90001         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
90002         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90003         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90004         and __inv.
90005         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90006         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90007         __copysign.
90008         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
90009         define aliases when function name is a macro.
90010         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90011         sysdeps/ieee754/dbl-64/sincos.tbl.
90012         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90013         fma4-enabled routines.
90014         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90015         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90016         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90017         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90018         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90019         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90020         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90021         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90022         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90023         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90024         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90025         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90026         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90027         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90028         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90029         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90030         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90031         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90032         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90033         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90034         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90035         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90036         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90037         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90038         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90039         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90040         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90041         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90042         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90043         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90045         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90046         rename.
90047         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90048         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90049         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90050         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90051         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90052         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90053         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90054         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90056 2011-10-24  Andreas Schwab  <schwab@redhat.com>
90058         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90060 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90062         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90064         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90065         prediction.
90066         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90068         * string/strnlen.c: Don't define STRNLEN, reverse logic.
90069         Remove unused variable magic_bits.
90070         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90072         * string/strnlen.c: Define and use STRNLEN macro.
90073         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90074         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90075         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90076         * wcsmbs/wcslen.c: Define and use WCSLEN.
90077         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90078         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90079         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90080         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90081         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90082         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90083         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90085 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90087         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90088         strnlen-sse2-no-bsf.
90089         Rename strlen-no-bsf to strlen-sse2-no-bsf.
90090         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90091         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90092         Add strnlen support.
90093         (USE_AS_STRNLEN): New macro.
90094         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90095         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90096         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90097         * sysdeps/x86_64/wcslen.S: New file.
90099 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
90101         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
90102         XMM-moves are used for copying on small sizes.
90104 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90106         * wcsmbs/Makefile (strop-tests): Add wcschr.
90107         * wcsmbs/test-wcschr.c: New file.
90108         * string/test-strchr.c: Update.
90109         Add wcschr support.
90110         (WIDE): New macro.
90112 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90114         * wcsmbs/Makefile (strop-tests): Add wcslen.
90115         * wcsmbs/test-wcslen.c: New file.
90116         * string/test-strlen.c: Update.
90117         Add wcslen support.
90118         (WIDE): New macro.
90120 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90122         * po/it.po: Update from translation team.
90124 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90126         * sysdeps/x86_64/wcscmp.S: Update.
90127         Fix wrong comparison semantics.
90128         wcscmp shall use signed comparison not unsigned.
90129         Don't use substraction to avoid overflow bug.
90130         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
90131         * wcsmbc/wcscmp.c: Likewise.
90132         * string/test-strcmp.c: Likewise.
90133         Add new tests to check cases with negative values.
90135 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90137         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
90138         * sysdeps/x86_64/dla.h: ...here.  New file.
90139         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
90140         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90141         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90142         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90143         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90144         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90145         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90146         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90147         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90149 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
90151         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
90152         __ynl_finite aliases.
90154 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
90156         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
90158         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
90159         define DLA_FMA.
90160         [DLA_FMA] (EMULV): Use DLA_FMA.
90161         [DLA_FMA] (MUL12): Use EMULV.
90162         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
90163         that are not needed.
90164         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90165         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90166         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90167         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90168         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90169         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90170         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90172 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
90174         * math/s_nan.c: Undef __nan.
90175         * math/s_nanf.c: Undef __nanf.
90176         * math/s_nanl.c: Undef __nanl.
90177         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
90178         "math_private.h".
90180 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
90182         * math/s_catan.c: Add branch predictions.
90183         * math/s_catanf.c: Likewise.
90184         * math/s_catanh.c: Likewise.
90185         * math/s_catanhf.c: Likewise.
90186         * math/s_catanhl.c: Likewise.
90187         * math/s_catanl.c: Likewise.
90188         * math/s_cexp.c: Likewise.
90189         * math/s_cexpf.c: Likewise.
90190         * math/s_cexpl.c: Likewise.
90191         * math/s_clog.c: Likewise.
90192         * math/s_clog10.c: Likewise.
90193         * math/s_clog10f.c: Likewise.
90194         * math/s_clog10l.c: Likewise.
90195         * math/s_clogf.c: Likewise.
90196         * math/s_clogl.c: Likewise.
90197         * math/s_csqrt.c: Likewise.
90198         * math/s_csqrtf.c: Likewise.
90199         * math/s_csqrtl.c: Likewise.
90200         * math/s_ctanf.c: Likewise.
90201         * math/s_ctanh.c: Likewise.
90202         * math/s_ctanhf.c: Likewise.
90203         * math/s_ctanhl.c: Likewise.
90204         * math/s_ctanl.c: Likewise.
90206         * math/math_private.h: Define __nan, __nanf, __nanl.
90207         * math/s_cacosh.c: Include <math_private.h>.
90208         * math/s_cacoshl.c: Likewise.
90209         * math/s_casinh.c: Likewise.
90210         * math/s_casinhf.c: Likewise.
90211         * math/s_casinhl.c: Likewise.
90212         * math/s_ccos.c: Rely entire on ccosh.
90213         * math/s_ccosf.c: Rely entire on ccoshf.
90214         * math/s_ccosl.c: Rely entirely on ccoshl.
90215         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
90216         Remove tests for FE_INVALID.
90217         * math/s_ccoshf.c: Likewise.
90218         * math/s_ccoshl.c: Likewise.
90219         * math/s_csin.c: Likewise.
90220         * math/s_csinf.c: Likewise.
90221         * math/s_csinh.c Likewise.
90222         * math/s_csinhf.c: Likewise.
90223         * math/s_csinhl.c: Likewise.
90224         * math/s_csinl.c: Likewise.
90225         * math/s_ctan.c: Likewise.
90226         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
90227         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
90228         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
90230 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
90232         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
90233         compilation problems.
90235         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
90236         __builtin_expect.
90238 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
90240         * sysdeps/i386/configure.in: Test for -mfma4 option.
90241         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
90242         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
90243         COMMON_CPUID_INDEX_80000001.
90244         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
90245         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
90246         use it if FMA3 is not supported.
90247         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
90249         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
90250         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90252 2011-10-20  Andreas Schwab  <schwab@redhat.com>
90254         [BZ #12892]
90255         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
90256         it would create a cycle with a link time dependency.
90258 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
90260         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
90261         instruction.
90262         * string/Makefile (strop-tests): Add rawmemchr.
90263         * string/test-rawmemchr.c: New file.
90265         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
90266         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
90267         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
90268         when compiling str{,n}casecmp and when AVX is available.  Hook up
90269         new optimized code in initializers.
90271 2011-10-19  Andreas Schwab  <schwab@redhat.com>
90273         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
90274         __feraiseexcept instead of feraiseexcept.
90276 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
90278         * math/math_private.h: Define defaults for libc_fetestexcept and
90279         libc_feupdateenv.
90280         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
90281         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
90282         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90283         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90284         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
90285         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90286         libc_fetestexcept and libc_feupdateenv.
90288         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
90289         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
90290         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
90291         * sysdeps/x86_64/fpu/math_private.h: Define special version of
90292         libc_feholdexcept_setround.
90294         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
90295         Add s_nearbyint-c and s_nearbyintf-c.
90296         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
90297         nearbyintf inlines.
90298         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
90299         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
90300         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
90301         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
90303         * math/math_private.h: Define defaults for libc_fegetround,
90304         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
90305         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
90306         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
90307         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
90308         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
90309         standard functions.
90310         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90311         Remove comments and hacks for old compiler versions.
90312         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90313         libc_fegetround, libc_fesetround, libc_feholdexcept, and
90314         libc_feholdexceptl.
90316 2011-10-18  Andreas Schwab  <schwab@redhat.com>
90318         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
90319         (__feraiseexcept_renamed): Add __NTH.
90320         (feraiseexcept): Add __NTH.  Rename local variables to fix
90321         namespace violations.
90323 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
90325         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
90327         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
90329         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
90330         recently added interfaces.
90331         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
90333         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
90334         about macro parameter expansion.
90336         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
90337         __NO_MATH_INLINES is defined.  Cleanups.
90339         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
90340         and __floorf is target has SSE4.1.
90341         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
90342         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
90343         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
90344         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
90346         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
90347         name.
90348         (floorf): Likewise.
90350         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
90352 2011-10-17  Andreas Schwab  <schwab@redhat.com>
90354         * misc/sys/cdefs.h: Fix last change.
90356         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
90357         database lookup.
90359 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
90361         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
90363         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
90364         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90365         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
90366         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90367         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90368         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
90369         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90370         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90371         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
90372         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
90373         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
90374         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
90375         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
90376         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
90377         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
90378         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
90379         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
90380         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
90381         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
90382         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
90383         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
90384         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
90386         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
90387         ceil, ceilf, floor, floorf.
90389         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
90390         Perform IRELATIVE relocations last.
90392         * elf/do-rel.h: Add another parameter nrelative, replacing the
90393         local variable with the same name.  Change name of the function
90394         to end in Rel or Rela (uppercase).
90395         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
90396         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
90397         elf_dynamic_do_##reloc function.
90399 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
90401         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
90402         is sufficient, at least on modern CPUs.
90404         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
90406         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
90407         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
90409         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
90410         __expl_finite.
90411         * math/bits/math-finite.h: Add entries for exp.
90412         * math/e_expl.c: Add __*_finite alias.
90413         * sysdeps/i386/fpu/e_exp.S: Likewise.
90414         * sysdeps/i386/fpu/e_expf.S: Likewise.
90415         * sysdeps/i386/fpu/e_expl.c: Likewise.
90416         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90417         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90418         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
90419         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
90420         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
90421         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
90422         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
90424         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
90425         is sufficient, at least on modern CPUs.
90427         * ctype/ctype-info.c (__ctype_init): Define.
90428         * include/ctype.h (__ctype_init): Declare.
90429         (__ctype_b_loc): The variable is always initialized.
90430         (__ctype_toupper_loc): Likewise.
90431         (__ctype_tolower_loc): Likewise.
90432         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
90433         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
90435 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
90437         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
90439         * configure.in: Also look in $cxxmachine/include for C++ system
90440         headers.
90442 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90444         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
90445         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
90446         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
90447         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
90448         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
90449         (USE_AS_WMEMCMP): New macro.
90450         Fixing indents.
90451         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
90452         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
90453         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
90454         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
90455         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90456         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
90457         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
90458         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
90459         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
90460         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
90461         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
90462         (USE_AS_WMEMCMP): New macro.
90463         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
90464         * sysdeps/string/test-memcmp.c: Update.
90465         Fix simple_wmemcmp.
90466         Add new tests.
90467         * wcsmbs/wmemcmp.c: Update.
90468         (WMEMCMP): New macro.
90469         Fix overflow bug.
90471 2011-10-12  Andreas Jaeger  <aj@suse.de>
90473         [BZ #13268]
90474         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
90476 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
90478         * libio/iofwide.c (do_length): Avoid warning.
90480         * ctype/ctype.h (__isctype_f): Add missing __THROW.
90482 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
90484         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
90486         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
90487         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
90488         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
90489         * sysdeps/i386/i686/fpu/e_log.S: New file.
90490         * sysdeps/i386/i686/fpu/e_logf.S: New file.
90491         * sysdeps/i386/i686/fpu/e_logl.S: New file.
90493         * ctype/ctype.h: Add support for inlined isXXX functions when
90494         compiling C++ code.
90496 2011-10-14  Andreas Schwab  <schwab@redhat.com>
90498         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90500         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
90502 2011-10-13  Roland McGrath  <roland@hack.frob.com>
90504         [BZ #13291]
90505         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
90507 2011-10-13  Andreas Schwab  <schwab@redhat.com>
90509         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
90510         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
90511         feraiseexcept.
90513         * sysdeps/x86_64/memrchr.S: Check for zero size.
90515         * string/stratcliff.c: Add memrchr tests.
90517 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90519         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90520         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
90521         rawmemchr-sse2 rawmemchr-sse2-bsf.
90522         * sysdeps/i386/i686/multiarch/memchr.S: New file.
90523         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
90524         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
90525         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
90526         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
90527         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
90528         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
90529         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
90530         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
90531         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
90532         * string/memrchr.c (MEMRCHR): New macro.
90534 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
90536         Add integration with gcc's -ffinite-math-only and optimize wrapper
90537         functions in libm.
90538         * Versions.def: Define GLIBC_2.15 version for libm.
90539         * math/Makefile (headers): Add bits/math-finite.h.
90540         * math/bits/math-finite.h: New file.
90541         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
90542         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
90543         * math/e_acoshl.c: Add __*_finite alias.
90544         * math/e_acosl.c: Likewise.
90545         * math/e_asinl.c: Likewise.
90546         * math/e_atan2l.c: Likewise.
90547         * math/e_atanhl.c: Likewise.
90548         * math/e_coshl.c: Likewise.
90549         * math/e_exp10.c: Likewise.
90550         * math/e_exp10f.c: Likewise.
90551         * math/e_exp10l.c: Likewise.
90552         * math/e_exp2l.c: Likewise.
90553         * math/e_fmodl.c: Likewise.
90554         * math/e_gammal_r.c: Likewise.
90555         * math/e_hypotl.c: Likewise.
90556         * math/e_j0l.c: Likewise.
90557         * math/e_j1l.c: Likewise.
90558         * math/e_jnl.c: Likewise.
90559         * math/e_lgammal_r.c: Likewise.
90560         * math/e_log10l.c: Likewise.
90561         * math/e_log2l.c: Likewise.
90562         * math/e_logl.c: Likewise.
90563         * math/e_powl.c: Likewise.
90564         * math/e_sinhl.c: Likewise.
90565         * math/e_sqrtl.c: Likewise.
90566         * math/e_scalb.c: Completely rewritten and optimized.
90567         * math/e_scalbf.c: Likewise.
90568         * math/e_scalbl.c: Likewise.
90569         * math/w_acos.c: Likewise.
90570         * math/w_acosf.c: Likewise.
90571         * math/w_acosl.c: Likewise.
90572         * math/w_acosh.c: Likewise.
90573         * math/w_acoshf.c: Likewise.
90574         * math/w_acoshl.c: Likewise.
90575         * math/w_asin.c: Likewise.
90576         * math/w_asinf.c: Likewise.
90577         * math/w_asinl.c: Likewise.
90578         * math/w_atan2.c: Likewise.
90579         * math/w_atan2f.c: Likewise.
90580         * math/w_atan2l.c: Likewise.
90581         * math/w_atanh.c: Likewise.
90582         * math/w_atanhf.c: Likewise.
90583         * math/w_atanhl.c: Likewise.
90584         * math/w_exp10.c: Likewise.
90585         * math/w_exp10f.c: Likewise.
90586         * math/w_exp10l.c: Likewise.
90587         * math/w_fmod.c: Likewise.
90588         * math/w_fmodf.c: Likewise.
90589         * math/w_fmodl.c: Likewise.
90590         * math/w_j0.c: Likewise.
90591         * math/w_j0f.c: Likewise.
90592         * math/w_j0l.c: Likewise.
90593         * math/w_j1.c: Likewise.
90594         * math/w_j1f.c: Likewise.
90595         * math/w_j1l.c: Likewise.
90596         * math/w_jn.c: Likewise.
90597         * math/w_jnf.c: Likewise.
90598         * math/w_log.c: Likewise.
90599         * math/w_logf.c: Likewise.
90600         * math/w_logl.c: Likewise.
90601         * math/w_log10.c: Likewise.
90602         * math/w_log10f.c: Likewise.
90603         * math/w_log10l.c: Likewise.
90604         * math/w_log2.c: Likewise.
90605         * math/w_log2f.c: Likewise.
90606         * math/w_log2l.c: Likewise.
90607         * math/w_pow.c: Likewise.
90608         * math/w_powf.c: Likewise.
90609         * math/w_powl.c: Likewise.
90610         * math/w_remainder.c: Likewise.
90611         * math/w_remainderf.c: Likewise.
90612         * math/w_remainderl.c: Likewise.
90613         * math/w_scalb.c: Likewise.
90614         * math/w_scalbf.c: Likewise.
90615         * math/w_scalbl.c: Likewise.
90616         * math/w_sqrt.c: Likewise.
90617         * math/w_sqrtf.c: Likewise.
90618         * math/w_sqrtl.c: Likewise.
90619         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
90620         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
90621         used.
90622         * math/math_private.h: Declare __kernel_standard_f.
90623         * math/w_cosh.c: Remove cruft and optimize a bit.
90624         * math/w_coshf.c: Likewise.
90625         * math/w_coshl.c: Likewise.
90626         * math/w_exp2.c: Likewise.
90627         * math/w_exp2f.c: Likewise.
90628         * math/w_exp2l.c: Likewise.
90629         * math/w_hypot.c: Likewise.
90630         * math/w_hypotf.c: Likewise.
90631         * math/w_hypotl.c: Likewise.
90632         * math/w_lgamma.c: Likewise.
90633         * math/w_lgamma_r.c: Likewise.
90634         * math/w_lgammaf.c: Likewise.
90635         * math/w_lgammaf_r.c: Likewise.
90636         * math/w_lgammal.c: Likewise.
90637         * math/w_lgammal_r.c: Likewise.
90638         * math/w_sinh.c: Likewise.
90639         * math/w_sinhf.c: Likewise.
90640         * math/w_sinhl.c: Likewise.
90641         * math/w_tgamma.c: Likewise.
90642         * math/w_tgammaf.c: Likewise.
90643         * math/w_tgammal.c: Likewise.
90644         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
90645         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90646         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
90647         Minor optimizations.  Pretty printing.  Remove cruft.
90648         * sysdeps/i386/fpu/e_acosf.S: Likewise.
90649         * sysdeps/i386/fpu/e_acosh.S: Likewise.
90650         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
90651         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
90652         * sysdeps/i386/fpu/e_acosl.c: Likewise.
90653         * sysdeps/i386/fpu/e_asin.S: Likewise.
90654         * sysdeps/i386/fpu/e_asinf.S: Likewise.
90655         * sysdeps/i386/fpu/e_atan2.S: Likewise.
90656         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
90657         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
90658         * sysdeps/i386/fpu/e_atanh.S: Likewise.
90659         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
90660         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
90661         * sysdeps/i386/fpu/e_exp10.S: Likewise.
90662         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
90663         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
90664         * sysdeps/i386/fpu/e_exp2.S: Likewise.
90665         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
90666         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
90667         * sysdeps/i386/fpu/e_fmod.S: Likewise.
90668         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
90669         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
90670         * sysdeps/i386/fpu/e_hypot.S: Likewise.
90671         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
90672         * sysdeps/i386/fpu/e_log.S: Likewise.
90673         * sysdeps/i386/fpu/e_log10.S: Likewise.
90674         * sysdeps/i386/fpu/e_log10f.S: Likewise.
90675         * sysdeps/i386/fpu/e_log10l.S: Likewise.
90676         * sysdeps/i386/fpu/e_log2.S: Likewise.
90677         * sysdeps/i386/fpu/e_log2f.S: Likewise.
90678         * sysdeps/i386/fpu/e_log2l.S: Likewise.
90679         * sysdeps/i386/fpu/e_logf.S: Likewise.
90680         * sysdeps/i386/fpu/e_logl.S: Likewise.
90681         * sysdeps/i386/fpu/e_pow.S: Likewise.
90682         * sysdeps/i386/fpu/e_powf.S: Likewise.
90683         * sysdeps/i386/fpu/e_powl.S: Likewise.
90684         * sysdeps/i386/fpu/e_remainder.S: Likewise.
90685         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
90686         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
90687         * sysdeps/i386/fpu/e_scalb.S: Likewise.
90688         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
90689         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
90690         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
90691         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
90692         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
90693         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
90694         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90695         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90696         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
90697         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90698         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
90699         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
90700         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
90701         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90702         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
90703         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
90704         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
90705         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90706         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
90707         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
90708         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90709         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
90710         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
90711         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90712         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90713         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
90714         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
90715         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
90716         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
90717         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
90718         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
90719         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90720         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
90721         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
90722         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
90723         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90724         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
90725         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
90726         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
90727         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
90728         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
90729         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
90730         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
90731         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
90732         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
90733         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
90734         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
90735         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
90736         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
90737         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
90738         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
90739         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
90740         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
90741         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
90742         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
90743         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
90744         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
90745         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
90746         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
90747         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
90748         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
90749         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
90750         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
90751         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
90752         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
90753         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
90754         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
90755         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
90756         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
90757         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
90758         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
90759         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
90760         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
90761         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
90762         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
90763         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
90764         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
90765         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
90766         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
90767         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
90768         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
90769         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
90770         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
90771         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
90772         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
90773         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90774         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
90775         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
90776         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
90777         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90778         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
90779         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
90780         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
90781         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
90782         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
90783         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
90784         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
90785         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
90786         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
90787         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90788         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90789         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90790         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
90791         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
90792         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
90793         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
90794         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
90795         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
90796         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
90797         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
90798         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
90799         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
90800         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
90801         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
90802         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
90803         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
90804         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
90805         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
90806         (__isnanf): Likewise.
90807         (__isinf_ns): Likewise.
90808         (__isinf_nsf): Likewise.
90809         (__finite): Likewise.
90810         (__finitef): Likewise.
90811         (__ieee754_sqrt): Define as macro.
90812         (__ieee754_sqrtf): Define as macro.
90813         (__ieee754_sqrtl): Define as macro.
90814         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
90815         inlined copy.
90816         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
90817         __FINITE_MATH_ONLY__ consistent.
90818         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
90820 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
90822         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
90823         of rawmemchr.
90825         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
90827 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
90829         * po/ja.po: Update from translation team.
90831 2011-10-08  Roland McGrath  <roland@hack.frob.com>
90833         * locale/programs/locarchive.c (prepare_address_space): New function.
90834         (create_archive, enlarge_archive, open_archive): Use it.
90836         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
90837         inside [SHARED], where it is used.
90839         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
90841         * nss/getent.c (netgroup_keys): Remove unused variable.
90842         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
90844 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
90846         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
90847         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
90848         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
90849         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
90850         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
90851         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
90852         * math/Makefile (libm-calls): Add s_isinf_ns.
90853         * math/divtc3.c: Use __isinf_nsl instead of isinf.
90854         * math/multc3.c: Likewise.
90855         * math/s_casin.c: Likewise.
90856         * math/s_casinf.c: Likewise.
90857         * math/s_casinl.c: Likewise.
90858         * math/s_ccos.c: Likewise.
90859         * math/s_ccosf.c: Likewise.
90860         * math/s_ccosl.c: Likewise.
90861         * math/s_ctan.c: Likewise.
90862         * math/s_ctanf.c: Likewise.
90863         * math/s_ctanh.c: Likewise.
90864         * math/s_ctanhf.c: Likewise.
90865         * math/s_ctanhl.c: Likewise.
90866         * math/s_ctanl.c: Likewise.
90867         * math/w_fmod.c: Likewise.
90868         * math/w_fmodf.c: Likewise.
90869         * math/w_fmodl.c: Likewise.
90870         * math/w_remainder.c: Likewise.
90871         * math/w_remainderf.c: Likewise.
90872         * math/w_remainderl.c: Likewise.
90873         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
90874         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
90875         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
90876         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
90877         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
90878         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
90879         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
90880         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
90882         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
90883         of the number.
90884         * stdio-common/printf_fphex.c: Likewise.
90885         * stdio-common/printf_size.c: Likewise.
90887         * math/e_exp10.c: Include math_private.h using <...> not "...".
90888         * math/e_exp10f.c: Likewise.
90889         * math/e_exp10l.c: Likewise.
90890         * math/e_exp2l.c: Likewise.
90891         * math/e_j0l.c: Likewise.
90892         * math/e_j1l.c: Likewise.
90893         * math/e_jnl.c: Likewise.
90894         * math/e_lgammal_r.c: Likewise.
90895         * math/e_rem_pio2l.c: Likewise.
90896         * math/e_scalb.c: Likewise.
90897         * math/e_scalbf.c: Likewise.
90898         * math/e_scalbl.c: Likewise.
90899         * math/k_cosl.c: Likewise.
90900         * math/k_sinl.c: Likewise.
90901         * math/k_tanl.c: Likewise.
90902         * math/s_cacoshf.c: Likewise.
90903         * math/s_catan.c: Likewise.
90904         * math/s_catanf.c: Likewise.
90905         * math/s_catanh.c: Likewise.
90906         * math/s_catanhf.c: Likewise.
90907         * math/s_catanhl.c: Likewise.
90908         * math/s_catanl.c: Likewise.
90909         * math/s_ccosh.c: Likewise.
90910         * math/s_ccoshf.c: Likewise.
90911         * math/s_ccoshl.c: Likewise.
90912         * math/s_cexp.c: Likewise.
90913         * math/s_cexpf.c: Likewise.
90914         * math/s_cexpl.c: Likewise.
90915         * math/s_clog.c: Likewise.
90916         * math/s_clog10.c: Likewise.
90917         * math/s_clog10f.c: Likewise.
90918         * math/s_clog10l.c: Likewise.
90919         * math/s_clogf.c: Likewise.
90920         * math/s_clogl.c: Likewise.
90921         * math/s_csin.c: Likewise.
90922         * math/s_csinf.c: Likewise.
90923         * math/s_csinh.c: Likewise.
90924         * math/s_csinhf.c: Likewise.
90925         * math/s_csinhl.c: Likewise.
90926         * math/s_csinl.c: Likewise.
90927         * math/s_csqrt.c: Likewise.
90928         * math/s_csqrtf.c: Likewise.
90929         * math/s_csqrtl.c: Likewise.
90930         * math/s_ctan.c: Likewise.
90931         * math/s_ctanf.c: Likewise.
90932         * math/s_ctanh.c: Likewise.
90933         * math/s_ctanhf.c: Likewise.
90934         * math/s_ctanhl.c: Likewise.
90935         * math/s_ctanl.c: Likewise.
90936         * math/s_ldexp.c: Likewise.
90937         * math/s_ldexpf.c: Likewise.
90938         * math/s_ldexpl.c: Likewise.
90939         * math/s_significand.c: Likewise.
90940         * math/s_significandf.c: Likewise.
90941         * math/s_significandl.c: Likewise.
90942         * math/w_acos.c: Likewise.
90943         * math/w_acosf.c: Likewise.
90944         * math/w_acosh.c: Likewise.
90945         * math/w_acoshf.c: Likewise.
90946         * math/w_acoshl.c: Likewise.
90947         * math/w_acosl.c: Likewise.
90948         * math/w_asin.c: Likewise.
90949         * math/w_asinf.c: Likewise.
90950         * math/w_asinl.c: Likewise.
90951         * math/w_atan2.c: Likewise.
90952         * math/w_atan2f.c: Likewise.
90953         * math/w_atan2l.c: Likewise.
90954         * math/w_atanh.c: Likewise.
90955         * math/w_atanhf.c: Likewise.
90956         * math/w_atanhl.c: Likewise.
90957         * math/w_cosh.c: Likewise.
90958         * math/w_coshf.c: Likewise.
90959         * math/w_coshl.c: Likewise.
90960         * math/w_dremf.c: Likewise.
90961         * math/w_exp10.c: Likewise.
90962         * math/w_exp10f.c: Likewise.
90963         * math/w_exp10l.c: Likewise.
90964         * math/w_exp2.c: Likewise.
90965         * math/w_exp2f.c: Likewise.
90966         * math/w_fmod.c: Likewise.
90967         * math/w_fmodf.c: Likewise.
90968         * math/w_fmodl.c: Likewise.
90969         * math/w_hypot.c: Likewise.
90970         * math/w_hypotf.c: Likewise.
90971         * math/w_hypotl.c: Likewise.
90972         * math/w_j0.c: Likewise.
90973         * math/w_j0f.c: Likewise.
90974         * math/w_j0l.c: Likewise.
90975         * math/w_j1.c: Likewise.
90976         * math/w_j1f.c: Likewise.
90977         * math/w_j1l.c: Likewise.
90978         * math/w_jn.c: Likewise.
90979         * math/w_jnf.c: Likewise.
90980         * math/w_jnl.c: Likewise.
90981         * math/w_lgamma.c: Likewise.
90982         * math/w_lgamma_r.c: Likewise.
90983         * math/w_lgammaf.c: Likewise.
90984         * math/w_lgammaf_r.c: Likewise.
90985         * math/w_lgammal.c: Likewise.
90986         * math/w_lgammal_r.c: Likewise.
90987         * math/w_log.c: Likewise.
90988         * math/w_log10.c: Likewise.
90989         * math/w_log10f.c: Likewise.
90990         * math/w_log10l.c: Likewise.
90991         * math/w_log2.c: Likewise.
90992         * math/w_log2f.c: Likewise.
90993         * math/w_log2l.c: Likewise.
90994         * math/w_logf.c: Likewise.
90995         * math/w_logl.c: Likewise.
90996         * math/w_pow.c: Likewise.
90997         * math/w_powf.c: Likewise.
90998         * math/w_powl.c: Likewise.
90999         * math/w_remainder.c: Likewise.
91000         * math/w_remainderf.c: Likewise.
91001         * math/w_remainderl.c: Likewise.
91002         * math/w_scalb.c: Likewise.
91003         * math/w_scalbf.c: Likewise.
91004         * math/w_scalbl.c: Likewise.
91005         * math/w_sinh.c: Likewise.
91006         * math/w_sinhf.c: Likewise.
91007         * math/w_sinhl.c: Likewise.
91008         * math/w_sqrt.c: Likewise.
91009         * math/w_sqrtf.c: Likewise.
91010         * math/w_sqrtl.c: Likewise.
91011         * math/w_tgamma.c: Likewise.
91012         * math/w_tgammaf.c: Likewise.
91013         * math/w_tgammal.c: Likewise.
91015         * po/ja.po: Update from translation team.
91017 2011-09-29  Andreas Jaeger  <aj@suse.de>
91019         [BZ #13179]
91020         * sunrpc/netname.c (netname2host): Fix logic.
91022         [BZ #6779]
91023         [BZ #6783]
91024         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91025         correctly.
91026         * math/w_remainder.c (__remainder): Likewise.
91027         * math/w_remainderf.c (__remainderf): Likewise.
91028         * math/libm-test.inc (remainder_test): Add test cases.
91030 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91032         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
91033         sdiv_qrnnd.
91035 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91037         * string/test-memcmp.c: Avoid unncessary #defines.
91038         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91040 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91042         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91043         Use new sse2 version for core i3 - i7 as it's faster
91044         than sse42 version.
91045         (bit_Prefer_PMINUB_for_stringop): New.
91046         * sysdeps/x86_64/rawmemchr.S: Update.
91047         Replace with faster SSE2 version.
91048         * sysdeps/x86_64/memrchr.S: New file.
91049         * sysdeps/x86_64/memchr.S: Update.
91050         Replace with faster SSE2 version.
91052 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
91054         * elf/dl-load.c (lose): Add cast to avoid warning.
91056 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91058         * po/ca.po: Update from translation team.
91060         * inet/getnetgrent_r.c: Hook up nscd.
91061         * nscd/Makefile (routines): Add nscd_netgroup.
91062         (nscd-modules): Add netgroupcache.
91063         (CFLAGS-netgroupcache.c): Define.
91064         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91065         (cache_search): Add const to second parameter.
91066         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91067         INNETGR.
91068         (dbs): Add netgrdb entry.
91069         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91070         (verify_persistent_db): Handle netgrdb.
91071         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91072         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91073         GETFDNETGR.
91074         (netgroup_response_header): Define.
91075         (innetgroup_response_header): Define.
91076         (datahead): Add netgroup_response_header and innetgroup_response_header
91077         elements.
91078         * nscd/nscd.conf: Add entries for netgroup cache.
91079         * nscd/nscd.h (dbtype): Add netgrdb.
91080         (_PATH_NSCD_NETGROUP_DB): Define.
91081         (netgroup_iov_disabled): Declare.
91082         (xmalloc, xcalloc, xrealloc): Move declarations here.
91083         (cache_search): Adjust prototype.
91084         Add netgroup-related prototypes.
91085         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91086         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91087         (__nscd_innetgr): Declare.
91088         * nscd/selinux.c (perms): Use access_vector_t as element type and
91089         add netgroup-related initializers.
91090         * nscd/netgroupcache.c: New file.
91091         * nscd/nscd_netgroup.c: New file.
91092         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91093         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91094         For four parameters use innetgr.
91095         * nss/nss_files/files-init.c: Add definition and callback for netgr.
91096         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91097         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91098         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91100         * nscd/connections.c (register_traced_file): Don't register file
91101         for disabled databases.
91103 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
91105         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
91107         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
91108         from tree and freeing node.
91110 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
91112         * nss/nsswitch.c (__nss_database_lookup): Handle
91113         nss_parse_service_list out of memory case.
91115 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
91117         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
91118         out of memory case.
91120 2011-10-04  Andreas Schwab  <schwab@redhat.com>
91122         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
91123         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
91124         pass it down.
91125         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
91126         elf_machine_rela, elf_machine_lazy_rel.
91127         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
91128         (ELF_DYNAMIC_DO_REL): Likewise.
91129         (ELF_DYNAMIC_DO_RELA): Likewise.
91130         (ELF_DYNAMIC_RELOCATE): Likewise.
91131         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
91132         to ELF_DYNAMIC_DO_REL.
91133         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
91134         (dl_main): In trace mode always set __RTLD_NOIFUNC.
91135         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
91136         elf_machine_rela.
91137         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
91138         skip_ifunc, don't call ifunc function if non-zero.
91139         (elf_machine_rela): Likewise.
91140         (elf_machine_lazy_rel): Likewise.
91141         (elf_machine_lazy_rela): Likewise.
91142         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
91143         (elf_machine_lazy_rel): Likewise.
91144         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
91145         Likewise.
91146         (elf_machine_lazy_rel): Likewise.
91147         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91148         Likewise.
91149         (elf_machine_lazy_rel): Likewise.
91150         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
91151         (elf_machine_lazy_rel): Likewise.
91152         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
91153         (elf_machine_lazy_rel): Likewise.
91154         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
91155         (elf_machine_lazy_rel): Likewise.
91156         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
91157         (elf_machine_lazy_rel): Likewise.
91158         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
91159         (elf_machine_lazy_rel): Likewise.
91160         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
91161         (elf_machine_lazy_rel): Likewise.
91163 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
91165         * nss/nss_files/files-init.c (_nss_files_init): Use static
91166         initialization for all the *_traced_file variables.
91168 2011-09-28  Andreas Schwab  <schwab@redhat.com>
91170         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91172 2011-09-27  Roland McGrath  <roland@hack.frob.com>
91174         [BZ #13226]
91175         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
91177 2011-09-27  Andreas Schwab  <schwab@redhat.com>
91179         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
91180         Reread the line before reparsing it.
91182 2011-09-26  Andreas Schwab  <schwab@redhat.com>
91184         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
91186 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
91187             Maxim Kuvyrkov  <maxim@codesourcery.com>
91188             Joseph Myers  <joseph@codesourcery.com>
91190         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
91191         if needed for __stack_chk_guard.
91193 2011-09-19  Roland McGrath  <roland@hack.frob.com>
91195         * sysdeps/posix/spawni.c (script_execute): Always define it.
91196         It will be optimized away if unused.
91197         (maybe_script_execute): New function.
91198         (__spawni): Call it.
91200         * Makerules: Don't include tls.make.
91201         (config-tls): Always set to thread.
91202         * tls.make.c: File removed.
91204 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
91206         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
91207         * config.make.in (CPPFLAGS-config): New substituted variable.
91209 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
91211         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
91213         [BZ #13192]
91214         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
91215         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
91217 2011-09-15  Roland McGrath  <roland@hack.frob.com>
91219         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
91220         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
91221         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91222         (CALL_FAIL): Likewise.
91223         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
91224         (CALL_FAIL): Macro removed.
91225         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
91227 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
91229         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
91230         for __FINITE_MATH_ONLY__ == 1.
91232 2011-09-15  Andreas Schwab  <schwab@redhat.com>
91234         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
91235         __ieee754_sqrt instead of sqrt.
91236         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
91237         __ieee754_sqrtf instead of sqrtf.
91238         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
91239         __floorf instead of floorf.
91240         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
91241         __floorf, __truncf instead of floorf, truncf.
91243 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
91245         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
91247         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
91248         __extern_always_inline.
91249         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
91250         32-bit.
91252 2011-09-14  Andreas Schwab  <schwab@redhat.com>
91254         * elf/rtld.c (dl_main): Also relocate in dependency order when
91255         doing symbol dependency testing.
91257 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
91259         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91260         Always define `refsym'.
91262 2011-09-13  Andreas Schwab  <schwab@redhat.com>
91264         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
91265         (__FD_ELT): Renamed from __FDELT.
91266         * misc/bits/select2.h (__FD_ELT): Likewise.
91267         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
91268         __FD_MASK instead of __FDELT, __FDMASK.
91269         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91270         Likewise.
91271         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91272         Likewise.
91274         * elf/Makefile (gen-ldd): Fix pattern.
91276         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
91277         (init_tls): Likewise.
91279 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
91281         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
91283 2011-09-12  Andreas Schwab  <schwab@redhat.com>
91285         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
91286         `struct cmsghdr *' instead of `void *'.
91287         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
91288         Likewise.
91290 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
91292         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
91293         if non-absolute.
91294         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
91295         ldd_rewrite_script.
91297 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
91299         * configure.in: Remove --with-tls option.
91300         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
91301         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
91302         out in case it is missing.
91303         * sysdeps/ia64/elf/configure.in: Likewise.
91304         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
91305         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
91306         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
91307         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
91308         * sysdeps/sh/elf/configure.in: Likewise.
91309         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
91310         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
91311         * sysdeps/x86_64/elf/configure.in: Likewise.
91312         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
91313         * sysdeps/mach/hurd/tls.h: Likewise.
91315         [BZ #13067]
91316         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
91318         [BZ #13090]
91319         * configure.in: Fix use of AC_INIT.
91321         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
91323 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
91325         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
91326         __set_errno.
91327         * malloc/hooks.c: Likewise.
91329         [BZ #11929]
91330         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
91331         variables statically.
91332         (narenas): Initialize.
91333         (list_lock): Initialize.
91334         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
91335         initializtion of main_arena and list_lock.  Small cleanups.
91336         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
91337         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
91338         Add initializers to main_arena and mp_.
91339         (malloc_state): Remove pagesize member.  Change all users to use
91340         GLRO(dl_pagesize).
91342         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
91343         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
91344         is always initialized.
91346         * malloc/malloc.c: Removed unused configurations and dead code.
91347         * malloc/arena.c: Likewise.
91348         * malloc/hooks.c: Likewise.
91349         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
91351         * include/tls.h: Removed.  USE___THREAD must always be defined.
91352         * bits/libc-tsd.h: Don't handle !USE___THREAD.
91353         * elf/dl-libc.c: Likewise.
91354         * elf/dl-tsd.c: Likewise.
91355         * include/errno.h: Likewise.
91356         * include/netdb.h: Likewise.
91357         * include/resolv.h: Likewise.
91358         * inet/herrno-loc.c: Likewise.
91359         * inet/herrno.c: Likewise.
91360         * malloc/arena.c: Likewise.
91361         * malloc/hooks.c: Likewise.
91362         * malloc/malloc.c: Likewise.
91363         * resolv/res-state.c: Likewise.
91364         * resolv/res_libc.c: Likewise.
91365         * sysdeps/i386/dl-machine.h: Likewise.
91366         * sysdeps/ia64/dl-machine.h: Likewise.
91367         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
91368         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
91369         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
91370         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
91371         * sysdeps/sh/dl-machine.h: Likewise.
91372         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
91373         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
91374         * sysdeps/unix/i386/sysdep.S: Likewise.
91375         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
91376         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
91377         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
91378         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
91379         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
91380         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
91381         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
91382         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
91383         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
91384         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
91385         * sysdeps/unix/x86_64/sysdep.S: Likewise.
91386         * sysdeps/x86_64/dl-machine.h: Likewise.
91387         * tls.make.c: Likewise.
91389         * configure.in: Remove --with-__thread option.  Make tests for
91390         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
91391         tls_model attribute fail if no support is available.  Remove
91392         USE_IN_LIBIO.
91393         * Makeconfig: Adjust for dropped configure option.  All features are
91394         now mandatory.
91395         * Makerules: Likewise.
91396         * Versions.def: Likewise.
91397         * argp/argp-fmtstream.c: Likewise.
91398         * argp/argp-fmtstream.h: Likewise.
91399         * argp/argp-help.c: Likewise.
91400         * assert/assert.c: Likewise.
91401         * config.h.in: Likewise.
91402         * config.make.in: Likewise.
91403         * configure: Likewise.
91404         * configure.in: Likewise.
91405         * csu/Versions: Likewise.
91406         * csu/init.c: Likewise.
91407         * elf/tst-audit2.c: Likewise.
91408         * elf/tst-tls10.c: Likewise.
91409         * elf/tst-tls10.h: Likewise.
91410         * elf/tst-tls11.c: Likewise.
91411         * elf/tst-tls12.c: Likewise.
91412         * elf/tst-tls14.c: Likewise.
91413         * elf/tst-tlsmod11.c: Likewise.
91414         * elf/tst-tlsmod12.c: Likewise.
91415         * elf/tst-tlsmod13.c: Likewise.
91416         * elf/tst-tlsmod13a.c: Likewise.
91417         * elf/tst-tlsmod14a.c: Likewise.
91418         * elf/tst-tlsmod15b.c: Likewise.
91419         * elf/tst-tlsmod16a.c: Likewise.
91420         * elf/tst-tlsmod16b.c: Likewise.
91421         * elf/tst-tlsmod7.c: Likewise.
91422         * elf/tst-tlsmod8.c: Likewise.
91423         * elf/tst-tlsmod9.c: Likewise.
91424         * gmon/gmon.c: Likewise.
91425         * grp/fgetgrent_r.c: Likewise.
91426         * grp/putgrent.c: Likewise.
91427         * hurd/fopenport.c: Likewise.
91428         * include/libc-symbols.h: Likewise.
91429         * include/tls.h: Likewise.
91430         * intl/gettextP.h: Likewise.
91431         * intl/loadinfo.h: Likewise.
91432         * locale/global-locale.c: Likewise.
91433         * locale/localeinfo.h: Likewise.
91434         * mach/devstream.c: Likewise.
91435         * malloc/arena.c: Likewise.
91436         * malloc/set-freeres.c: Likewise.
91437         * misc/err.c: Likewise.
91438         * misc/getttyent.c: Likewise.
91439         * misc/mntent_r.c: Likewise.
91440         * posix/getopt.c: Likewise.
91441         * posix/wordexp.c: Likewise.
91442         * pwd/fgetpwent_r.c: Likewise.
91443         * resolv/Versions: Likewise.
91444         * resolv/res_hconf.c: Likewise.
91445         * shadow/fgetspent_r.c: Likewise.
91446         * shadow/putspent.c: Likewise.
91447         * stdio-common/printf_fphex.c: Likewise.
91448         * stdio-common/tmpfile.c: Likewise.
91449         * stdlib/abort.c: Likewise.
91450         * stdlib/fmtmsg.c: Likewise.
91451         * sunrpc/auth_unix.c: Likewise.
91452         * sunrpc/clnt_perr.c: Likewise.
91453         * sunrpc/clnt_tcp.c: Likewise.
91454         * sunrpc/clnt_udp.c: Likewise.
91455         * sunrpc/clnt_unix.c: Likewise.
91456         * sunrpc/openchild.c: Likewise.
91457         * sunrpc/svc_simple.c: Likewise.
91458         * sunrpc/svc_tcp.c: Likewise.
91459         * sunrpc/svc_udp.c: Likewise.
91460         * sunrpc/svc_unix.c: Likewise.
91461         * sunrpc/xdr.c: Likewise.
91462         * sunrpc/xdr_array.c: Likewise.
91463         * sunrpc/xdr_rec.c: Likewise.
91464         * sunrpc/xdr_ref.c: Likewise.
91465         * sunrpc/xdr_stdio.c: Likewise.
91467 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
91469         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91471 2011-07-03  Andreas Jaeger  <aj@suse.de>
91473         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
91474         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
91475         regenerate with gen-libm-tests.pl.
91477 2010-05-12  Petr Baudis  <pasky@suse.cz>
91479         [BZ #11589]
91480         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
91481         around j0() zero points by switching to j1().
91482         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91483         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91484         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
91485         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91487 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
91489         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
91490         instead of 0.
91491         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
91492         instead of 0.
91493         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
91494         Patch in part by Pavel Roskin <proski@gnu.org>.
91496         [BZ #13138]
91497         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
91498         realloc.
91499         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
91500         Free memory block if necessary.
91502         [BZ #12847]
91503         * libio/genops.c (INTDEF): For string streams the _lock pointer can
91504         be NULL.  Don't lock in this case.
91506 2011-09-09  Roland McGrath  <roland@hack.frob.com>
91508         * elf/elf.h (ELFOSABI_GNU): New macro.
91509         (ELFOSABI_LINUX): Define to that.
91511 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
91513         * string/strncat.c (strncat): Undef the symbol in case it has been
91514         defined in bits/string.h.
91516 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
91518         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
91520         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
91521         link map.
91523 2011-08-17  Andreas Jaeger  <aj@suse.de>
91525         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
91527 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
91528             Ian Lance Taylor  <iant@google.com>
91530         * math/libm-test.inc (lround_test): New testcase.
91531         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
91533 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
91535         * Makefile: Remove support for automatic cvs check-ins.
91536         * Makerules: Likewise.
91537         * config.make.in: Likewise.
91538         * configure.in: Likewise.
91539         * intl/Makefile: Likewise.
91540         * locale/Makefile: Likewise.
91541         * po/Makefile: Likewise.
91542         * posix/Makefile: Likewise.
91543         * sysdeps/gnu/Makefile: Likewise.
91544         * sysdeps/mach/hurd/Makefile: Likewise.
91545         * sysdeps/sparc/sparc32/Makefile: Likewise.
91547         [BZ #13118]
91548         * posix/Makefile (bug-regex32-ENV): Define.
91549         Patch by John Stanley <jpsinthemix@verizon.net>.
91551         * misc/Makefile (headers): Add bits/select2.h.
91552         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
91553         * misc/bits/select2.h: New file.
91554         * include/bits/select2.h: New file.
91555         * debug/Makefile (routines): Add fdelt_chk.
91556         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
91557         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
91558         FD_ISSET.
91559         * debug/fdelt_chk.c: New file.
91561         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
91562         * wcsmbs/test-wmemcmp.c: Likewise.
91563         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
91564         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
91566 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91568         * string/Makefile (strop-tests): Add memcmp.
91569         * string/test-wmemcmp.c: New file.
91570         * string/test-memcmp.c: Add wmemcmp support.
91572 2011-09-08  Roland McGrath  <roland@hack.frob.com>
91574         [BZ #13153]
91575         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
91576         2011-07-19 change.
91578         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
91579         garbage value in a __mach_port_mod_refs call in the cases of the
91580         task-self and thread-self ports.
91582 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91584         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
91586 2011-09-08  Andreas Schwab  <schwab@redhat.com>
91588         * elf/dl-load.c (lose): Check for non-null L.
91590 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
91592         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
91594         * elf/dl-libc.c (dlerror_run): Pass back error code from
91595         dl_catch_error.
91597         [BZ #13123]
91598         * elf/dl-load.c (lose): Free l_origin if it is valid.
91600         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
91601         names.
91602         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
91603         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
91604         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
91605         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
91606         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
91607         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
91609 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
91611         * sysdeps/powerpc/fpu/e_hypot.c: New file.
91612         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
91613         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
91614         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
91615         * sysdeps/powerpc/fpu/k_cosf.c: New file.
91616         * sysdeps/powerpc/fpu/k_sinf.c: New file.
91617         * sysdeps/powerpc/fpu/s_cosf.c: New file.
91618         * sysdeps/powerpc/fpu/s_sinf.c: New file.
91619         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
91620         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
91622 2011-08-15  Alan Modra  <amodra@gmail.com>
91624         [BZ #13092]
91625         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
91626         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
91627         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
91628         ppc_mcount to static-only-routines.
91629         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
91630         __mcount_internal.
91631         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
91632         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
91634 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
91636         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
91637         for finite and infinity parameters.
91639 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
91641         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
91642         and add nop instructions for throughput optimization.
91643         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
91645 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
91647         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
91648         aligned copy for power7 with vector-scalar instructions.
91649         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
91651 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
91653         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
91654         AVX check.
91656 2011-09-07  Andreas Schwab  <schwab@redhat.com>
91658         [BZ #13144]
91659         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
91660         last change.
91662 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
91664         * sysdeps/unix/sysv/linux/x86_64/init-first.c
91665         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
91666         syscall wrapper around clock_gettime in __vdso_clock_gettime.
91667         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
91668         clock_gettime.
91670 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
91672         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
91673         Forgot to demangle the pointer.
91675         * sysdeps/i386/sysdep.h: Define atom_text_section.
91676         * sysdeps/x86_64/sysdep.h: Likewise.
91677         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
91678         section with atom_text_section.
91679         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
91680         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
91681         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
91682         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
91683         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
91685         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
91686         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
91687         already be defined.  Change to take two parameters and don't assign
91688         result to variable.  Adjust all users.
91689         Define INTERNAL_GETTIME if not already defined.
91690         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
91691         call.
91692         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
91693         HAVE_CLOCK_GETTIME_VSYSCALL.
91694         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
91696         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
91697         gettimeofday vsyscall, just use time.
91699 2011-09-06  Andreas Schwab  <schwab@redhat.com>
91701         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
91702         <errno.h>.
91704 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
91706         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
91707         syscall on x86-64.
91708         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
91709         syscall.
91710         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
91711         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
91712         syscall if possible.
91714 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
91716         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
91717         e_ident.  Don't pass to find_mapsXX.
91718         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
91720 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91722         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91723         strchr-sse2-no-bsf strrchr-sse2-no-bsf
91724         * sysdeps/x86_64/multiarch/strchr.S: Update.
91725         Check bit_slow_BSF bit.
91726         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
91727         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
91728         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
91730 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
91732         [BZ #13134]
91733         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
91734         before glibc 2.15.
91735         (tryshell): Define.
91736         (__spawni): Change last parameter to be flag.  Test
91737         SPAWN_XFLAGS_USE_PATH flag to use path or not.
91738         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
91739         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
91740         * posix/spawni.c: Likewise.
91741         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
91742         * posix/spawnp.c: Likewise.  Change normal version to use
91743         SPAWN_XFLAGS_USE_PATH.
91744         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
91745         SPAWN_XFLAGS_TRY_SHELL.
91747         [BZ #13150]
91748         * posix/glob.h: Remove gcc 1.x support.
91750         [BZ #13068]
91751         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
91753 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91755         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91756         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
91757         strrchr-sse2-bsf
91758         * sysdeps/i386/i686/multiarch/strchr.S: New file.
91759         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
91760         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
91761         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
91762         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
91763         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
91765 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91767         * sysdeps/x86_64/wcscmp.S: New file.
91769         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
91770         wcscmp-c wcscmp-sse2
91771         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
91772         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
91773         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
91774         * wcsmbs/wcscmp.c: Allow renaming.
91776 2011-09-05  David S. Miller  <davem@davemloft.net>
91778         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
91779         stack slot, rather than the struct return pointer slot.
91780         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
91781         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
91782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
91783         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
91785 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
91787         * po/ja.po: Update from translation team.
91789         [BZ #13144]
91790         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
91791         kernel in 64-bit binaries.
91793 2011-09-01  David S. Miller  <davem@davemloft.net>
91795         * elf/elf.h (HWCAP_SPARC_*): Move to..
91796         * sysdeps/sparc/sysdep.h: this new file and add new values.
91797         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
91798         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
91799         _DL_HWCAP_COUNT to 24.
91800         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
91801         entries.
91802         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
91803         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
91804         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
91805         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
91806         instead of magic constants.
91807         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
91809 2011-08-31  David S. Miller  <davem@davemloft.net>
91811         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
91812         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
91813         Reimplement to do errno handling inline.
91814         (SYSCALL_ERROR_HANDLER): New macro.
91815         (__SYSCALL_STRING): Do not do errno handling in asm.
91816         (__CLONE_SYSCALL_STRING): Delete.
91817         (__INTERNAL_SYSCALL_STRING): Delete.
91818         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
91819         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
91820         (PSEUDO): Reimplement to do errno handling inline.
91821         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
91822         (SYSCALL_ERROR_HANDLER): New macro.
91823         (__SYSCALL_STRING): Do not do errno handling in asm.
91824         (__CLONE_SYSCALL_STRING): Delete.
91825         (__INTERNAL_SYSCALL_STRING): Delete.
91826         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
91827         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
91828         i386.
91829         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
91830         (inline_syscall*): Add 'err' argument.
91831         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
91832         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
91833         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
91834         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
91836         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
91837         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
91839 2011-08-30  Andreas Schwab  <schwab@redhat.com>
91841         * elf/rtld.c (dl_main): Relocate objects in dependency order.
91843 2011-08-29  Jiri Olsa <jolsa@redhat.com>
91845         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
91846         directive.
91848 2011-08-24  David S. Miller  <davem@davemloft.net>
91850         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
91852 2011-08-24  Andreas Schwab  <schwab@redhat.com>
91854         * elf/Makefile: Add rules to build and run unload8 test.
91855         * elf/unload8.c: New file.
91856         * elf/unload8mod1.c: New file.
91857         * elf/unload8mod1x.c: New file.
91858         * elf/unload8mod2.c: New file.
91859         * elf/unload8mod3.c: New file.
91861         * elf/dl-close.c (_dl_close_worker): Reset private search list if
91862         it wasn't used.
91864 2011-08-23  David S. Miller  <davem@davemloft.net>
91866         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
91867         subtract stack bias.
91868         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
91869         %sp not %fp in calculations.
91870         (_JMPBUF_UNWINDS_ADJ): Likewise.
91872         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
91873         (aio_suspend): Call it to force an exception region around the
91874         AIO_MISC_WAIT() invocation.
91876 2011-08-23  Andreas Schwab  <schwab@redhat.com>
91878         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
91879         backslash.
91881 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
91883         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
91884         protection macro.
91885         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
91886         and <dl-machine.h>.
91887         (Elf64_FuncDesc): Remove.
91889 2011-08-22  David S. Miller  <davem@davemloft.net>
91891         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
91892         sigaltstack check, add missing cfi directives.
91893         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
91894         missing cfi directives, and sigaltstack handling.
91896 2011-08-16  Andreas Schwab  <schwab@redhat.com>
91898         [BZ #11724]
91899         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
91900         object is seen twice.
91901         * elf/dl-fini.c (_dl_sort_fini): Likewise.
91903         * elf/Makefile (distribute): Add tst-initorder2.c.
91904         (tests): Add tst-initorder2.
91905         (modules-names): Add tst-initorder2a tst-initorder2b
91906         tst-initorder2c tst-initorder2d.  Add rules to build them.
91907         ($(objpfx)tst-initorder2.out): New rule.
91908         * elf/tst-initorder2.c: New file.
91909         * elf/tst-initorder2.exp: New file.
91911 2011-08-22  Andreas Schwab  <schwab@redhat.com>
91913         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
91915         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
91916         dependencies back to end of function.
91918         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
91919         $(elfobjdir)/ld.so.
91921 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
91923         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
91924         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
91925         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
91926         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
91927         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
91928         of __vdso_gettimeofday.
91929         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
91930         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
91931         attribute_hidden.
91932         (_libc_vdso_platform_setup): Remove initialization of
91933         __vdso_gettimeofday and __vdso_time.
91935 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
91937         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
91938         and fgetc_unlocked.
91939         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
91940         getc_unlocked.
91942         * elf/dl-open.c (add_to_global): Report additions to the global scope
91943         for LD_DEBUG=scopes.
91944         (dl_open_worker): Also print scope of newly loaded dependencies.
91945         (_dl_show_scope): Indicate if there is no scope.
91947         [BZ #13114]
91948         * stdio-common/Makefile (tests): Add bug24.
91949         * stdio-common/bug24.c: New file.
91951 2011-08-19  Andreas Jaeger  <aj@suse.de>
91953         [BZ #13114]
91954         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
91955         non-existant file when using close-on-exec mode.
91957 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
91959         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
91960         the very first instruction.
91962         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
91963         the CFI state in the end.
91964         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
91965         inclusion of dl-trampoline.h.
91966         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
91968 2011-08-19  Andreas Schwab  <schwab@redhat.com>
91970         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
91971         expectations for long double.
91973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
91974         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
91976 2011-08-14  David S. Miller  <davem@davemloft.net>
91978         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
91979         artificual limit depends upon the system page size.
91981 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
91983         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
91984         * resolv/Makefile: Define CFLAGS-libresolv.
91986 2011-08-17  Andreas Schwab  <schwab@redhat.com>
91988         * nss/makedb.c (compute_tables): Make variables used in nested
91989         function static.
91991 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
91993         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
91994         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
91995         if buffer was too small.
91997         * elf/pldd.c (main): Attach to all threads in the process.
91998         Rewrite /proc handling to use *at functions.
92000 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
92002         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92003         specifies first scope to show.
92004         (dl_open_worker): Update callers.  Move printing scope of new
92005         object to before the relocation.
92006         * elf/rtld.c (dl_main): Update _dl_show_scope call.
92007         * sysdeps/generic/ldsodefs.h: Update declaration.
92009         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92010         string for the scope number.
92012 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
92014         * nscd/servicescache.c (cache_addserv): Make sure written is always
92015         initialized.
92017 2011-08-14  Roland McGrath  <roland@hack.frob.com>
92019         * sysdeps/i386/i486/bits/atomic.h
92020         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92021         statement expression, so as to suppress "set but not used" warning.
92022         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92024         * string/strncat.c (STRNCAT): Use prototype definition.
92026         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92027         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92028         -Iprograms here.
92029         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92030         (localedef-modules): Add localedef.
92031         (locale-modules): Add locale.
92033         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92034         * elf/rtld.c (dl_main): Invert order of assignment in last change,
92035         to avoid a warning.
92037 2011-08-14  David S. Miller  <davem@davemloft.net>
92039         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92040         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92042 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
92044         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92045         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92046         * elf/rtld.c (dl_main): Set l_name of vDSO.
92047         Call _dl_show_scope when DL_DEBUG_SCOPES.
92048         (process_dl_debug): Recognize scopes flag and also set it for all.
92049         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92050         Declare _dl_show_scope.
92052         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92053         (do_dlopen): Pass caller_dlopen to dl_open.
92054         (__libc_dlopen_mode): Initialize caller_dlopen.
92056         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92057         of libc.  Make tolower call locale-independent.  Optimize a bit by
92058         using isdigit instead of isalnum.
92059         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92061 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
92063         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92064         was a dependency or dynamically loaded.
92066 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
92068         * intl/l10nflist.c: Allow architecture-specific pop function.
92069         * sysdeps/x86_64/l10nflist.c: New file.
92071         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92072         classification.
92074 2011-08-10  Andreas Schwab  <schwab@redhat.com>
92076         * include/dirent.h: Add libc_hidden_proto for scandirat and
92077         scandirat64.  Don't declare __scandirat64.
92078         * dirent/scandirat.c: Add libc_hidden_def.
92079         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92080         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92082 2011-08-10  David S. Miller  <davem@davemloft.net>
92084         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92085         enum.
92086         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92087         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92088         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92090 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
92092         * Versions.def [libc]: Add GLIBC_2.15.
92093         * dirent/Makefile (routines): Add scandirat and scandirat64.
92094         * dirent/Versions [libc]: Export scandirat and scandirat64 for
92095         GLIBC_2.15.
92096         * dirent/dirent.h: Declare scandirat and scandirat64.
92097         * dirent/scandirat.c: New file.
92098         * dirent/scandirat64.c: New file.
92099         * sysdeps/wordsize-64/scandirat.c: New file.
92100         * sysdeps/wordsize-64/scandirat64.c: New file.
92101         * dirent/opendir.c: Define opendirat.
92102         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
92103         using scandirat.
92104         * dirent/scandir64.c: Adjust for scandir.c change.
92105         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
92106         __scandirat64, and __scandir_cancel_handler.
92107         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
92108         additional parameter and use openat instead of open (outside of ld.so).
92109         Add new __opendir as wrapper around __opendirat.
92110         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
92111         here without requiring old scandirat implementation.
92113 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
92115         * dirent/scandir.c (cancel_handler): Renamed to
92116         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
92117         defined.  Adjust users.
92118         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
92119         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92121 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
92123         * string/test-string.h (IMPL): Use __STRING to expand name and then
92124         stringify it.
92126         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
92127         of cleanups.
92129 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92131         * string/Makefile: Update.
92132         (strop-tests): Append strncat.
92133         * string/test-wcscmp.c: New file.
92134         New comprehensive test for wcscmp.
92135         * string/test-strcmp.c: Update.
92136         (WIDE): New define.
92138 2011-07-22  Andreas Schwab  <schwab@redhat.com>
92140         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
92141         line.
92143 2011-07-26  Andreas Schwab  <schwab@redhat.com>
92145         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92146         encoding to ACE if AI_IDN.
92148 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
92150         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
92151         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92153 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92155         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
92156         Fix overflow bug in strncat.
92157         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92159         * string/test-strncat.c: Update.
92160         Add new tests for checking overflow bugs.
92162 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92164         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92165         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
92166         * sysdeps/i386/i686/multiarch/strcat.S: New file.
92167         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
92168         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
92169         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
92170         * sysdeps/i386/i686/multiarch/strncat.S: New file.
92171         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
92172         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
92174         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
92175         (USE_AS_STRCAT): Define.
92176         Add strcat and strncat support.
92177         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92179 2011-07-25  Andreas Schwab  <schwab@redhat.com>
92181         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
92182         __n bigger than INT_MAX+1.
92183         (__strncmp_g): Likewise.
92185 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
92187         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
92188         * libio/stido.h: Likewise.
92190         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
92191         (AF_NFC): Define.
92192         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
92193         (AF_NFC): Define.
92195         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
92196         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92197         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92198         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
92199         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92201         [BZ #13021]
92202         * scripts/test-installation.pl: Don't expect libnss_test1 to be
92203         installed.
92205         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
92206         typo.
92207         (_dl_x86_64_save_sse): Likewise.
92209 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
92211         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
92212         OSXSAVE.
92213         (_dl_x86_64_save_sse): Likewise.
92215         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
92217         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
92219 2011-07-21  Andreas Schwab  <schwab@redhat.com>
92221         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
92222         change.
92223         (_dl_x86_64_save_sse): Use correct AVX check.
92225 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92227         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
92228         bug in strncpy/strncat.
92229         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
92231 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
92233         * string/tester.c (test_strcat): Add tests for different alignments
92234         of source and destination.
92235         (test_strncat): Likewise.
92237 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
92239         [BZ #12852]
92240         * posix/glob.c (glob): Check passed in values before using them in
92241         expressions to avoid some overflows.
92242         (glob_in_dir): Likewise.
92244         [BZ #13007]
92245         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
92246         check for AVX enablement so that we don't crash with old kernels and
92247         new hardware.
92248         * elf/tst-audit4.c: Add same checks here.
92249         * elf/tst-audit6.c: Likewise.
92251         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
92253 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
92255         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
92257 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
92259         * po/cs.po: Update from translation team.
92260         * po/bg.po: Likewise.
92262 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
92264         * misc/sys/cdefs.h: Add support for const attribute.
92265         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
92266         to gnu_dev_{major,minor,makedev} functions.
92268 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
92270         * intl/dcigettext.c (get_output_charset): Add missing bracket.
92272 2011-07-20  Andreas Schwab  <schwab@redhat.com>
92274         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
92275         strlen results.
92277 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92279         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
92280         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
92281         register in order to avoid conflicts with the soft frame pointer
92282         being held in r11 when necessary.
92283         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
92284         (INTERNAL_VSYSCALL_NCS): Likewise.
92286 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
92288         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
92289         * elf/dl-fini.c (_dl_fini): Adjust caller.
92290         * elf/dl-close.c (_dl_close_worker): Likewise.
92291         * sysdeps/generic/ldsodefs.h: Adjust declaration.
92293 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
92295         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
92296         "aux_cache->nlibs < 0".
92298         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
92299         in the reload-count case.
92301 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92303         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92304         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
92305         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
92306         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
92307         * sysdeps/x86_64/multiarch/strcat.S: New file.
92308         * sysdeps/x86_64/multiarch/strncat.S: New file.
92309         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
92310         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
92311         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
92312         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
92313         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
92314         (USE_AS_STRCAT): Define.
92315         Add strcat and strncat support.
92316         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92317         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
92318         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
92319         * string/strncat.c: Update.
92320         (USE_AS_STRNCAT): Define.
92321         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92322         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
92323         and i7.
92324         * sysdeps/x86_64/multiarch/init-arch.h
92325         (bit_Prefer_PMINUB_for_stringop): New.
92326         (index_Prefer_PMINUB_for_stringop): Likewise.
92327         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
92328         bit_Prefer_PMINUB_for_stringop.
92330 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
92332         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
92333         buffer64.
92334         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
92335         of casting of buffer.
92336         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
92337         buffer32 and buffer64.
92338         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
92339         writes instead of casting of buffer.
92340         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
92341         buffer32.
92342         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
92343         casting of buffer.
92345 2011-07-19  Andreas Schwab  <schwab@redhat.com>
92347         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
92349 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
92351         * nscd/nscd.c (termination_handler): Don't do anything for a database
92352         if it has not yet been initialized.
92354 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
92356         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92358 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
92360         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92362 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
92364         * po/nl.po: Update from translation team.
92365         * po/sv.po: Likewise.
92367 2011-07-16  Roland McGrath  <roland@hack.frob.com>
92369         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
92370         now disallowed by GCC.
92372         * configure.in (use-default-link): Default to yes if a test -shared
92373         link meets our qualifications.
92374         * configure: Regenerated.
92376         * config.make.in (output-format): New variable.
92377         * configure.in: Check for ld --print-output-format support.
92378         * configure: Regenerated.
92379         * Makerules ($(common-objpfx)format.lds)
92380         [$(output-format) != unknown]: Just use $(output-format),
92381         instead of the linker-script munging.
92383 2011-07-14  Roland McGrath  <roland@hack.frob.com>
92385         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
92386         of $(common-objpfx)shlib.lds.
92387         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
92389         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
92390         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
92392         * configure.in (-z relro check): Adjust test code to add a large
92393         writable data section after it.
92394         * configure: Regenerated.
92396 2011-07-11  Roland McGrath  <roland@hack.frob.com>
92398         * configure.in (-z relro check): Fix test code to make the variable
92399         truly const.
92400         * configure: Regenerated.
92402 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
92404         * nscd/nscd.h (struct traced_file): Define.
92405         (struct database_dyn): Remove inotify_descr, reset_res, and filename
92406         elements.  Add traced_files.
92407         (inotify_fd): Declare.
92408         (register_traced_file): Declare.
92409         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
92410         (inotify_fd): Export.
92411         (resolv_conf_descr): Remove.
92412         (nscd_init): Move inotify descriptor creation to main.
92413         Don't register files for notification here.
92414         (register_traced_file): New function.
92415         (invalidate_cache): Don't use reset_res to determine whether to call
92416         res_init, go through the list of registered files.
92417         (main_loop_poll): The inotify descriptors are now stored in the
92418         structures for the traced files.
92419         (main_loop_epoll): Likewise.
92420         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
92421         to __nss_disable_nscd.
92422         * nscd/cache.c (prune_cache): There is no single inotify descriptor
92423         for a database anymore.  Check the records for all the registered
92424         files instead.
92425         * nss/Makefile (libnss_files-routines): Add files-init.
92426         (libnss_db-routines): Add db-init.
92427         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
92428         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
92429         * nss/nss_db/db-init.c: New file.
92430         * nss/nss_files/files-init.c: New file.
92431         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
92432         __nss_lookup_function.
92433         (__nss_lookup_function): Call nss_load_library.
92434         (nss_load_all_libraries): New function.
92435         (__nss_disable_nscd): Take parameter with callback function for files
92436         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
92437         used for the cached services.
92438         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
92439         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
92440         options for features to all the files in nscd.
92442         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
92444 2011-07-10  Roland McGrath  <roland@hack.frob.com>
92446         * csu/elf-init.c (__libc_csu_init): Comment typo.
92448 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
92450         * po/pl.po: Update from translation team.
92451         * po/ja.po: Likewise.
92452         * po/ru.po: Likewise.
92453         * po/ko.po: Likewise.
92454         * po/fr.po: Likewise.
92456 2011-07-09  Roland McGrath  <roland@hack.frob.com>
92458         * configure.in (.ctors/.dtors header and trailer check):
92459         Use an empirical test on a built program.
92460         * configure: Regenerated.
92462         * configure.in (-z relro check): Use an empirical test on a built DSO.
92463         Detect, but do not require, on ia64.
92464         * configure: Regenerated.
92466         * configure.in (READELF): Find it with AC_CHECK_TOOL.
92467         Update tests that use readelf to use $READELF instead.
92468         * configure: Regenerated.
92470 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
92472         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
92473         if the result is not used.
92475 2011-07-05  Andreas Jaeger  <aj@suse.de>
92477         [BZ #9696]
92478         * stdlib/tst-strtod.c: Add testcase.
92480 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
92482         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
92483         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
92484         The latter has a higher limit.  Take additional parameter to pass to
92485         the new function.
92486         (__pathconf): Pass file to __statfs_link_max.
92487         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
92488         __statfs_link_max.
92489         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
92490         __statfs_link_max.
92492         [BZ #12868]
92493         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
92494         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92495         Handle Lustre.
92496         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
92497         (__statfs_filesize_max): Likewise.
92498         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
92500 2011-07-05  Andreas Jaeger  <aj@suse.de>
92502         * resolv/res_comp.c (dn_skipname): Remove unused variable.
92504 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
92506         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
92507         `status' variable.
92508         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
92509         Likewise.
92511 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
92513         * Makefile (strop-tests): Add strncat.
92514         * string/test-strncat.c: New file.
92516 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
92518         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
92520 2011-06-21  Andreas Jaeger  <aj@suse.de>
92522         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
92523         Copy rule from iconvdata/Makefile.
92525 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
92527         [BZ #12922]
92528         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
92529         but no long options are defined, just return 'W'.
92531 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
92533         [BZ #9696]
92534         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
92536 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
92538         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
92539         netgroups to read.
92540         (innetgr): Likewise.
92542 2011-07-05  Roland McGrath  <roland@hack.frob.com>
92544         * config.make.in (install_root): Default to $(DESTDIR).
92546 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
92548         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
92550 2011-07-02  Roland McGrath  <roland@hack.frob.com>
92552         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
92554         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
92555         containing directory rather than embedding absolute directory names.
92557         * scripts/check-local-headers.sh: Rewritten using awk.
92558         Match by word, not by line.  Print error messages for matches.
92559         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
92561         * Makerules [shlib-lds-flags empty]:
92562         ($(common-objpfx)libc_pic.opts): New target.
92563         ($(common-objpfx)libc_pic.os.clean): New target.
92564         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
92566         * config.make.in (OBJCOPY): New variable.
92567         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
92568         * configure: Regenerated.
92570         * config.make.in (use-default-link): New variable.
92571         * configure.in (use_default_link): Grok --with-default-link to set it.
92572         * configure: Regenerated.
92573         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
92574         (shlib-lds, shlib-lds-flags): Define to empty.
92576         * Makerules (shlib-lds): New variable.
92577         (shlib-lds-flags): New variable.
92578         (build-shlib, build-moduile, build-module-asneeded): Use it.
92579         ($(common-objpfx)libc.so): Use $(shlib-lds).
92580         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
92581         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
92583         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
92584         DT_FLAGS/DT_FLAGS_1 with zero flags.
92586         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
92587         linker script munging.
92589 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
92591         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
92592         as 128-bit value.
92593         * crypt/sha512.c (sha512_process_block): Perform total addition using
92594         128-bit if possible.
92595         (__sha512_finish_ctx): Likewise.
92596         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
92597         as 64-bit value.
92598         * crypt/sha256.c (SWAP64): Define.
92599         (sha256_process_block): Perform total addition using 64-bit if
92600         possible.
92601         (__sha256_finish_ctx): Likewise.
92603 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
92605         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
92606         * nscd/initgrcache.c (addinitgroupsX): Likewise.
92607         * nscd/hstcache.c (cache_addhst): Likewise.
92608         * nscd/grpcache.c (cache_addgr): Likewise.
92609         * nscd/aicache.c (addhstaiX): Likewise.
92610         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
92612 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
92614         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
92615         * nscd/initgrcache.c (addinitgroupsX): Likewise.
92616         * nscd/hstcache.c (cache_addhst): Likewise.
92617         * nscd/grpcache.c (cache_addgr): Likewise.
92618         * nscd/aicache.c (addhstaiX): Likewise.
92620 2011-07-01  Andreas Schwab  <schwab@redhat.com>
92622         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
92623         domain only when needed.
92625 2011-06-30  Andreas Schwab  <schwab@redhat.com>
92627         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
92628         is always restored.
92630 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
92632         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
92633         are re-adding the entry.
92634         * nscd/servicescache.c (cache_addserv): Likewise.
92636 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
92638         * sysdeps/generic/dl-irel.h: fix protection against multiple
92639         inclusions.
92640         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
92642 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
92644         [BZ #12935]
92645         * malloc/memusage.sh: Fix quoting in message.
92646         * debug/xtrace.sh: Likewise.
92648         * configure.in: Remove support for --experimental-malloc option, make
92649         it the default.
92650         * config.make.in: Likewise.
92651         * malloc/Makefile: Likewise.
92653 2011-06-27  Andreas Schwab  <schwab@redhat.com>
92655         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
92656         two-byte characters.
92658 2011-06-27  Roland McGrath  <roland@hack.frob.com>
92660         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
92661         AC_CACHE_CHECK invocation.
92662         * configure: Regenerated.
92664         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
92666 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
92668         [BZ #12350]
92669         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
92670         bit from old_res_options.
92672         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
92674         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
92675         value type for setfct.
92677 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
92679         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
92680         __gettimeofday instead of gettimeofday.
92682 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
92684         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
92686 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
92688         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
92690         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
92691         info.
92693 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
92695         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92696         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
92697         strcpy-sse2-unaligned strncpy-sse2-unaligned
92698         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
92699         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
92700         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
92701         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
92702         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
92703         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
92704         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
92705         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
92706         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
92707         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
92708         (STRCPY): Support SSE2 and SSSE3 versions.
92710 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
92712         [BZ #12874]
92713         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
92714         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
92715         kernels which artificially limit size of requests.
92717 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
92719         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92720         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
92721         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
92722         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
92723         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
92724         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
92725         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
92726         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
92727         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
92728         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
92729         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
92730         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
92731         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
92732         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
92733         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
92734         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92735         Enable unaligned load optimization for Intel Core i3, i5 and i7
92736         processors.
92737         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
92738         Define.
92739         (index_Fast_Unaligned_Load): Define.
92740         (HAS_FAST_UNALIGNED_LOAD): Define.
92742 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
92744         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
92746 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
92748         [BZ #12907]
92749         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
92750         until it is clear that the information is realy needed.
92751         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
92753 2011-06-22  Andreas Schwab  <schwab@redhat.com>
92755         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
92757 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
92759         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
92760         /sys/devices/system/cpu/online if it is usable.
92762         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
92763         reading the information from the /proc filesystem to once a second.
92765 2011-06-21  Andreas Jaeger  <aj@suse.de>
92767         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
92768         NULL after inclusion of kernel headers.
92770 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
92772         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
92773         calls to internal_setent.
92775         [BZ #12885]
92776         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
92777         addresses using gethostbyname4_r ignore IPv4 addresses.
92779         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
92780         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
92782         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
92784 2011-06-20  David S. Miller  <davem@davemloft.net>
92786         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
92787         inclusions.
92788         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
92790         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
92791         (elf_irel): Use it.
92792         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
92793         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
92794         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
92795         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
92796         * sysdeps/x86_64/dl-irel.h: Likewise.
92798         * elf/dl-runtime.c: Use elf_ifunc_invoke.
92799         * elf/dl-sym.c: Likewise.
92801 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
92803         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
92804         need to dereference resplen2.
92806 2011-06-14  Andreas Schwab  <schwab@redhat.com>
92808         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
92810 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
92812         * Makeconfig: Define vardbdir and inst_vardbdir.
92813         * nss/Makefile: Add rules to install db-Makefile.
92815         * nss/nss_db/db-XXX.c: Cleanup.
92817         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
92818         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
92819         GLIBC_PRIVATE.
92820         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
92821         * nss/makedb.c: Implement -g option to specify that value strings
92822         are generated and should not be added to table iterated over for
92823         get*ent calls.
92824         * nss/nss_db/db-initgroups.c: New file.
92826         * nss/getent.c: Add support for initgroups lookups through getgrouplist
92827         interface.
92829         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
92830         (internal_getgrouplist): Adjust to name change.
92831         Update use_initgroups_entry if this is not the first call.
92832         * nss/databases.def: Add initgroups entry.
92834         * nss/makedb.c (compute_tables): Check result of multiple hash table
92835         sizes to minimize maximum chain length.
92837 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
92839         * Versions.def: Add entry for libnss_db.
92840         * shlib-versions: Likewise.
92841         * nss/Makefile: Add rules to build libnss_db.
92842         * nss/Versions: Add libnss_db information.  Organize libnss_files
92843         entries better.
92844         * nss/db-Makefile: Add gshadow support.  Change rules for the new
92845         makedb progra.  Some minor improvements to generate smaller files.
92846         * nss/nss_db/nss_db.h: Move NSS database header data structures to
92847         here from...
92848         * nss/makedb.c: ...here.
92849         Improve database format to be smaller and require less memory at
92850         runtime.
92851         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
92852         db anymore.
92853         * nss/nss_db/db-netgrp.c: Likewise.
92854         * nss/nss_db/db-open.c: Likewise.
92855         * nss/nss_files/flies-XXX.x: Adjust comments.
92856         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
92857         * nss/nss_files/files-grp.c: Likewise.
92858         * nss/nss_files/files-hosts.c: Likewise.
92859         * nss/nss_files/files-network.c: Likewise.
92860         * nss/nss_files/files-proto.c: Likewise.
92861         * nss/nss_files/files-pwd.c: Likewise.
92862         * nss/nss_files/files-rpc.c: Likewise.
92863         * nss/nss_files/files-service.c: Likewise.
92864         * nss/nss_files/files-sgrp.c: Likewise.
92865         * nss/nss_files/files-spwd.c: Likewise.
92866         * nss/nss_db/db-alias.c: Removed.
92867         * nss/nss_db/dummy-db.h: Removed.
92869 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
92871         * nss/makedb.c: Rewritten to not use database library.
92872         * nss/Makefile: Update to build new makedb program.
92874 2011-06-14  Andreas Jaeger  <aj@suse.de>
92876         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
92877         memset declaration.
92879 2011-06-10  Andreas Schwab  <schwab@redhat.com>
92881         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
92882         tmpbuf.
92884 2011-06-10  Roland McGrath  <roland@hack.frob.com>
92886         * Makerules (shlib.lds): Fail if the linker script comes out empty.
92887         * elf/Makefile ($(objpfx)ld.so): Likewise.
92889         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
92890         Don't list ld.so twice in dependencies.
92892         * posix/bug-regex31.c: Include <stdlib.h>.
92894         * nscd/hstcache.c (cache_addhst): Remove unused variable.
92896         * nis/nss_compat/compat-spwd.c
92897         (getspent_next_nss_netgr): Remove unused variable.
92898         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
92900         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
92901         nonmembers" output to use the right array.
92903         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
92905         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
92907         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
92908         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
92909         * catgets/gencat.c (read_input_file): Likewise.
92910         * locale/programs/locarchive.c (enlarge_archive): Likewise.
92912         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
92913         variable definition inside #if's controlling its use.
92915         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
92917         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
92919         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
92921         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
92922         unreachable code.
92924         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
92926         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
92927         * configure: Regenerated.
92929         * Makerules: Revert last change.
92930         * elf/Makefile: Likewise.
92932 2011-06-09  Roland McGrath  <roland@hack.frob.com>
92934         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
92935         * elf/Makefile ($(objpfx)librtld.os): Likewise.
92936         (reloc-link): Likewise.
92938 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
92940         * elf/Makefile: Add rules to build pldd.
92941         * elf/pldd.c: New file.
92942         * elf/pldd-xx.c: New file.
92944 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
92946         * version.h: Update for 2.15 development version.
92948 2011-06-07  David S. Miller  <davem@davemloft.net>
92950         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
92951         ifuncs.
92952         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
92953         elf_machine_lazy_rel): Likewise.
92954         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
92955         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
92956         elf_machine_lazy_rel): Likewise.
92957         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
92958         dl_hwcap via passed in argument.
92959         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
92960         Likewise.
92962 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92964         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
92966 2011-06-06  Roland McGrath  <roland@hack.frob.com>
92968         [BZ #12849]
92969         * manual/fdl-1.1.texi: New file, verbatim from:
92970         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
92971         * manual/lgpl-2.1.texi: New file, verbatim from:
92972         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
92973         * manual/Makefile (licenses): New variable, list those new file names.
92974         (texis): Use it.
92975         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
92977         * manual/fdl.texi: File removed.
92978         * manual/lesser.texi: File removed.
92979         * manual/libc.texinfo (Copying, Documentation License):
92980         Use new @include file names, put @appendix directive before @include.
92982 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
92984         [BZ #12841]
92985         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
92986         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
92987         (mq_open): Add __NTH.
92989 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
92991         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92992         Assume Intel Core i3/i5/i7 processor if AVX is available.
92994 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
92996         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
92997         typo.
92999 2011-05-31  Andreas Schwab  <schwab@redhat.com>
93001         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93002         memory.  Use alloca_account.  Fix memory leak when retrying.
93004 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93006         * version.h (RELEASE): Bump for 2.14 release.
93007         * include/features.h (__GLIBC_MINOR__): Bump to 14.
93009         * config.make.in (RANLIB): Remove entry.
93011 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
93013         * po/Makefile (po-sed-cmd): Add ksh to extensions.
93014         (libc.pot): Work around missing support for .ksh extension in xgettext.
93016         [BZ #12684]
93017         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93018         if both request failed.
93019         (send_dg): In case of server errors clear resplen or *resplen2.
93021         [BZ #12454]
93022         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93023         when there are multiple maps.
93024         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93025         (_dl_fini): Remove test here.
93027         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93029 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
93031         [BZ #12350]
93032         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93033         bit from old_res_options.
93034         (gaih_inet): Likewise.
93036         [BZ #11099]
93037         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93038         as signed.
93040         * resolv/res_init.c (res_setoptions): Make the code more compact.
93042         [BZ #11558]
93043         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93044         set RES_USEVC.
93046         [BZ #11634]
93047         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93049         * malloc/malloc.h: Mark malloc hook variables as deprecated.
93051         [BZ #11781]
93052         * malloc/malloc.h: Declare malloc hook variables as volatile.
93054         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93055         in last patch.
93057         [BZ #11799]
93058         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93059         raise in the comment.
93060         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93061         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93062         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93064 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
93066         [BZ #12811]
93067         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93068         grow the buffers more if it already has to be sufficient.
93069         (build_wcs_upper_buffer): Likewise.
93070         * posix/regexec.c (check_matching): Likewise.
93071         (clean_state_log_if_needed): Likewise.
93072         (extend_buffers): Don't enlarge buffers beyond size of the input
93073         buffer.
93074         Patches mostly by Emil Wojak <emil@wojak.eu>.
93075         * posix/bug-regex32.c: New file.
93076         * posix/Makefile (tests): Add bug-regex32.
93078         * locale/findlocale.c (_nl_find_locale): Return right away if
93079         _nl_explode_name failed.
93080         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93082         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93084         * debug/xtrace.sh: Unify messages.
93085         * malloc/memusage.sh: Likewise.
93087         [BZ #12813]
93088         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93089         time symbol from vDSO.  Substitute with vsyscall if not available.
93090         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93091         __vdso_time.
93093         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93094         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93095         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93096         Add sendmmsg and internal_sendmmsg.
93097         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93098         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93099         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
93101         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
93102         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
93103         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
93105 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
93107         [BZ #12813]
93108         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
93109         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
93110         available.
93111         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
93112         __vdso_getcpu.
93114         [BZ #12814]
93115         * iconvdata/Makefile (tests): Add bug-iconv9.
93116         * iconvdata/bug-iconv9.c: New file.
93118 2011-05-27  Andreas Schwab  <schwab@redhat.com>
93120         [BZ #12814]
93121         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
93123 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
93125         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93126         (struct user_regs_struct): Change intcs field back to cs.
93128 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
93130         * po/ja.po: Update from translation team.
93132 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
93134         [BZ #12795]
93135         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
93136         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
93138 2011-05-20  Andreas Schwab  <schwab@redhat.com>
93140         * stdlib/longlong.h: Update from GCC.
93142 2011-05-23  Andreas Schwab  <schwab@redhat.com>
93144         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
93145         parameter name.
93146         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
93147         Add parameter name.
93148         (__sysconf): Pass it down.
93150 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
93152         [BZ #12671]
93153         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
93154         some situations.
93155         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
93156         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
93157         add in in __libc_use_alloca calls.  Adjust callers.
93158         (glob): Use malloc in some situations.
93160         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
93161         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
93162         pltexit.
93164 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
93166         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
93167         and CLOCK_BOOTTIME_ALARM.
93169         [BZ #12782]
93170         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
93171         is returned.
93173         * string/_strerror.c (__strerror_r): Print negative errors as signed
93174         numbers.
93176         [BZ #12777]
93177         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
93178         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
93179         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
93181         * configure.in: Fix typo in redirection and correct removal of test
93182         files in two cases.
93184         [BZ #12788]
93185         * locale/setlocale.c (new_composite_name): Fix test to check for
93186         identical name of all categories.
93188         [BZ #12792]
93189         * libio/filedoalloc.c (local_isatty): New function.
93190         (_IO_file_doallocate): Use local_isatty.
93191         * stdio-common/perror.c (perror): In case a new stream is used
93192         forward the stream error.
93193         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
93194         error flag.
93196 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
93198         [BZ #11884]
93199         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
93200         alloca.
93201         * include/alloca.h (extend_alloca_account): Define.
93203         [BZ #11857]
93204         * posix/regex.h: Fix comments with documentation of user-accessible
93205         fields after compilation and describe correct free'ing of pattern
93206         after re_compile_pattern.
93207         Patch by Reuben Thomas <rrt@sc3d.org>.
93209 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
93211         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
93212         and -mno-altivec to prevent the compiler from using Altivec and/or
93213         VSX instructions when the corresponding registers are not available.
93215 2011-05-19  Andreas Schwab  <schwab@redhat.com>
93217         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
93219 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
93221         * libio/freopen.c (freopen): Use __dup2, not dup2.
93222         * libio/freopen64.c (freopen64): Likewise.
93224 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
93226         [BZ #12775]
93227         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
93228         * math/Makefile (tests): Add test-powl.
93229         (CFLAGS-test-powl.c): Define.
93230         * math/test-powl.c: New file.
93232 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
93234         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
93236 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
93238         [BZ #11837]
93239         * iconvdata/gb18030.c: Update to GB18020-2005.
93241 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
93243         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
93244         RE_SYNTAX_POSIX_AWK): Update to match recent development.
93245         Patch by Aharon Robbins <arnold@skeeve.com>.
93247         [BZ #11892]
93248         * stdlib/putenv.c (putenv): Don't always create copy of the variable
93249         on the stack.
93251         [BZ #11895]
93252         * misc/pselect.c (__pselect): Handle timeout value errors hidden
93253         through underflows.
93255         [BZ #12766]
93256         * misc/error.c (error_at_line): Ensure file_name and old_file_name
93257         point to strings before performing equality test for error_one_per_line
93258         mode.
93260         [BZ #11697]
93261         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
93263         [BZ #11820]
93264         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93265         (struct user_fpregs_struct): Avoid __uint*_t types.
93267         [BZ #6420]
93268         * malloc/mtrace.c (tr_where): Add additional parameter to point to
93269         symbol info.  Use it instead of calling _dl_addr locally.
93270         (lock_and_info): New function.
93271         (tr_freehook): Call lock_and_info and pass symbol info as additional
93272         parameter to tr_where.
93273         (tr_mallochook): Likewise.
93274         (tr_reallochook): Likewise.
93275         (tr_memalignhook): Likewise.
93277         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
93278         used and couldn't be at all thread-safe.
93280 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
93282         * libio/freopen.c (freopen): Don't close old file descriptor
93283         before the new one is opened.  Instead dup the new file descriptor
93284         to the old one after the new stream is created.
93285         * libio/freopen64.c (freopen64): Likewise.
93286         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
93287         * libio/fileops.c (_IO_new_file_close_it): Handle new
93288         _IO_FLAGS2_NOCLOSE flag.
93289         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
93290         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
93291         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
93292         _IO_FLAGS2_NOCLOSE flag.
93293         * include/unistd.h: Add hidden_proto for dup3.
93294         Define __have_dup3.
93295         * io/dup3.c: Define hidden symbol.
93296         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
93298         [BZ #7101]
93299         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
93300         when an incomplete long option is used.
93301         * posix/tst-getopt_long1.c: New file.
93302         * posix/Makefile (tests): Add tst-getopt_long1.
93304         [BZ #10138]
93305         * scripts/config.guess: Update from autoconf-2.68.
93306         * scripts/config.sub: Likewise.
93308         [BZ #10157]
93309         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
93310         tests into ...
93311         (has_cpuclock): ...this.  New function.
93312         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
93313         macro here based on has_cpuclock code.
93315         [BZ #10149]
93316         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93317         First byte (not low byte) is now always NUL.
93318         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
93320         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93321         Use non-cancelable interfaces.
93323         [BZ #9809]
93324         * locale/iso-639.def: Add entry for Sorani.
93326         [BZ #11901]
93327         * include/stdlib.h: Move include protection to the right place.
93328         Define abort_msg_s.  Declare __abort_msg with it.
93329         * stdlib/abort.c (__abort_msg): Adjust type.
93330         * assert/assert.c (__assert_fail_base): New function.  Majority
93331         of code from __assert_fail.  Allocate memory for __abort_msg with
93332         mmap.
93333         (__assert_fail): Now call __assert_fail_base.
93334         * assert/assert-perr.c: Remove bulk of implementation.  Use
93335         __assert_fail_base.
93336         * include/assert.hL Declare __assert_fail_base.
93337         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
93338         mmap.
93339         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
93341 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
93343         [BZ #11952]
93344         [BZ #12453]
93345         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
93346         until all modules are registered in the DTV.
93347         * elf/Makefile: Add rules to build and run tst-tls19.
93348         * elf/tst-tls19.c: New file.
93349         * elf/tst-tls19mod1.c: New file.
93350         * elf/tst-tls19mod2.c: New file.
93351         * elf/tst-tls19mod3.c: New file.
93352         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
93354         [BZ #12083]
93355         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
93356         correctly.
93358         [BZ #12601]
93359         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
93360         two-byte sequence errors.
93361         * iconvdata/Makefile (tests): Add bug-iconv8.
93362         * iconvdata/bug-iconv8.c: New file.
93364         [BZ #12626]
93365         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
93366         buf2 definition.
93368         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
93370         [BZ #12432]
93371         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
93372         (dummy_getcfa): New function.
93373         (init): Get _Unwind_GetCFA address, use dummy if not found.
93374         (backtrace_helper): In recursion check, also check whether CFA changes.
93375         (__backtrace): Completely initialize arg.
93377         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
93378         storing incomplete byte sequence in state object.  Avoid testing for
93379         guaranteed too small input if we know there is enough data available.
93381 2011-05-11  Andreas Schwab  <schwab@redhat.com>
93383         * Makeconfig (+link-pie): Indent.
93384         * Rules (binaries-pie): Define if $(have-fpie) and
93385         $(build-shared).
93386         (binaries-shared): Also filter out $(binaries-pie).
93387         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
93388         * nscd/Makefile (others-pie): Add nscd.
93389         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
93390         ($(objpfx)nscd): Remove command override.
93391         * login/Makefile (others-pie): Add pt_chown.
93392         ($(objpfx)pt_chown): Remove command override.
93393         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
93394         remove command overrides.
93396 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
93398         * libio/tst_putwc.c: Fix error messages.
93400         [BZ #12724]
93401         * libio/fileops.c (_IO_new_file_close_it): Always flush when
93402         currently writing and seek to current position when not.
93403         * libio/Makefile (tests): Add bug-fclose1.
93404         * libio/bug-fclose1.c: New file.
93406 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
93408         [BZ #12511]
93409         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
93410         don't set DF_1_NODELETE here.
93411         (do_lookup_x): When entering new entry test for copy relocation
93412         and if necessary set DF_1_NODELETE flag.
93413         * elf/tst-unique4.cc: New file.
93414         * elf/tst-unique4.h: New file.
93415         * elf/tst-unique4lib.cc: New file.
93416         * elf/Makefile: Add rules to build and run tst-unique4.
93417         Patch by Piotr Bury <pbury@goahead.com>.
93419 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
93421         [BZ #12052]
93422         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
93424         [BZ #12625]
93425         * misc/mntent_r.c (addmntent): Flush the stream after the output
93427         [BZ #12393]
93428         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
93429         (is_trusted_path_normalize): Skip initial colon.  Append slash
93430         to empty buffer.  Duplicate is_trusted_path code but allow
93431         constructed patch to be prefix.
93432         (is_dst): Allow $ORIGIN followed by /.
93433         (_dl_dst_substitute): Correct clearing of check_for_trusted.
93434         Correct testing of result of is_trusted_path_normalize
93435         (decompose_rpath): Fix warning.
93437 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
93439         [BZ #11257]
93440         * grp/initgroups.c (internal_getgrouplist): When we found the service
93441         list through the initgroups entry in nsswitch.conf do not always
93442         continue on a successful lookup.  Don't always use the
93443         __nss_group_database value if it is set.
93444         * nss/nsswitch.conf (initgroups): Change action for successful db
93445         lookup to continue for compatibility.
93447 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
93449         [BZ #11532]
93450         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
93451         and CP774 modules.
93452         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
93453         and CP774 modules.
93454         * iconvdata/tst-tables.sh: Likewise.
93455         * iconvdata/cp770.c: New file.
93456         * iconvdata/cp771.c: New file.
93457         * iconvdata/cp772.c: New file.
93458         * iconvdata/cp773.c: New file.
93459         * iconvdata/cp774.c: New file.
93460         * iconvdata/testdata/CP770: New file.
93461         * iconvdata/testdata/CP770..UTF8: New file.
93462         * iconvdata/testdata/CP771: New file.
93463         * iconvdata/testdata/CP771..UTF8: New file.
93464         * iconvdata/testdata/CP772: New file.
93465         * iconvdata/testdata/CP772..UTF8: New file.
93466         * iconvdata/testdata/CP773: New file.
93467         * iconvdata/testdata/CP773..UTF8: New file.
93468         * iconvdata/testdata/CP774: New file.
93469         * iconvdata/testdata/CP774..UTF8: New file.
93471         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
93472         END CHARMAP line.
93473         * iconvdata/gen-8bit-gap.sh: Likewise.
93474         * iconvdata/gen-8bit.sh: Likewise.
93476         * locale/iso-639.def: Add ary entry.
93478         [BZ #11258]
93479         * locale/C-translit.h.in: Add U20A1 transliteration.
93481         [BZ #12178]
93482         * locale/iso-639.def: Add wae entry.
93483         Patch by Kevin Bortis <bortis@translate-wae.ch>.
93485         [BZ #12545]
93486         * locale/programs/localedef.c (construct_output_path): Use ssize_t
93487         for n.
93489         [BZ #12711]
93490         * locale/C-translit.h.in: Add entry for U20B9.
93491         Patch by pravin.d.s@gmail.com.
93493 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
93495         [BZ #12713]
93496         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
93497         ENAMETOOLONG use generic getcwd.
93498         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
93499         in rtld.  Use *stat64.
93500         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
93501         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
93502         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
93503         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
93504         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
93505         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
93506         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
93507         __fstatat64 macros.
93508         * include/dirent.h: Add libc_hidden_proto for rewinddir.
93509         * dirent/rewinddir.c: Add libc_hidden_def.
93510         * sysdeps/mach/hurd/rewinddir.c: Likewise.
93511         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
93513         * include/dirent.h (__alloc_dir): Add flags parameter.
93514         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
93515         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
93516         __alloc_dir.
93517         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
93518         from fdopendir if O_CLOEXEC is already set.
93520 2011-03-15  Alan Modra  <amodra@gmail.com>
93522         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
93523         l_tls_firstbyte_offset non-zero.  Save padding offset in
93524         l_tls_firstbyte_offset for later use.
93525         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
93526         freeing static tls block.
93528 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
93530         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
93531         where #ifdef was intended.  The intent is to prevent ARG_MAX from
93532         being defined by the kernel headers.
93534 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
93536         [BZ #12734]
93537         * resolv/resolv.h: Define RES_NOTLDQUERY.
93538         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
93539         no-tld-query and set RES_NOTLDQUERY.
93540         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
93541         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
93542         modern BIND to search name as TLD unless forbidden.
93544 2011-05-07  Petr Baudis  <pasky@suse.cz>
93545             Ulrich Drepper  <drepper@gmail.com>
93547         [BZ #12393]
93548         * elf/dl-load.c (fillin_rpath): Move trusted path check...
93549         (is_trusted_path): ...to here.
93550         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
93551         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
93552         using is_trusted_path_normalize() in setuid scripts.
93554 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
93556         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
93557         __BEGIN/__END_DECLS.
93559 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
93561         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
93562         NSS_STATUS_NOTFOUND if no record was found.
93564 2011-05-05  Andreas Schwab  <schwab@redhat.com>
93566         * sunrpc/Makefile (headers): Add rpc/netdb.h.
93567         (headers-not-in-tirpc): Remove rpc/netdb.h
93568         * resolv/netdb.h: Revert last change.
93570 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
93572         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
93573         circular dependency between libgcc.a and libc.a.
93575 2011-05-05  Andreas Schwab  <schwab@redhat.com>
93577         * resolv/netdb.h: Don't include <rpc/netdb.h>.
93578         * nis/Makefile: Don't install rpcsvc/*.
93579         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
93580         instead of <rpc/types.h>.
93581         (MAXHOSTNAMELEN): Define.
93583 2011-05-03  Andreas Schwab  <schwab@redhat.com>
93585         * elf/ldconfig.c (add_dir): Don't crash on empty path.
93587 2011-04-28  Maciej Babinski  <mbabinski@google.com>
93589         [BZ #12714]
93590         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
93591         gethostbyname4_r when IPv6 results are possible.
93593 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
93595         [BZ #12723]
93596         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
93597         _PC_PIPE_BUF handling.
93599 2011-04-30  Bruno Haible  <bruno@clisp.org>
93601         [BZ #12717]
93602         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
93603         * resolv/netdb.h (getnameinfo): Change type of flags parameter
93604         to 'int'.
93605         * inet/getnameinfo.c (getnameinfo): Likewise.
93607 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
93609         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
93610         to groups setting in database lookup.
93611         * nss/nsswitch.conf: Add initgroups entry.
93613 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
93615         [BZ #12685]
93616         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
93617         mode string.
93618         Patch by Eric Blake <eblake@redhat.com>.
93620 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
93622         * sunrpc/Makefile (need-export-routines): Add svc_run.
93623         (routines): Remove svc_run.
93624         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
93625         * sunrpc/clnt_perr.c (clnt_perrno): Export.
93626         * sunrpc/svc_run.c (svc_run): Likewise.
93627         * sunrpc/svc_udp.c (svcudp_create): Likewise.
93629 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
93631         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
93632         problem in reallocation in last patch.
93634 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
93636         * sunrpc/Makefile: Move inclusion of Rules.
93638 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
93640         * nss/nss_files/files-initgroups.c: New file.
93641         * nss/Makefile (libnss_files-routines): Add files-initgroups.
93642         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
93643         _nss_files_initgroups_dyn.
93645 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
93647         * elf/elf.h (R_ARM_IRELATIVE): Define.
93649 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
93651         * po/ru.po: Update from translation team.
93653 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
93655         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
93656         dependencies.
93658 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
93660         [BZ #12653]
93661         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
93662         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
93663         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
93664         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
93665         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
93667 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
93669         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
93670         differing bytes.
93671         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
93672         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
93673         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
93675 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
93677         [BZ #12420]
93678         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
93679         storing it.
93680         * stdlib/bug-getcontext.c: New file.
93681         * stdlib/Makefile: Add rules to build and run bug-getcontext.
93683 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93685         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
93686         instructions into .machine "z9-109".
93687         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
93688         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
93690 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93692         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
93693         between environment variables and auxiliary vector.
93695 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
93697         * Makefile: Add rules to build linkobj/libc.so.
93698         * include/libc-symbols.h: Define libc_hidden_nolink.
93699         * include/rpc/auth.h: Mark functions which are to be hidden.
93700         * include/rpc/auth_des.h: Likewise.
93701         * include/rpc/auth_unix.h: Likewise.
93702         * include/rpc/clnt.h: Likewise.
93703         * include/rpc/des_crypt.h: Likewise.
93704         * include/rpc/key_prot.h: Likewise.
93705         * include/rpc/pmap_clnt.h: Likewise.
93706         * include/rpc/pmap_prot.h: Likewise.
93707         * include/rpc/pmap_rmt.h: Likewise.
93708         * include/rpc/rpc_msg.h: Likewise.
93709         * include/rpc/svc.h: Likewise.
93710         * include/rpc/svc_auth.h: Likewise.
93711         * include/rpc/xdr.h: Likewise.
93712         * nis/Makefile: Link all DSOs against linkobj/libc.so.
93713         * nss/Makefile: Likewise.
93714         * sunrpc/Makefile: Don't install headers.  Build library with normal
93715         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
93716         * sunrpc/auth_des.c: Hide exported symbols by default, export some
93717         for the compat linking library.  Remove use of INTDEF/INTUSE.
93718         * sunrpc/auth_none.c: Likewise.
93719         * sunrpc/auth_unix.c: Likewise.
93720         * sunrpc/authdes_prot.c: Likewise.
93721         * sunrpc/authuxprot.c: Likewise.
93722         * sunrpc/clnt_gen.c: Likewise.
93723         * sunrpc/clnt_perr.c: Likewise.
93724         * sunrpc/clnt_raw.c: Likewise.
93725         * sunrpc/clnt_simp.c: Likewise.
93726         * sunrpc/clnt_tcp.c: Likewise.
93727         * sunrpc/clnt_udp.c: Likewise.
93728         * sunrpc/clnt_unix.c: Likewise.
93729         * sunrpc/des_crypt.c: Likewise.
93730         * sunrpc/des_soft.c: Likewise.
93731         * sunrpc/get_myaddr.c: Likewise.
93732         * sunrpc/key_call.c: Likewise.
93733         * sunrpc/key_prot.c: Likewise.
93734         * sunrpc/netname.c: Likewise.
93735         * sunrpc/pm_getmaps.c: Likewise.
93736         * sunrpc/pm_getport.c: Likewise.
93737         * sunrpc/pmap_clnt.c: Likewise.
93738         * sunrpc/pmap_prot.c: Likewise.
93739         * sunrpc/pmap_prot2.c: Likewise.
93740         * sunrpc/pmap_rmt.c: Likewise.
93741         * sunrpc/publickey.c: Likewise.
93742         * sunrpc/rpc_cmsg.c: Likewise.
93743         * sunrpc/rpc_common.c: Likewise.
93744         * sunrpc/rpc_dtable.c: Likewise.
93745         * sunrpc/rpc_prot.c: Likewise.
93746         * sunrpc/rpc_thread.c: Likewise.
93747         * sunrpc/rtime.c: Likewise.
93748         * sunrpc/svc.c: Likewise.
93749         * sunrpc/svc_auth.c: Likewise.
93750         * sunrpc/svc_authux.c: Likewise.
93751         * sunrpc/svc_raw.c: Likewise.
93752         * sunrpc/svc_run.c: Likewise.
93753         * sunrpc/svc_simple.c: Likewise.
93754         * sunrpc/svc_tcp.c: Likewise.
93755         * sunrpc/svc_udp.c: Likewise.
93756         * sunrpc/svc_unix.c: Likewise.
93757         * sunrpc/svcauth_des.c: Likewise.
93758         * sunrpc/xcrypt.c: Likewise.
93759         * sunrpc/xdr.c: Likewise.
93760         * sunrpc/xdr_array.c: Likewise.
93761         * sunrpc/xdr_float.c: Likewise.
93762         * sunrpc/xdr_intXX_t.c: Likewise.
93763         * sunrpc/xdr_mem.c: Likewise.
93764         * sunrpc/xdr_rec.c: Likewise.
93765         * sunrpc/xdr_ref.c: Likewise.
93766         * sunrpc/xdr_sizeof.c: Likewise.
93767         * sunrpc/xdr_stdio.c: Likewise.
93769 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
93771         [BZ #12650]
93772         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
93773         * sysdeps/ia64/dl-tls.h: Likewise.
93774         * sysdeps/powerpc/dl-tls.h: Likewise.
93775         * sysdeps/s390/dl-tls.h: Likewise.
93776         * sysdeps/sh/dl-tls.h: Likewise.
93777         * sysdeps/sparc/dl-tls.h: Likewise.
93778         * sysdeps/x86_64/dl-tls.h: Likewise.
93779         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
93781 2011-03-14  Andreas Schwab  <schwab@redhat.com>
93783         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
93784         rpath element also skip the following colon.
93785         (expand_dynamic_string_token): Add is_path parameter and pass
93786         down to DL_DST_REQUIRED and _dl_dst_substitute.
93787         (decompose_rpath): Call expand_dynamic_string_token with
93788         non-zero is_path.  Ignore empty rpaths.
93789         (_dl_map_object_from_fd): Call expand_dynamic_string_token
93790         with zero is_path.
93792 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
93794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
93795         Make cancelable.
93797 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
93799         [BZ #12655]
93800         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
93801         Patch by Filipe David Manana <fdmanana@apache.org>.
93803 2011-04-07  Andreas Schwab  <schwab@redhat.com>
93805         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
93806         Maintain aligned stack.
93807         (CHECK_RSP): Remove unused macro.
93809 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
93811         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
93812         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
93814 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
93816         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
93818         * include/features.h: Mention __USE_XOPEN2K8 in comment.
93820 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
93822         [BZ #12518]
93823         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
93824         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
93825         * sysdeps/x86_64/memmove.c: New file.
93826         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
93827         (memcpy): Renamed to ...
93828         (__new_memcpy): This.
93829         (memcpy): Provide GLIBC_2_14 memcpy.
93830         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
93831         (memcpy): Provide GLIBC_2_2_5 memcpy.
93833 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
93835         [BZ #12631]
93836         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
93838 2011-03-30  Andreas Schwab  <schwab@redhat.com>
93840         * misc/syncfs.c: New file.
93841         * misc/Makefile (routines): Add syncfs.
93842         * posix/unistd.h: Declare syncfs.
93843         * sysdeps/unix/syscalls.list: Add syncfs.
93845 2011-04-01  Andreas Schwab  <schwab@redhat.com>
93847         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
93848         open_by_handle_at.
93849         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
93850         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93851         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93852         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93853         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93854         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
93855         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93857 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
93859         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
93860         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93861         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
93862         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93863         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93864         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93865         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93867         * io/Makefile: Compile fallocate.c, fallocate64.c, and
93868         sync_file_range.c with -fexceptions.
93869         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
93870         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
93871         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
93872         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
93873         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
93874         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
93875         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
93876         sync_file_range as cancellation point
93877         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
93878         now a wrapper around __call_sync_file_range with cancellation handling.
93879         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
93880         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
93881         function name to __call_sync_file_range.
93882         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
93883         Add call_sync_file_range.
93885 2011-04-01  Andreas Schwab  <schwab@redhat.com>
93887         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
93888         bits/timex.h.
93890 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
93892         * iconv/iconv.h: Fix typo in comment.
93893         * io/fcntl.h: Likewise.
93894         * libio/stdio.h: Likewise.
93895         * posix/spawn.h: Likewise.
93896         * posix/unistd.h: Likewise.
93897         * stdlib/stdlib.h: Likewise.
93898         * time/time.h: Likewise.
93899         * wcsmbs/wchar.h: Likewise.
93901         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
93902         open_by_handle): Add.
93903         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
93904         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
93905         Augment a few comments.
93906         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93907         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93908         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93909         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93910         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93911         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
93912         open_by_handle.
93914         * io/fcntl.h (AT_EMPTY_PATH): Define.
93916 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
93918         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
93919         * sysdeps/unix/sysv/linux/bits/time.h: New file.
93920         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
93921         to...
93922         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
93923         * Versions.def: Add GLIBC_2.14.
93924         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
93925         Export.
93927 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
93929         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
93930         round counter.
93931         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
93933 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
93935         [BZ #12597]
93936         * string/test-strncmp.c (do_page_test): New function.
93937         (check2): Likewise.
93938         (test_main): Call check2.
93939         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
93941 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
93943         [BZ #12587]
93944         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
93945         Handle cache information in CPU leaf 4.
93946         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
93948 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
93950         [BZ #12583]
93951         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
93952         character representation.
93953         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
93955 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
93957         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
93958         END(__isnan) to END(__isnanf) to match function entry point/label
93959         EALIGN(__isnanf,...).
93961 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
93963         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
93965 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
93967         [BZ #12510]
93968         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
93969         copy from the symbol referenced in the relocation to initialize the
93970         used variable.
93971         Patch by Piotr Bury <pbury@goahead.com>.
93972         * elf/Makefile: Add rules to build and tst-unique3.
93973         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
93974         * elf/tst-unique3.cc: New file.
93975         * elf/tst-unique3.h: New file.
93976         * elf/tst-unique3lib.cc: New file.
93977         * elf/tst-unique3lib2.cc: New file.
93979         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
93981 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
93983         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
93984         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
93985         to _start.
93987 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
93989         * elf/dl-load.c (_dl_map_object): If we are looking for the first
93990         to-be-loaded object along a path to loader is ld.so.
93992 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
93993             Ulrich Drepper  <drepper@gmail.com>
93995         * sysdeps/x86_64/memset.S: After aligning destination, code
93996         branches to different locations depending on the value of
93997         misalignment, when multiarch is enabled. Fix this.
93999 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94001         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94002         Set _x86_64_preferred_memory_instruction for AMD processsors.
94003         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94004         Set bit_Prefer_SSE_for_memop for AMD processors.
94006 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
94008         * libio/fmemopen.c (fmemopen): Optimize a bit.
94010 2011-03-03  Andreas Schwab  <schwab@redhat.com>
94012         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94014 2011-03-03  Roland McGrath  <roland@redhat.com>
94016         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94018 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
94020         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94021         __bzero_ultra1 instead of __memset_ultra1.
94023 2011-02-23  Andreas Schwab  <schwab@redhat.com>
94024             Ulrich Drepper  <drepper@gmail.com>
94026         [BZ #12509]
94027         * include/link.h (struct link_map): Add l_orig_initfini.
94028         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94029         returning unsuccessfully.
94030         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94031         close of a file loaded at startup, restore the original l_initfini
94032         list.
94033         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94034         list, store the pointer.
94035         * elf/Makefile ($(objpfx)noload-mem): New rule.
94036         (noload-ENV): Define.
94037         (tests): Add $(objpfx)noload-mem.
94038         * elf/noload.c: Include <memcheck.h>.
94039         (main): Call mtrace.  Close all opened handles.
94041 2011-02-17  Andreas Schwab  <schwab@redhat.com>
94043         [BZ #12454]
94044         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94045         dependencies are missing.
94047 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94049         Fix __if_freereq crash: Unlike the generic version which uses free,
94050         Hurd needs munmap.
94051         * sysdeps/mach/hurd/ifreq.h: New file.
94053 2011-01-27  Petr Baudis  <pasky@suse.cz>
94054             Ulrich Drepper  <drepper@gmail.com>
94056         [BZ 12445]#
94057         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94058         to extend_alloca().
94059         * stdio-common/bug23.c: New file.
94060         * stdio-common/Makefile (tests): Add bug23.
94062 2010-09-28  Andreas Schwab  <schwab@redhat.com>
94063             Ulrich Drepper  <drepper@gmail.com>
94065         [BZ #12489]
94066         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94067         before performing relro protection.  At old place add assertion
94068         to make sure nothing changed.
94070 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
94071             Glauber de Oliveira Costa  <glommer@gmail.com>
94073         * elf/elf.h: Add new ARM TLS relocs.
94075 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
94077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94078         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94079         cast from r3.
94080         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
94081         'tests' variable.
94082         * sysdeps/wordsize-64/tst-writev.c: New file.
94084 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
94086         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94087         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94088         insns in _dl_start to prevent a TOC reference before relocs are
94089         resolved.
94091 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
94093         [BZ #12469]
94094         * Makeconfig: Remove RANLIB definition.
94095         * Makerules: Don't use RANLIB.
94096         * aclocal.m4: Remove ranlib test.
94097         * configure.in: No need to check for ranlib.
94098         * elf/rtld-Rules: Don't use RANLIB.
94100 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94102         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
94103         protection macro.
94104         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
94105         inclusion protection macro.
94107         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
94108         SIGRTMIN and SIGRTMAX and print information in that case only when
94109         SIGRTMIN is defined.
94111 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
94113         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
94114         arginfo fn returning -1.
94116         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
94117         and thousands string is zero terminated.
94119 2011-02-03  Andreas Schwab  <schwab@redhat.com>
94121         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
94122         sysdeps/unix/sysv/linux/bits/socket.h.
94124 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94126         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
94127         (__CPU_COUNT): Remove old macros.
94128         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
94129         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
94130         (__CPU_ALLOC, __CPU_FREE): Add macros.
94131         (__sched_cpualloc, __sched_cpufree): Add declarations.
94133 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
94135         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
94136         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
94137         * nscd/aicache.c (addhstaiX): Return timeout of added value.
94138         (readdhstai): Return value of addhstaiX call.
94139         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
94140         (addgrbyX): Return value returned by cache_addgr.
94141         (readdgrbyname): Return value returned by addgrbyX.
94142         (readdgrbygid): Likewise.
94143         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
94144         (addpwbyX): Return value returned by cache_addpw.
94145         (readdpwbyname): Return value returned by addhstbyX.
94146         (readdpwbyuid): Likewise.
94147         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
94148         (addservbyX): Return value returned by cache_addserv.
94149         (readdservbyname): Return value returned by addservbyX:
94150         (readdservbyport): Likewise.
94151         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
94152         (addhstbyX): Return value returned by cache_addhst.
94153         (readdhstbyname): Return value returned by addhstbyX.
94154         (readdhstbyaddr): Likewise.
94155         (readdhstbynamev6): Likewise.
94156         (readdhstbyaddrv6): Likewise.
94157         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
94158         (readdinitgroups): Return value returned by addinitgroupsX.
94159         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
94160         (prune_cache): Keep track of timeout value of re-added entries.
94161         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
94162         * nscd/nscd.h: Adjust prototypes of readd* functions.
94164 2011-02-04  Roland McGrath  <roland@redhat.com>
94166         * nis/nis_server.c (nis_servstate): Use the right name for 0.
94167         (nis_stats): Likewise.
94168         * nis/nis_modify.c (nis_modify): Likewise.
94169         * nis/nis_remove.c (nis_remove): Likewise.
94170         * nis/nis_add.c (nis_add): Likewise.
94172         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
94174         * posix/fnmatch_loop.c: Add some consts.
94176         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
94178 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
94180         [BZ #12460]
94181         * config.make.in (config-cflags-novzeroupper): Define.
94182         * configure.in: Substitute libc_cv_cc_novzeroupper.
94183         * elf/Makefile (AVX-CFLAGS): Define.
94184         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
94185         (CFLAGS-tst-auditmod4a.c): Likewise.
94186         (CFLAGS-tst-auditmod4b.c): Likewise.
94187         (CFLAGS-tst-auditmod6b.c): Likewise.
94188         (CFLAGS-tst-auditmod6c.c): Likewise.
94189         (CFLAGS-tst-auditmod7b.c): Likewise.
94190         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
94192 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
94194         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
94195         function to the callback.
94196         Patch partly by Jiri Olsa <jolsa@redhat.com>.
94198 2011-02-02  Andreas Schwab  <schwab@redhat.com>
94200         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
94201         of errno.
94203 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
94205         [BZ #11724]
94206         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
94207         of constructors.
94208         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
94209         of destructors.
94210         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
94212         [BZ #11724]
94213         * elf/Makefile: Add rules to build and run new test.
94214         * elf/tst-initorder.c: New file.
94215         * elf/tst-initorder.exp: New file.
94216         * elf/tst-initordera1.c: New file.
94217         * elf/tst-initordera2.c: New file.
94218         * elf/tst-initordera3.c: New file.
94219         * elf/tst-initordera4.c: New file.
94220         * elf/tst-initorderb1.c: New file.
94221         * elf/tst-initorderb2.c: New file.
94222         * elf/tst-order-a1.c: New file.
94223         * elf/tst-order-a2.c: New file.
94224         * elf/tst-order-a3.c: New file.
94225         * elf/tst-order-a4.c: New file.
94226         * elf/tst-order-b1.c: New file.
94227         * elf/tst-order-b2.c: New file.
94228         * elf/tst-order-main.c: New file.
94229         New test case by George Gensure <werkt0@gmail.com>.
94231 2010-10-01  Andreas Schwab  <schwab@redhat.com>
94233         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
94234         decoding ACE if AI_CANONIDN.
94236 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
94238         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
94240 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
94242         * version.h (RELEASE): Bump for 2.13 release.
94243         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
94245         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
94247         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
94248         MADV_NOHUGEPAGE.
94249         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
94250         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
94251         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
94252         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
94253         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
94254         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94256         * posix/getconf.c: Update copyright year.
94257         * catgets/gencat.c: Likewise.
94258         * csu/version.c: Likewise.
94259         * debug/catchsegv.sh: Likewise.
94260         * debug/xtrace.sh: Likewise.
94261         * elf/ldconfig.c: Likewise.
94262         * elf/ldd.bash.in: Likewise.
94263         * elf/sprof.c (print_version): Likewise.
94264         * iconv/iconv_prog.c: Likewise.
94265         * iconv/iconvconfig.c: Likewise.
94266         * locale/programs/locale.c: Likewise.
94267         * locale/programs/localedef.c: Likewise.
94268         * malloc/memusage.sh: Likewise.
94269         * malloc/mtrace.pl: Likewise.
94270         * nscd/nscd.c (print_version): Likewise.
94271         * nss/getent.c: Likewise.
94273         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
94274         PF_CAIF, and PF_ALG.
94275         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
94277 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
94279         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
94280         (modules-names): Use them.
94281         (ifunc-test-modules, ifunc-pie-tests): Define.
94282         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
94283         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
94284         (test-extras): Likewise.
94285         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
94286         $(compile-command.c).
94287         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
94288         (all-built-dso): Define.
94289         (check-textrel.out, check-execstack.out): Depend on it.
94291         * configure.in: Don't override --enable-multi-arch.
94293 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
94295         [BZ #6812]
94296         * nscd/hstcache.c (tryagain): Define.
94297         (cache_addhst): Return tryagain not notfound for temporary errors.
94298         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
94299         failed.
94301 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
94303         [BZ #10563]
94304         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
94305         to make the syscall.
94306         * sysdeps/unix/sysv/linux/setgroups.c: New file.
94308         [BZ #12378]
94309         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
94310         and fall back to matching as normal character if the string ends before
94311         the matching ']' is found.  This is what POSIX requires.
94312         * posix/testfnm.c: Adjust test result.
94313         * posix/globtest.sh: Adjust test result.  Add new test.
94314         * posix/tst-fnmatch.input: Likewise.
94315         * posix/tst-fnmatch2.c: Add new test.
94317 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
94319         * elf/Makefile (check-execstack): Revert last change.  Depend on
94320         check-execstack.h.
94321         (check-execstack.h): New target.
94322         (generated): Add check-execstack.h.
94323         * elf/check-execstack.c: Include "check-execstack.h".
94324         (main): Revert last change.
94325         (handle_file): Return zero if GNU_STACK is absent and
94326         DEFAULT_STACK_PERMS doesn't include PF_X.
94328 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
94330         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
94331         in child fails because the descriptor is already closed.
94332         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
94333         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
94334         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
94336         [BZ #12397]
94337         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
94338         syscall.
94340         [BZ #10484]
94341         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
94342         temporary buffer used to handle multi lookups locally.
94343         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
94345 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
94347         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
94348         loader is ld.so.
94350 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
94352         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
94353         alignment for SSE2.
94355 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
94357         [BZ #12394]
94358         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
94359         characters.  When rounding increased number of integer digits recompute
94360         number of groups.
94361         * stdio-common/tst-grouping.c: New file.
94362         * stdio-common/Makefile: Add rules to build and run tst-grouping.
94364 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
94366         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
94367         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
94369         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
94370         void.
94371         * bits/select.h: Likewise.
94373 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
94375         * po/ja.po: Update from translation team.
94377 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
94379         [BZ #11155]
94380         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
94381         implementation just like for lxstat, fxstatat, et al.
94383 2010-12-27  Jim Meyering  <meyering@redhat.com>
94385         [BZ #12348]
94386         * posix/regexec.c (build_trtable): Return failure indication upon
94387         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
94389 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
94391         [BZ #12201]
94392         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
94393         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
94394         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
94395         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
94397         [BZ #12207]
94398         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
94400         [BZ #12204]
94401         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
94402         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
94404 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
94406         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
94407         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
94408         script has SORT_BY_INIT_PRIORITY.
94409         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
94410         NO_CTORS_DTORS_SECTIONS is defined.
94411         * elf/soinit.c: Likewise.
94412         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
94413         NO_CTORS_DTORS_SECTIONS is defined.
94414         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
94415         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
94416         * sysdeps/sh/init-first.c: Likewise.
94417         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
94419 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
94421         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
94422         always use the slow path.
94424 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
94426         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
94427         similar rule which adds the sysdep directories to the header search in
94428         order to pick up the correct platform stackinfo.h.
94429         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
94430         perform test if it is, otherwise return successfully without testing.
94431         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
94432         DEFAULT_STACK_PERMS define in stackinfo.h.
94433         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
94434         defined in stackinfo.h.
94435         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
94436         DEFAULT_STACK_PERMS defined in stackinfo.h.
94437         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
94438         * sysdeps/ia64/stackinfo.h: Likewise.
94439         * sysdeps/s390/stackinfo.h: Likewise.
94440         * sysdeps/sh/stackinfo.h: Likewise.
94441         * sysdeps/sparc/stackinfo.h: Likewise.
94442         * sysdeps/x86_64/stackinfo.h: Likewise.
94443         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
94444         PF_X for powerpc64.  Retain PF_X for powerpc32.
94446 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
94448         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
94449         accurately.
94450         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
94451         GETDENTS_64BIT_ALIGNED.
94453 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
94455         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
94457 2010-12-10  Andreas Schwab  <schwab@redhat.com>
94459         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
94460         _GNU_SOURCE.
94462         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
94463         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
94464         Remove __restrict.
94465         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
94466         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
94468 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
94470         [BZ #11655]
94471         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
94472         are initialized.
94474 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
94476         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
94478 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
94480         * po/it.po: Update from translation team.
94482 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
94484         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
94485         unused codes.
94487 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
94489         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
94491 2010-11-24  Andreas Schwab  <schwab@redhat.com>
94493         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
94494         specially.
94495         (gaih_getanswer_slice): Likewise.
94497 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
94499         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
94501 2010-05-31  Petr Baudis  <pasky@suse.cz>
94503         [BZ #11149]
94504         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
94505         silently even in the chroot mode.
94507 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
94509         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
94510         last patch a bit.  Pretty printing
94512 2010-05-31  Petr Baudis <pasky@suse.cz>
94514         [BZ #10085]
94515         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
94516         initialization of skip_initgroups_dyn.
94518 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
94520         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
94521         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94523 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
94525         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
94527 2010-11-11  Andreas Schwab  <schwab@redhat.com>
94529         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
94530         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
94531         (tst-fnmatch-ENV): Set MALLOC_TRACE.
94532         ($(objpfx)tst-fnmatch-mem): New rule.
94533         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
94534         * posix/tst-fnmatch.c (main): Call mtrace.
94536 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
94538         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94539         Support Intel processor model 6 and model 0x2c.
94541 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
94543         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
94544           signed comparison.
94546 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
94548         [BZ #12205]
94549         * string/test-strncasecmp.c (check_result): New function.
94550         (do_one_test): Use it.
94551         (check1): New function.
94552         (test_main): Use it.
94553         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
94554         Support strcasecmp and strncasecmp.
94556 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
94558         [BZ #12194]
94559         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
94560         * sysdeps/x86_64/bits/byteswap.h: Likewise.
94562 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
94564         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
94565         IFUNC support.
94566         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94567         memset-x86-64.
94568         * sysdeps/x86_64/multiarch/bzero.S: New file.
94569         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
94570         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
94571         * sysdeps/x86_64/multiarch/memset.S: New file.
94572         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
94573         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94574         Set bit_Prefer_SSE_for_memop for Intel processors.
94575         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
94576         Define.
94577         (index_Prefer_SSE_for_memop): Define.
94578         (HAS_PREFER_SSE_FOR_MEMOP): Define.
94580 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
94582         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
94583         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
94585 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
94587         [BZ #12191]
94588         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
94589         (__x86_64_raw_data_cache_size_half): Likewise.
94590         (__x86_64_raw_shared_cache_size): Likewise.
94591         (__x86_64_raw_shared_cache_size_half): Likewise.
94593         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
94594         (__x86_64_raw_data_cache_size_half): Likewise.
94595         (__x86_64_raw_shared_cache_size): Likewise.
94596         (__x86_64_raw_shared_cache_size_half): Likewise.
94597         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
94598         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
94599         and __x86_64_raw_shared_cache_size_half.  Round
94600         __x86_64_data_cache_size_half, __x86_64_data_cache_size
94601         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
94602         to multiple of 256 bytes.
94604 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
94606         [BZ #12167]
94607         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
94608         of inacessible symlinks.  Verify result of symlink before returning it.
94609         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
94610         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
94612 2010-10-28  Erich Ritz  <erichritz@gmail.com>
94614         * math/math.h (isinf): Fix typo in comment.
94616 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
94618         * po/da.po: Update from translation team.
94620 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
94622         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
94623         is added to the list.
94625 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94626             Ulrich Drepper  <drepper@gmail.com>
94628         * elf/dl-object.c (_dl_new_object): Don't append the new object to
94629         the global list here.  Move code to...
94630         (_dl_add_to_namespace_list): ...here.  New function.
94631         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
94632         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
94633         * elf/dl-load.c (lose): Don't remove the element from the list.
94634         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
94635         (_dl_map_object): Likewise.
94637 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
94639         [BZ #12159]
94640         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
94641         into all bytes of SSE register.
94642         Patch by Richard Li <richardpku@gmail.com>.
94644 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
94646         [BZ #12140]
94647         * malloc/malloc.c (_int_free): Fill correct number of bytes when
94648         perturbing.
94650 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
94652         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
94653         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
94654         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
94655         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
94656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
94657         submachine.
94658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
94660 2010-10-22  Andreas Schwab  <schwab@redhat.com>
94662         * include/dlfcn.h (__RTLD_SECURE): Define.
94663         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
94664         mode & __RTLD_SECURE instead.
94665         (open_path): Rename preloaded parameter to secure.
94666         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
94667         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
94668         * elf/dl-deps.c (openaux): Likewise.
94669         * elf/rtld.c (struct map_args): Remove is_preloaded.
94670         (map_doit): Don't use it.
94671         (dl_main): Likewise.
94672         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
94673         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
94675 2010-09-09  Andreas Schwab  <schwab@redhat.com>
94677         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
94678         (sysd-rules-targets): Remove duplicates.
94679         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
94680         rtld-%.$o dependency.
94682 2010-10-18  Andreas Schwab  <schwab@redhat.com>
94684         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
94685         _dl_map_object do it.
94687 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
94689         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
94690         fast fma builtins, define the macros in the C99 standard.
94691         (FP_FAST_FMAF): Likewise.
94692         (FP_FAST_FMAL): Likewise.
94693         * sysdeps/x86_64/bits/mathdef.h: Likewise.
94695         * bits/mathdef.h: Update copyright year.
94696         * sysdeps/powerpc/bits/mathdef.h: Likewise.
94698 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
94700         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
94701         builtins, define the macros in the C99 standard.
94702         (FP_FAST_FMAF): Likewise.
94703         (FP_FAST_FMAL): Likewise.
94704         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
94705         multiply/add.
94706         (FP_FAST_FMAF): Likewise.
94708 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
94710         [BZ #3268]
94711         * math/libm-test.inc (fma_test): Some new testcases.
94712         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
94713         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
94714         y and infinite z.  Do multiplication by C already in long double.
94715         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
94716         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
94717         y and infinite z.  Do bitwise or of inexact bit into u.d.
94718         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
94719         * sysdeps/i386/fpu/s_fmaf.S: Removed.
94720         * sysdeps/i386/fpu/s_fma.S: Removed.
94721         * sysdeps/i386/fpu/s_fmal.S: Removed.
94723 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
94725         [BZ #3268]
94726         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
94727         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
94728         computation is not scheduled after fetestexcept.  Fix value
94729         of minimum denormal long double.
94731 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
94733         [BZ #3268]
94734         * math/libm-test.inc (fma_test): Add some more tests.
94735         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
94736         correctly.
94738 2010-10-15  Andreas Schwab  <schwab@redhat.com>
94740         * scripts/data/localplt-s390-linux-gnu.data: New file.
94741         * scripts/data/localplt-s390x-linux-gnu.data: New file.
94743 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
94745         [BZ #3268]
94746         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
94747         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
94748         instead of dbl-64.
94749         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
94750         inlines.
94751         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
94752         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
94753         if one of x and y is very large and the other is subnormal.
94754         * sysdeps/s390/fpu/s_fmaf.c: New file.
94755         * sysdeps/s390/fpu/s_fma.c: New file.
94756         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
94757         * sysdeps/powerpc/fpu/s_fma.S: New file.
94758         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
94759         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
94760         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
94762 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
94764         [BZ #3268]
94765         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
94766         fma tests.
94767         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
94768         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
94769         * sysdeps/i386/i686/multiarch/s_fma.c: Include
94770         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
94771         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
94772         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
94773         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
94775 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
94777         [BZ #12078]
94778         * posix/regcomp.c (parse_branch): One more memory leak plugged.
94779         * posix/bug-regex31.input: Add test case.
94781 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
94783         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
94784         * posix/bug-regex31.input: New file.
94786         [BZ #12078]
94787         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
94788         (parse_sub_exp): Fix last change, use postorder.
94790         * posix/bug-regex31.c: New file.
94791         * posix/Makefile: Add rules to build and run bug-regex31.
94793         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
94795         [BZ #12078]
94796         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
94798         [BZ #12108]
94799         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
94800         to have entries in sys_siglist.
94802         [BZ #12093]
94803         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
94804         be NULL.
94806 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
94808         [BZ #3268]
94809         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
94810         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
94811         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
94812         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
94813         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
94814         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
94815         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
94816         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
94817         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
94818         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
94819         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
94820         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
94821         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
94822         * math/ftestexcept.c (fetestexcept): Likewise.
94823         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
94824         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
94825         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
94826         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
94827         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
94828         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
94829         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
94831 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
94833         [BZ #12107]
94834         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
94835         newline.
94837 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
94839         * string/bug-strstr1.c: New file.
94840         * string/Makefile: Add rules to build and run bug-strstr1.
94842 2010-10-05  Eric Blake  <eblake@redhat.com>
94844         [BZ #12092]
94845         * string/str-two-way.h (two_way_long_needle): Always clear memory
94846         when skipping input due to the shift table.
94848 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
94850         [BZ #12005]
94851         * malloc/mcheck.c: Handle large requests.
94853         [BZ #12077]
94854         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
94855         for strncmp and strncasecmp.
94856         * string/stratcliff.c: Add tests for strcmp and strncmp.
94857         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
94859 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
94861         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
94862         __set_fpscr.
94864 2010-09-30  Andreas Jaeger  <aj@suse.de>
94866         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
94867         (CGROUP_SUPER_MAGIC): Define.
94868         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
94869         Handle btrfs and cgroup file systems.
94870         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
94871         Likewise.
94873 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
94875         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
94876         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
94878 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94880         [BZ #12067]
94881         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
94882         trying to locate the ELF header.
94884 2010-09-27  Andreas Schwab  <schwab@redhat.com>
94886         [BZ #11611]
94887         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
94888         Mask out sign-bit copies when constructing f_fsid.
94890 2010-09-24  Petr Baudis <pasky@suse.cz>
94892         * debug/stack_chk_fail_local.c: Add missing licence exception.
94893         * debug/warning-nop.c: Likewise.
94895 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
94897         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
94898         implementing getdents64 using getdents syscall, set d_type if
94899         __ASSUME_GETDENTS32_D_TYPE.
94901 2010-09-16  Andreas Schwab  <schwab@redhat.com>
94903         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
94904         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
94906 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
94908         [BZ #12037]
94909         * posix/unistd.h: Undo change of feature selection for ftruncate from
94910         2010-01-11.
94912 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
94914         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
94915         detection.
94917 2010-09-20  Andreas Schwab  <schwab@redhat.com>
94919         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
94920         fanotify_mark.
94921         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
94923 2010-09-14  Andreas Schwab  <schwab@redhat.com>
94925         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
94926         variables after CHECK_SP call.
94927         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
94929 2010-09-13  Andreas Schwab  <schwab@redhat.com>
94930             Ulrich Drepper  <drepper@redhat.com>
94932         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
94933         re-relocationg ld.so.
94934         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
94935         _dl_init_paths call.
94936         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
94937         here anymore.
94939 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
94941         * resolv/res_init.c (__res_vinit): Count the default server we added.
94943 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
94944             Ulrich Drepper  <drepper@redhat.com>
94946         [BZ #11968]
94947         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
94948         (____longjmp_chk): Use %ebx for saving value across system call.
94949         Add unwind info.
94951 2010-09-06  Andreas Schwab  <schwab@redhat.com>
94953         * manual/Makefile: Don't mix pattern rules with normal rules.
94955 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
94957         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
94958         operation.
94959         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
94960         * libio/iofopncook.c (_IO_cookie_init): Likewise.
94961         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
94962         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
94963         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
94964         Likewise.
94966 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
94968         [BZ #11979]
94969         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
94970         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
94972 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
94974         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
94975         * sysdeps/x86_64/addmul_1.S: Likewise.
94976         * sysdeps/x86_64/lshift.S: Likewise.
94977         * sysdeps/x86_64/mul_1.S: Likewise.
94978         * sysdeps/x86_64/rshift.S: Likewise.
94979         * sysdeps/x86_64/sub_n.S: Likewise.
94980         * sysdeps/x86_64/submul_1.S: Likewise.
94982 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94984         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
94985         Define __sched_param instead of SCHED_* and sched_param when
94986         <bits/sched.h> is included with __need_schedparam defined.
94987         * bits/sched.h [__need_schedparam]
94988         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
94989         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
94990         (__defined_schedparam): Define to 1.
94991         (__sched_param): New structure, identical to sched_param.
94992         (__need_schedparam): Undefine.
94994 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
94996         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
94997         (epoll_create1): Declare.
94999         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95001 2010-08-31  Andreas Schwab  <schwab@redhat.com>
95003         [BZ #7066]
95004         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95005         shifting retval into place.
95007 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
95009         * nis/rpcsvc/nis.h: Update copyright notice.
95010         * nis/rpcsvc/nis.x: Likewise.
95011         * nis/rpcsvc/nis_callback.h: Likewise.
95012         * nis/rpcsvc/nis_callback.x: Likewise.
95013         * nis/rpcsvc/nis_object.x: Likewise.
95014         * nis/rpcsvc/nis_tags.h: Likewise.
95015         * nis/rpcsvc/yp.h: Likewise.
95016         * nis/rpcsvc/yp.x: Likewise.
95017         * nis/rpcsvc/ypupd.h: Likewise.
95018         * nis/yp_xdr.c: Likewise.
95019         * nis/ypupdate_xdr.c: Likewise.
95021         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
95022         mainly the body of pmap_getport.  Add parameters to specify timeouts.
95023         (pmap_getport): Use __libc_rpc_getport.
95024         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95025         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95026         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95028 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
95030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95031         fanotify_mark.
95033 2010-08-27  Roland McGrath  <roland@redhat.com>
95035         * sysdeps/i386/i686/multiarch/Makefile
95036         (CFLAGS-varshift.c): New variable.
95038 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
95040         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95041         * sysdeps/i386/i686/multiarch/varshift.c: New file.
95043         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95045         * sysdeps/x86_64/strlen.S: Minimal code improvement.
95047 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
95049         * sysdeps/x86_64/strlen.S: Unroll the loop.
95050         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95051         strlen-sse2 strlen-sse2-bsf.
95052         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95053         __strlen_no_bsf if bit_Slow_BSF is set.
95054         (__strlen_sse42): Removed.
95055         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95056         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95058 2010-08-25  Roland McGrath  <roland@redhat.com>
95060         * sysdeps/x86_64/multiarch/varshift.S: File removed.
95061         * sysdeps/x86_64/multiarch/varshift.c: New file.
95062         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95063         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95064         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95065         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95067 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
95069         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95070         strlen-sse2 strlen-sse2-bsf.
95071         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95072         __strlen_sse2_bsf if bit_Slow_BSF is unset.
95073         (__strlen_sse2): Removed.
95074         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95075         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95076         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95077         bit_Slow_BSF for Atom.
95078         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95079         (index_Slow_BSF): Define.
95080         (HAS_SLOW_BSF): Define.
95082 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
95084         [BZ #10851]
95085         * resolv/res_init.c (__res_vinit): When no server address at all
95086         is given default to loopback.
95088 2010-08-24  Roland McGrath  <roland@redhat.com>
95090         * configure.in: Remove config-name.h generation.
95091         * configure: Regenerated.
95092         * config-name.in: File removed.
95093         * scripts/config-uname.sh: New file.
95094         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95095         ($(objdir)config-name.h): New target.
95097         * sunrpc/rpc_parse.h: Avoid nested comment.
95099 2010-08-24  Richard Henderson  <rth@redhat.com>
95100             Ulrich Drepper  <drepper@redhat.com>
95101             H.J. Lu  <hongjiu.lu@intel.com>
95103         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
95104         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
95105         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
95106         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
95107         _mm_alignr_epi8 with _mm_loadu_si128.
95108         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
95109         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
95110         (__m128i_shift_right): Removed.
95111         * sysdeps/i386/i686/multiarch/varshift.h: New file.
95112         * sysdeps/i386/i686/multiarch/varshift.S: New file.
95113         * sysdeps/x86_64/multiarch/varshift.h: New file.
95114         * sysdeps/x86_64/multiarch/varshift.S: New file.
95116 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
95118         * configure.in: Move assembler checks to before sysdep dir checking.
95120 2010-08-20  Petr Baudis  <pasky@suse.cz>
95122         * LICENSES: Sync the sunrpc license.
95124 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
95126         * sunrpc/auth_des.c: Update copyright notice once again.
95127         * sunrpc/auth_none.c: Likewise.
95128         * sunrpc/auth_unix.c: Likewise.
95129         * sunrpc/authdes_prot.c: Likewise.
95130         * sunrpc/authuxprot.c: Likewise.
95131         * sunrpc/bindrsvprt.c: Likewise.
95132         * sunrpc/clnt_gen.c: Likewise.
95133         * sunrpc/clnt_perr.c: Likewise.
95134         * sunrpc/clnt_raw.c: Likewise.
95135         * sunrpc/clnt_simp.c: Likewise.
95136         * sunrpc/clnt_tcp.c: Likewise.
95137         * sunrpc/clnt_udp.c: Likewise.
95138         * sunrpc/clnt_unix.c: Likewise.
95139         * sunrpc/des_crypt.c: Likewise.
95140         * sunrpc/des_soft.c: Likewise.
95141         * sunrpc/get_myaddr.c: Likewise.
95142         * sunrpc/getrpcport.c: Likewise.
95143         * sunrpc/key_call.c: Likewise.
95144         * sunrpc/key_prot.c: Likewise.
95145         * sunrpc/openchild.c: Likewise.
95146         * sunrpc/pm_getmaps.c: Likewise.
95147         * sunrpc/pm_getport.c: Likewise.
95148         * sunrpc/pmap_clnt.c: Likewise.
95149         * sunrpc/pmap_prot.c: Likewise.
95150         * sunrpc/pmap_prot2.c: Likewise.
95151         * sunrpc/pmap_rmt.c: Likewise.
95152         * sunrpc/rpc/auth.h: Likewise.
95153         * sunrpc/rpc/auth_unix.h: Likewise.
95154         * sunrpc/rpc/clnt.h: Likewise.
95155         * sunrpc/rpc/des_crypt.h: Likewise.
95156         * sunrpc/rpc/key_prot.h: Likewise.
95157         * sunrpc/rpc/netdb.h: Likewise.
95158         * sunrpc/rpc/pmap_clnt.h: Likewise.
95159         * sunrpc/rpc/pmap_prot.h: Likewise.
95160         * sunrpc/rpc/pmap_rmt.h: Likewise.
95161         * sunrpc/rpc/rpc.h: Likewise.
95162         * sunrpc/rpc/rpc_des.h: Likewise.
95163         * sunrpc/rpc/rpc_msg.h: Likewise.
95164         * sunrpc/rpc/svc.h: Likewise.
95165         * sunrpc/rpc/svc_auth.h: Likewise.
95166         * sunrpc/rpc/types.h: Likewise.
95167         * sunrpc/rpc/xdr.h: Likewise.
95168         * sunrpc/rpc_clntout.c: Likewise.
95169         * sunrpc/rpc_cmsg.c: Likewise.
95170         * sunrpc/rpc_common.c: Likewise.
95171         * sunrpc/rpc_cout.c: Likewise.
95172         * sunrpc/rpc_dtable.c: Likewise.
95173         * sunrpc/rpc_hout.c: Likewise.
95174         * sunrpc/rpc_main.c: Likewise.
95175         * sunrpc/rpc_parse.c: Likewise.
95176         * sunrpc/rpc_parse.h: Likewise.
95177         * sunrpc/rpc_prot.c: Likewise.
95178         * sunrpc/rpc_sample.c: Likewise.
95179         * sunrpc/rpc_scan.c: Likewise.
95180         * sunrpc/rpc_scan.h: Likewise.
95181         * sunrpc/rpc_svcout.c: Likewise.
95182         * sunrpc/rpc_tblout.c: Likewise.
95183         * sunrpc/rpc_util.c: Likewise.
95184         * sunrpc/rpc_util.h: Likewise.
95185         * sunrpc/rpcinfo.c: Likewise.
95186         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
95187         * sunrpc/rpcsvc/key_prot.x: Likewise.
95188         * sunrpc/rpcsvc/klm_prot.x: Likewise.
95189         * sunrpc/rpcsvc/mount.x: Likewise.
95190         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
95191         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
95192         * sunrpc/rpcsvc/rex.x: Likewise.
95193         * sunrpc/rpcsvc/rstat.x: Likewise.
95194         * sunrpc/rpcsvc/rusers.x: Likewise.
95195         * sunrpc/rpcsvc/sm_inter.x: Likewise.
95196         * sunrpc/rpcsvc/spray.x: Likewise.
95197         * sunrpc/rpcsvc/yppasswd.x: Likewise.
95198         * sunrpc/rtime.c: Likewise.
95199         * sunrpc/svc.c: Likewise.
95200         * sunrpc/svc_auth.c: Likewise.
95201         * sunrpc/svc_authux.c: Likewise.
95202         * sunrpc/svc_raw.c: Likewise.
95203         * sunrpc/svc_run.c: Likewise.
95204         * sunrpc/svc_simple.c: Likewise.
95205         * sunrpc/svc_tcp.c: Likewise.
95206         * sunrpc/svc_udp.c: Likewise.
95207         * sunrpc/svc_unix.c: Likewise.
95208         * sunrpc/svcauth_des.c: Likewise.
95209         * sunrpc/xcrypt.c: Likewise.
95210         * sunrpc/xdr.c: Likewise.
95211         * sunrpc/xdr_array.c: Likewise.
95212         * sunrpc/xdr_float.c: Likewise.
95213         * sunrpc/xdr_mem.c: Likewise.
95214         * sunrpc/xdr_rec.c: Likewise.
95215         * sunrpc/xdr_ref.c: Likewise.
95216         * sunrpc/xdr_sizeof.c: Likewise.
95217         * sunrpc/xdr_stdio.c: Likewise.
95219         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
95220         handling.
95222 2010-08-19  Andreas Schwab  <schwab@redhat.com>
95224         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
95226 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
95228         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
95229         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
95230         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
95231         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
95232         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
95233         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
95234         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
95235         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
95236         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
95237         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
95238         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
95239         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
95240         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
95241         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
95243 2010-07-26  Anton Blanchard  <anton@samba.org>
95245         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
95246         * malloc/arena.c (heap_trim): Likewise.
95248 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
95250         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
95251         here.  Not...
95252         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
95253         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
95255 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
95257         * sysdeps/i386/elf/Makefile: New file.
95259 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
95261         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
95262         from fanotify_init.
95263         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
95264         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95266 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
95268         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
95269         of strncasecmp_l.
95270         * sysdeps/multiarch/strcmp.S: Likewise.
95272 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
95274         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95275         strncase_l-nonascii.
95276         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95277         Add strncase_l-ssse3.
95278         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
95279         * sysdeps/x86_64/strcmp.S: Likewise.
95280         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
95281         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
95282         * sysdeps/x86_64/strncase.S: New file.
95283         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
95284         * sysdeps/x86_64/strncase_l.S: New file.
95285         * string/Makefile (strop-tests): Add strncasecmp.
95286         * string/test-strncasecmp.c: New file.
95288         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
95289         warning.
95291         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
95292         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
95294 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
95296         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
95298 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
95300         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
95301         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
95302         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
95304 2010-05-01  Alan Modra  <amodra@gmail.com>
95306         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
95307         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
95308         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
95309         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
95310         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
95311         tidying.  Don't tail-call __sigjmp_save for static lib.
95312         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
95313         save location.
95314         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
95315         (CALL_MCOUNT): Add eh info, and nop after bl.
95316         (TAIL_CALL_SYSCALL_ERROR): New macro.
95317         (PSEUDO_RET): Use it.
95318         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
95319         Correct save location of integer regs and cr.
95320         (_dl_profile_resolve): Correct cr save location.  Delete nops
95321         after bl when SHARED.  Reduce cfi size a little by better
95322         placement of cfi directives.
95323         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
95324         make a stack frame.  Instead use parm save area as a temp.
95325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
95326         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
95327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
95328         Don't make a stack frame for parent, use parm save area.
95329         Increase child stack frame to 112 bytes.  Don't save unused reg,
95330         and adjust reg usage.  Set up cfi on error recovery and
95331         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
95332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
95333         (__makecontext): Add dummy nop after jump to exit.
95334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
95335         Use correct parm save area and cr save, reduce stack frame.
95336         Correct cfi for possible PSEUDO_RET frame setup.
95337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
95338         Branch to local label emitted by PSEUDO_RET rather than
95339         __syscall_error.
95341 2010-08-12  Andreas Schwab  <schwab@redhat.com>
95343         [BZ #11904]
95344         * locale/programs/locale.c (print_assignment): New function.
95345         (show_locale_vars): Use it.
95347 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
95349         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
95350         field.
95351         (struct statfs64): Likewise.
95352         (_STATFS_F_FLAGS): Define.
95353         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
95354         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95355         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
95356         (ST_VALID): Define locally.
95357         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
95358         __statvfs_getflags, use the provided value.
95359         * sysdeps/unix/sysv/linux/kernel-features.h: Define
95360         __ASSUME_STATFS_F_FLAGS.
95362         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
95364         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
95365         Add sys/fanotify.h.
95366         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
95367         fanotify_mask for GLIBC_2.13.
95368         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
95369         fanotify_init and fanotify_mark.
95370         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95371         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
95373         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
95374         Add prlimit.
95375         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
95376         prlimit64 for GLIBC_2.13.
95377         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
95378         prlimit64.
95379         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
95380         syscall.
95381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
95382         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95383         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
95384         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
95385         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
95386         add prlimit alias.
95387         * sysdeps/unix/sysv/linux/prlimit.c: New file.
95389         [BZ #11903]
95390         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
95391         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
95393         * nss/Makefile: Add rules to build and run tst-nss-test1.
95394         * shlib-versions: Add entry for libnss_test1.
95395         * nss/nss_test1.c: New file.
95396         * nss/tst-nss-test1.c: New file.
95398         * nss/nsswitch.c (__nss_database_custom): Define new variable.
95399         (__nss_configure_lookup): Set appropriate entry in
95400         __nss_configure_lookup to true.
95401         * nss/nsswitch.h: Define enum with indeces of databases in
95402         databases and __nss_database_custom arrays.  Declare
95403         __nss_database_custom.
95404         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
95405         to avoid using nscd when custom rules are installed.
95406         * nss/getXXbyYY_r.c: Likewise.
95407         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
95409         * nss/nss_files/files-parse.c: Whitespace fixes.
95411 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
95413         [BZ #11883]
95414         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
95415         * posix/fnmatch_loop.c: Likewise.
95417 2010-07-17  Andi Kleen  <ak@linux.intel.com>
95419         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
95420         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
95421         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
95422         * Versions.def [GLIBC_2.13]: Add.
95424 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
95426         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
95427         Also fail if tpwd after pwuid call is NULL.
95429 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95431         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
95432         when converting to ms.
95434 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95436         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
95437         EOPNOTSUPP errors with ENOTTY.
95438         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
95439         EOPNOTSUPP errors with ENOTTY.
95441 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
95443         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95444         Add strcasecmp_l-ssse3.
95445         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
95446         strcasecmp.
95447         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
95448         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
95449         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
95451 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
95453         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
95455         * string/Makefile (strop-tests): Add strcasecmp.
95456         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95457         strcasecmp_l-nonascii.
95458         (gen-as-const-headers): Add locale-defines.sym.
95459         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
95460         * sysdeps/x86_64/strcasecmp.S: New file.
95461         * sysdeps/x86_64/strcasecmp_l.S: New file.
95462         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
95463         * sysdeps/x86_64/locale-defines.sym: New file.
95464         * string/test-strcasecmp.c: New file.
95466         * string/test-strcasestr.c: Test both ends of the range of characters.
95467         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
95469 2010-07-29  Roland McGrath  <roland@redhat.com>
95471         [BZ #11856]
95472         * manual/locale.texi (Yes-or-No Questions): Fix example code.
95474 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
95476         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
95477         for ld.so.
95479 2010-07-27  Andreas Schwab  <schwab@redhat.com>
95481         * manual/memory.texi (Malloc Tunable Parameters): Document
95482         M_PERTURB.
95484 2010-07-26  Roland McGrath  <roland@redhat.com>
95486         [BZ #11840]
95487         * configure.in (-fgnu89-inline check): Set and substitute
95488         gnu89_inline, not libc_cv_gnu89_inline.
95489         * configure: Regenerated.
95490         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
95492 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
95494         * string/test-strnlen.c: New file.
95495         * string/Makefile (strop-tests): Add strnlen.
95496         * string/tester.c (test_strnlen): Add a few more test cases.
95497         * string/tst-strlen.c: Better error reporting.
95499         * sysdeps/x86_64/strnlen.S: New file.
95501 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
95503         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
95504         lower-latency instructions.
95506 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
95508         * string/test-strcasestr.c: New file.
95509         * string/test-strstr.c: New file.
95510         * string/Makefile (strop-tests): Add strstr and strcasestr.
95511         * string/str-two-way.h: Don't undefine MAX.
95512         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
95514 2010-07-21  Andreas Schwab  <schwab@redhat.com>
95516         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95517         strcasestr-nonascii.
95518         (CFLAGS-strcasestr-nonascii.c): Define.
95519         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
95520         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
95521         Remove unused attribute.
95523 2010-07-20  Roland McGrath  <roland@redhat.com>
95525         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
95526         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
95527         ld.so.cache was broken.  With it, there is no way to disable dsocaps
95528         like LD_HWCAP_MASK can disable hwcaps.
95530 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
95532         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
95534 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
95536         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
95537         call in strcasestr.
95538         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
95539         __strcasestr_sse42_nonascii.
95540         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
95541         strcasestr-nonascii.c.
95542         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
95544 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
95546         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
95547         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
95548         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
95549         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
95551 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
95553         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
95554         fcntl.
95556 2010-07-06  Andreas Schwab  <schwab@redhat.com>
95558         [BZ #11577]
95559         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
95560         dl_signal_cerror.
95562 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
95564         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
95565         _PC_PIPE_BUF using F_GETPIPE_SZ.
95567 2010-07-05  Roland McGrath  <roland@redhat.com>
95569         * manual/arith.texi (Rounding Functions): Fix rint description
95570         implicit in round description.
95572 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
95574         * elf/Makefile: Fix linking for a few tests to make recent linker
95575         happy.
95577 2010-06-30  Andreas Schwab  <schwab@redhat.com>
95579         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
95580         $(common-objpfx)libc_nonshared.a.
95582 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
95584         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
95585         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
95586         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
95587         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
95588         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
95589         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
95590         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
95591         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
95592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
95593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
95594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
95595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
95596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
95597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
95598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
95599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
95600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
95601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
95602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
95603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
95604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
95605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
95606         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
95607         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
95608         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
95609         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
95610         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
95611         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
95612         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
95613         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
95614         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
95615         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
95616         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
95617         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
95618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
95619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
95620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
95621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
95622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
95623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
95624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
95625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
95626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
95627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
95628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
95629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
95630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
95631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
95633 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
95635         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
95636         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
95637         * string/memmove.c (memmove): Renamed to ...
95638         (MEMMOVE): ...this.  Default to memmove.
95639         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
95640         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
95641         (END_CHK): Define.
95642         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95643         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
95644         mempcpy-ssse3-back memmove-ssse3-back.
95645         * sysdeps/x86_64/multiarch/bcopy.S: New file .
95646         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
95647         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
95648         * sysdeps/x86_64/multiarch/memcpy.S: New file.
95649         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
95650         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
95651         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
95652         * sysdeps/x86_64/multiarch/memmove.c: New file.
95653         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
95654         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
95655         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
95656         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
95657         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
95658         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
95659         Define.
95660         (index_Fast_Copy_Backward): Define.
95661         (HAS_ARCH_FEATURE): Define.
95662         (HAS_FAST_REP_STRING): Define.
95663         (HAS_FAST_COPY_BACKWARD): Define.
95665 2010-06-21  Andreas Schwab  <schwab@redhat.com>
95667         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
95668         Restore proper fallback handling.
95670 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
95672         [BZ #11701]
95673         * posix/group_member.c (__group_member): Correct checking loop.
95675         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
95676         OOM in getpwuid_r correctly.  Return error number when the caller
95677         should return, otherwise -1.
95678         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
95679         call returning > 0 value.
95680         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
95682 2010-06-07  Andreas Schwab  <schwab@redhat.com>
95684         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
95685         libc_nonshared.a from targets in modules-names.
95687 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
95689         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
95690         requires it.
95692 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
95694         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
95695         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
95696         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
95697         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
95699 2010-06-02  Andreas Schwab  <schwab@redhat.com>
95701         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
95703 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
95705         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
95706         and F_GETPIPE_SZ.
95707         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
95708         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
95709         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
95710         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
95711         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
95712         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
95714 2010-06-14  Roland McGrath  <roland@redhat.com>
95716         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
95718 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
95720         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
95721         __REDIRECT followed by __THROW.
95722         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
95723         * posix/getopt.h (getopt): Likewise.
95725 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
95727         * hurd/lookup-at.c (__file_name_lookup_at): Accept
95728         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
95729         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
95730         in AT_FLAGS.
95731         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
95732         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
95734 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
95736         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
95738 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
95740         [BZ #11640]
95741         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95742         Properly check family and model.
95744 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
95746         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
95748 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
95750         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
95752 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
95754         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
95755         symbol reference.
95757 2010-05-19  Andreas Schwab  <schwab@redhat.com>
95759         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
95760         symbol reference.
95762 2010-05-21  Andreas Schwab  <schwab@redhat.com>
95764         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
95765         and internal_recvmmsg.
95766         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
95767         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
95768         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
95769         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
95771         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
95772         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
95773         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
95775 2010-05-20  Andreas Schwab  <schwab@redhat.com>
95777         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
95779 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
95781         POWER7 optimizations.
95782         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
95783         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
95785 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
95787         * version.h: Update for 2.13 development version.
95789 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
95791         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
95792         exceptions.  Return 0.
95794 2010-05-07  Roland McGrath  <roland@redhat.com>
95796         * elf/ldconfig.c (main): Add a const.
95798 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
95800         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
95801         (args_options): Add no-idn option.
95802         (ahosts_keys_int): Add idn_flags to ai_flags.
95803         (parse_option): Handle 'i' option to clear idn_flags.
95805         * malloc/malloc.c (_int_free): Possible race in the most recently
95806         added check.  Only act on the data if no current modification
95807         happened.
95809 See ChangeLog.17 for earlier changes.